├── .DS_Store ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── blockchain.js ├── config.js ├── index.js ├── node_modules ├── .bin │ ├── sha.js │ ├── sshpk-conv │ ├── sshpk-sign │ ├── sshpk-verify │ └── uuid ├── ajv │ ├── .tonic_example.js │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── ajv.bundle.js │ │ ├── ajv.min.js │ │ ├── ajv.min.js.map │ │ ├── nodent.min.js │ │ └── regenerator.min.js │ ├── lib │ │ ├── $data.js │ │ ├── ajv.d.ts │ │ ├── ajv.js │ │ ├── cache.js │ │ ├── compile │ │ │ ├── _rules.js │ │ │ ├── async.js │ │ │ ├── equal.js │ │ │ ├── error_classes.js │ │ │ ├── formats.js │ │ │ ├── index.js │ │ │ ├── resolve.js │ │ │ ├── rules.js │ │ │ ├── schema_obj.js │ │ │ ├── ucs2length.js │ │ │ └── util.js │ │ ├── dot │ │ │ ├── _limit.jst │ │ │ ├── _limitItems.jst │ │ │ ├── _limitLength.jst │ │ │ ├── _limitProperties.jst │ │ │ ├── allOf.jst │ │ │ ├── anyOf.jst │ │ │ ├── coerce.def │ │ │ ├── const.jst │ │ │ ├── contains.jst │ │ │ ├── custom.jst │ │ │ ├── defaults.def │ │ │ ├── definitions.def │ │ │ ├── dependencies.jst │ │ │ ├── enum.jst │ │ │ ├── errors.def │ │ │ ├── format.jst │ │ │ ├── items.jst │ │ │ ├── missing.def │ │ │ ├── multipleOf.jst │ │ │ ├── not.jst │ │ │ ├── oneOf.jst │ │ │ ├── pattern.jst │ │ │ ├── properties.jst │ │ │ ├── propertyNames.jst │ │ │ ├── ref.jst │ │ │ ├── required.jst │ │ │ ├── uniqueItems.jst │ │ │ └── validate.jst │ │ ├── dotjs │ │ │ ├── README.md │ │ │ ├── _limit.js │ │ │ ├── _limitItems.js │ │ │ ├── _limitLength.js │ │ │ ├── _limitProperties.js │ │ │ ├── allOf.js │ │ │ ├── anyOf.js │ │ │ ├── const.js │ │ │ ├── contains.js │ │ │ ├── custom.js │ │ │ ├── dependencies.js │ │ │ ├── enum.js │ │ │ ├── format.js │ │ │ ├── items.js │ │ │ ├── multipleOf.js │ │ │ ├── not.js │ │ │ ├── oneOf.js │ │ │ ├── pattern.js │ │ │ ├── properties.js │ │ │ ├── propertyNames.js │ │ │ ├── ref.js │ │ │ ├── required.js │ │ │ ├── uniqueItems.js │ │ │ └── validate.js │ │ ├── keyword.js │ │ ├── patternGroups.js │ │ └── refs │ │ │ ├── $data.json │ │ │ ├── json-schema-draft-04.json │ │ │ ├── json-schema-draft-06.json │ │ │ └── json-schema-v5.json │ ├── package.json │ └── scripts │ │ ├── .eslintrc.yml │ │ ├── bundle.js │ │ ├── compile-dots.js │ │ ├── info │ │ ├── prepare-tests │ │ └── travis-gh-pages ├── asn1 │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── ber │ │ │ ├── errors.js │ │ │ ├── index.js │ │ │ ├── reader.js │ │ │ ├── types.js │ │ │ └── writer.js │ │ └── index.js │ └── package.json ├── assert-plus │ ├── AUTHORS │ ├── CHANGES.md │ ├── README.md │ ├── assert.js │ └── package.json ├── asynckit │ ├── LICENSE │ ├── README.md │ ├── bench.js │ ├── index.js │ ├── lib │ │ ├── abort.js │ │ ├── async.js │ │ ├── defer.js │ │ ├── iterate.js │ │ ├── readable_asynckit.js │ │ ├── readable_parallel.js │ │ ├── readable_serial.js │ │ ├── readable_serial_ordered.js │ │ ├── state.js │ │ ├── streamify.js │ │ └── terminator.js │ ├── package.json │ ├── parallel.js │ ├── serial.js │ ├── serialOrdered.js │ └── stream.js ├── aws-sign2 │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── aws4 │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── aws4.js │ ├── lru.js │ └── package.json ├── bcrypt-pbkdf │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── bindings │ ├── README.md │ ├── bindings.js │ └── package.json ├── bip66 │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── bn.js │ ├── .npmignore │ ├── README.md │ ├── lib │ │ └── bn.js │ ├── package.json │ └── util │ │ ├── genCombMulTo.js │ │ └── genCombMulTo10.js ├── body-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── read.js │ │ └── types │ │ │ ├── json.js │ │ │ ├── raw.js │ │ │ ├── text.js │ │ │ └── urlencoded.js │ └── package.json ├── brorand │ ├── .npmignore │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── api-test.js ├── browserify-aes │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── aes.js │ ├── authCipher.js │ ├── browser.js │ ├── decrypter.js │ ├── encrypter.js │ ├── ghash.js │ ├── incr32.js │ ├── index.js │ ├── modes │ │ ├── cbc.js │ │ ├── cfb.js │ │ ├── cfb1.js │ │ ├── cfb8.js │ │ ├── ctr.js │ │ ├── ecb.js │ │ ├── index.js │ │ ├── list.json │ │ └── ofb.js │ ├── package.json │ └── streamCipher.js ├── buffer-xor │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── inline.js │ ├── inplace.js │ ├── package.json │ └── test │ │ ├── fixtures.json │ │ └── index.js ├── bytes │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── caseless │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── cipher-base │ ├── .eslintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── co │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── combined-stream │ ├── License │ ├── Readme.md │ ├── lib │ │ ├── combined_stream.js │ │ └── defer.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── create-hash │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── index.js │ ├── md5.js │ ├── package.json │ └── test.js ├── create-hmac │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── index.js │ ├── legacy.js │ └── package.json ├── dashdash │ ├── CHANGES.md │ ├── LICENSE.txt │ ├── README.md │ ├── etc │ │ └── dashdash.bash_completion.in │ ├── lib │ │ └── dashdash.js │ └── package.json ├── debug │ ├── .coveralls.yml │ ├── .eslintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── component.json │ ├── karma.conf.js │ ├── node.js │ ├── package.json │ └── src │ │ ├── browser.js │ │ ├── debug.js │ │ ├── index.js │ │ ├── inspector-log.js │ │ └── node.js ├── delayed-stream │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── delayed_stream.js │ └── package.json ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── browser │ │ │ └── index.js │ │ └── compat │ │ │ ├── callsite-tostring.js │ │ │ ├── event-listener-count.js │ │ │ └── index.js │ └── package.json ├── drbg.js │ ├── LICENSE │ ├── README.md │ ├── hash.js │ ├── hmac.js │ ├── index.js │ ├── lib │ │ ├── cipher-info.json │ │ ├── hash-info.json │ │ └── util.js │ └── package.json ├── ecc-jsbn │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── LICENSE-jsbn │ │ ├── ec.js │ │ └── sec.js │ ├── package.json │ └── test.js ├── ee-first │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── elliptic │ ├── README.md │ ├── lib │ │ ├── elliptic.js │ │ └── elliptic │ │ │ ├── curve │ │ │ ├── base.js │ │ │ ├── edwards.js │ │ │ ├── index.js │ │ │ ├── mont.js │ │ │ └── short.js │ │ │ ├── curves.js │ │ │ ├── ec │ │ │ ├── index.js │ │ │ ├── key.js │ │ │ └── signature.js │ │ │ ├── eddsa │ │ │ ├── index.js │ │ │ ├── key.js │ │ │ └── signature.js │ │ │ ├── precomputed │ │ │ └── secp256k1.js │ │ │ └── utils.js │ ├── node_modules │ │ └── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── package.json │ └── package.json ├── evp_bytestokey │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── express │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── application.js │ │ ├── express.js │ │ ├── middleware │ │ │ ├── init.js │ │ │ └── query.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── index.js │ │ │ ├── layer.js │ │ │ └── route.js │ │ ├── utils.js │ │ └── view.js │ ├── node_modules │ │ ├── .bin │ │ │ └── mime │ │ ├── accepts │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── array-flatten │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── array-flatten.js │ │ │ └── package.json │ │ ├── content-disposition │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── content-type │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── cookie-signature │ │ │ ├── .npmignore │ │ │ ├── History.md │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── cookie │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── debug │ │ │ ├── .coveralls.yml │ │ │ ├── .eslintrc │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── karma.conf.js │ │ │ ├── node.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── browser.js │ │ │ │ ├── debug.js │ │ │ │ ├── index.js │ │ │ │ ├── inspector-log.js │ │ │ │ └── node.js │ │ ├── depd │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── browser │ │ │ │ │ └── index.js │ │ │ │ └── compat │ │ │ │ │ ├── callsite-tostring.js │ │ │ │ │ ├── event-listener-count.js │ │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── destroy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── ee-first │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── encodeurl │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── escape-html │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── etag │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── finalhandler │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── forwarded │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── fresh │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── http-errors │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── setprototypeof │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── package.json │ │ ├── ipaddr.js │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── Cakefile │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── ipaddr.min.js │ │ │ ├── lib │ │ │ │ └── ipaddr.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── ipaddr.coffee │ │ │ └── test │ │ │ │ └── ipaddr.test.coffee │ │ ├── media-typer │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── merge-descriptors │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── methods │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mime-db │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── db.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mime-types │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── mime │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── build │ │ │ │ ├── build.js │ │ │ │ └── test.js │ │ │ ├── cli.js │ │ │ ├── mime.js │ │ │ ├── package.json │ │ │ └── types.json │ │ ├── ms │ │ │ ├── index.js │ │ │ ├── license.md │ │ │ ├── package.json │ │ │ └── readme.md │ │ ├── negotiator │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── lib │ │ │ │ ├── charset.js │ │ │ │ ├── encoding.js │ │ │ │ ├── language.js │ │ │ │ └── mediaType.js │ │ │ └── package.json │ │ ├── on-finished │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── parseurl │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── path-to-regexp │ │ │ ├── History.md │ │ │ ├── LICENSE │ │ │ ├── Readme.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── proxy-addr │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── qs │ │ │ ├── .editorconfig │ │ │ ├── .eslintignore │ │ │ ├── .eslintrc │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ └── qs.js │ │ │ ├── lib │ │ │ │ ├── formats.js │ │ │ │ ├── index.js │ │ │ │ ├── parse.js │ │ │ │ ├── stringify.js │ │ │ │ └── utils.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── .eslintrc │ │ │ │ ├── index.js │ │ │ │ ├── parse.js │ │ │ │ ├── stringify.js │ │ │ │ └── utils.js │ │ ├── range-parser │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── safe-buffer │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── send │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── serve-static │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── setprototypeof │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── statuses │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── codes.json │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── type-is │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── unpipe │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── utils-merge │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ │ └── vary │ │ │ ├── HISTORY.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── extend │ ├── .editorconfig │ ├── .eslintrc │ ├── .jscs.json │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── index.js │ └── package.json ├── extsprintf │ ├── .gitmodules │ ├── .npmignore │ ├── LICENSE │ ├── Makefile │ ├── Makefile.targ │ ├── README.md │ ├── jsl.node.conf │ ├── lib │ │ └── extsprintf.js │ └── package.json ├── fast-deep-equal │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── fast-json-stable-stringify │ ├── .eslintrc.yml │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── benchmark │ │ ├── index.js │ │ └── test.json │ ├── example │ │ ├── key_cmp.js │ │ ├── nested.js │ │ ├── str.js │ │ └── value_cmp.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── cmp.js │ │ ├── nested.js │ │ ├── str.js │ │ └── to-json.js ├── forever-agent │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── form-data │ ├── License │ ├── README.md │ ├── README.md.bak │ ├── lib │ │ ├── browser.js │ │ ├── form_data.js │ │ └── populate.js │ └── package.json ├── getpass │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── index.js │ └── package.json ├── har-schema │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── afterRequest.json │ │ ├── beforeRequest.json │ │ ├── browser.json │ │ ├── cache.json │ │ ├── content.json │ │ ├── cookie.json │ │ ├── creator.json │ │ ├── entry.json │ │ ├── har.json │ │ ├── header.json │ │ ├── index.js │ │ ├── log.json │ │ ├── page.json │ │ ├── pageTimings.json │ │ ├── postData.json │ │ ├── query.json │ │ ├── request.json │ │ ├── response.json │ │ └── timings.json │ └── package.json ├── har-validator │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── async.js │ │ ├── error.js │ │ └── promise.js │ └── package.json ├── hash-base │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── hash.js │ ├── .eslintrc.js │ ├── .npmignore │ ├── .travis.yml │ ├── README.md │ ├── lib │ │ ├── hash.d.ts │ │ ├── hash.js │ │ └── hash │ │ │ ├── common.js │ │ │ ├── hmac.js │ │ │ ├── ripemd.js │ │ │ ├── sha.js │ │ │ ├── sha │ │ │ ├── 1.js │ │ │ ├── 224.js │ │ │ ├── 256.js │ │ │ ├── 384.js │ │ │ ├── 512.js │ │ │ └── common.js │ │ │ └── utils.js │ ├── node_modules │ │ └── inherits │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── inherits.js │ │ │ ├── inherits_browser.js │ │ │ └── package.json │ ├── package.json │ └── test │ │ ├── hash-test.js │ │ └── hmac-test.js ├── hmac-drbg │ ├── .npmignore │ ├── .travis.yml │ ├── README.md │ ├── lib │ │ └── hmac-drbg.js │ ├── package.json │ └── test │ │ ├── drbg-test.js │ │ └── fixtures │ │ └── hmac-drbg-nist.json ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── http-signature │ ├── .dir-locals.el │ ├── .npmignore │ ├── CHANGES.md │ ├── LICENSE │ ├── README.md │ ├── http_signing.md │ ├── lib │ │ ├── index.js │ │ ├── parser.js │ │ ├── signer.js │ │ ├── utils.js │ │ └── verify.js │ └── package.json ├── iconv-lite │ ├── .npmignore │ ├── .travis.yml │ ├── Changelog.md │ ├── LICENSE │ ├── README.md │ ├── encodings │ │ ├── dbcs-codec.js │ │ ├── dbcs-data.js │ │ ├── index.js │ │ ├── internal.js │ │ ├── sbcs-codec.js │ │ ├── sbcs-data-generated.js │ │ ├── sbcs-data.js │ │ ├── tables │ │ │ ├── big5-added.json │ │ │ ├── cp936.json │ │ │ ├── cp949.json │ │ │ ├── cp950.json │ │ │ ├── eucjp.json │ │ │ ├── gb18030-ranges.json │ │ │ ├── gbk-added.json │ │ │ └── shiftjis.json │ │ ├── utf16.js │ │ └── utf7.js │ ├── lib │ │ ├── bom-handling.js │ │ ├── extend-node.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── streams.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── is-typedarray │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── isstream │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── isstream.js │ ├── package.json │ └── test.js ├── jsbn │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── example.html │ ├── example.js │ ├── index.js │ └── package.json ├── json-schema-traverse │ ├── .eslintrc.yml │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── spec │ │ ├── .eslintrc.yml │ │ ├── fixtures │ │ └── schema.js │ │ └── index.spec.js ├── json-schema │ ├── README.md │ ├── draft-00 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-01 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-02 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-03 │ │ ├── examples │ │ │ ├── address │ │ │ ├── calendar │ │ │ ├── card │ │ │ ├── geo │ │ │ └── interfaces │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-04 │ │ ├── hyper-schema │ │ ├── links │ │ └── schema │ ├── draft-zyp-json-schema-03.xml │ ├── draft-zyp-json-schema-04.xml │ ├── lib │ │ ├── links.js │ │ └── validate.js │ ├── package.json │ └── test │ │ └── tests.js ├── json-stringify-safe │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── package.json │ ├── stringify.js │ └── test │ │ ├── mocha.opts │ │ └── stringify_test.js ├── jsprim │ ├── CHANGES.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── jsprim.js │ └── package.json ├── md5.js │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── media-typer │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── minimalistic-assert │ ├── index.js │ ├── package.json │ └── readme.md ├── minimalistic-crypto-utils │ ├── .npmignore │ ├── .travis.yml │ ├── README.md │ ├── lib │ │ └── utils.js │ ├── package.json │ └── test │ │ └── utils-test.js ├── ms │ ├── index.js │ ├── license.md │ ├── package.json │ └── readme.md ├── nan │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── doc │ │ ├── asyncworker.md │ │ ├── buffers.md │ │ ├── callback.md │ │ ├── converters.md │ │ ├── errors.md │ │ ├── json.md │ │ ├── maybe_types.md │ │ ├── methods.md │ │ ├── new.md │ │ ├── node_misc.md │ │ ├── object_wrappers.md │ │ ├── persistent.md │ │ ├── scopes.md │ │ ├── script.md │ │ ├── string_bytes.md │ │ ├── v8_internals.md │ │ └── v8_misc.md │ ├── include_dirs.js │ ├── nan.h │ ├── nan_callbacks.h │ ├── nan_callbacks_12_inl.h │ ├── nan_callbacks_pre_12_inl.h │ ├── nan_converters.h │ ├── nan_converters_43_inl.h │ ├── nan_converters_pre_43_inl.h │ ├── nan_define_own_property_helper.h │ ├── nan_implementation_12_inl.h │ ├── nan_implementation_pre_12_inl.h │ ├── nan_json.h │ ├── nan_maybe_43_inl.h │ ├── nan_maybe_pre_43_inl.h │ ├── nan_new.h │ ├── nan_object_wrap.h │ ├── nan_persistent_12_inl.h │ ├── nan_persistent_pre_12_inl.h │ ├── nan_private.h │ ├── nan_string_bytes.h │ ├── nan_typedarray_contents.h │ ├── nan_weak.h │ ├── package.json │ └── tools │ │ ├── 1to2.js │ │ ├── README.md │ │ └── package.json ├── oauth-sign │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── on-finished │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── performance-now │ ├── .npmignore │ ├── .tm_properties │ ├── .travis.yml │ ├── README.md │ ├── lib │ │ ├── performance-now.js │ │ └── performance-now.js.map │ ├── license.txt │ ├── package.json │ ├── src │ │ ├── index.d.ts │ │ └── performance-now.coffee │ └── test │ │ ├── mocha.opts │ │ ├── performance-now.coffee │ │ ├── scripts.coffee │ │ └── scripts │ │ ├── delayed-call.coffee │ │ ├── delayed-require.coffee │ │ ├── difference.coffee │ │ └── initial-value.coffee ├── punycode │ ├── LICENSE-MIT.txt │ ├── README.md │ ├── package.json │ └── punycode.js ├── qs │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── formats.js │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── querystringify │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── raw-body │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── request │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── auth.js │ │ ├── cookies.js │ │ ├── getProxyFromURI.js │ │ ├── har.js │ │ ├── hawk.js │ │ ├── helpers.js │ │ ├── multipart.js │ │ ├── oauth.js │ │ ├── querystring.js │ │ ├── redirect.js │ │ └── tunnel.js │ ├── package.json │ └── request.js ├── requires-port │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── ripemd160 │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── safe-buffer │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safer-buffer │ ├── LICENSE │ ├── Porting-Buffer.md │ ├── Readme.md │ ├── dangerous.js │ ├── package.json │ ├── safer.js │ └── tests.js ├── secp256k1 │ ├── API.md │ ├── LICENSE │ ├── README.md │ ├── binding.gyp │ ├── bindings.js │ ├── build │ │ ├── Makefile │ │ ├── Release │ │ │ ├── .deps │ │ │ │ └── Release │ │ │ │ │ ├── obj.target │ │ │ │ │ └── secp256k1 │ │ │ │ │ │ └── src │ │ │ │ │ │ ├── addon.o.d │ │ │ │ │ │ ├── ecdh.o.d │ │ │ │ │ │ ├── ecdsa.o.d │ │ │ │ │ │ ├── privatekey.o.d │ │ │ │ │ │ ├── publickey.o.d │ │ │ │ │ │ ├── secp256k1-src │ │ │ │ │ │ ├── contrib │ │ │ │ │ │ │ ├── lax_der_parsing.o.d │ │ │ │ │ │ │ └── lax_der_privatekey_parsing.o.d │ │ │ │ │ │ └── src │ │ │ │ │ │ │ └── secp256k1.o.d │ │ │ │ │ │ └── signature.o.d │ │ │ │ │ └── secp256k1.node.d │ │ │ ├── obj.target │ │ │ │ └── secp256k1 │ │ │ │ │ └── src │ │ │ │ │ ├── addon.o │ │ │ │ │ ├── ecdh.o │ │ │ │ │ ├── ecdsa.o │ │ │ │ │ ├── privatekey.o │ │ │ │ │ ├── publickey.o │ │ │ │ │ ├── secp256k1-src │ │ │ │ │ ├── contrib │ │ │ │ │ │ ├── lax_der_parsing.o │ │ │ │ │ │ └── lax_der_privatekey_parsing.o │ │ │ │ │ └── src │ │ │ │ │ │ └── secp256k1.o │ │ │ │ │ └── signature.o │ │ │ └── secp256k1.node │ │ ├── binding.Makefile │ │ ├── config.gypi │ │ ├── gyp-mac-tool │ │ └── secp256k1.target.mk │ ├── elliptic.js │ ├── index.js │ ├── js.js │ ├── lib │ │ ├── assert.js │ │ ├── der.js │ │ ├── elliptic │ │ │ └── index.js │ │ ├── index.js │ │ ├── js │ │ │ ├── bn │ │ │ │ ├── index.js │ │ │ │ └── optimized.js │ │ │ ├── ecjpoint.js │ │ │ ├── ecpoint.js │ │ │ ├── ecpointg.js │ │ │ └── index.js │ │ └── messages.json │ ├── package.json │ ├── src │ │ ├── addon.cc │ │ ├── ecdh.cc │ │ ├── ecdh.h │ │ ├── ecdsa.cc │ │ ├── ecdsa.h │ │ ├── messages.h │ │ ├── privatekey.cc │ │ ├── privatekey.h │ │ ├── publickey.cc │ │ ├── publickey.h │ │ ├── secp256k1-src │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── COPYING │ │ │ ├── Makefile.am │ │ │ ├── README.md │ │ │ ├── TODO │ │ │ ├── autogen.sh │ │ │ ├── build-aux │ │ │ │ └── m4 │ │ │ │ │ ├── ax_jni_include_dir.m4 │ │ │ │ │ ├── ax_prog_cc_for_build.m4 │ │ │ │ │ └── bitcoin_secp.m4 │ │ │ ├── configure.ac │ │ │ ├── contrib │ │ │ │ ├── lax_der_parsing.c │ │ │ │ ├── lax_der_parsing.h │ │ │ │ ├── lax_der_privatekey_parsing.c │ │ │ │ └── lax_der_privatekey_parsing.h │ │ │ ├── include │ │ │ │ ├── secp256k1.h │ │ │ │ ├── secp256k1_ecdh.h │ │ │ │ └── secp256k1_recovery.h │ │ │ ├── libsecp256k1.pc.in │ │ │ ├── obj │ │ │ │ └── .npmignore │ │ │ ├── sage │ │ │ │ ├── group_prover.sage │ │ │ │ ├── secp256k1.sage │ │ │ │ └── weierstrass_prover.sage │ │ │ └── src │ │ │ │ ├── asm │ │ │ │ └── field_10x26_arm.s │ │ │ │ ├── basic-config.h │ │ │ │ ├── bench.h │ │ │ │ ├── bench_ecdh.c │ │ │ │ ├── bench_internal.c │ │ │ │ ├── bench_recover.c │ │ │ │ ├── bench_sign.c │ │ │ │ ├── bench_verify.c │ │ │ │ ├── ecdsa.h │ │ │ │ ├── ecdsa_impl.h │ │ │ │ ├── eckey.h │ │ │ │ ├── eckey_impl.h │ │ │ │ ├── ecmult.h │ │ │ │ ├── ecmult_const.h │ │ │ │ ├── ecmult_const_impl.h │ │ │ │ ├── ecmult_gen.h │ │ │ │ ├── ecmult_gen_impl.h │ │ │ │ ├── ecmult_impl.h │ │ │ │ ├── field.h │ │ │ │ ├── field_10x26.h │ │ │ │ ├── field_10x26_impl.h │ │ │ │ ├── field_5x52.h │ │ │ │ ├── field_5x52_asm_impl.h │ │ │ │ ├── field_5x52_impl.h │ │ │ │ ├── field_5x52_int128_impl.h │ │ │ │ ├── field_impl.h │ │ │ │ ├── gen_context.c │ │ │ │ ├── group.h │ │ │ │ ├── group_impl.h │ │ │ │ ├── hash.h │ │ │ │ ├── hash_impl.h │ │ │ │ ├── java │ │ │ │ ├── org │ │ │ │ │ └── bitcoin │ │ │ │ │ │ ├── NativeSecp256k1.java │ │ │ │ │ │ ├── NativeSecp256k1Test.java │ │ │ │ │ │ ├── NativeSecp256k1Util.java │ │ │ │ │ │ └── Secp256k1Context.java │ │ │ │ ├── org_bitcoin_NativeSecp256k1.c │ │ │ │ ├── org_bitcoin_NativeSecp256k1.h │ │ │ │ ├── org_bitcoin_Secp256k1Context.c │ │ │ │ └── org_bitcoin_Secp256k1Context.h │ │ │ │ ├── modules │ │ │ │ ├── ecdh │ │ │ │ │ ├── Makefile.am.include │ │ │ │ │ ├── main_impl.h │ │ │ │ │ └── tests_impl.h │ │ │ │ └── recovery │ │ │ │ │ ├── Makefile.am.include │ │ │ │ │ ├── main_impl.h │ │ │ │ │ └── tests_impl.h │ │ │ │ ├── num.h │ │ │ │ ├── num_gmp.h │ │ │ │ ├── num_gmp_impl.h │ │ │ │ ├── num_impl.h │ │ │ │ ├── scalar.h │ │ │ │ ├── scalar_4x64.h │ │ │ │ ├── scalar_4x64_impl.h │ │ │ │ ├── scalar_8x32.h │ │ │ │ ├── scalar_8x32_impl.h │ │ │ │ ├── scalar_impl.h │ │ │ │ ├── scalar_low.h │ │ │ │ ├── scalar_low_impl.h │ │ │ │ ├── secp256k1.c │ │ │ │ ├── testrand.h │ │ │ │ ├── testrand_impl.h │ │ │ │ ├── tests.c │ │ │ │ ├── tests_exhaustive.c │ │ │ │ └── util.h │ │ ├── signature.cc │ │ ├── signature.h │ │ └── util.h │ └── utils │ │ └── has_lib.sh ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── sha.js │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin.js │ ├── hash.js │ ├── index.js │ ├── package.json │ ├── sha.js │ ├── sha1.js │ ├── sha224.js │ ├── sha256.js │ ├── sha384.js │ ├── sha512.js │ └── test │ │ ├── hash.js │ │ ├── test.js │ │ └── vectors.js ├── sha256 │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── lib │ │ ├── nodecrypto.js │ │ └── sha256.js │ ├── node_modules │ │ ├── convert-hex │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── component.json │ │ │ ├── convert-hex.js │ │ │ └── package.json │ │ └── convert-string │ │ │ ├── .npmignore │ │ │ ├── CHANGELOG.md │ │ │ ├── README.md │ │ │ ├── bower.json │ │ │ ├── component.json │ │ │ ├── convert-string.js │ │ │ └── package.json │ └── package.json ├── sshpk │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── sshpk-conv │ │ ├── sshpk-sign │ │ └── sshpk-verify │ ├── lib │ │ ├── algs.js │ │ ├── certificate.js │ │ ├── dhe.js │ │ ├── ed-compat.js │ │ ├── errors.js │ │ ├── fingerprint.js │ │ ├── formats │ │ │ ├── auto.js │ │ │ ├── dnssec.js │ │ │ ├── openssh-cert.js │ │ │ ├── pem.js │ │ │ ├── pkcs1.js │ │ │ ├── pkcs8.js │ │ │ ├── rfc4253.js │ │ │ ├── ssh-private.js │ │ │ ├── ssh.js │ │ │ ├── x509-pem.js │ │ │ └── x509.js │ │ ├── identity.js │ │ ├── index.js │ │ ├── key.js │ │ ├── private-key.js │ │ ├── signature.js │ │ ├── ssh-buffer.js │ │ └── utils.js │ ├── man │ │ └── man1 │ │ │ ├── sshpk-conv.1 │ │ │ ├── sshpk-sign.1 │ │ │ └── sshpk-verify.1 │ └── package.json ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── tough-cookie │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── cookie.js │ │ ├── memstore.js │ │ ├── pathMatch.js │ │ ├── permuteDomain.js │ │ ├── pubsuffix.js │ │ └── store.js │ └── package.json ├── tunnel-agent │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── tweetnacl │ ├── .npmignore │ ├── AUTHORS.md │ ├── CHANGELOG.md │ ├── LICENSE │ ├── PULL_REQUEST_TEMPLATE.md │ ├── README.md │ ├── nacl-fast.js │ ├── nacl-fast.min.js │ ├── nacl.d.ts │ ├── nacl.js │ ├── nacl.min.js │ └── package.json ├── type-is │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── unpipe │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── url-parse │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── url-parse.js │ │ ├── url-parse.min.js │ │ └── url-parse.min.js.map │ ├── index.js │ └── package.json ├── uuid │ ├── .eslintrc.json │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── README_js.md │ ├── bin │ │ └── uuid │ ├── index.js │ ├── lib │ │ ├── bytesToUuid.js │ │ ├── md5-browser.js │ │ ├── md5.js │ │ ├── rng-browser.js │ │ ├── rng.js │ │ ├── sha1-browser.js │ │ ├── sha1.js │ │ └── v35.js │ ├── package.json │ ├── v1.js │ ├── v3.js │ ├── v4.js │ └── v5.js └── verror │ ├── .npmignore │ ├── CHANGES.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── lib │ └── verror.js │ └── package.json ├── package-lock.json ├── package.json ├── regulator.js ├── requests └── wallet.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/.DS_Store -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.formatting.provider": "autopep8" 3 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Hyungsuk Kang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # blockchain-javascript 2 | 3 | [![Build Status](https://travis-ci.org/dvf/blockchain.svg?branch=master)](https://travis-ci.org/dvf/blockchain) 4 | 5 | Blockchain built in private / public in javascript. 6 | 7 | This was the source code for my javascript implementation on [Building a Blockchain](https://medium.com/p/117428612f46). 8 | 9 | It is now advancing with additional functionalities I add in(private / public key, modulization, tutorials). 10 | 11 | 12 | ## Installation 13 | 14 | 1. Make sure [node.js 7.2+](https://nodejs.org/en/) is installed. 15 | 2. Install [npm](https://www.npmjs.com/) and packages in package.json file. 16 | 17 | 18 | ``` 19 | $ npm install -g blockchain-javascript 20 | ``` 21 | 22 | 3. Run the node for blockchain network: 23 | ``` 24 | $ blockchain-javascript 25 | ``` 26 | ## Contributing 27 | 28 | Contributions are welcome! Please feel free to submit a Pull Request. 29 | 30 | 31 | ## API 32 | -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | // Difficuly of mining 2 | const DIFFICULTY = 4; 3 | 4 | // Initial amount of coin in genesis block 5 | const INITIAL_BALANCE = 500000000000000; 6 | 7 | // Mining reward 8 | const MINING_REWARD = 50; 9 | 10 | // Listening port 11 | const PORT = 5000; 12 | 13 | // mining nodes 14 | const NODE_ADDRESSES = [`localhost:${PORT}`]; 15 | 16 | 17 | 18 | module.exports = { DIFFICULTY, INITIAL_BALANCE, MINING_REWARD, NODE_ADDRESSES }; 19 | -------------------------------------------------------------------------------- /node_modules/.bin/sha.js: -------------------------------------------------------------------------------- 1 | ../sha.js/bin.js -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-conv: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-conv -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-sign: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-sign -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-verify: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-verify -------------------------------------------------------------------------------- /node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/bin/uuid -------------------------------------------------------------------------------- /node_modules/ajv/.tonic_example.js: -------------------------------------------------------------------------------- 1 | var Ajv = require('ajv'); 2 | var ajv = new Ajv({allErrors: true}); 3 | 4 | var schema = { 5 | "properties": { 6 | "foo": { "type": "string" }, 7 | "bar": { "type": "number", "maximum": 3 } 8 | } 9 | }; 10 | 11 | var validate = ajv.compile(schema); 12 | 13 | test({"foo": "abc", "bar": 2}); 14 | test({"foo": 2, "bar": 4}); 15 | 16 | function test(data) { 17 | var valid = validate(data); 18 | if (valid) console.log('Valid!'); 19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors)); 20 | } -------------------------------------------------------------------------------- /node_modules/ajv/lib/cache.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Cache = module.exports = function Cache() { 5 | this._cache = {}; 6 | }; 7 | 8 | 9 | Cache.prototype.put = function Cache_put(key, value) { 10 | this._cache[key] = value; 11 | }; 12 | 13 | 14 | Cache.prototype.get = function Cache_get(key) { 15 | return this._cache[key]; 16 | }; 17 | 18 | 19 | Cache.prototype.del = function Cache_del(key) { 20 | delete this._cache[key]; 21 | }; 22 | 23 | 24 | Cache.prototype.clear = function Cache_clear() { 25 | this._cache = {}; 26 | }; 27 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/equal.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('fast-deep-equal'); 4 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/error_classes.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var resolve = require('./resolve'); 4 | 5 | module.exports = { 6 | Validation: errorSubclass(ValidationError), 7 | MissingRef: errorSubclass(MissingRefError) 8 | }; 9 | 10 | 11 | function ValidationError(errors) { 12 | this.message = 'validation failed'; 13 | this.errors = errors; 14 | this.ajv = this.validation = true; 15 | } 16 | 17 | 18 | MissingRefError.message = function (baseId, ref) { 19 | return 'can\'t resolve reference ' + ref + ' from id ' + baseId; 20 | }; 21 | 22 | 23 | function MissingRefError(baseId, ref, message) { 24 | this.message = message || MissingRefError.message(baseId, ref); 25 | this.missingRef = resolve.url(baseId, ref); 26 | this.missingSchema = resolve.normalizeId(resolve.fullPath(this.missingRef)); 27 | } 28 | 29 | 30 | function errorSubclass(Subclass) { 31 | Subclass.prototype = Object.create(Error.prototype); 32 | Subclass.prototype.constructor = Subclass; 33 | return Subclass; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/schema_obj.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var util = require('./util'); 4 | 5 | module.exports = SchemaObject; 6 | 7 | function SchemaObject(obj) { 8 | util.copy(obj, this); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/ucs2length.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // https://mathiasbynens.be/notes/javascript-encoding 4 | // https://github.com/bestiejs/punycode.js - punycode.ucs2.decode 5 | module.exports = function ucs2length(str) { 6 | var length = 0 7 | , len = str.length 8 | , pos = 0 9 | , value; 10 | while (pos < len) { 11 | length++; 12 | value = str.charCodeAt(pos++); 13 | if (value >= 0xD800 && value <= 0xDBFF && pos < len) { 14 | // high surrogate, and there is a next character 15 | value = str.charCodeAt(pos); 16 | if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate 17 | } 18 | } 19 | return length; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitItems.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitItems' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitLength.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitLength' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitProperties.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitProperties' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/allOf.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.setupNextLevel }} 5 | 6 | {{ 7 | var $currentBaseId = $it.baseId 8 | , $allSchemasEmpty = true; 9 | }} 10 | 11 | {{~ $schema:$sch:$i }} 12 | {{? {{# def.nonEmptySchema:$sch }} }} 13 | {{ 14 | $allSchemasEmpty = false; 15 | $it.schema = $sch; 16 | $it.schemaPath = $schemaPath + '[' + $i + ']'; 17 | $it.errSchemaPath = $errSchemaPath + '/' + $i; 18 | }} 19 | 20 | {{# def.insertSubschemaCode }} 21 | 22 | {{# def.ifResultValid }} 23 | {{?}} 24 | {{~}} 25 | 26 | {{? $breakOnError }} 27 | {{? $allSchemasEmpty }} 28 | if (true) { 29 | {{??}} 30 | {{= $closingBraces.slice(0,-1) }} 31 | {{?}} 32 | {{?}} 33 | 34 | {{# def.cleanUp }} 35 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/const.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{? !$isData }} 7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}}; 8 | {{?}} 9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}}); 10 | {{# def.checkError:'const' }} 11 | {{? $breakOnError }} else { {{?}} 12 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/defaults.def: -------------------------------------------------------------------------------- 1 | {{## def.assignDefault: 2 | if ({{=$passData}} === undefined) 3 | {{=$passData}} = {{? it.opts.useDefaults == 'shared' }} 4 | {{= it.useDefault($sch.default) }} 5 | {{??}} 6 | {{= JSON.stringify($sch.default) }} 7 | {{?}}; 8 | #}} 9 | 10 | 11 | {{## def.defaultProperties: 12 | {{ 13 | var $schema = it.schema.properties 14 | , $schemaKeys = Object.keys($schema); }} 15 | {{~ $schemaKeys:$propertyKey }} 16 | {{ var $sch = $schema[$propertyKey]; }} 17 | {{? $sch.default !== undefined }} 18 | {{ var $passData = $data + it.util.getProperty($propertyKey); }} 19 | {{# def.assignDefault }} 20 | {{?}} 21 | {{~}} 22 | #}} 23 | 24 | 25 | {{## def.defaultItems: 26 | {{~ it.schema.items:$sch:$i }} 27 | {{? $sch.default !== undefined }} 28 | {{ var $passData = $data + '[' + $i + ']'; }} 29 | {{# def.assignDefault }} 30 | {{?}} 31 | {{~}} 32 | #}} 33 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/enum.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ 7 | var $i = 'i' + $lvl 8 | , $vSchema = 'schema' + $lvl; 9 | }} 10 | 11 | {{? !$isData }} 12 | var {{=$vSchema}} = validate.schema{{=$schemaPath}}; 13 | {{?}} 14 | var {{=$valid}}; 15 | 16 | {{?$isData}}{{# def.check$dataIsArray }}{{?}} 17 | 18 | {{=$valid}} = false; 19 | 20 | for (var {{=$i}}=0; {{=$i}}<{{=$vSchema}}.length; {{=$i}}++) 21 | if (equal({{=$data}}, {{=$vSchema}}[{{=$i}}])) { 22 | {{=$valid}} = true; 23 | break; 24 | } 25 | 26 | {{? $isData }} } {{?}} 27 | 28 | {{# def.checkError:'enum' }} 29 | 30 | {{? $breakOnError }} else { {{?}} 31 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/multipleOf.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | var division{{=$lvl}}; 7 | if ({{?$isData}} 8 | {{=$schemaValue}} !== undefined && ( 9 | typeof {{=$schemaValue}} != 'number' || 10 | {{?}} 11 | (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}}, 12 | {{? it.opts.multipleOfPrecision }} 13 | Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}} 14 | {{??}} 15 | division{{=$lvl}} !== parseInt(division{{=$lvl}}) 16 | {{?}} 17 | ) 18 | {{?$isData}} ) {{?}} ) { 19 | {{# def.error:'multipleOf' }} 20 | } {{? $breakOnError }} else { {{?}} 21 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/not.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.setupNextLevel }} 5 | 6 | {{? {{# def.nonEmptySchema:$schema }} }} 7 | {{ 8 | $it.schema = $schema; 9 | $it.schemaPath = $schemaPath; 10 | $it.errSchemaPath = $errSchemaPath; 11 | }} 12 | 13 | var {{=$errs}} = errors; 14 | 15 | {{# def.setCompositeRule }} 16 | 17 | {{ 18 | $it.createErrors = false; 19 | var $allErrorsOption; 20 | if ($it.opts.allErrors) { 21 | $allErrorsOption = $it.opts.allErrors; 22 | $it.opts.allErrors = false; 23 | } 24 | }} 25 | {{= it.validate($it) }} 26 | {{ 27 | $it.createErrors = true; 28 | if ($allErrorsOption) $it.opts.allErrors = $allErrorsOption; 29 | }} 30 | 31 | {{# def.resetCompositeRule }} 32 | 33 | if ({{=$nextValid}}) { 34 | {{# def.error:'not' }} 35 | } else { 36 | {{# def.resetErrors }} 37 | {{? it.opts.allErrors }} } {{?}} 38 | {{??}} 39 | {{# def.addError:'not' }} 40 | {{? $breakOnError}} 41 | if (false) { 42 | {{?}} 43 | {{?}} 44 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/oneOf.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.setupNextLevel }} 5 | 6 | var {{=$errs}} = errors; 7 | var prevValid{{=$lvl}} = false; 8 | var {{=$valid}} = false; 9 | 10 | {{ var $currentBaseId = $it.baseId; }} 11 | {{# def.setCompositeRule }} 12 | 13 | {{~ $schema:$sch:$i }} 14 | {{? {{# def.nonEmptySchema:$sch }} }} 15 | {{ 16 | $it.schema = $sch; 17 | $it.schemaPath = $schemaPath + '[' + $i + ']'; 18 | $it.errSchemaPath = $errSchemaPath + '/' + $i; 19 | }} 20 | 21 | {{# def.insertSubschemaCode }} 22 | {{??}} 23 | var {{=$nextValid}} = true; 24 | {{?}} 25 | 26 | {{? $i }} 27 | if ({{=$nextValid}} && prevValid{{=$lvl}}) 28 | {{=$valid}} = false; 29 | else { 30 | {{ $closingBraces += '}'; }} 31 | {{?}} 32 | 33 | if ({{=$nextValid}}) {{=$valid}} = prevValid{{=$lvl}} = true; 34 | {{~}} 35 | 36 | {{# def.resetCompositeRule }} 37 | 38 | {{= $closingBraces }} 39 | 40 | if (!{{=$valid}}) { 41 | {{# def.extraError:'oneOf' }} 42 | } else { 43 | {{# def.resetErrors }} 44 | {{? it.opts.allErrors }} } {{?}} 45 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/pattern.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ 7 | var $regexp = $isData 8 | ? '(new RegExp(' + $schemaValue + '))' 9 | : it.usePattern($schema); 10 | }} 11 | 12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) { 13 | {{# def.error:'pattern' }} 14 | } {{? $breakOnError }} else { {{?}} 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/uniqueItems.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | 7 | {{? ($schema || $isData) && it.opts.uniqueItems !== false }} 8 | {{? $isData }} 9 | var {{=$valid}}; 10 | if ({{=$schemaValue}} === false || {{=$schemaValue}} === undefined) 11 | {{=$valid}} = true; 12 | else if (typeof {{=$schemaValue}} != 'boolean') 13 | {{=$valid}} = false; 14 | else { 15 | {{?}} 16 | 17 | var {{=$valid}} = true; 18 | if ({{=$data}}.length > 1) { 19 | var i = {{=$data}}.length, j; 20 | outer: 21 | for (;i--;) { 22 | for (j = i; j--;) { 23 | if (equal({{=$data}}[i], {{=$data}}[j])) { 24 | {{=$valid}} = false; 25 | break outer; 26 | } 27 | } 28 | } 29 | } 30 | 31 | {{? $isData }} } {{?}} 32 | 33 | if (!{{=$valid}}) { 34 | {{# def.error:'uniqueItems' }} 35 | } {{? $breakOnError }} else { {{?}} 36 | {{??}} 37 | {{? $breakOnError }} if (true) { {{?}} 38 | {{?}} 39 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dotjs/README.md: -------------------------------------------------------------------------------- 1 | These files are compiled dot templates from dot folder. 2 | 3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder. 4 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/patternGroups.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema'; 4 | 5 | module.exports = function (ajv) { 6 | var defaultMeta = ajv._opts.defaultMeta; 7 | var metaSchemaRef = typeof defaultMeta == 'string' 8 | ? { $ref: defaultMeta } 9 | : ajv.getSchema(META_SCHEMA_ID) 10 | ? { $ref: META_SCHEMA_ID } 11 | : {}; 12 | 13 | ajv.addKeyword('patternGroups', { 14 | // implemented in properties.jst 15 | metaSchema: { 16 | type: 'object', 17 | additionalProperties: { 18 | type: 'object', 19 | required: [ 'schema' ], 20 | properties: { 21 | maximum: { 22 | type: 'integer', 23 | minimum: 0 24 | }, 25 | minimum: { 26 | type: 'integer', 27 | minimum: 0 28 | }, 29 | schema: metaSchemaRef 30 | }, 31 | additionalProperties: false 32 | } 33 | } 34 | }); 35 | ajv.RULES.all.properties.implements.push('patternGroups'); 36 | }; 37 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/$data.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#", 4 | "description": "Meta-schema for $data reference (JSON-schema extension proposal)", 5 | "type": "object", 6 | "required": [ "$data" ], 7 | "properties": { 8 | "$data": { 9 | "type": "string", 10 | "anyOf": [ 11 | { "format": "relative-json-pointer" }, 12 | { "format": "json-pointer" } 13 | ] 14 | } 15 | }, 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | no-console: 0 3 | no-empty: [2, allowEmptyCatch: true] 4 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/info: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | var fs = require('fs'); 6 | var name = process.argv[2] || '.'; 7 | var property = process.argv[3] || 'version'; 8 | if (name != '.') name = 'node_modules/' + name; 9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8')); 10 | console.log(json[property]); 11 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/prepare-tests: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | set -e 4 | 5 | mkdir -p .browser 6 | 7 | find spec -type f -name '*.spec.js' | \ 8 | xargs -I {} sh -c \ 9 | 'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");' 10 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/travis-gh-pages: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then 6 | git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qE '\.md$|^LICENSE$|travis-gh-pages$' && { 7 | rm -rf ../gh-pages 8 | git clone -b gh-pages --single-branch https://${GITHUB_TOKEN}@github.com/epoberezkin/ajv.git ../gh-pages 9 | mkdir -p ../gh-pages/_source 10 | cp *.md ../gh-pages/_source 11 | cp LICENSE ../gh-pages/_source 12 | currentDir=$(pwd) 13 | cd ../gh-pages 14 | $currentDir/node_modules/.bin/gh-pages-generator 15 | # remove logo from README 16 | sed -i -E "s/]+ajv_logo[^>]+>//" index.md 17 | git config user.email "$GIT_USER_EMAIL" 18 | git config user.name "$GIT_USER_NAME" 19 | git add . 20 | git commit -am "updated by travis build #$TRAVIS_BUILD_NUMBER" 21 | git push --quiet origin gh-pages > /dev/null 2>&1 22 | } 23 | fi 24 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/errors.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | 6 | newInvalidAsn1Error: function (msg) { 7 | var e = new Error(); 8 | e.name = 'InvalidAsn1Error'; 9 | e.message = msg || ''; 10 | return e; 11 | } 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | var errors = require('./errors'); 4 | var types = require('./types'); 5 | 6 | var Reader = require('./reader'); 7 | var Writer = require('./writer'); 8 | 9 | 10 | // --- Exports 11 | 12 | module.exports = { 13 | 14 | Reader: Reader, 15 | 16 | Writer: Writer 17 | 18 | }; 19 | 20 | for (var t in types) { 21 | if (types.hasOwnProperty(t)) 22 | module.exports[t] = types[t]; 23 | } 24 | for (var e in errors) { 25 | if (errors.hasOwnProperty(e)) 26 | module.exports[e] = errors[e]; 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/types.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | EOC: 0, 6 | Boolean: 1, 7 | Integer: 2, 8 | BitString: 3, 9 | OctetString: 4, 10 | Null: 5, 11 | OID: 6, 12 | ObjectDescriptor: 7, 13 | External: 8, 14 | Real: 9, // float 15 | Enumeration: 10, 16 | PDV: 11, 17 | Utf8String: 12, 18 | RelativeOID: 13, 19 | Sequence: 16, 20 | Set: 17, 21 | NumericString: 18, 22 | PrintableString: 19, 23 | T61String: 20, 24 | VideotexString: 21, 25 | IA5String: 22, 26 | UTCTime: 23, 27 | GeneralizedTime: 24, 28 | GraphicString: 25, 29 | VisibleString: 26, 30 | GeneralString: 28, 31 | UniversalString: 29, 32 | CharacterString: 30, 33 | BMPString: 31, 34 | Constructor: 32, 35 | Context: 128 36 | }; 37 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | // If you have no idea what ASN.1 or BER is, see this: 4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc 5 | 6 | var Ber = require('./ber/index'); 7 | 8 | 9 | 10 | // --- Exported API 11 | 12 | module.exports = { 13 | 14 | Ber: Ber, 15 | 16 | BerReader: Ber.Reader, 17 | 18 | BerWriter: Ber.Writer 19 | 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/assert-plus/AUTHORS: -------------------------------------------------------------------------------- 1 | Dave Eddy 2 | Fred Kuo 3 | Lars-Magnus Skog 4 | Mark Cavage 5 | Patrick Mooney 6 | Rob Gulewich 7 | -------------------------------------------------------------------------------- /node_modules/assert-plus/CHANGES.md: -------------------------------------------------------------------------------- 1 | # assert-plus Changelog 2 | 3 | ## 1.0.0 4 | 5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input 6 | - Add assert.finite check. Previous assert.number callers should use this if 7 | they expect Infinity inputs to throw. 8 | 9 | ## 0.2.0 10 | 11 | - Fix `assert.object(null)` so it throws 12 | - Fix optional/arrayOf exports for non-type-of asserts 13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid 14 | - Add basic unit test coverage 15 | -------------------------------------------------------------------------------- /node_modules/asynckit/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | { 3 | parallel : require('./parallel.js'), 4 | serial : require('./serial.js'), 5 | serialOrdered : require('./serialOrdered.js') 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/abort.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = abort; 3 | 4 | /** 5 | * Aborts leftover active jobs 6 | * 7 | * @param {object} state - current state object 8 | */ 9 | function abort(state) 10 | { 11 | Object.keys(state.jobs).forEach(clean.bind(state)); 12 | 13 | // reset leftover jobs 14 | state.jobs = {}; 15 | } 16 | 17 | /** 18 | * Cleans up leftover job by invoking abort function for the provided job id 19 | * 20 | * @this state 21 | * @param {string|number} key - job id to abort 22 | */ 23 | function clean(key) 24 | { 25 | if (typeof this.jobs[key] == 'function') 26 | { 27 | this.jobs[key](); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/async.js: -------------------------------------------------------------------------------- 1 | var defer = require('./defer.js'); 2 | 3 | // API 4 | module.exports = async; 5 | 6 | /** 7 | * Runs provided callback asynchronously 8 | * even if callback itself is not 9 | * 10 | * @param {function} callback - callback to invoke 11 | * @returns {function} - augmented callback 12 | */ 13 | function async(callback) 14 | { 15 | var isAsync = false; 16 | 17 | // check if async happened 18 | defer(function() { isAsync = true; }); 19 | 20 | return function async_callback(err, result) 21 | { 22 | if (isAsync) 23 | { 24 | callback(err, result); 25 | } 26 | else 27 | { 28 | defer(function nextTick_callback() 29 | { 30 | callback(err, result); 31 | }); 32 | } 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_parallel.js: -------------------------------------------------------------------------------- 1 | var parallel = require('../parallel.js'); 2 | 3 | // API 4 | module.exports = ReadableParallel; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.parallel` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableParallel(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableParallel)) 17 | { 18 | return new ReadableParallel(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableParallel.super_.call(this, {objectMode: true}); 23 | 24 | this._start(parallel, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial.js: -------------------------------------------------------------------------------- 1 | var serial = require('../serial.js'); 2 | 3 | // API 4 | module.exports = ReadableSerial; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.serial` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableSerial(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableSerial)) 17 | { 18 | return new ReadableSerial(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableSerial.super_.call(this, {objectMode: true}); 23 | 24 | this._start(serial, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial_ordered.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('../serialOrdered.js'); 2 | 3 | // API 4 | module.exports = ReadableSerialOrdered; 5 | // expose sort helpers 6 | module.exports.ascending = serialOrdered.ascending; 7 | module.exports.descending = serialOrdered.descending; 8 | 9 | /** 10 | * Streaming wrapper to `asynckit.serialOrdered` 11 | * 12 | * @param {array|object} list - array or object (named list) to iterate over 13 | * @param {function} iterator - iterator to run 14 | * @param {function} sortMethod - custom sort function 15 | * @param {function} callback - invoked when all elements processed 16 | * @returns {stream.Readable#} 17 | */ 18 | function ReadableSerialOrdered(list, iterator, sortMethod, callback) 19 | { 20 | if (!(this instanceof ReadableSerialOrdered)) 21 | { 22 | return new ReadableSerialOrdered(list, iterator, sortMethod, callback); 23 | } 24 | 25 | // turn on object mode 26 | ReadableSerialOrdered.super_.call(this, {objectMode: true}); 27 | 28 | this._start(serialOrdered, list, iterator, sortMethod, callback); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/state.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = state; 3 | 4 | /** 5 | * Creates initial state object 6 | * for iteration over list 7 | * 8 | * @param {array|object} list - list to iterate over 9 | * @param {function|null} sortMethod - function to use for keys sort, 10 | * or `null` to keep them as is 11 | * @returns {object} - initial state object 12 | */ 13 | function state(list, sortMethod) 14 | { 15 | var isNamedList = !Array.isArray(list) 16 | , initState = 17 | { 18 | index : 0, 19 | keyedList: isNamedList || sortMethod ? Object.keys(list) : null, 20 | jobs : {}, 21 | results : isNamedList ? {} : [], 22 | size : isNamedList ? Object.keys(list).length : list.length 23 | } 24 | ; 25 | 26 | if (sortMethod) 27 | { 28 | // sort array keys based on it's values 29 | // sort object's keys just on own merit 30 | initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) 31 | { 32 | return sortMethod(list[a], list[b]); 33 | }); 34 | } 35 | 36 | return initState; 37 | } 38 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/terminator.js: -------------------------------------------------------------------------------- 1 | var abort = require('./abort.js') 2 | , async = require('./async.js') 3 | ; 4 | 5 | // API 6 | module.exports = terminator; 7 | 8 | /** 9 | * Terminates jobs in the attached state context 10 | * 11 | * @this AsyncKitState# 12 | * @param {function} callback - final callback to invoke after termination 13 | */ 14 | function terminator(callback) 15 | { 16 | if (!Object.keys(this.jobs).length) 17 | { 18 | return; 19 | } 20 | 21 | // fast forward iteration index 22 | this.index = this.size; 23 | 24 | // abort jobs 25 | abort(this); 26 | 27 | // send back results we have so far 28 | async(callback)(null, this.results); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/serial.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('./serialOrdered.js'); 2 | 3 | // Public API 4 | module.exports = serial; 5 | 6 | /** 7 | * Runs iterator over provided array elements in series 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {function} - jobs terminator 13 | */ 14 | function serial(list, iterator, callback) 15 | { 16 | return serialOrdered(list, iterator, null, callback); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/asynckit/stream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits 2 | , Readable = require('stream').Readable 3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js') 4 | , ReadableParallel = require('./lib/readable_parallel.js') 5 | , ReadableSerial = require('./lib/readable_serial.js') 6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') 7 | ; 8 | 9 | // API 10 | module.exports = 11 | { 12 | parallel : ReadableParallel, 13 | serial : ReadableSerial, 14 | serialOrdered : ReadableSerialOrdered, 15 | }; 16 | 17 | inherits(ReadableAsyncKit, Readable); 18 | 19 | inherits(ReadableParallel, ReadableAsyncKit); 20 | inherits(ReadableSerial, ReadableAsyncKit); 21 | inherits(ReadableSerialOrdered, ReadableAsyncKit); 22 | -------------------------------------------------------------------------------- /node_modules/aws-sign2/README.md: -------------------------------------------------------------------------------- 1 | aws-sign 2 | ======== 3 | 4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/aws4/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.2" 6 | -------------------------------------------------------------------------------- /node_modules/bcrypt-pbkdf/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new 4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user 5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md). 6 | This repo does not use GitHub pull requests. 7 | 8 | See the [Joyent Engineering 9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general 10 | best practices expected in this repository. 11 | 12 | If you're changing something non-trivial or user-facing, you may want to submit 13 | an issue first. 14 | -------------------------------------------------------------------------------- /node_modules/bn.js/.npmignore: -------------------------------------------------------------------------------- 1 | benchmarks/ 2 | coverage/ 3 | test/ 4 | node_modules/ 5 | npm-debug.log 6 | 1.js 7 | logo.png 8 | .travis.yml 9 | -------------------------------------------------------------------------------- /node_modules/brorand/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /node_modules/brorand/test/api-test.js: -------------------------------------------------------------------------------- 1 | var brorand = require('../'); 2 | var assert = require('assert'); 3 | 4 | describe('Brorand', function() { 5 | it('should generate random numbers', function() { 6 | assert.equal(brorand(100).length, 100); 7 | }); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "4" 5 | - "5" 6 | - "6" 7 | - "7" 8 | - "8" 9 | matrix: 10 | include: 11 | - node_js: "7" 12 | env: TEST_SUITE=standard 13 | env: 14 | - TEST_SUITE=unit 15 | script: npm run-script $TEST_SUITE 16 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/README.md: -------------------------------------------------------------------------------- 1 | # browserify-aes 2 | [![Build Status](https://travis-ci.org/crypto-browserify/browserify-aes.svg)](https://travis-ci.org/crypto-browserify/browserify-aes) 3 | 4 | Node style aes for use in the browser. 5 | Implements: 6 | 7 | - createCipher 8 | - createCipheriv 9 | - createDecipher 10 | - createDecipheriv 11 | - getCiphers 12 | 13 | In node.js, the `crypto` implementation is used, in browsers it falls back to a pure JavaScript implementation. 14 | 15 | Much of this library has been taken from the aes implementation in [triplesec](https://github.com/keybase/triplesec), a partial derivation of [crypto-js](https://code.google.com/p/crypto-js/). 16 | 17 | `EVP_BytesToKey` is a straight up port of the same function from OpenSSL as there is literally no documenation on it beyond it using 'undocumented extensions' for longer keys. 18 | 19 | ## LICENSE [MIT](LICENSE) 20 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/browser.js: -------------------------------------------------------------------------------- 1 | var ciphers = require('./encrypter') 2 | var deciphers = require('./decrypter') 3 | var modes = require('./modes/list.json') 4 | 5 | function getCiphers () { 6 | return Object.keys(modes) 7 | } 8 | 9 | exports.createCipher = exports.Cipher = ciphers.createCipher 10 | exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv 11 | exports.createDecipher = exports.Decipher = deciphers.createDecipher 12 | exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv 13 | exports.listCiphers = exports.getCiphers = getCiphers 14 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/incr32.js: -------------------------------------------------------------------------------- 1 | function incr32 (iv) { 2 | var len = iv.length 3 | var item 4 | while (len--) { 5 | item = iv.readUInt8(len) 6 | if (item === 255) { 7 | iv.writeUInt8(0, len) 8 | } else { 9 | item++ 10 | iv.writeUInt8(item, len) 11 | break 12 | } 13 | } 14 | } 15 | module.exports = incr32 16 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/index.js: -------------------------------------------------------------------------------- 1 | var crypto = require('crypto') 2 | 3 | exports.createCipher = exports.Cipher = crypto.createCipher 4 | exports.createCipheriv = exports.Cipheriv = crypto.createCipheriv 5 | exports.createDecipher = exports.Decipher = crypto.createDecipher 6 | exports.createDecipheriv = exports.Decipheriv = crypto.createDecipheriv 7 | exports.listCiphers = exports.getCiphers = crypto.getCiphers 8 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/cbc.js: -------------------------------------------------------------------------------- 1 | var xor = require('buffer-xor') 2 | 3 | exports.encrypt = function (self, block) { 4 | var data = xor(block, self._prev) 5 | 6 | self._prev = self._cipher.encryptBlock(data) 7 | return self._prev 8 | } 9 | 10 | exports.decrypt = function (self, block) { 11 | var pad = self._prev 12 | 13 | self._prev = block 14 | var out = self._cipher.decryptBlock(block) 15 | 16 | return xor(out, pad) 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/cfb.js: -------------------------------------------------------------------------------- 1 | var Buffer = require('safe-buffer').Buffer 2 | var xor = require('buffer-xor') 3 | 4 | function encryptStart (self, data, decrypt) { 5 | var len = data.length 6 | var out = xor(data, self._cache) 7 | self._cache = self._cache.slice(len) 8 | self._prev = Buffer.concat([self._prev, decrypt ? data : out]) 9 | return out 10 | } 11 | 12 | exports.encrypt = function (self, data, decrypt) { 13 | var out = Buffer.allocUnsafe(0) 14 | var len 15 | 16 | while (data.length) { 17 | if (self._cache.length === 0) { 18 | self._cache = self._cipher.encryptBlock(self._prev) 19 | self._prev = Buffer.allocUnsafe(0) 20 | } 21 | 22 | if (self._cache.length <= data.length) { 23 | len = self._cache.length 24 | out = Buffer.concat([out, encryptStart(self, data.slice(0, len), decrypt)]) 25 | data = data.slice(len) 26 | } else { 27 | out = Buffer.concat([out, encryptStart(self, data, decrypt)]) 28 | break 29 | } 30 | } 31 | 32 | return out 33 | } 34 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/cfb1.js: -------------------------------------------------------------------------------- 1 | var Buffer = require('safe-buffer').Buffer 2 | 3 | function encryptByte (self, byteParam, decrypt) { 4 | var pad 5 | var i = -1 6 | var len = 8 7 | var out = 0 8 | var bit, value 9 | while (++i < len) { 10 | pad = self._cipher.encryptBlock(self._prev) 11 | bit = (byteParam & (1 << (7 - i))) ? 0x80 : 0 12 | value = pad[0] ^ bit 13 | out += ((value & 0x80) >> (i % 8)) 14 | self._prev = shiftIn(self._prev, decrypt ? bit : value) 15 | } 16 | return out 17 | } 18 | 19 | function shiftIn (buffer, value) { 20 | var len = buffer.length 21 | var i = -1 22 | var out = Buffer.allocUnsafe(buffer.length) 23 | buffer = Buffer.concat([buffer, Buffer.from([value])]) 24 | 25 | while (++i < len) { 26 | out[i] = buffer[i] << 1 | buffer[i + 1] >> (7) 27 | } 28 | 29 | return out 30 | } 31 | 32 | exports.encrypt = function (self, chunk, decrypt) { 33 | var len = chunk.length 34 | var out = Buffer.allocUnsafe(len) 35 | var i = -1 36 | 37 | while (++i < len) { 38 | out[i] = encryptByte(self, chunk[i], decrypt) 39 | } 40 | 41 | return out 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/cfb8.js: -------------------------------------------------------------------------------- 1 | var Buffer = require('safe-buffer').Buffer 2 | 3 | function encryptByte (self, byteParam, decrypt) { 4 | var pad = self._cipher.encryptBlock(self._prev) 5 | var out = pad[0] ^ byteParam 6 | 7 | self._prev = Buffer.concat([ 8 | self._prev.slice(1), 9 | Buffer.from([decrypt ? byteParam : out]) 10 | ]) 11 | 12 | return out 13 | } 14 | 15 | exports.encrypt = function (self, chunk, decrypt) { 16 | var len = chunk.length 17 | var out = Buffer.allocUnsafe(len) 18 | var i = -1 19 | 20 | while (++i < len) { 21 | out[i] = encryptByte(self, chunk[i], decrypt) 22 | } 23 | 24 | return out 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/ctr.js: -------------------------------------------------------------------------------- 1 | var xor = require('buffer-xor') 2 | var Buffer = require('safe-buffer').Buffer 3 | var incr32 = require('../incr32') 4 | 5 | function getBlock (self) { 6 | var out = self._cipher.encryptBlockRaw(self._prev) 7 | incr32(self._prev) 8 | return out 9 | } 10 | 11 | var blockSize = 16 12 | exports.encrypt = function (self, chunk) { 13 | var chunkNum = Math.ceil(chunk.length / blockSize) 14 | var start = self._cache.length 15 | self._cache = Buffer.concat([ 16 | self._cache, 17 | Buffer.allocUnsafe(chunkNum * blockSize) 18 | ]) 19 | for (var i = 0; i < chunkNum; i++) { 20 | var out = getBlock(self) 21 | var offset = start + i * blockSize 22 | self._cache.writeUInt32BE(out[0], offset + 0) 23 | self._cache.writeUInt32BE(out[1], offset + 4) 24 | self._cache.writeUInt32BE(out[2], offset + 8) 25 | self._cache.writeUInt32BE(out[3], offset + 12) 26 | } 27 | var pad = self._cache.slice(0, chunk.length) 28 | self._cache = self._cache.slice(chunk.length) 29 | return xor(chunk, pad) 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/ecb.js: -------------------------------------------------------------------------------- 1 | exports.encrypt = function (self, block) { 2 | return self._cipher.encryptBlock(block) 3 | } 4 | 5 | exports.decrypt = function (self, block) { 6 | return self._cipher.decryptBlock(block) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/index.js: -------------------------------------------------------------------------------- 1 | var modeModules = { 2 | ECB: require('./ecb'), 3 | CBC: require('./cbc'), 4 | CFB: require('./cfb'), 5 | CFB8: require('./cfb8'), 6 | CFB1: require('./cfb1'), 7 | OFB: require('./ofb'), 8 | CTR: require('./ctr'), 9 | GCM: require('./ctr') 10 | } 11 | 12 | var modes = require('./list.json') 13 | 14 | for (var key in modes) { 15 | modes[key].module = modeModules[modes[key].mode] 16 | } 17 | 18 | module.exports = modes 19 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/modes/ofb.js: -------------------------------------------------------------------------------- 1 | var xor = require('buffer-xor') 2 | 3 | function getBlock (self) { 4 | self._prev = self._cipher.encryptBlock(self._prev) 5 | return self._prev 6 | } 7 | 8 | exports.encrypt = function (self, chunk) { 9 | while (self._cache.length < chunk.length) { 10 | self._cache = Buffer.concat([self._cache, getBlock(self)]) 11 | } 12 | 13 | var pad = self._cache.slice(0, chunk.length) 14 | self._cache = self._cache.slice(chunk.length) 15 | return xor(chunk, pad) 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/browserify-aes/streamCipher.js: -------------------------------------------------------------------------------- 1 | var aes = require('./aes') 2 | var Buffer = require('safe-buffer').Buffer 3 | var Transform = require('cipher-base') 4 | var inherits = require('inherits') 5 | 6 | function StreamCipher (mode, key, iv, decrypt) { 7 | Transform.call(this) 8 | 9 | this._cipher = new aes.AES(key) 10 | this._prev = Buffer.from(iv) 11 | this._cache = Buffer.allocUnsafe(0) 12 | this._secCache = Buffer.allocUnsafe(0) 13 | this._decrypt = decrypt 14 | this._mode = mode 15 | } 16 | 17 | inherits(StreamCipher, Transform) 18 | 19 | StreamCipher.prototype._update = function (chunk) { 20 | return this._mode.encrypt(this, chunk, this._decrypt) 21 | } 22 | 23 | StreamCipher.prototype._final = function () { 24 | this._cipher.scrub() 25 | } 26 | 27 | module.exports = StreamCipher 28 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | before_install: 3 | - "npm install npm -g" 4 | node_js: 5 | - "0.12" 6 | env: 7 | - TEST_SUITE=standard 8 | - TEST_SUITE=unit 9 | script: "npm run-script $TEST_SUITE" 10 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function xor (a, b) { 2 | var length = Math.min(a.length, b.length) 3 | var buffer = new Buffer(length) 4 | 5 | for (var i = 0; i < length; ++i) { 6 | buffer[i] = a[i] ^ b[i] 7 | } 8 | 9 | return buffer 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/inline.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./inplace') 2 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/inplace.js: -------------------------------------------------------------------------------- 1 | module.exports = function xorInplace (a, b) { 2 | var length = Math.min(a.length, b.length) 3 | 4 | for (var i = 0; i < length; ++i) { 5 | a[i] = a[i] ^ b[i] 6 | } 7 | 8 | return a.slice(0, length) 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/buffer-xor/test/fixtures.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "a": "000f", 4 | "b": "f0ff", 5 | "expected": "f0f0" 6 | }, 7 | { 8 | "a": "000f0f", 9 | "b": "f0ff", 10 | "mutated": "f0f00f", 11 | "expected": "f0f0" 12 | }, 13 | { 14 | "a": "000f", 15 | "b": "f0ffff", 16 | "expected": "f0f0" 17 | }, 18 | { 19 | "a": "000000", 20 | "b": "000000", 21 | "expected": "000000" 22 | } 23 | ] 24 | -------------------------------------------------------------------------------- /node_modules/cipher-base/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["standard"] 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/cipher-base/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/cipher-base/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | -------------------------------------------------------------------------------- /node_modules/cipher-base/README.md: -------------------------------------------------------------------------------- 1 | cipher-base 2 | === 3 | 4 | [![Build Status](https://travis-ci.org/crypto-browserify/cipher-base.svg)](https://travis-ci.org/crypto-browserify/cipher-base) 5 | 6 | Abstract base class to inherit from if you want to create streams implementing 7 | the same api as node crypto streams. 8 | 9 | Requires you to implement 2 methods `_final` and `_update`. `_update` takes a 10 | buffer and should return a buffer, `_final` takes no arguments and should return 11 | a buffer. 12 | 13 | 14 | The constructor takes one argument and that is a string which if present switches 15 | it into hash mode, i.e. the object you get from crypto.createHash or 16 | crypto.createSign, this switches the name of the final method to be the string 17 | you passed instead of `final` and returns `this` from update. 18 | -------------------------------------------------------------------------------- /node_modules/combined-stream/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.4 / 2017-09-11 2 | ================== 3 | 4 | * perf: skip parameter parsing when no parameters 5 | 6 | 1.0.3 / 2017-09-10 7 | ================== 8 | 9 | * perf: remove argument reassignment 10 | 11 | 1.0.2 / 2016-05-09 12 | ================== 13 | 14 | * perf: enable strict mode 15 | 16 | 1.0.1 / 2015-02-13 17 | ================== 18 | 19 | * Improve missing `Content-Type` header error message 20 | 21 | 1.0.0 / 2015-02-01 22 | ================== 23 | 24 | * Initial implementation, derived from `media-typer@0.3.0` 25 | -------------------------------------------------------------------------------- /node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/create-hash/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | before_install: 4 | - "npm install npm -g" 5 | node_js: 6 | - "4" 7 | - "5" 8 | - "6" 9 | - "7" 10 | env: 11 | matrix: 12 | - TEST_SUITE=unit 13 | matrix: 14 | include: 15 | - node_js: "7" 16 | env: TEST_SUITE=standard 17 | script: npm run $TEST_SUITE 18 | -------------------------------------------------------------------------------- /node_modules/create-hash/README.md: -------------------------------------------------------------------------------- 1 | # create-hash 2 | 3 | [![Build Status](https://travis-ci.org/crypto-browserify/createHash.svg)](https://travis-ci.org/crypto-browserify/createHash) 4 | 5 | Node style hashes for use in the browser, with native hash functions in node. 6 | 7 | API is the same as hashes in node: 8 | ```js 9 | var createHash = require('create-hash') 10 | var hash = createHash('sha224') 11 | hash.update('synchronous write') // optional encoding parameter 12 | hash.digest() // synchronously get result with optional encoding parameter 13 | 14 | hash.write('write to it as a stream') 15 | hash.end() // remember it's a stream 16 | hash.read() // only if you ended it as a stream though 17 | ``` 18 | 19 | To get the JavaScript version even in node do `require('create-hash/browser')` 20 | -------------------------------------------------------------------------------- /node_modules/create-hash/browser.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | var inherits = require('inherits') 3 | var MD5 = require('md5.js') 4 | var RIPEMD160 = require('ripemd160') 5 | var sha = require('sha.js') 6 | var Base = require('cipher-base') 7 | 8 | function Hash (hash) { 9 | Base.call(this, 'digest') 10 | 11 | this._hash = hash 12 | } 13 | 14 | inherits(Hash, Base) 15 | 16 | Hash.prototype._update = function (data) { 17 | this._hash.update(data) 18 | } 19 | 20 | Hash.prototype._final = function () { 21 | return this._hash.digest() 22 | } 23 | 24 | module.exports = function createHash (alg) { 25 | alg = alg.toLowerCase() 26 | if (alg === 'md5') return new MD5() 27 | if (alg === 'rmd160' || alg === 'ripemd160') return new RIPEMD160() 28 | 29 | return new Hash(sha(alg)) 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/create-hash/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('crypto').createHash 2 | -------------------------------------------------------------------------------- /node_modules/create-hash/md5.js: -------------------------------------------------------------------------------- 1 | var MD5 = require('md5.js') 2 | 3 | module.exports = function (buffer) { 4 | return new MD5().update(buffer).digest() 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/create-hmac/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('crypto').createHmac 2 | -------------------------------------------------------------------------------- /node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/depd/lib/compat/event-listener-count.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = eventListenerCount 15 | 16 | /** 17 | * Get the count of listeners on an event emitter of a specific type. 18 | */ 19 | 20 | function eventListenerCount (emitter, type) { 21 | return emitter.listeners(type).length 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/drbg.js/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // module.exports.CtrDRBG = require('./ctr') 3 | module.exports.HashDRBG = require('./hash') 4 | module.exports.HmacDRBG = require('./hmac') 5 | -------------------------------------------------------------------------------- /node_modules/drbg.js/lib/cipher-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "aes128": { 3 | "securityStrength": 128, 4 | "outlen": 128, 5 | "keylen": 128 6 | }, 7 | "aes192": { 8 | "securityStrength": 192, 9 | "outlen": 128, 10 | "keylen": 192 11 | }, 12 | "aes256": { 13 | "securityStrength": 256, 14 | "outlen": 128, 15 | "keylen": 256 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/drbg.js/lib/hash-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "sha1": { 3 | "securityStrength": 128, 4 | "outlen": 160, 5 | "seedlen": 440 6 | }, 7 | "sha224": { 8 | "securityStrength": 192, 9 | "outlen": 224, 10 | "seedlen": 440 11 | }, 12 | "sha256": { 13 | "securityStrength": 256, 14 | "outlen": 256, 15 | "seedlen": 440 16 | }, 17 | "sha384": { 18 | "securityStrength": 256, 19 | "outlen": 384, 20 | "seedlen": 888 21 | }, 22 | "sha512": { 23 | "securityStrength": 256, 24 | "outlen": 512, 25 | "seedlen": 888 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/drbg.js/lib/util.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | exports.b512zero = new Buffer(256) 3 | ;(function () { 4 | for (var i = 0; i < exports.b512zero.length; ++i) exports.b512zero[i] = 0 5 | })() 6 | 7 | exports.bKsource = new Buffer(32) 8 | ;(function () { 9 | for (var i = 0; i < exports.bKsource.length; ++i) exports.bKsource[i] = i 10 | })() 11 | 12 | exports.bsum = function (buffers) { 13 | var dst = new Buffer(buffers[0]) 14 | 15 | for (var i = 1; i < buffers.length; ++i) { 16 | for (var j = buffers[i].length - 1, dj = dst.length - 1, carry = 0; j >= 0; --j, --dj) { 17 | carry += buffers[i][j] + dst[dj] 18 | dst[dj] = carry & 0xff 19 | carry >>>= 8 20 | } 21 | 22 | for (; carry > 0 && dj >= 0; --dj) { 23 | carry += dst[dj] 24 | dst[dj] = carry & 0xff 25 | carry >>>= 8 26 | } 27 | } 28 | 29 | return dst 30 | } 31 | 32 | exports.bxor = function (a, b) { 33 | var r = new Buffer(a.length) 34 | for (var i = 0; i < r.length; ++i) r[i] = a[i] ^ b[i] 35 | return r 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/ecc-jsbn/README.md: -------------------------------------------------------------------------------- 1 | ecc-jsbn 2 | ======== 3 | 4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/). 5 | 6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too. 7 | 8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression). 9 | -------------------------------------------------------------------------------- /node_modules/ecc-jsbn/test.js: -------------------------------------------------------------------------------- 1 | var ecc = require("./index.js"); 2 | var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1); 3 | var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1); 4 | console.log(key1.deriveSharedSecret(key2)); 5 | var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey); 6 | var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,true); 7 | console.log(key3.deriveSharedSecret(key4)); 8 | 9 | var key1 = new ecc.ECKey(ecc.ECCurves.secp256r1); 10 | var key2 = new ecc.ECKey(ecc.ECCurves.secp256r1); 11 | console.log(key1.deriveSharedSecret(key2)); 12 | var key3 = new ecc.ECKey(ecc.ECCurves.secp256r1,key1.PrivateKey); 13 | var key4 = new ecc.ECKey(ecc.ECCurves.secp256r1,key2.PublicKey,true); 14 | console.log(key3.deriveSharedSecret(key4)); 15 | -------------------------------------------------------------------------------- /node_modules/elliptic/lib/elliptic.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var elliptic = exports; 4 | 5 | elliptic.version = require('../package.json').version; 6 | elliptic.utils = require('./elliptic/utils'); 7 | elliptic.rand = require('brorand'); 8 | elliptic.curve = require('./elliptic/curve'); 9 | elliptic.curves = require('./elliptic/curves'); 10 | 11 | // Protocols 12 | elliptic.ec = require('./elliptic/ec'); 13 | elliptic.eddsa = require('./elliptic/eddsa'); 14 | -------------------------------------------------------------------------------- /node_modules/elliptic/lib/elliptic/curve/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var curve = exports; 4 | 5 | curve.base = require('./base'); 6 | curve.short = require('./short'); 7 | curve.mont = require('./mont'); 8 | curve.edwards = require('./edwards'); 9 | -------------------------------------------------------------------------------- /node_modules/elliptic/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/elliptic/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/elliptic/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | module.exports = require('./lib/express'); 12 | -------------------------------------------------------------------------------- /node_modules/express/lib/middleware/init.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | /** 12 | * Module dependencies. 13 | * @private 14 | */ 15 | 16 | var setPrototypeOf = require('setprototypeof') 17 | 18 | /** 19 | * Initialization middleware, exposing the 20 | * request and response to each other, as well 21 | * as defaulting the X-Powered-By header field. 22 | * 23 | * @param {Function} app 24 | * @return {Function} 25 | * @api private 26 | */ 27 | 28 | exports.init = function(app){ 29 | return function expressInit(req, res, next){ 30 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express'); 31 | req.res = res; 32 | res.req = req; 33 | req.next = next; 34 | 35 | setPrototypeOf(req, app.request) 36 | setPrototypeOf(res, app.response) 37 | 38 | res.locals = res.locals || Object.create(null); 39 | 40 | next(); 41 | }; 42 | }; 43 | 44 | -------------------------------------------------------------------------------- /node_modules/express/lib/middleware/query.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | /** 12 | * Module dependencies. 13 | */ 14 | 15 | var merge = require('utils-merge') 16 | var parseUrl = require('parseurl'); 17 | var qs = require('qs'); 18 | 19 | /** 20 | * @param {Object} options 21 | * @return {Function} 22 | * @api public 23 | */ 24 | 25 | module.exports = function query(options) { 26 | var opts = merge({}, options) 27 | var queryparse = qs.parse; 28 | 29 | if (typeof options === 'function') { 30 | queryparse = options; 31 | opts = undefined; 32 | } 33 | 34 | if (opts !== undefined && opts.allowPrototypes === undefined) { 35 | // back-compat for qs module 36 | opts.allowPrototypes = true; 37 | } 38 | 39 | return function query(req, res, next){ 40 | if (!req.query) { 41 | var val = parseUrl(req).query; 42 | req.query = queryparse(val, opts); 43 | } 44 | 45 | next(); 46 | }; 47 | }; 48 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/.bin/mime: -------------------------------------------------------------------------------- 1 | ../mime/cli.js -------------------------------------------------------------------------------- /node_modules/express/node_modules/content-disposition/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.5.2 / 2016-12-08 2 | ================== 3 | 4 | * Fix `parse` to accept any linear whitespace character 5 | 6 | 0.5.1 / 2016-01-17 7 | ================== 8 | 9 | * perf: enable strict mode 10 | 11 | 0.5.0 / 2014-10-11 12 | ================== 13 | 14 | * Add `parse` function 15 | 16 | 0.4.0 / 2014-09-21 17 | ================== 18 | 19 | * Expand non-Unicode `filename` to the full ISO-8859-1 charset 20 | 21 | 0.3.0 / 2014-09-20 22 | ================== 23 | 24 | * Add `fallback` option 25 | * Add `type` option 26 | 27 | 0.2.0 / 2014-09-19 28 | ================== 29 | 30 | * Reduce ambiguity of file names with hex escape in buggy browsers 31 | 32 | 0.1.2 / 2014-09-19 33 | ================== 34 | 35 | * Fix periodic invalid Unicode filename header 36 | 37 | 0.1.1 / 2014-09-19 38 | ================== 39 | 40 | * Fix invalid characters appearing in `filename*` parameter 41 | 42 | 0.1.0 / 2014-09-18 43 | ================== 44 | 45 | * Make the `filename` argument optional 46 | 47 | 0.0.0 / 2014-09-18 48 | ================== 49 | 50 | * Initial release 51 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.4 / 2017-09-11 2 | ================== 3 | 4 | * perf: skip parameter parsing when no parameters 5 | 6 | 1.0.3 / 2017-09-10 7 | ================== 8 | 9 | * perf: remove argument reassignment 10 | 11 | 1.0.2 / 2016-05-09 12 | ================== 13 | 14 | * perf: enable strict mode 15 | 16 | 1.0.1 / 2015-02-13 17 | ================== 18 | 19 | * Improve missing `Content-Type` header error message 20 | 21 | 1.0.0 / 2015-02-01 22 | ================== 23 | 24 | * Initial implementation, derived from `media-typer@0.3.0` 25 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/cookie-signature/History.md: -------------------------------------------------------------------------------- 1 | 1.0.6 / 2015-02-03 2 | ================== 3 | 4 | * use `npm test` instead of `make test` to run tests 5 | * clearer assertion messages when checking input 6 | 7 | 8 | 1.0.5 / 2014-09-05 9 | ================== 10 | 11 | * add license to package.json 12 | 13 | 1.0.4 / 2014-06-25 14 | ================== 15 | 16 | * corrected avoidance of timing attacks (thanks @tenbits!) 17 | 18 | 1.0.3 / 2014-01-28 19 | ================== 20 | 21 | * [incorrect] fix for timing attacks 22 | 23 | 1.0.2 / 2014-01-28 24 | ================== 25 | 26 | * fix missing repository warning 27 | * fix typo in test 28 | 29 | 1.0.1 / 2013-04-15 30 | ================== 31 | 32 | * Revert "Changed underlying HMAC algo. to sha512." 33 | * Revert "Fix for timing attacks on MAC verification." 34 | 35 | 0.0.1 / 2010-01-03 36 | ================== 37 | 38 | * Initial release 39 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/depd/lib/compat/event-listener-count.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = eventListenerCount 15 | 16 | /** 17 | * Get the count of listeners on an event emitter of a specific type. 18 | */ 19 | 20 | function eventListenerCount (emitter, type) { 21 | return emitter.listeners(type).length 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/encodeurl/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-06-09 2 | ================== 3 | 4 | * Fix encoding unpaired surrogates at start/end of string 5 | 6 | 1.0.0 / 2016-06-08 7 | ================== 8 | 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/escape-html/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # escape-html 3 | 4 | Escape string for use in HTML 5 | 6 | ## Example 7 | 8 | ```js 9 | var escape = require('escape-html'); 10 | var html = escape('foo & bar'); 11 | // -> foo & bar 12 | ``` 13 | 14 | ## Benchmark 15 | 16 | ``` 17 | $ npm run-script bench 18 | 19 | > escape-html@1.0.3 bench nodejs-escape-html 20 | > node benchmark/index.js 21 | 22 | 23 | http_parser@1.0 24 | node@0.10.33 25 | v8@3.14.5.9 26 | ares@1.9.0-DEV 27 | uv@0.10.29 28 | zlib@1.2.3 29 | modules@11 30 | openssl@1.0.1j 31 | 32 | 1 test completed. 33 | 2 tests completed. 34 | 3 tests completed. 35 | 36 | no special characters x 19,435,271 ops/sec ±0.85% (187 runs sampled) 37 | single special character x 6,132,421 ops/sec ±0.67% (194 runs sampled) 38 | many special characters x 3,175,826 ops/sec ±0.65% (193 runs sampled) 39 | ``` 40 | 41 | ## License 42 | 43 | MIT -------------------------------------------------------------------------------- /node_modules/express/node_modules/forwarded/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.1.2 / 2017-09-14 2 | ================== 3 | 4 | * perf: improve header parsing 5 | * perf: reduce overhead when no `X-Forwarded-For` header 6 | 7 | 0.1.1 / 2017-09-10 8 | ================== 9 | 10 | * Fix trimming leading / trailing OWS 11 | * perf: hoist regular expression 12 | 13 | 0.1.0 / 2014-09-21 14 | ================== 15 | 16 | * Initial release 17 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/http-errors/node_modules/setprototypeof/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Wes Todd 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/http-errors/node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 4 | 5 | ## Usage: 6 | 7 | ``` 8 | $ npm install --save setprototypeof 9 | ``` 10 | 11 | ```javascript 12 | var setPrototypeOf = require('setprototypeof'); 13 | 14 | var obj = {}; 15 | setPrototypeOf(obj, { 16 | foo: function() { 17 | return 'bar'; 18 | } 19 | }); 20 | obj.foo(); // bar 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/http-errors/node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); 2 | 3 | function setProtoOf(obj, proto) { 4 | obj.__proto__ = proto; 5 | return obj; 6 | } 7 | 8 | function mixinProperties(obj, proto) { 9 | for (var prop in proto) { 10 | if (!obj.hasOwnProperty(prop)) { 11 | obj[prop] = proto[prop]; 12 | } 13 | } 14 | return obj; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/ipaddr.js/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/ipaddr.js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "4.0" 8 | - "4.1" 9 | - "4.2" 10 | - "5" 11 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/ipaddr.js/Cakefile: -------------------------------------------------------------------------------- 1 | fs = require 'fs' 2 | CoffeeScript = require 'coffee-script' 3 | nodeunit = require 'nodeunit' 4 | UglifyJS = require 'uglify-js' 5 | 6 | task 'build', 'build the JavaScript files from CoffeeScript source', build = (cb) -> 7 | source = fs.readFileSync 'src/ipaddr.coffee', 'utf-8' 8 | fs.writeFileSync 'lib/ipaddr.js', CoffeeScript.compile source.toString() 9 | 10 | invoke 'test' 11 | invoke 'compress' 12 | 13 | task 'test', 'run the bundled tests', (cb) -> 14 | nodeunit.reporters.default.run ['test'] 15 | 16 | task 'compress', 'uglify the resulting javascript', (cb) -> 17 | source = fs.readFileSync 'lib/ipaddr.js', 'utf-8' 18 | fs.writeFileSync('ipaddr.min.js', UglifyJS.minify(source).code) 19 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/ipaddr.js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ipaddr.js", 3 | "version": "1.5.2", 4 | "homepage": "https://github.com/whitequark/ipaddr.js", 5 | "authors": [ 6 | "whitequark " 7 | ], 8 | "description": "IP address manipulation library in JavaScript (CoffeeScript, actually)", 9 | "main": "lib/ipaddr.js", 10 | "moduleType": [ 11 | "globals", 12 | "node" 13 | ], 14 | "keywords": [ 15 | "javscript", 16 | "ip", 17 | "address", 18 | "ipv4", 19 | "ipv6" 20 | ], 21 | "license": "MIT", 22 | "ignore": [ 23 | "**/.*", 24 | "node_modules", 25 | "bower_components", 26 | "test", 27 | "tests" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/merge-descriptors/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.0.0 / 2015-03-01 7 | ================== 8 | 9 | * Add option to only add new descriptors 10 | * Add simple argument validation 11 | * Add jsdoc to source file 12 | 13 | 0.0.2 / 2013-12-14 14 | ================== 15 | 16 | * Move repository to `component` organization 17 | 18 | 0.0.1 / 2013-10-29 19 | ================== 20 | 21 | * Initial release 22 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/methods/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.1.2 / 2016-01-17 2 | ================== 3 | 4 | * perf: enable strict mode 5 | 6 | 1.1.1 / 2014-12-30 7 | ================== 8 | 9 | * Improve `browserify` support 10 | 11 | 1.1.0 / 2014-07-05 12 | ================== 13 | 14 | * Add `CONNECT` method 15 | 16 | 1.0.1 / 2014-06-02 17 | ================== 18 | 19 | * Fix module to work with harmony transform 20 | 21 | 1.0.0 / 2014-05-08 22 | ================== 23 | 24 | * Add `PURGE` method 25 | 26 | 0.1.0 / 2013-10-28 27 | ================== 28 | 29 | * Add `http.METHODS` support 30 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mime/build/build.js: -------------------------------------------------------------------------------- 1 | var db = require('mime-db'); 2 | 3 | var mapByType = {}; 4 | Object.keys(db).forEach(function(key) { 5 | var extensions = db[key].extensions; 6 | if (extensions) { 7 | mapByType[key] = extensions; 8 | } 9 | }); 10 | 11 | console.log(JSON.stringify(mapByType)); 12 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/mime/cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var mime = require('./mime.js'); 4 | var file = process.argv[2]; 5 | var type = mime.lookup(file); 6 | 7 | process.stdout.write(type + '\n'); 8 | 9 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/path-to-regexp/History.md: -------------------------------------------------------------------------------- 1 | 0.1.7 / 2015-07-28 2 | ================== 3 | 4 | * Fixed regression with escaped round brackets and matching groups. 5 | 6 | 0.1.6 / 2015-06-19 7 | ================== 8 | 9 | * Replace `index` feature by outputting all parameters, unnamed and named. 10 | 11 | 0.1.5 / 2015-05-08 12 | ================== 13 | 14 | * Add an index property for position in match result. 15 | 16 | 0.1.4 / 2015-03-05 17 | ================== 18 | 19 | * Add license information 20 | 21 | 0.1.3 / 2014-07-06 22 | ================== 23 | 24 | * Better array support 25 | * Improved support for trailing slash in non-ending mode 26 | 27 | 0.1.0 / 2014-03-06 28 | ================== 29 | 30 | * add options.end 31 | 32 | 0.0.2 / 2013-02-10 33 | ================== 34 | 35 | * Update to match current express 36 | * add .license property to component.json 37 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 140 11 | 12 | [test/*] 13 | max_line_length = off 14 | 15 | [*.md] 16 | max_line_length = off 17 | 18 | [*.json] 19 | max_line_length = off 20 | 21 | [Makefile] 22 | max_line_length = off 23 | 24 | [CHANGELOG.md] 25 | indent_style = space 26 | indent_size = 2 27 | 28 | [LICENSE] 29 | indent_size = 2 30 | max_line_length = off 31 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 28], 8 | "consistent-return": 1, 9 | "func-name-matching": 0, 10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], 11 | "indent": [2, 4], 12 | "max-params": [2, 12], 13 | "max-statements": [2, 45], 14 | "no-continue": 1, 15 | "no-magic-numbers": 0, 16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 17 | "operator-linebreak": [2, "before"], 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | module.exports = { 7 | 'default': 'RFC3986', 8 | formatters: { 9 | RFC1738: function (value) { 10 | return replace.call(value, percentTwenties, '+'); 11 | }, 12 | RFC3986: function (value) { 13 | return value; 14 | } 15 | }, 16 | RFC1738: 'RFC1738', 17 | RFC3986: 'RFC3986' 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "consistent-return": 2, 6 | "max-lines": 0, 7 | "max-nested-callbacks": [2, 3], 8 | "max-statements": 0, 9 | "no-buffer-constructor": 0, 10 | "no-extend-native": 0, 11 | "no-magic-numbers": 0, 12 | "object-curly-newline": 0, 13 | "sort-keys": 0 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./parse'); 4 | 5 | require('./stringify'); 6 | 7 | require('./utils'); 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/range-parser/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.2.0 / 2016-06-01 2 | ================== 3 | 4 | * Add `combine` option to combine overlapping ranges 5 | 6 | 1.1.0 / 2016-05-13 7 | ================== 8 | 9 | * Fix incorrectly returning -1 when there is at least one valid range 10 | * perf: remove internal function 11 | 12 | 1.0.3 / 2015-10-29 13 | ================== 14 | 15 | * perf: enable strict mode 16 | 17 | 1.0.2 / 2014-09-08 18 | ================== 19 | 20 | * Support Node.js 0.6 21 | 22 | 1.0.1 / 2014-09-07 23 | ================== 24 | 25 | * Move repository to jshttp 26 | 27 | 1.0.0 / 2013-12-11 28 | ================== 29 | 30 | * Add repository to package.json 31 | * Add MIT license 32 | 33 | 0.0.4 / 2012-06-17 34 | ================== 35 | 36 | * Change ret -1 for unsatisfiable and -2 when invalid 37 | 38 | 0.0.3 / 2012-06-17 39 | ================== 40 | 41 | * Fix last-byte-pos default to len - 1 42 | 43 | 0.0.2 / 2012-06-14 44 | ================== 45 | 46 | * Add `.type` 47 | 48 | 0.0.1 / 2012-06-11 49 | ================== 50 | 51 | * Initial release 52 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/safe-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | - '5' 5 | - '4' 6 | - '0.12' 7 | - '0.10' 8 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/setprototypeof/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Wes Todd 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 4 | 5 | ## Usage: 6 | 7 | ``` 8 | $ npm install --save setprototypeof 9 | ``` 10 | 11 | ```javascript 12 | var setPrototypeOf = require('setprototypeof'); 13 | 14 | var obj = {}; 15 | setPrototypeOf(obj, { 16 | foo: function() { 17 | return 'bar'; 18 | } 19 | }); 20 | obj.foo(); // bar 21 | ``` 22 | 23 | TypeScript is also supported: 24 | ```typescript 25 | import setPrototypeOf = require('setprototypeof'); 26 | ``` -------------------------------------------------------------------------------- /node_modules/express/node_modules/setprototypeof/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setPrototypeOf(o: any, proto: object | null): any; 2 | export = setPrototypeOf; 3 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); 2 | 3 | function setProtoOf(obj, proto) { 4 | obj.__proto__ = proto; 5 | return obj; 6 | } 7 | 8 | function mixinProperties(obj, proto) { 9 | for (var prop in proto) { 10 | if (!obj.hasOwnProperty(prop)) { 11 | obj[prop] = proto[prop]; 12 | } 13 | } 14 | return obj; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/unpipe/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.0 / 2015-06-14 2 | ================== 3 | 4 | * Initial release 5 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/utils-merge/.npmignore: -------------------------------------------------------------------------------- 1 | CONTRIBUTING.md 2 | Makefile 3 | docs/ 4 | examples/ 5 | reports/ 6 | test/ 7 | 8 | .jshintrc 9 | .travis.yml 10 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/utils-merge/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge object b with object a. 3 | * 4 | * var a = { foo: 'bar' } 5 | * , b = { bar: 'baz' }; 6 | * 7 | * merge(a, b); 8 | * // => { foo: 'bar', bar: 'baz' } 9 | * 10 | * @param {Object} a 11 | * @param {Object} b 12 | * @return {Object} 13 | * @api public 14 | */ 15 | 16 | exports = module.exports = function(a, b){ 17 | if (a && b) { 18 | for (var key in b) { 19 | a[key] = b[key]; 20 | } 21 | } 22 | return a; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/express/node_modules/vary/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.1.2 / 2017-09-23 2 | ================== 3 | 4 | * perf: improve header token parsing speed 5 | 6 | 1.1.1 / 2017-03-20 7 | ================== 8 | 9 | * perf: hoist regular expression 10 | 11 | 1.1.0 / 2015-09-29 12 | ================== 13 | 14 | * Only accept valid field names in the `field` argument 15 | - Ensures the resulting string is a valid HTTP header value 16 | 17 | 1.0.1 / 2015-07-08 18 | ================== 19 | 20 | * Fix setting empty header from empty `field` 21 | * perf: enable strict mode 22 | * perf: remove argument reassignments 23 | 24 | 1.0.0 / 2014-08-10 25 | ================== 26 | 27 | * Accept valid `Vary` header string as `field` 28 | * Add `vary.append` for low-level string manipulation 29 | * Move to `jshttp` orgainzation 30 | 31 | 0.1.0 / 2014-06-05 32 | ================== 33 | 34 | * Support array of fields to set 35 | 36 | 0.0.0 / 2014-06-04 37 | ================== 38 | 39 | * Initial release 40 | -------------------------------------------------------------------------------- /node_modules/extend/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 150 11 | 12 | [CHANGELOG.md] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.json] 17 | max_line_length = off 18 | 19 | [Makefile] 20 | max_line_length = off 21 | -------------------------------------------------------------------------------- /node_modules/extend/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 20], 8 | "eqeqeq": [2, "allow-null"], 9 | "func-name-matching": [1], 10 | "max-depth": [1, 4], 11 | "max-statements": [2, 26], 12 | "no-extra-parens": [1], 13 | "no-magic-numbers": [0], 14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"], 15 | "sort-keys": [0], 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/extend/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extend", 3 | "author": "Stefan Thomas (http://www.justmoon.net)", 4 | "version": "3.0.0", 5 | "description": "Port of jQuery.extend for node.js and the browser.", 6 | "scripts": [ 7 | "index.js" 8 | ], 9 | "contributors": [ 10 | { 11 | "name": "Jordan Harband", 12 | "url": "https://github.com/ljharb" 13 | } 14 | ], 15 | "keywords": [ 16 | "extend", 17 | "clone", 18 | "merge" 19 | ], 20 | "repository" : { 21 | "type": "git", 22 | "url": "https://github.com/justmoon/node-extend.git" 23 | }, 24 | "dependencies": { 25 | }, 26 | "devDependencies": { 27 | "tape" : "~3.0.0", 28 | "covert": "~0.4.0", 29 | "jscs": "~1.6.2" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /node_modules/extsprintf/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/extsprintf/.gitmodules -------------------------------------------------------------------------------- /node_modules/extsprintf/.npmignore: -------------------------------------------------------------------------------- 1 | /deps 2 | /examples 3 | -------------------------------------------------------------------------------- /node_modules/extsprintf/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved. 3 | # 4 | # Makefile: top-level Makefile 5 | # 6 | # This Makefile contains only repo-specific logic and uses included makefiles 7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are 8 | # used by other repos as well. 9 | # 10 | 11 | # 12 | # Files 13 | # 14 | JSL = jsl 15 | JSSTYLE = jsstyle 16 | JS_FILES := $(shell find examples lib -name '*.js') 17 | JSL_FILES_NODE = $(JS_FILES) 18 | JSSTYLE_FILES = $(JS_FILES) 19 | JSL_CONF_NODE = jsl.node.conf 20 | 21 | # Default target is "check" 22 | check: 23 | 24 | include ./Makefile.targ 25 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-deep-equal' { 2 | const equal: (a: any, b: any) => boolean; 3 | export = equal; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | extends: eslint:recommended 2 | env: 3 | node: true 4 | browser: true 5 | rules: 6 | block-scoped-var: 2 7 | callback-return: 2 8 | dot-notation: 2 9 | indent: 2 10 | linebreak-style: [2, unix] 11 | new-cap: 2 12 | no-console: [2, allow: [warn, error]] 13 | no-else-return: 2 14 | no-eq-null: 2 15 | no-fallthrough: 2 16 | no-invalid-this: 2 17 | no-return-assign: 2 18 | no-shadow: 1 19 | no-trailing-spaces: 2 20 | no-use-before-define: [2, nofunc] 21 | quotes: [2, single, avoid-escape] 22 | semi: [2, always] 23 | strict: [2, global] 24 | valid-jsdoc: [2, requireReturn: false] 25 | no-control-regex: 0 26 | no-useless-escape: 2 27 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .nyc_output/ 3 | coverage/ 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "7" 6 | - "8" 7 | after_script: 8 | - coveralls < coverage/lcov.info 9 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/benchmark/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Benchmark = require('benchmark'); 4 | const suite = new Benchmark.Suite; 5 | const testData = require('./test.json'); 6 | 7 | 8 | const stringifyPackages = { 9 | // 'JSON.stringify': JSON.stringify, 10 | 'fast-json-stable-stringify': require('../index'), 11 | 'json-stable-stringify': true, 12 | 'fast-stable-stringify': true, 13 | 'faster-stable-stringify': true 14 | }; 15 | 16 | 17 | for (const name in stringifyPackages) { 18 | let func = stringifyPackages[name]; 19 | if (func === true) func = require(name); 20 | 21 | suite.add(name, function() { 22 | func(testData); 23 | }); 24 | } 25 | 26 | suite 27 | .on('cycle', (event) => console.log(String(event.target))) 28 | .on('complete', function () { 29 | console.log('The fastest is ' + this.filter('fastest').map('name')); 30 | }) 31 | .run({async: true}); 32 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/key_cmp.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | 3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 4 | var s = stringify(obj, function (a, b) { 5 | return a.key < b.key ? 1 : -1; 6 | }); 7 | console.log(s); 8 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/nested.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 3 | console.log(stringify(obj)); 4 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/str.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | var obj = { c: 6, b: [4,5], a: 3 }; 3 | console.log(stringify(obj)); 4 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/value_cmp.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | 3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 }; 4 | var s = stringify(obj, function (a, b) { 5 | return a.value < b.value ? 1 : -1; 6 | }); 7 | console.log(s); 8 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/test/cmp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var stringify = require('../'); 5 | 6 | test('custom comparison function', function (t) { 7 | t.plan(1); 8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 9 | var s = stringify(obj, function (a, b) { 10 | return a.key < b.key ? 1 : -1; 11 | }); 12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}'); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/test/to-json.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var stringify = require('../'); 5 | 6 | test('toJSON function', function (t) { 7 | t.plan(1); 8 | var obj = { one: 1, two: 2, toJSON: function() { return { one: 1 }; } }; 9 | t.equal(stringify(obj), '{"one":1}' ); 10 | }); 11 | 12 | test('toJSON returns string', function (t) { 13 | t.plan(1); 14 | var obj = { one: 1, two: 2, toJSON: function() { return 'one'; } }; 15 | t.equal(stringify(obj), '"one"'); 16 | }); 17 | 18 | test('toJSON returns array', function (t) { 19 | t.plan(1); 20 | var obj = { one: 1, two: 2, toJSON: function() { return ['one']; } }; 21 | t.equal(stringify(obj), '["one"]'); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/forever-agent/README.md: -------------------------------------------------------------------------------- 1 | forever-agent 2 | ============= 3 | 4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | 4 | Object.keys(src).forEach(function(prop) 5 | { 6 | dst[prop] = dst[prop] || src[prop]; 7 | }); 8 | 9 | return dst; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/getpass/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | -------------------------------------------------------------------------------- /node_modules/getpass/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "5.10" 4 | - "4.4" 5 | - "4.1" 6 | - "0.12" 7 | - "0.10" 8 | before_install: 9 | - "make check" 10 | -------------------------------------------------------------------------------- /node_modules/getpass/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Joyent, Inc. All rights reserved. 2 | Permission is hereby granted, free of charge, to any person obtaining a copy 3 | of this software and associated documentation files (the "Software"), to 4 | deal in the Software without restriction, including without limitation the 5 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 6 | sell copies of the Software, and to permit persons to whom the Software is 7 | furnished to do so, subject to the following conditions: 8 | 9 | The above copyright notice and this permission notice shall be included in 10 | all copies or substantial portions of the Software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 14 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 15 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 16 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 17 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 18 | IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /node_modules/getpass/README.md: -------------------------------------------------------------------------------- 1 | ## getpass 2 | 3 | Get a password from the terminal. Sounds simple? Sounds like the `readline` 4 | module should be able to do it? NOPE. 5 | 6 | ## Install and use it 7 | 8 | ```bash 9 | npm install --save getpass 10 | ``` 11 | 12 | ```javascript 13 | const mod_getpass = require('getpass'); 14 | ``` 15 | 16 | ## API 17 | 18 | ### `mod_getpass.getPass([options, ]callback)` 19 | 20 | Gets a password from the terminal. If available, this uses `/dev/tty` to avoid 21 | interfering with any data being piped in or out of stdio. 22 | 23 | This function prints a prompt (by default `Password:`) and then accepts input 24 | without echoing. 25 | 26 | Parameters: 27 | 28 | * `options`, an Object, with properties: 29 | * `prompt`, an optional String 30 | * `callback`, a `Func(error, password)`, with arguments: 31 | * `error`, either `null` (no error) or an `Error` instance 32 | * `password`, a String 33 | -------------------------------------------------------------------------------- /node_modules/har-schema/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Ahmad Nassri 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/afterRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "afterRequest.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "lastAccess", 8 | "eTag", 9 | "hitCount" 10 | ], 11 | "properties": { 12 | "expires": { 13 | "type": "string", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 15 | }, 16 | "lastAccess": { 17 | "type": "string", 18 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 19 | }, 20 | "eTag": { 21 | "type": "string" 22 | }, 23 | "hitCount": { 24 | "type": "integer" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/beforeRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "beforeRequest.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "lastAccess", 8 | "eTag", 9 | "hitCount" 10 | ], 11 | "properties": { 12 | "expires": { 13 | "type": "string", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 15 | }, 16 | "lastAccess": { 17 | "type": "string", 18 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 19 | }, 20 | "eTag": { 21 | "type": "string" 22 | }, 23 | "hitCount": { 24 | "type": "integer" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/browser.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "browser.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "version" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "version": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/cache.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "cache.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "properties": { 5 | "beforeRequest": { 6 | "oneOf": [ 7 | { "type": "null" }, 8 | { "$ref": "beforeRequest.json#" } 9 | ] 10 | }, 11 | "afterRequest": { 12 | "oneOf": [ 13 | { "type": "null" }, 14 | { "$ref": "afterRequest.json#" } 15 | ] 16 | }, 17 | "comment": { 18 | "type": "string" 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "content.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "size", 7 | "mimeType" 8 | ], 9 | "properties": { 10 | "size": { 11 | "type": "integer" 12 | }, 13 | "compression": { 14 | "type": "integer" 15 | }, 16 | "mimeType": { 17 | "type": "string" 18 | }, 19 | "text": { 20 | "type": "string" 21 | }, 22 | "encoding": { 23 | "type": "string" 24 | }, 25 | "comment": { 26 | "type": "string" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/cookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "cookie.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "path": { 17 | "type": "string" 18 | }, 19 | "domain": { 20 | "type": "string" 21 | }, 22 | "expires": { 23 | "type": ["string", "null"], 24 | "format": "date-time" 25 | }, 26 | "httpOnly": { 27 | "type": "boolean" 28 | }, 29 | "secure": { 30 | "type": "boolean" 31 | }, 32 | "comment": { 33 | "type": "string" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/creator.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "creator.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "version" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "version": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/har.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "har.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "log" 7 | ], 8 | "properties": { 9 | "log": { 10 | "$ref": "log.json#" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/header.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "header.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | afterRequest: require('./afterRequest.json'), 5 | beforeRequest: require('./beforeRequest.json'), 6 | browser: require('./browser.json'), 7 | cache: require('./cache.json'), 8 | content: require('./content.json'), 9 | cookie: require('./cookie.json'), 10 | creator: require('./creator.json'), 11 | entry: require('./entry.json'), 12 | har: require('./har.json'), 13 | header: require('./header.json'), 14 | log: require('./log.json'), 15 | page: require('./page.json'), 16 | pageTimings: require('./pageTimings.json'), 17 | postData: require('./postData.json'), 18 | query: require('./query.json'), 19 | request: require('./request.json'), 20 | response: require('./response.json'), 21 | timings: require('./timings.json') 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/log.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "log.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "version", 7 | "creator", 8 | "entries" 9 | ], 10 | "properties": { 11 | "version": { 12 | "type": "string" 13 | }, 14 | "creator": { 15 | "$ref": "creator.json#" 16 | }, 17 | "browser": { 18 | "$ref": "browser.json#" 19 | }, 20 | "pages": { 21 | "type": "array", 22 | "items": { 23 | "$ref": "page.json#" 24 | } 25 | }, 26 | "entries": { 27 | "type": "array", 28 | "items": { 29 | "$ref": "entry.json#" 30 | } 31 | }, 32 | "comment": { 33 | "type": "string" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "page.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "startedDateTime", 8 | "id", 9 | "title", 10 | "pageTimings" 11 | ], 12 | "properties": { 13 | "startedDateTime": { 14 | "type": "string", 15 | "format": "date-time", 16 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 17 | }, 18 | "id": { 19 | "type": "string", 20 | "unique": true 21 | }, 22 | "title": { 23 | "type": "string" 24 | }, 25 | "pageTimings": { 26 | "$ref": "pageTimings.json#" 27 | }, 28 | "comment": { 29 | "type": "string" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/pageTimings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "pageTimings.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "properties": { 6 | "onContentLoad": { 7 | "type": "number", 8 | "min": -1 9 | }, 10 | "onLoad": { 11 | "type": "number", 12 | "min": -1 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/postData.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "postData.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "mimeType" 8 | ], 9 | "properties": { 10 | "mimeType": { 11 | "type": "string" 12 | }, 13 | "text": { 14 | "type": "string" 15 | }, 16 | "params": { 17 | "type": "array", 18 | "required": [ 19 | "name" 20 | ], 21 | "properties": { 22 | "name": { 23 | "type": "string" 24 | }, 25 | "value": { 26 | "type": "string" 27 | }, 28 | "fileName": { 29 | "type": "string" 30 | }, 31 | "contentType": { 32 | "type": "string" 33 | }, 34 | "comment": { 35 | "type": "string" 36 | } 37 | } 38 | }, 39 | "comment": { 40 | "type": "string" 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/query.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "query.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/timings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "timings.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "required": [ 5 | "send", 6 | "wait", 7 | "receive" 8 | ], 9 | "properties": { 10 | "dns": { 11 | "type": "number", 12 | "min": -1 13 | }, 14 | "connect": { 15 | "type": "number", 16 | "min": -1 17 | }, 18 | "blocked": { 19 | "type": "number", 20 | "min": -1 21 | }, 22 | "send": { 23 | "type": "number", 24 | "min": -1 25 | }, 26 | "wait": { 27 | "type": "number", 28 | "min": -1 29 | }, 30 | "receive": { 31 | "type": "number", 32 | "min": -1 33 | }, 34 | "ssl": { 35 | "type": "number", 36 | "min": -1 37 | }, 38 | "comment": { 39 | "type": "string" 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/har-validator/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Ahmad Nassri 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/har-validator/lib/error.js: -------------------------------------------------------------------------------- 1 | function HARError (errors) { 2 | var message = 'validation failed' 3 | 4 | this.name = 'HARError' 5 | this.message = message 6 | this.errors = errors 7 | 8 | if (typeof Error.captureStackTrace === 'function') { 9 | Error.captureStackTrace(this, this.constructor) 10 | } else { 11 | this.stack = (new Error(message)).stack 12 | } 13 | } 14 | 15 | HARError.prototype = Error.prototype 16 | 17 | module.exports = HARError 18 | -------------------------------------------------------------------------------- /node_modules/hash.js/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'env': { 3 | 'browser': true, 4 | 'commonjs': true, 5 | 'node': true, 6 | 'es6': true 7 | }, 8 | 'parserOptions': { 9 | 'ecmaVersion': 8 10 | }, 11 | 'extends': 'eslint:recommended', 12 | 'rules': { 13 | 'indent': [ 14 | 'error', 15 | 2, 16 | { 17 | 'FunctionDeclaration': { 18 | 'parameters': 'first' 19 | }, 20 | 'FunctionExpression': { 21 | 'parameters': 'first' 22 | }, 23 | 'CallExpression': { 24 | 'arguments': 'first' 25 | } 26 | } 27 | ], 28 | 'linebreak-style': [ 29 | 'error', 30 | 'unix' 31 | ], 32 | 'quotes': [ 33 | 'error', 34 | 'single' 35 | ], 36 | 'semi': [ 37 | 'error', 38 | 'always' 39 | ] 40 | } 41 | }; 42 | -------------------------------------------------------------------------------- /node_modules/hash.js/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /node_modules/hash.js/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "4" 5 | - "6" 6 | - "stable" 7 | branches: 8 | only: 9 | - master 10 | -------------------------------------------------------------------------------- /node_modules/hash.js/lib/hash.js: -------------------------------------------------------------------------------- 1 | var hash = exports; 2 | 3 | hash.utils = require('./hash/utils'); 4 | hash.common = require('./hash/common'); 5 | hash.sha = require('./hash/sha'); 6 | hash.ripemd = require('./hash/ripemd'); 7 | hash.hmac = require('./hash/hmac'); 8 | 9 | // Proxy hash functions to the main object 10 | hash.sha1 = hash.sha.sha1; 11 | hash.sha256 = hash.sha.sha256; 12 | hash.sha224 = hash.sha.sha224; 13 | hash.sha384 = hash.sha.sha384; 14 | hash.sha512 = hash.sha.sha512; 15 | hash.ripemd160 = hash.ripemd.ripemd160; 16 | -------------------------------------------------------------------------------- /node_modules/hash.js/lib/hash/sha.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | exports.sha1 = require('./sha/1'); 4 | exports.sha224 = require('./sha/224'); 5 | exports.sha256 = require('./sha/256'); 6 | exports.sha384 = require('./sha/384'); 7 | exports.sha512 = require('./sha/512'); 8 | -------------------------------------------------------------------------------- /node_modules/hash.js/lib/hash/sha/224.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('../utils'); 4 | var SHA256 = require('./256'); 5 | 6 | function SHA224() { 7 | if (!(this instanceof SHA224)) 8 | return new SHA224(); 9 | 10 | SHA256.call(this); 11 | this.h = [ 12 | 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, 13 | 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ]; 14 | } 15 | utils.inherits(SHA224, SHA256); 16 | module.exports = SHA224; 17 | 18 | SHA224.blockSize = 512; 19 | SHA224.outSize = 224; 20 | SHA224.hmacStrength = 192; 21 | SHA224.padLength = 64; 22 | 23 | SHA224.prototype._digest = function digest(enc) { 24 | // Just truncate output 25 | if (enc === 'hex') 26 | return utils.toHex32(this.h.slice(0, 7), 'big'); 27 | else 28 | return utils.split32(this.h.slice(0, 7), 'big'); 29 | }; 30 | 31 | -------------------------------------------------------------------------------- /node_modules/hash.js/lib/hash/sha/384.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var utils = require('../utils'); 4 | 5 | var SHA512 = require('./512'); 6 | 7 | function SHA384() { 8 | if (!(this instanceof SHA384)) 9 | return new SHA384(); 10 | 11 | SHA512.call(this); 12 | this.h = [ 13 | 0xcbbb9d5d, 0xc1059ed8, 14 | 0x629a292a, 0x367cd507, 15 | 0x9159015a, 0x3070dd17, 16 | 0x152fecd8, 0xf70e5939, 17 | 0x67332667, 0xffc00b31, 18 | 0x8eb44a87, 0x68581511, 19 | 0xdb0c2e0d, 0x64f98fa7, 20 | 0x47b5481d, 0xbefa4fa4 ]; 21 | } 22 | utils.inherits(SHA384, SHA512); 23 | module.exports = SHA384; 24 | 25 | SHA384.blockSize = 1024; 26 | SHA384.outSize = 384; 27 | SHA384.hmacStrength = 192; 28 | SHA384.padLength = 128; 29 | 30 | SHA384.prototype._digest = function digest(enc) { 31 | if (enc === 'hex') 32 | return utils.toHex32(this.h.slice(0, 12), 'big'); 33 | else 34 | return utils.split32(this.h.slice(0, 12), 'big'); 35 | }; 36 | -------------------------------------------------------------------------------- /node_modules/hash.js/node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/hash.js/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/hash.js/node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/hmac-drbg/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /node_modules/hmac-drbg/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: node_js 4 | 5 | node_js: 6 | - "4" 7 | - "6" 8 | - "stable" 9 | 10 | script: 11 | - npm test 12 | -------------------------------------------------------------------------------- /node_modules/http-signature/.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((nil . ((indent-tabs-mode . nil) 2 | (tab-width . 8) 3 | (fill-column . 80))) 4 | (js-mode . ((js-indent-level . 2) 5 | (indent-tabs-mode . nil) 6 | ))) -------------------------------------------------------------------------------- /node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /node_modules/http-signature/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Joyent, Inc. 2 | 3 | var parser = require('./parser'); 4 | var signer = require('./signer'); 5 | var verify = require('./verify'); 6 | var utils = require('./utils'); 7 | 8 | 9 | 10 | ///--- API 11 | 12 | module.exports = { 13 | 14 | parse: parser.parseRequest, 15 | parseRequest: parser.parseRequest, 16 | 17 | sign: signer.signRequest, 18 | signRequest: signer.signRequest, 19 | createSigner: signer.createSigner, 20 | isSigner: signer.isSigner, 21 | 22 | sshKeyToPEM: utils.sshKeyToPEM, 23 | sshKeyFingerprint: utils.fingerprint, 24 | pemToRsaSSHKey: utils.pemToRsaSSHKey, 25 | 26 | verify: verify.verifySignature, 27 | verifySignature: verify.verifySignature, 28 | verifyHMAC: verify.verifyHMAC 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | coverage 7 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "iojs" 8 | - "4" 9 | - "6" 10 | - "8" 11 | - "node" 12 | 13 | 14 | env: 15 | - CXX=g++-4.8 16 | addons: 17 | apt: 18 | sources: 19 | - ubuntu-toolchain-r-test 20 | packages: 21 | - gcc-4.8 22 | - g++-4.8 23 | 24 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/encodings/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // Update this array if you add/rename/remove files in this directory. 4 | // We support Browserify by skipping automatic module discovery and requiring modules directly. 5 | var modules = [ 6 | require("./internal"), 7 | require("./utf16"), 8 | require("./utf7"), 9 | require("./sbcs-codec"), 10 | require("./sbcs-data"), 11 | require("./sbcs-data-generated"), 12 | require("./dbcs-codec"), 13 | require("./dbcs-data"), 14 | ]; 15 | 16 | // Put all encoding/alias/codec definitions to single object and export it. 17 | for (var i = 0; i < modules.length; i++) { 18 | var module = modules[i]; 19 | for (var enc in module) 20 | if (Object.prototype.hasOwnProperty.call(module, enc)) 21 | exports[enc] = module[enc]; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | /*--------------------------------------------------------------------------------------------- 2 | * Copyright (c) Microsoft Corporation. All rights reserved. 3 | * Licensed under the MIT License. 4 | * REQUIREMENT: This definition is dependent on the @types/node definition. 5 | * Install with `npm install @types/node --save-dev` 6 | *--------------------------------------------------------------------------------------------*/ 7 | 8 | declare module 'iconv-lite' { 9 | export function decode(buffer: NodeBuffer, encoding: string, options?: Options): string; 10 | 11 | export function encode(content: string, encoding: string, options?: Options): NodeBuffer; 12 | 13 | export function encodingExists(encoding: string): boolean; 14 | 15 | export function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; 16 | 17 | export function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream; 18 | } 19 | 20 | export interface Options { 21 | stripBOM?: boolean; 22 | addBOM?: boolean; 23 | defaultEncoding?: string; 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/inherits/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. 16 | 17 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits_browser.js: -------------------------------------------------------------------------------- 1 | if (typeof Object.create === 'function') { 2 | // implementation from standard node.js 'util' module 3 | module.exports = function inherits(ctor, superCtor) { 4 | ctor.super_ = superCtor 5 | ctor.prototype = Object.create(superCtor.prototype, { 6 | constructor: { 7 | value: ctor, 8 | enumerable: false, 9 | writable: true, 10 | configurable: true 11 | } 12 | }); 13 | }; 14 | } else { 15 | // old school shim for old browsers 16 | module.exports = function inherits(ctor, superCtor) { 17 | ctor.super_ = superCtor 18 | var TempCtor = function () {} 19 | TempCtor.prototype = superCtor.prototype 20 | ctor.prototype = new TempCtor() 21 | ctor.prototype.constructor = ctor 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/is-typedarray/README.md: -------------------------------------------------------------------------------- 1 | # is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](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 | [![NPM](https://nodei.co/npm/is-typedarray.png)](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. 17 | -------------------------------------------------------------------------------- /node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /node_modules/isstream/isstream.js: -------------------------------------------------------------------------------- 1 | var stream = require('stream') 2 | 3 | 4 | function isStream (obj) { 5 | return obj instanceof stream.Stream 6 | } 7 | 8 | 9 | function isReadable (obj) { 10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object' 11 | } 12 | 13 | 14 | function isWritable (obj) { 15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object' 16 | } 17 | 18 | 19 | function isDuplex (obj) { 20 | return isReadable(obj) && isWritable(obj) 21 | } 22 | 23 | 24 | module.exports = isStream 25 | module.exports.isReadable = isReadable 26 | module.exports.isWritable = isWritable 27 | module.exports.isDuplex = isDuplex 28 | -------------------------------------------------------------------------------- /node_modules/jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /node_modules/jsbn/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jsbn/example.js: -------------------------------------------------------------------------------- 1 | var BigInteger = require('./'); 2 | var a = new BigInteger('91823918239182398123'); 3 | console.log(a.bitLength()); -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | extends: eslint:recommended 2 | env: 3 | node: true 4 | browser: true 5 | rules: 6 | block-scoped-var: 2 7 | complexity: [2, 13] 8 | curly: [2, multi-or-nest, consistent] 9 | dot-location: [2, property] 10 | dot-notation: 2 11 | indent: [2, 2, SwitchCase: 1] 12 | linebreak-style: [2, unix] 13 | new-cap: 2 14 | no-console: [2, allow: [warn, error]] 15 | no-else-return: 2 16 | no-eq-null: 2 17 | no-fallthrough: 2 18 | no-invalid-this: 2 19 | no-return-assign: 2 20 | no-shadow: 1 21 | no-trailing-spaces: 2 22 | no-use-before-define: [2, nofunc] 23 | quotes: [2, single, avoid-escape] 24 | semi: [2, always] 25 | strict: [2, global] 26 | valid-jsdoc: [2, requireReturn: false] 27 | no-control-regex: 0 28 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "7" 6 | - "8" 7 | after_script: 8 | - coveralls < coverage/lcov.info 9 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/spec/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | parserOptions: 2 | ecmaVersion: 6 3 | globals: 4 | beforeEach: false 5 | describe: false 6 | it: false 7 | -------------------------------------------------------------------------------- /node_modules/json-schema/README.md: -------------------------------------------------------------------------------- 1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator). 2 | 3 | Code is licensed under the AFL or BSD license as part of the Persevere 4 | project which is administered under the Dojo foundation, 5 | and all contributions require a Dojo CLA. -------------------------------------------------------------------------------- /node_modules/json-schema/draft-00/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-00/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-00/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-00/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "method" : { 16 | "type" : "string", 17 | "default" : "GET", 18 | "optional" : true 19 | }, 20 | 21 | "enctype" : { 22 | "type" : "string", 23 | "requires" : "method", 24 | "optional" : true 25 | }, 26 | 27 | "properties" : { 28 | "type" : "object", 29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"}, 30 | "optional" : true 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-01/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-01/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-01/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-01/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "method" : { 16 | "type" : "string", 17 | "default" : "GET", 18 | "optional" : true 19 | }, 20 | 21 | "enctype" : { 22 | "type" : "string", 23 | "requires" : "method", 24 | "optional" : true 25 | }, 26 | 27 | "properties" : { 28 | "type" : "object", 29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-01/hyper-schema#"}, 30 | "optional" : true 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-02/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-02/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-02/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-02/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, 16 | 17 | "method" : { 18 | "type" : "string", 19 | "default" : "GET", 20 | "optional" : true 21 | }, 22 | 23 | "enctype" : { 24 | "type" : "string", 25 | "requires" : "method", 26 | "optional" : true 27 | }, 28 | 29 | "properties" : { 30 | "type" : "object", 31 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, 32 | "optional" : true 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/examples/address: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard", 3 | "type" : "object", 4 | "properties" : { 5 | "post-office-box" : { "type" : "string" }, 6 | "extended-address" : { "type" : "string" }, 7 | "street-address" : { "type":"string" }, 8 | "locality" : { "type" : "string", "required" : true }, 9 | "region" : { "type" : "string", "required" : true }, 10 | "postal-code" : { "type" : "string" }, 11 | "country-name" : { "type" : "string", "required" : true } 12 | }, 13 | "dependencies" : { 14 | "post-office-box" : "street-address", 15 | "extended-address" : "street-address", 16 | "street-address" : "region", 17 | "locality" : "region", 18 | "region" : "country-name" 19 | } 20 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/examples/geo: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "A geographical coordinate", 3 | "type" : "object", 4 | "properties" : { 5 | "latitude" : { "type" : "number" }, 6 | "longitude" : { "type" : "number" } 7 | } 8 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/examples/interfaces: -------------------------------------------------------------------------------- 1 | { 2 | "extends":"http://json-schema.org/hyper-schema", 3 | "description":"A schema for schema interface definitions that describe programmatic class structures using JSON schema syntax", 4 | "properties":{ 5 | "methods":{ 6 | "type":"object", 7 | "description":"This defines the set of methods available to the class instances", 8 | "additionalProperties":{ 9 | "type":"object", 10 | "description":"The definition of the method", 11 | "properties":{ 12 | "parameters":{ 13 | "type":"array", 14 | "description":"The set of parameters that should be passed to the method when it is called", 15 | "items":{"$ref":"#"}, 16 | "required": true 17 | }, 18 | "returns":{"$ref":"#"} 19 | } 20 | } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-03/json-ref#", 4 | 5 | "additionalItems" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{id}", 11 | "rel" : "self" 12 | }, 13 | 14 | { 15 | "href" : "{$ref}", 16 | "rel" : "full" 17 | }, 18 | 19 | { 20 | "href" : "{$schema}", 21 | "rel" : "describedby" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-03/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string", 9 | "required" : true, 10 | "format" : "link-description-object-template" 11 | }, 12 | 13 | "rel" : { 14 | "type" : "string", 15 | "required" : true 16 | }, 17 | 18 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}, 19 | 20 | "method" : { 21 | "type" : "string", 22 | "default" : "GET" 23 | }, 24 | 25 | "enctype" : { 26 | "type" : "string", 27 | "requires" : "method" 28 | }, 29 | 30 | "properties" : { 31 | "type" : "object", 32 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"} 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-04/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-04/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-04/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "rel" : { 8 | "type" : "string" 9 | }, 10 | 11 | "href" : { 12 | "type" : "string" 13 | }, 14 | 15 | "template" : { 16 | "type" : "string" 17 | }, 18 | 19 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}, 20 | 21 | "method" : { 22 | "type" : "string", 23 | "default" : "GET" 24 | }, 25 | 26 | "enctype" : { 27 | "type" : "string" 28 | }, 29 | 30 | "properties" : { 31 | "type" : "object", 32 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"} 33 | } 34 | }, 35 | 36 | "required" : ["rel", "href"], 37 | 38 | "dependencies" : { 39 | "enctype" : "method" 40 | } 41 | } -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## Unreleased 2 | - Fixes stringify to only take ancestors into account when checking 3 | circularity. 4 | It previously assumed every visited object was circular which led to [false 5 | positives][issue9]. 6 | Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago. 7 | - Fixes calling the `replacer` function in the proper context (`thisArg`). 8 | - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`). 9 | - Speeds serializing by a factor of 10 | Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching 11 | only the ancestors for a circular references speeds up things considerably. 12 | 13 | [must]: https://github.com/moll/js-must 14 | [issue9]: https://github.com/isaacs/json-stringify-safe/issues/9 15 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/Makefile: -------------------------------------------------------------------------------- 1 | NODE_OPTS = 2 | TEST_OPTS = 3 | 4 | love: 5 | @echo "Feel like makin' love." 6 | 7 | test: 8 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS) 9 | 10 | spec: 11 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS) 12 | 13 | autotest: 14 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS) 15 | 16 | autospec: 17 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS) 18 | 19 | pack: 20 | @file=$$(npm pack); echo "$$file"; tar tf "$$file" 21 | 22 | publish: 23 | npm publish 24 | 25 | tag: 26 | git tag "v$$(node -e 'console.log(require("./package").version)')" 27 | 28 | clean: 29 | rm -f *.tgz 30 | npm prune --production 31 | 32 | .PHONY: love 33 | .PHONY: test spec autotest autospec 34 | .PHONY: pack publish tag 35 | .PHONY: clean 36 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/stringify.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = stringify 2 | exports.getSerialize = serializer 3 | 4 | function stringify(obj, replacer, spaces, cycleReplacer) { 5 | return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces) 6 | } 7 | 8 | function serializer(replacer, cycleReplacer) { 9 | var stack = [], keys = [] 10 | 11 | if (cycleReplacer == null) cycleReplacer = function(key, value) { 12 | if (stack[0] === value) return "[Circular ~]" 13 | return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]" 14 | } 15 | 16 | return function(key, value) { 17 | if (stack.length > 0) { 18 | var thisPos = stack.indexOf(this) 19 | ~thisPos ? stack.splice(thisPos + 1) : stack.push(this) 20 | ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key) 21 | if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value) 22 | } 23 | else stack.push(value) 24 | 25 | return replacer == null ? value : replacer.call(this, key, value) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /node_modules/jsprim/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new 4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user 5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md). 6 | This repo does not use GitHub pull requests. 7 | 8 | See the [Joyent Engineering 9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general 10 | best practices expected in this repository. 11 | 12 | Contributions should be "make prepush" clean. The "prepush" target runs the 13 | "check" target, which requires these separate tools: 14 | 15 | * https://github.com/davepacheco/jsstyle 16 | * https://github.com/davepacheco/javascriptlint 17 | 18 | If you're changing something non-trivial or user-facing, you may want to submit 19 | an issue first. 20 | -------------------------------------------------------------------------------- /node_modules/media-typer/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.3.0 / 2014-09-07 2 | ================== 3 | 4 | * Support Node.js 0.6 5 | * Throw error when parameter format invalid on parse 6 | 7 | 0.2.0 / 2014-06-18 8 | ================== 9 | 10 | * Add `typer.format()` to format media types 11 | 12 | 0.1.0 / 2014-06-17 13 | ================== 14 | 15 | * Accept `req` as argument to `parse` 16 | * Accept `res` as argument to `parse` 17 | * Parse media type with extra LWS between type and first parameter 18 | 19 | 0.0.0 / 2014-06-13 20 | ================== 21 | 22 | * Initial implementation 23 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/minimalistic-assert/index.js: -------------------------------------------------------------------------------- 1 | module.exports = assert; 2 | 3 | function assert(val, msg) { 4 | if (!val) 5 | throw new Error(msg || 'Assertion failed'); 6 | } 7 | 8 | assert.equal = function assertEqual(l, r, msg) { 9 | if (l != r) 10 | throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/minimalistic-assert/readme.md: -------------------------------------------------------------------------------- 1 | minimalistic-assert 2 | === 3 | 4 | very minimalistic assert module. 5 | -------------------------------------------------------------------------------- /node_modules/minimalistic-crypto-utils/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /node_modules/minimalistic-crypto-utils/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: node_js 4 | 5 | node_js: 6 | - "4" 7 | - "6" 8 | - "stable" 9 | 10 | script: 11 | - npm test 12 | -------------------------------------------------------------------------------- /node_modules/minimalistic-crypto-utils/test/utils-test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const assert = require('assert'); 4 | const utils = require('../'); 5 | 6 | describe('utils', () => { 7 | it('should convert to array', () => { 8 | assert.deepEqual(utils.toArray('1234', 'hex'), [ 0x12, 0x34 ]); 9 | assert.deepEqual(utils.toArray('1234'), [ 49, 50, 51, 52 ]); 10 | assert.deepEqual(utils.toArray('1234', 'utf8'), [ 49, 50, 51, 52 ]); 11 | assert.deepEqual(utils.toArray('\u1234234'), [ 18, 52, 50, 51, 52 ]); 12 | assert.deepEqual(utils.toArray([ 1, 2, 3, 4 ]), [ 1, 2, 3, 4 ]); 13 | }); 14 | 15 | it('should zero pad byte to hex', () => { 16 | assert.equal(utils.zero2('0'), '00'); 17 | assert.equal(utils.zero2('01'), '01'); 18 | }); 19 | 20 | it('should convert to hex', () => { 21 | assert.equal(utils.toHex([ 0, 1, 2, 3 ]), '00010203'); 22 | }); 23 | 24 | it('should encode', () => { 25 | assert.deepEqual(utils.encode([ 0, 1, 2, 3 ]), [ 0, 1, 2, 3 ]); 26 | assert.deepEqual(utils.encode([ 0, 1, 2, 3 ], 'hex'), '00010203'); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /node_modules/nan/include_dirs.js: -------------------------------------------------------------------------------- 1 | console.log(require('path').relative('.', __dirname)); 2 | -------------------------------------------------------------------------------- /node_modules/nan/tools/README.md: -------------------------------------------------------------------------------- 1 | 1to2 naively converts source code files from NAN 1 to NAN 2. There will be erroneous conversions, 2 | false positives and missed opportunities. The input files are rewritten in place. Make sure that 3 | you have backups. You will have to manually review the changes afterwards and do some touchups. 4 | 5 | ```sh 6 | $ tools/1to2.js 7 | 8 | Usage: 1to2 [options] 9 | 10 | Options: 11 | 12 | -h, --help output usage information 13 | -V, --version output the version number 14 | ``` 15 | -------------------------------------------------------------------------------- /node_modules/nan/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "1to2", 3 | "version": "1.0.0", 4 | "description": "NAN 1 -> 2 Migration Script", 5 | "main": "1to2.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git://github.com/nodejs/nan.git" 9 | }, 10 | "contributors": [ 11 | "Benjamin Byholm (https://github.com/kkoopa/)", 12 | "Mathias Küsel (https://github.com/mathiask88/)" 13 | ], 14 | "dependencies": { 15 | "glob": "~5.0.10", 16 | "commander": "~2.8.1" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/oauth-sign/README.md: -------------------------------------------------------------------------------- 1 | oauth-sign 2 | ========== 3 | 4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/performance-now/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /node_modules/performance-now/.tm_properties: -------------------------------------------------------------------------------- 1 | excludeDirectories = "{.git,node_modules}" 2 | excludeInFolderSearch = "{excludeDirectories,lib}" 3 | 4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}" 5 | 6 | [ attr.untitled ] 7 | fileType = 'source.coffee' -------------------------------------------------------------------------------- /node_modules/performance-now/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | - "6" 5 | - "4" 6 | - "0.12" 7 | -------------------------------------------------------------------------------- /node_modules/performance-now/lib/performance-now.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "file": "performance-now.js", 4 | "sourceRoot": "..", 5 | "sources": [ 6 | "src/performance-now.coffee" 7 | ], 8 | "names": [], 9 | "mappings": ";AAAA;AAAA,MAAA;;EAAA,IAAG,4DAAA,IAAiB,WAAW,CAAC,GAAhC;IACE,MAAM,CAAC,OAAP,GAAiB,SAAA;aAAG,WAAW,CAAC,GAAZ,CAAA;IAAH,EADnB;GAAA,MAEK,IAAG,oDAAA,IAAa,OAAO,CAAC,MAAxB;IACH,MAAM,CAAC,OAAP,GAAiB,SAAA;aAAG,CAAC,cAAA,CAAA,CAAA,GAAmB,YAApB,CAAA,GAAoC;IAAvC;IACjB,MAAA,GAAS,OAAO,CAAC;IACjB,cAAA,GAAiB,SAAA;AACf,UAAA;MAAA,EAAA,GAAK,MAAA,CAAA;aACL,EAAG,CAAA,CAAA,CAAH,GAAQ,GAAR,GAAc,EAAG,CAAA,CAAA;IAFF;IAGjB,cAAA,GAAiB,cAAA,CAAA;IACjB,MAAA,GAAS,OAAO,CAAC,MAAR,CAAA,CAAA,GAAmB;IAC5B,YAAA,GAAe,cAAA,GAAiB,OAR7B;GAAA,MASA,IAAG,IAAI,CAAC,GAAR;IACH,MAAM,CAAC,OAAP,GAAiB,SAAA;aAAG,IAAI,CAAC,GAAL,CAAA,CAAA,GAAa;IAAhB;IACjB,QAAA,GAAW,IAAI,CAAC,GAAL,CAAA,EAFR;GAAA,MAAA;IAIH,MAAM,CAAC,OAAP,GAAiB,SAAA;aAAO,IAAA,IAAA,CAAA,CAAM,CAAC,OAAP,CAAA,CAAJ,GAAuB;IAA1B;IACjB,QAAA,GAAe,IAAA,IAAA,CAAA,CAAM,CAAC,OAAP,CAAA,EALZ;;AAXL" 10 | } -------------------------------------------------------------------------------- /node_modules/performance-now/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013 Braveg1rl 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /node_modules/performance-now/src/index.d.ts: -------------------------------------------------------------------------------- 1 | // This file describes the package to typescript. 2 | 3 | /** 4 | * Returns the number of milliseconds since the page was loaded (if browser) 5 | * or the node process was started. 6 | */ 7 | declare function now(): number; 8 | export = now; 9 | -------------------------------------------------------------------------------- /node_modules/performance-now/src/performance-now.coffee: -------------------------------------------------------------------------------- 1 | if performance? and performance.now 2 | module.exports = -> performance.now() 3 | else if process? and process.hrtime 4 | module.exports = -> (getNanoSeconds() - nodeLoadTime) / 1e6 5 | hrtime = process.hrtime 6 | getNanoSeconds = -> 7 | hr = hrtime() 8 | hr[0] * 1e9 + hr[1] 9 | moduleLoadTime = getNanoSeconds() 10 | upTime = process.uptime() * 1e9 11 | nodeLoadTime = moduleLoadTime - upTime 12 | else if Date.now 13 | module.exports = -> Date.now() - loadTime 14 | loadTime = Date.now() 15 | else 16 | module.exports = -> new Date().getTime() - loadTime 17 | loadTime = new Date().getTime() 18 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --require coffee-script/register 2 | --compilers coffee:coffee-script/register 3 | --reporter spec -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/delayed-call.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 350 and below 600. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | delay = require "call-delayed" 10 | now = require "../../lib/performance-now" 11 | delay 250, -> console.log now().toFixed 3 12 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/delayed-require.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 350 and below 600. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | delay = require "call-delayed" 10 | delay 250, -> 11 | now = require "../../lib/performance-now" 12 | console.log now().toFixed 3 13 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/difference.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | # Expected output is above 0.005 and below 0.07. 4 | 5 | now = require('../../lib/performance-now') 6 | console.log -(now() - now()).toFixed 3 7 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/initial-value.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 100 and below 350. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | now = require '../../lib/performance-now' 10 | console.log now().toFixed 3 11 | -------------------------------------------------------------------------------- /node_modules/qs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 140 11 | 12 | [test/*] 13 | max_line_length = off 14 | 15 | [*.md] 16 | max_line_length = off 17 | 18 | [*.json] 19 | max_line_length = off 20 | 21 | [Makefile] 22 | max_line_length = off 23 | 24 | [CHANGELOG.md] 25 | indent_style = space 26 | indent_size = 2 27 | 28 | [LICENSE] 29 | indent_size = 2 30 | max_line_length = off 31 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 28], 8 | "consistent-return": 1, 9 | "func-name-matching": 0, 10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], 11 | "indent": [2, 4], 12 | "max-params": [2, 12], 13 | "max-statements": [2, 45], 14 | "no-continue": 1, 15 | "no-magic-numbers": 0, 16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 17 | "operator-linebreak": [2, "before"], 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | module.exports = { 7 | 'default': 'RFC3986', 8 | formatters: { 9 | RFC1738: function (value) { 10 | return replace.call(value, percentTwenties, '+'); 11 | }, 12 | RFC3986: function (value) { 13 | return value; 14 | } 15 | }, 16 | RFC1738: 'RFC1738', 17 | RFC3986: 'RFC3986' 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/qs/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "consistent-return": 2, 6 | "max-lines": 0, 7 | "max-nested-callbacks": [2, 3], 8 | "max-statements": 0, 9 | "no-buffer-constructor": 0, 10 | "no-extend-native": 0, 11 | "no-magic-numbers": 0, 12 | "object-curly-newline": 0, 13 | "sort-keys": 0 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./parse'); 4 | 5 | require('./stringify'); 6 | 7 | require('./utils'); 8 | -------------------------------------------------------------------------------- /node_modules/requires-port/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | -------------------------------------------------------------------------------- /node_modules/requires-port/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "4" 5 | - "iojs" 6 | - "0.12" 7 | - "0.10" 8 | script: 9 | - "npm run test-travis" 10 | after_script: 11 | - "npm install coveralls@2 && cat coverage/lcov.info | coveralls" 12 | matrix: 13 | fast_finish: true 14 | notifications: 15 | irc: 16 | channels: 17 | - "irc.freenode.org#unshift" 18 | on_success: change 19 | on_failure: change 20 | -------------------------------------------------------------------------------- /node_modules/requires-port/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Check if we're required to add a port number. 5 | * 6 | * @see https://url.spec.whatwg.org/#default-port 7 | * @param {Number|String} port Port number we need to check 8 | * @param {String} protocol Protocol we need to check against. 9 | * @returns {Boolean} Is it a default port for the given protocol 10 | * @api private 11 | */ 12 | module.exports = function required(port, protocol) { 13 | protocol = protocol.split(':')[0]; 14 | port = +port; 15 | 16 | if (!port) return false; 17 | 18 | switch (protocol) { 19 | case 'http': 20 | case 'ws': 21 | return port !== 80; 22 | 23 | case 'https': 24 | case 'wss': 25 | return port !== 443; 26 | 27 | case 'ftp': 28 | return port !== 21; 29 | 30 | case 'gopher': 31 | return port !== 70; 32 | 33 | case 'file': 34 | return false; 35 | } 36 | 37 | return port !== 0; 38 | }; 39 | -------------------------------------------------------------------------------- /node_modules/ripemd160/README.md: -------------------------------------------------------------------------------- 1 | # ripemd160 2 | 3 | [![NPM Package](https://img.shields.io/npm/v/ripemd160.svg?style=flat-square)](https://www.npmjs.org/package/ripemd160) 4 | [![Build Status](https://img.shields.io/travis/crypto-browserify/ripemd160.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/ripemd160) 5 | [![Dependency status](https://img.shields.io/david/crypto-browserify/ripemd160.svg?style=flat-square)](https://david-dm.org/crypto-browserify/ripemd160#info=dependencies) 6 | 7 | [![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) 8 | 9 | Node style `ripemd160` on pure JavaScript. 10 | 11 | ## Example 12 | 13 | ```js 14 | var RIPEMD160 = require('ripemd160') 15 | 16 | console.log(new RIPEMD160().update('42').digest('hex')) 17 | // => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8 18 | 19 | var ripemd160stream = new RIPEMD160() 20 | ripemd160stream.end('42') 21 | console.log(ripemd160stream.read().toString('hex')) 22 | // => 0df020ba32aa9b8b904471ff582ce6b579bf8bc8 23 | ``` 24 | 25 | ## LICENSE 26 | 27 | MIT 28 | -------------------------------------------------------------------------------- /node_modules/secp256k1/bindings.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('bindings')('secp256k1') 3 | -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/.deps/Release/secp256k1.node.d: -------------------------------------------------------------------------------- 1 | cmd_Release/secp256k1.node := c++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=10.7 -arch x86_64 -L./Release -stdlib=libc++ -o Release/secp256k1.node Release/obj.target/secp256k1/src/addon.o Release/obj.target/secp256k1/src/privatekey.o Release/obj.target/secp256k1/src/publickey.o Release/obj.target/secp256k1/src/signature.o Release/obj.target/secp256k1/src/ecdsa.o Release/obj.target/secp256k1/src/ecdh.o Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o -L/usr/local/lib 2 | -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/addon.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/addon.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/ecdh.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/ecdh.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/ecdsa.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/ecdsa.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/privatekey.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/privatekey.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/publickey.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/publickey.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/obj.target/secp256k1/src/signature.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/obj.target/secp256k1/src/signature.o -------------------------------------------------------------------------------- /node_modules/secp256k1/build/Release/secp256k1.node: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/build/Release/secp256k1.node -------------------------------------------------------------------------------- /node_modules/secp256k1/build/binding.Makefile: -------------------------------------------------------------------------------- 1 | # This file is generated by gyp; do not edit. 2 | 3 | export builddir_name ?= ./build/. 4 | .PHONY: all 5 | all: 6 | $(MAKE) secp256k1 7 | -------------------------------------------------------------------------------- /node_modules/secp256k1/elliptic.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./lib')(require('./lib/elliptic')) 3 | -------------------------------------------------------------------------------- /node_modules/secp256k1/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | try { 3 | module.exports = require('./bindings') 4 | } catch (err) { 5 | if (process.env.DEBUG) { 6 | console.error('Secp256k1 bindings are not compiled. Pure JS implementation will be used.') 7 | } 8 | 9 | module.exports = require('./elliptic') 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/secp256k1/js.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = require('./lib')(require('./lib/js')) 3 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/ecdh.h: -------------------------------------------------------------------------------- 1 | #ifndef _SECP256K1_NODE_ECDH_ 2 | # define _SECP256K1_NODE_ECDH_ 3 | 4 | #include 5 | #include 6 | 7 | NAN_METHOD(ecdh); 8 | NAN_METHOD(ecdhUnsafe); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/ecdsa.h: -------------------------------------------------------------------------------- 1 | #ifndef _SECP256K1_NODE_ECDSA_ 2 | # define _SECP256K1_NODE_ECDSA_ 3 | 4 | #include 5 | #include 6 | 7 | NAN_METHOD(sign); 8 | NAN_METHOD(verify); 9 | NAN_METHOD(recover); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/privatekey.h: -------------------------------------------------------------------------------- 1 | #ifndef _SECP256K1_NODE_PRIVATEKEY_ 2 | # define _SECP256K1_NODE_PRIVATEKEY_ 3 | 4 | #include 5 | #include 6 | 7 | NAN_METHOD(privateKeyVerify); 8 | NAN_METHOD(privateKeyExport); 9 | NAN_METHOD(privateKeyImport); 10 | NAN_METHOD(privateKeyNegate); 11 | NAN_METHOD(privateKeyModInverse); 12 | NAN_METHOD(privateKeyTweakAdd); 13 | NAN_METHOD(privateKeyTweakMul); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/publickey.h: -------------------------------------------------------------------------------- 1 | #ifndef _SECP256K1_NODE_PUBLICKEY_ 2 | # define _SECP256K1_NODE_PUBLICKEY_ 3 | 4 | #include 5 | #include 6 | 7 | NAN_METHOD(publicKeyCreate); 8 | NAN_METHOD(publicKeyConvert); 9 | NAN_METHOD(publicKeyVerify); 10 | NAN_METHOD(publicKeyTweakAdd); 11 | NAN_METHOD(publicKeyTweakMul); 12 | NAN_METHOD(publicKeyCombine); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/.npmignore: -------------------------------------------------------------------------------- 1 | bench_inv 2 | bench_ecdh 3 | bench_sign 4 | bench_verify 5 | bench_schnorr_verify 6 | bench_recover 7 | bench_internal 8 | tests 9 | exhaustive_tests 10 | gen_context 11 | *.exe 12 | *.so 13 | *.a 14 | !.gitignore 15 | 16 | Makefile 17 | configure 18 | .libs/ 19 | Makefile.in 20 | aclocal.m4 21 | autom4te.cache/ 22 | config.log 23 | config.status 24 | *.tar.gz 25 | *.la 26 | libtool 27 | .deps/ 28 | .dirstamp 29 | *.lo 30 | *.o 31 | *~ 32 | src/libsecp256k1-config.h 33 | src/libsecp256k1-config.h.in 34 | src/ecmult_static_context.h 35 | build-aux/config.guess 36 | build-aux/config.sub 37 | build-aux/depcomp 38 | build-aux/install-sh 39 | build-aux/ltmain.sh 40 | build-aux/m4/libtool.m4 41 | build-aux/m4/lt~obsolete.m4 42 | build-aux/m4/ltoptions.m4 43 | build-aux/m4/ltsugar.m4 44 | build-aux/m4/ltversion.m4 45 | build-aux/missing 46 | build-aux/compile 47 | build-aux/test-driver 48 | src/stamp-h1 49 | libsecp256k1.pc 50 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/libsecp256k1.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libsecp256k1 7 | Description: Optimized C library for EC operations on curve secp256k1 8 | URL: https://github.com/bitcoin-core/secp256k1 9 | Version: @PACKAGE_VERSION@ 10 | Cflags: -I${includedir} 11 | Libs.private: @SECP_LIBS@ 12 | Libs: -L${libdir} -lsecp256k1 13 | 14 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/obj/.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hskang9/blockchain-javascript/e12c232c7f8ea2016b0c16735c17a972ed394a1a/node_modules/secp256k1/src/secp256k1-src/obj/.npmignore -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/basic-config.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_BASIC_CONFIG_ 8 | #define _SECP256K1_BASIC_CONFIG_ 9 | 10 | #ifdef USE_BASIC_CONFIG 11 | 12 | #undef USE_ASM_X86_64 13 | #undef USE_ENDOMORPHISM 14 | #undef USE_FIELD_10X26 15 | #undef USE_FIELD_5X52 16 | #undef USE_FIELD_INV_BUILTIN 17 | #undef USE_FIELD_INV_NUM 18 | #undef USE_NUM_GMP 19 | #undef USE_NUM_NONE 20 | #undef USE_SCALAR_4X64 21 | #undef USE_SCALAR_8X32 22 | #undef USE_SCALAR_INV_BUILTIN 23 | #undef USE_SCALAR_INV_NUM 24 | 25 | #define USE_NUM_NONE 1 26 | #define USE_FIELD_INV_BUILTIN 1 27 | #define USE_SCALAR_INV_BUILTIN 1 28 | #define USE_FIELD_10X26 1 29 | #define USE_SCALAR_8X32 1 30 | 31 | #endif // USE_BASIC_CONFIG 32 | #endif // _SECP256K1_BASIC_CONFIG_ 33 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/ecmult_const.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2015 Andrew Poelstra * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_ECMULT_CONST_ 8 | #define _SECP256K1_ECMULT_CONST_ 9 | 10 | #include "scalar.h" 11 | #include "group.h" 12 | 13 | static void secp256k1_ecmult_const(secp256k1_gej *r, const secp256k1_ge *a, const secp256k1_scalar *q); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/java/org_bitcoin_Secp256k1Context.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "org_bitcoin_Secp256k1Context.h" 4 | #include "include/secp256k1.h" 5 | 6 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 7 | (JNIEnv* env, jclass classObject) 8 | { 9 | secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY); 10 | 11 | (void)classObject;(void)env; 12 | 13 | return (uintptr_t)ctx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/java/org_bitcoin_Secp256k1Context.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | #include "include/secp256k1.h" 4 | /* Header for class org_bitcoin_Secp256k1Context */ 5 | 6 | #ifndef _Included_org_bitcoin_Secp256k1Context 7 | #define _Included_org_bitcoin_Secp256k1Context 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | /* 12 | * Class: org_bitcoin_Secp256k1Context 13 | * Method: secp256k1_init_context 14 | * Signature: ()J 15 | */ 16 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 17 | (JNIEnv *, jclass); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif 23 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/modules/recovery/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_recovery.h 2 | noinst_HEADERS += src/modules/recovery/main_impl.h 3 | noinst_HEADERS += src/modules/recovery/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/num_gmp.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_NUM_REPR_ 8 | #define _SECP256K1_NUM_REPR_ 9 | 10 | #include 11 | 12 | #define NUM_LIMBS ((256+GMP_NUMB_BITS-1)/GMP_NUMB_BITS) 13 | 14 | typedef struct { 15 | mp_limb_t data[2*NUM_LIMBS]; 16 | int neg; 17 | int limbs; 18 | } secp256k1_num; 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/num_impl.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_NUM_IMPL_H_ 8 | #define _SECP256K1_NUM_IMPL_H_ 9 | 10 | #if defined HAVE_CONFIG_H 11 | #include "libsecp256k1-config.h" 12 | #endif 13 | 14 | #include "num.h" 15 | 16 | #if defined(USE_NUM_GMP) 17 | #include "num_gmp_impl.h" 18 | #elif defined(USE_NUM_NONE) 19 | /* Nothing. */ 20 | #else 21 | #error "Please select num implementation" 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/scalar_4x64.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_SCALAR_REPR_ 8 | #define _SECP256K1_SCALAR_REPR_ 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef struct { 14 | uint64_t d[4]; 15 | } secp256k1_scalar; 16 | 17 | #define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{((uint64_t)(d1)) << 32 | (d0), ((uint64_t)(d3)) << 32 | (d2), ((uint64_t)(d5)) << 32 | (d4), ((uint64_t)(d7)) << 32 | (d6)}} 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/scalar_8x32.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_SCALAR_REPR_ 8 | #define _SECP256K1_SCALAR_REPR_ 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef struct { 14 | uint32_t d[8]; 15 | } secp256k1_scalar; 16 | 17 | #define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7)}} 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/secp256k1-src/src/scalar_low.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2015 Andrew Poelstra * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef _SECP256K1_SCALAR_REPR_ 8 | #define _SECP256K1_SCALAR_REPR_ 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef uint32_t secp256k1_scalar; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /node_modules/secp256k1/src/signature.h: -------------------------------------------------------------------------------- 1 | #ifndef _SECP256K1_NODE_SIGNATURE_ 2 | # define _SECP256K1_NODE_SIGNATURE_ 3 | 4 | #include 5 | #include 6 | 7 | NAN_METHOD(signatureNormalize); 8 | NAN_METHOD(signatureExport); 9 | NAN_METHOD(signatureImport); 10 | NAN_METHOD(signatureImportLax); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /node_modules/secp256k1/utils/has_lib.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | has_lib() { 3 | local regex="lib$1.+(so|dylib)" 4 | 5 | # Add /sbin to path as ldconfig is located there on some systems - e.g. Debian 6 | # (and it still can be used by unprivileged users): 7 | PATH="$PATH:/sbin" 8 | export PATH 9 | 10 | # Try just checking common library locations 11 | for dir in /lib /usr/lib /usr/local/lib /opt/local/lib /usr/lib/x86_64-linux-gnu /usr/lib/i386-linux-gnu; do 12 | test -d $dir && echo "$(ls $dir)" | grep -E $regex && return 0 13 | done 14 | 15 | return 1 16 | } 17 | 18 | has_lib $1 > /dev/null 19 | if test $? -eq 0; then 20 | echo true 21 | else 22 | echo false 23 | fi 24 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Wes Todd 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 4 | 5 | ## Usage: 6 | 7 | ``` 8 | $ npm install --save setprototypeof 9 | ``` 10 | 11 | ```javascript 12 | var setPrototypeOf = require('setprototypeof'); 13 | 14 | var obj = {}; 15 | setPrototypeOf(obj, { 16 | foo: function() { 17 | return 'bar'; 18 | } 19 | }); 20 | obj.foo(); // bar 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); 2 | 3 | function setProtoOf(obj, proto) { 4 | obj.__proto__ = proto; 5 | return obj; 6 | } 7 | 8 | function mixinProperties(obj, proto) { 9 | for (var prop in proto) { 10 | if (!obj.hasOwnProperty(prop)) { 11 | obj[prop] = proto[prop]; 12 | } 13 | } 14 | return obj; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/sha.js/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | os: 3 | - linux 4 | language: node_js 5 | node_js: 6 | - "4" 7 | - "5" 8 | - "6" 9 | - "7" 10 | env: 11 | matrix: 12 | - TEST_SUITE=unit 13 | matrix: 14 | include: 15 | - node_js: "7" 16 | env: TEST_SUITE=lint 17 | script: npm run $TEST_SUITE 18 | -------------------------------------------------------------------------------- /node_modules/sha.js/index.js: -------------------------------------------------------------------------------- 1 | var exports = module.exports = function SHA (algorithm) { 2 | algorithm = algorithm.toLowerCase() 3 | 4 | var Algorithm = exports[algorithm] 5 | if (!Algorithm) throw new Error(algorithm + ' is not supported (we accept pull requests)') 6 | 7 | return new Algorithm() 8 | } 9 | 10 | exports.sha = require('./sha') 11 | exports.sha1 = require('./sha1') 12 | exports.sha224 = require('./sha224') 13 | exports.sha256 = require('./sha256') 14 | exports.sha384 = require('./sha384') 15 | exports.sha512 = require('./sha512') 16 | -------------------------------------------------------------------------------- /node_modules/sha256/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | test/ 3 | .DS_Store 4 | references/ -------------------------------------------------------------------------------- /node_modules/sha256/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 0.2.0 / 2015-03-18 2 | ------------------ 3 | - browserify fix https://github.com/cryptocoinjs/sha256/pull/4 4 | - removed `component.json` and `bower.json` 5 | - added **deprecation** notice 6 | 7 | 0.1.1 / ??????? 8 | --------------- 9 | - (changelog wasn't updated, by viewing commit history, it looks like node specific) 10 | 11 | 0.1.0 / 2013-11-20 12 | ------------------ 13 | * changed package name 14 | * removed AMD support 15 | 16 | 0.0.2 / 2013-11-06 17 | ------------------ 18 | * fixed `