├── .github └── FUNDING.yml ├── .gitignore ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── LICENSE ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── app ├── README.md ├── about.html ├── css │ ├── app.css │ ├── bootstrap-theme.min.css │ └── bootstrap.min.css ├── data │ └── .gitkeep ├── error.html ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── global-conditions.html ├── googled96edaf6c105b8b8.html ├── js │ ├── angular-route.min.js │ ├── angular.min.js │ ├── app.js │ ├── app2.js │ ├── app3.js │ ├── bootstrap.min.js │ ├── html5shiv.min.js │ ├── jquery.min.js │ └── respond.min.js └── partial │ └── reference.html ├── services ├── acm.md ├── apigateway.md ├── application-autoscaling.md ├── appstream.md ├── athena.md ├── autoscaling.md ├── aws-marketplace-management.md ├── aws-marketplace.md ├── aws-portal.md ├── batch.md ├── budgets.md ├── ce.md ├── clouddirectory.md ├── cloudformation.md ├── cloudfront.md ├── cloudhsm.md ├── cloudsearch.md ├── cloudtrail.md ├── cloudwatch.md ├── codebuild.md ├── codecommit.md ├── codedeploy.md ├── codepipeline.md ├── codestar.md ├── cognito-identity.md ├── cognito-idp.md ├── cognito-sync.md ├── config.md ├── cur.md ├── datapipeline.md ├── dax.md ├── devicefarm.md ├── directconnect.md ├── discovery.md ├── dms.md ├── ds.md ├── dynamodb.md ├── ec2-reports.md ├── ec2.md ├── ecr.md ├── ecs.md ├── elasticache.md ├── elasticbeanstalk.md ├── elasticfilesystem.md ├── elasticloadbalancing.md ├── elasticmapreduce.md ├── elastictranscoder.md ├── es.md ├── events.md ├── execute-api.md ├── firehose.md ├── gamelift.md ├── glacier.md ├── health.md ├── iam.md ├── importexport.md ├── inspector.md ├── iot.md ├── kinesis.md ├── kinesisanalytics.md ├── kms.md ├── lambda.md ├── lex.md ├── lightsail.md ├── logs.md ├── machinelearning.md ├── mechanicalturk.md ├── mobileanalytics.md ├── mobilehub.md ├── mobiletargeting.md ├── opsworks-cm.md ├── opsworks.md ├── organizations.md ├── polly.md ├── rds-db.md ├── rds.md ├── redshift.md ├── rekognition.md ├── route53.md ├── route53domains.md ├── s3.md ├── savingsplans.md ├── sdb.md ├── secretsmanager.md ├── servicecatalog.md ├── ses.md ├── shield.md ├── snowball.md ├── sns.md ├── sqs.md ├── ssm.md ├── states.md ├── storagegateway.md ├── sts.md ├── support.md ├── swf.md ├── tag.md ├── trustedadvisor.md ├── waf-regional.md ├── waf.md ├── workdocs.md ├── workmail.md ├── workspaces.md └── xray.md └── tools ├── .gitignore ├── README.md ├── ctas.json ├── fetchActionsAndLinksFromDocs.js ├── fetchActionsAndResourcesFromSim.js ├── fetchDescriptionFromDocs.js ├── fetchDocLink.js ├── fetchPermissionsRef.js ├── lib ├── loader.js └── parser.js ├── md2json.js ├── node_modules ├── .bin │ ├── har-validator │ ├── sshpk-conv │ ├── sshpk-sign │ ├── sshpk-verify │ └── uuid ├── ansi-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ansi-styles │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── asn1 │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── ber │ │ │ ├── errors.js │ │ │ ├── index.js │ │ │ ├── reader.js │ │ │ ├── types.js │ │ │ └── writer.js │ │ └── index.js │ ├── package.json │ └── tst │ │ └── ber │ │ ├── reader.test.js │ │ └── writer.test.js ├── assert-plus │ ├── AUTHORS │ ├── CHANGES.md │ ├── README.md │ ├── assert.js │ └── package.json ├── async │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── async.js │ │ └── async.min.js │ ├── lib │ │ └── async.js │ └── package.json ├── aws-sign2 │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── aws4 │ ├── .npmignore │ ├── .tern-port │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── aws4.js │ ├── lru.js │ └── package.json ├── bl │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── bl.js │ ├── package.json │ └── test │ │ └── test.js ├── boom │ ├── .npmignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── images │ │ └── boom.png │ ├── lib │ │ └── index.js │ ├── package.json │ └── test │ │ └── index.js ├── caseless │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── chalk │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── combined-stream │ ├── License │ ├── Readme.md │ ├── lib │ │ └── combined_stream.js │ └── package.json ├── commander │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── cryptiles │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── index.js │ ├── package.json │ └── test │ │ └── index.js ├── dashdash │ ├── README.md │ ├── etc │ │ └── dashdash.bash_completion.in │ ├── lib │ │ └── dashdash.js │ ├── node_modules │ │ └── assert-plus │ │ │ ├── AUTHORS │ │ │ ├── CHANGES.md │ │ │ ├── README.md │ │ │ ├── assert.js │ │ │ └── package.json │ └── package.json ├── delayed-stream │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── delayed_stream.js │ └── package.json ├── ecc-jsbn │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── LICENSE-jsbn │ │ ├── ec.js │ │ └── sec.js │ ├── package.json │ └── test.js ├── escape-string-regexp │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── extend │ ├── .eslintrc │ ├── .jscs.json │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── index.js │ └── package.json ├── extsprintf │ ├── .gitmodules │ ├── LICENSE │ ├── Makefile │ ├── Makefile.deps │ ├── Makefile.targ │ ├── README.md │ ├── examples │ │ └── simple.js │ ├── jsl.node.conf │ ├── lib │ │ └── extsprintf.js │ └── package.json ├── forever-agent │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── form-data │ ├── .dockerignore │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc │ ├── License │ ├── README.md │ ├── lib │ │ ├── browser.js │ │ ├── form_data.js │ │ └── populate.js │ ├── package.json │ └── wercker.yml ├── generate-function │ ├── .npmignore │ ├── .travis.yml │ ├── README.md │ ├── example.js │ ├── index.js │ ├── package.json │ └── test.js ├── generate-object-property │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── getpass │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── index.js │ ├── node_modules │ │ └── assert-plus │ │ │ ├── AUTHORS │ │ │ ├── CHANGES.md │ │ │ ├── README.md │ │ │ ├── assert.js │ │ │ └── package.json │ └── package.json ├── graceful-readlink │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── har-validator │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── har-validator │ ├── lib │ │ ├── async.js │ │ ├── error.js │ │ ├── index.js │ │ ├── runner.js │ │ └── schemas │ │ │ ├── cache.json │ │ │ ├── cacheEntry.json │ │ │ ├── content.json │ │ │ ├── cookie.json │ │ │ ├── creator.json │ │ │ ├── entry.json │ │ │ ├── har.json │ │ │ ├── index.js │ │ │ ├── log.json │ │ │ ├── page.json │ │ │ ├── pageTimings.json │ │ │ ├── postData.json │ │ │ ├── record.json │ │ │ ├── request.json │ │ │ ├── response.json │ │ │ └── timings.json │ └── package.json ├── has-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── hawk │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── component.json │ ├── dist │ │ └── client.js │ ├── example │ │ └── usage.js │ ├── images │ │ ├── hawk.png │ │ └── logo.png │ ├── lib │ │ ├── browser.js │ │ ├── client.js │ │ ├── crypto.js │ │ ├── index.js │ │ ├── server.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── browser.js │ │ ├── client.js │ │ ├── crypto.js │ │ ├── index.js │ │ ├── readme.js │ │ ├── server.js │ │ ├── uri.js │ │ └── utils.js ├── hoek │ ├── .npmignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── images │ │ └── hoek.png │ ├── lib │ │ ├── escape.js │ │ └── index.js │ ├── package.json │ └── test │ │ ├── escaper.js │ │ ├── index.js │ │ └── modules │ │ ├── ignore.txt │ │ ├── test1.js │ │ ├── test2.js │ │ └── test3.js ├── 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 ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ ├── package.json │ └── test.js ├── is-my-json-valid │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── example.js │ ├── formats.js │ ├── index.js │ ├── package.json │ ├── require.js │ └── test │ │ ├── fixtures │ │ └── cosmic.js │ │ ├── json-schema-draft4 │ │ ├── additionalItems.json │ │ ├── additionalProperties.json │ │ ├── allOf.json │ │ ├── anyOf.json │ │ ├── bignum.json │ │ ├── default.json │ │ ├── definitions.json │ │ ├── dependencies.json │ │ ├── enum.json │ │ ├── format.json │ │ ├── items.json │ │ ├── maxItems.json │ │ ├── maxLength.json │ │ ├── maxProperties.json │ │ ├── maximum.json │ │ ├── minItems.json │ │ ├── minLength.json │ │ ├── minProperties.json │ │ ├── minimum.json │ │ ├── multipleOf.json │ │ ├── not.json │ │ ├── nullAndFormat.json │ │ ├── nullAndObject.json │ │ ├── oneOf.json │ │ ├── pattern.json │ │ ├── patternProperties.json │ │ ├── properties.json │ │ ├── ref.json │ │ ├── refRemote.json │ │ ├── required.json │ │ ├── type.json │ │ └── uniqueItems.json │ │ ├── json-schema.js │ │ └── misc.js ├── is-property │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── is-property.js │ └── package.json ├── is-typedarray │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── isarray │ ├── .npmignore │ ├── .travis.yml │ ├── Makefile │ ├── README.md │ ├── component.json │ ├── index.js │ ├── package.json │ └── test.js ├── isstream │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── isstream.js │ ├── package.json │ └── test.js ├── jodid25519 │ ├── .npmignore │ ├── .travis.yml │ ├── AUTHORS.md │ ├── LICENSE │ ├── README.md │ ├── almond.0 │ ├── almond.1 │ ├── index.js │ ├── jsdoc.json │ ├── lib │ │ ├── core.js │ │ ├── curve255.js │ │ ├── dh.js │ │ ├── eddsa.js │ │ └── utils.js │ └── package.json ├── jsbn │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── example.html │ ├── example.js │ ├── index.js │ └── package.json ├── 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 ├── jsonpointer │ ├── .travis.yml │ ├── README.md │ ├── jsonpointer.js │ ├── package.json │ └── test.js ├── jsprim │ ├── CHANGES.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── jsprim.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 ├── neo-async │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── async.js │ │ └── async.min.js │ ├── index.js │ ├── lib │ │ ├── async.js │ │ └── async.min.js │ └── package.json ├── node-uuid │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── benchmark │ │ ├── README.md │ │ ├── bench.gnu │ │ ├── bench.sh │ │ ├── benchmark-native.c │ │ └── benchmark.js │ ├── bin │ │ └── uuid │ ├── bower.json │ ├── component.json │ ├── package.json │ ├── test │ │ ├── compare_v1.js │ │ ├── test.html │ │ └── test.js │ └── uuid.js ├── oauth-sign │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── pinkie-promise │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── pinkie │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── process-nextick-args │ ├── .travis.yml │ ├── index.js │ ├── license.md │ ├── package.json │ ├── readme.md │ └── test.js ├── qs │ ├── .eslintignore │ ├── .eslintrc │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── readable-stream │ ├── .npmignore │ ├── .travis.yml │ ├── .zuul.yml │ ├── LICENSE │ ├── README.md │ ├── doc │ │ ├── stream.markdown │ │ └── wg-meetings │ │ │ └── 2015-01-30.md │ ├── duplex.js │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ └── _stream_writable.js │ ├── package.json │ ├── passthrough.js │ ├── readable.js │ ├── transform.js │ └── writable.js ├── request │ ├── .eslintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── codecov.yml │ ├── index.js │ ├── lib │ │ ├── auth.js │ │ ├── cookies.js │ │ ├── getProxyFromURI.js │ │ ├── har.js │ │ ├── helpers.js │ │ ├── multipart.js │ │ ├── oauth.js │ │ ├── querystring.js │ │ ├── redirect.js │ │ └── tunnel.js │ ├── package.json │ └── request.js ├── sntp │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── examples │ │ ├── offset.js │ │ └── time.js │ ├── index.js │ ├── lib │ │ └── index.js │ ├── package.json │ └── test │ │ └── index.js ├── 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 │ │ │ ├── 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 │ ├── node_modules │ │ └── assert-plus │ │ │ ├── AUTHORS │ │ │ ├── CHANGES.md │ │ │ ├── README.md │ │ │ ├── assert.js │ │ │ └── package.json │ └── package.json ├── string_decoder │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── stringstream │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.txt │ ├── README.md │ ├── example.js │ ├── package.json │ └── stringstream.js ├── strip-ansi │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── supports-color │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── 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 │ ├── CHANGELOG.md │ ├── README.md │ ├── nacl-fast.js │ ├── nacl-fast.min.js │ ├── nacl.js │ ├── nacl.min.js │ └── package.json ├── util-deprecate │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── node.js │ └── package.json ├── verror │ ├── .gitmodules │ ├── .npmignore │ ├── LICENSE │ ├── Makefile │ ├── Makefile.targ │ ├── README.md │ ├── examples │ │ ├── levels-verror.js │ │ ├── levels-werror.js │ │ ├── varargs.js │ │ ├── verror.js │ │ └── werror.js │ ├── jsl.node.conf │ ├── lib │ │ └── verror.js │ ├── package.json │ └── tests │ │ ├── tst.inherit.js │ │ ├── tst.verror.js │ │ └── tst.werror.js └── xtend │ ├── .jshintrc │ ├── .npmignore │ ├── LICENCE │ ├── Makefile │ ├── README.md │ ├── immutable.js │ ├── mutable.js │ ├── package.json │ └── test.js ├── package.json ├── render.js ├── serviceNames.json ├── static └── index.html └── template ├── action.mustache ├── footer.mustache ├── header.mustache ├── index.mustache ├── service.mustache └── sitemap.mustache /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: widdix 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /app/index.html 2 | /app/sitemap.xml 3 | /app/reference/* 4 | -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | Please make sure to provide all the fields and describe your issue. 2 | 3 | * Service: 4 | * Action: 5 | 6 | Please describe your issue here! 7 | 8 | ## Example 9 | 10 | * Service: ec2 11 | * Action: DeleteCustomerGateway 12 | 13 | I can't understand the description of the action? What's the purpose of the action? 14 | -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **By opening a Pull Request, you agree that your contribution is licensed under CC0 1.0 Universell (CC0 1.0)** 2 | 3 | Please make sure to provide all the fields! Example below! 4 | 5 | * Service: 6 | * Action: 7 | * Action documentation: 8 | * Resources: 9 | * Conditions: 10 | * Source: 11 | 12 | ## Example 13 | 14 | * Service: ec2 15 | * Action: DeleteCustomerGateway 16 | * Action documentation: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteCustomerGateway.html 17 | * Resources: arn:aws:ec2:$region:$account:customer-gateway/$cgw-id 18 | * Conditions: ec2:Region, ec2:ResourceTag/$tag-key 19 | * Source: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ec2-api-permissions.html and https://docs.aws.amazon.com/IAM/latest/UserGuide/list_ec2.html 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Complete AWS IAM Reference 2 | 3 | [Complete AWS IAM Reference Website](https://iam.cloudonaut.io/) 4 | 5 | ## Contributing 6 | 7 | [see here](CONTRIBUTING.md) 8 | 9 | ## License 10 | 11 | [CC BY-NC-SA 4.0](LICENSE) 12 | -------------------------------------------------------------------------------- /app/README.md: -------------------------------------------------------------------------------- 1 | # Single page app 2 | 3 | ## Dev 4 | 5 | ``` 6 | python -m SimpleHTTPServer 7 | ``` 8 | -------------------------------------------------------------------------------- /app/css/app.css: -------------------------------------------------------------------------------- 1 | html { 2 | position: relative; 3 | min-height: 100%; 4 | } 5 | body { 6 | margin-bottom: 60px; 7 | } 8 | .footer { 9 | position: absolute; 10 | bottom: 0; 11 | width: 100%; 12 | height: 60px; 13 | background-color: #f5f5f5; 14 | } 15 | 16 | body > .container { 17 | padding: 60px 15px 0; 18 | } 19 | .container .text-muted { 20 | margin: 20px 0; 21 | } 22 | 23 | .footer > .container { 24 | padding-right: 15px; 25 | padding-left: 15px; 26 | } 27 | 28 | div.scrollable { 29 | width: 100%; 30 | height: 100%; 31 | margin: 0; 32 | padding: 0; 33 | overflow: auto; 34 | } 35 | -------------------------------------------------------------------------------- /app/data/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/app/data/.gitkeep -------------------------------------------------------------------------------- /app/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/app/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /app/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/app/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /app/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/app/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /app/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/app/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /app/googled96edaf6c105b8b8.html: -------------------------------------------------------------------------------- 1 | google-site-verification: googled96edaf6c105b8b8.html -------------------------------------------------------------------------------- /app/js/app3.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | (function() { 4 | 5 | var a = angular.module('app3', []); 6 | 7 | a.run(['$rootScope', function($rootScope) { 8 | $rootScope.copy2clipboard = function(val) { 9 | var $temp = $(""); 10 | $("body").append($temp); 11 | $temp.val(val).select(); 12 | document.execCommand("copy"); 13 | $temp.remove(); 14 | } 15 | }]); 16 | 17 | })(); 18 | -------------------------------------------------------------------------------- /services/aws-marketplace-management.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [aws-marketplace-management:uploadFiles](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace-management.html) | Allows a user to access the File Upload page inside the AWS Marketplace Management Portal. | * | - | 4 | | [aws-marketplace-management:viewMarketing](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace-management.html) | Allows a user to access the Marketing page inside the AWS Marketplace Management Portal. | * | - | 5 | | [aws-marketplace-management:viewReports](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace-management.html) | Allows a user to access the Reports page inside the AWS Marketplace Management Portal. | * | - | 6 | | [aws-marketplace-management:viewSupport](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace-management.html) | Allows a user to access the Customer Support Eligibility page inside the AWS Marketplace Management Portal. | * | - | 7 | 8 | -------------------------------------------------------------------------------- /services/aws-marketplace.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [aws-marketplace:Subscribe](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) |  Allows users to add new software subscriptions on the Your Software page. | * | - | 4 | | [aws-marketplace:Unsubscribe](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) | Allows users to remove software subscriptions from the Your Software page. | * | - | 5 | | [aws-marketplace:ViewSubscriptions](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) | Allows users to see subscribed software. Without this permission, no other permissions will work. | * | - | 6 | | [aws-marketplace:BatchMeterUsage](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) | Report usage in batch. | * | - | 7 | | [aws-marketplace:ResolveCustomer](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) | Redeem AWS Marketplace token for a customer identifier and product code. | * | - | 8 | | [aws-marketplace:MeterUsage](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_aws-marketplace.html) | Report usage. | * | - | 9 | 10 | -------------------------------------------------------------------------------- /services/budgets.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [budgets:ViewBudget](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions) | Allow or deny IAM users permission to view Budgets. Note that to allow IAM users to view budgets, you must also allow aws-portal:ViewBilling. | * | - | 4 | | [budgets:ModifyBudget](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html#user-permissions) | Allow or deny IAM users permission to modify Budgets. Note that to allow IAM users to view and modify budgets, you must also allow aws-portal:ViewBilling. | * | - | 5 | 6 | -------------------------------------------------------------------------------- /services/ce.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [ce:GetTags](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetTags.html) | Query for available tag keys and tag values for a specified period. | * | - | 4 | | [ce:GetDimensionValues](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html) | Retrieve all available filter values for a specific filter over a period of time. | * | - | 5 | | [ce:GetReservationCoverage](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetReservationCoverage.html) | Retrieve the Reservation coverage for your account. | * | - | 6 | | [ce:GetReservationUtilization](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetReservationUtilization.html) | Retrieve the Reservation utilization for your account. | * | - | 7 | | [ce:GetCostAndUsage](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetCostAndUsage.html) | Retrieve cost and usage metrics for your account. | * | - | 8 | 9 | -------------------------------------------------------------------------------- /services/cur.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [cur:DeleteReportDefinition](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/delete-report-definition.html) | Deletes an AWS Cost and Usage report. | * | - | 4 | | [cur:DescribeReportDefinitions](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/describe-report-definitions.html) | Describes your AWS Cost and Usage reports. | * | - | 5 | | [cur:PutReportDefinition](http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/put-report-definition.html) | Creates an AWS Cost and Usage report. | * | - | 6 | 7 | -------------------------------------------------------------------------------- /services/ec2-reports.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [ec2-reports:ViewReservedInstanceUtilizationReport](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/usage-reports.html#iam-access-ec2-reports) | View the Reserved Instances utilization report. | * | - | 4 | | [ec2-reports:ViewInstanceUsageReport](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/usage-reports.html#iam-access-ec2-reports) | View the instance usage report. | * | - | 5 | 6 | -------------------------------------------------------------------------------- /services/execute-api.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [execute-api:Invoke](http://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html) | Invoke an API upon a client request. | arn:aws:execute-api:$region:$account:$api-id/$stage-name/$http-verb/$resource-path | - | 4 | | [execute-api:InvalidateCache](http://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html) | Invalidate API cache upon a client request. | arn:aws:execute-api:$region:$account:$api-id/$stage-name/$http-verb/$resource-path | - | 5 | 6 | -------------------------------------------------------------------------------- /services/mobileanalytics.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [mobileanalytics:PutEvents](http://docs.aws.amazon.com/mobileanalytics/latest/ug/PutEvents.html) | The PutEvents operation records one or more events. | ??? | - | 4 | | [mobileanalytics:GetReports](http://docs.aws.amazon.com/mobileanalytics/latest/ug/using-the-console.html) | ??? | ??? | - | 5 | | [mobileanalytics:GetFinancialReports](http://docs.aws.amazon.com/mobileanalytics/latest/ug/using-the-console.html) | ??? | ??? | - | 6 | 7 | -------------------------------------------------------------------------------- /services/polly.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [polly:DeleteLexicon](https://docs.aws.amazon.com/polly/latest/dg/API_DeleteLexicon.html) | Deletes the specified pronunciation lexicon stored in an AWS Region. | arn:aws:polly:$region:$account:lexicon/$lexicon-name | - | 4 | | [polly:DescribeVoices](https://docs.aws.amazon.com/polly/latest/dg/API_DescribeVoices.html) | Returns the list of voices that are available for use when requesting speech synthesis. | * | - | 5 | | [polly:GetLexicon](https://docs.aws.amazon.com/polly/latest/dg/API_GetLexicon.html) | Returns the content of the specified pronunciation lexicon stored in an AWS Region. | arn:aws:polly:$region:$account:lexicon/$lexicon-name | - | 6 | | [polly:ListLexicons](https://docs.aws.amazon.com/polly/latest/dg/API_ListLexicons.html) | Returns a list of pronunciation lexicons stored in an AWS Region. | * | - | 7 | | [polly:PutLexicon](https://docs.aws.amazon.com/polly/latest/dg/API_PutLexicon.html) | Stores a pronunciation lexicon in an AWS Region. | * | - | 8 | | [polly:SynthesizeSpeech](https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html) | Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. | * | - | 9 | 10 | -------------------------------------------------------------------------------- /services/rds-db.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [rds-db:connect](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.IAMPolicy.html) | Allow an IAM user or role to connect to your DB instance or DB cluster. | arn:aws:rds-db:$region$:account:dbuser:$db-instance-or-cluster-id/$engine-user-name | - | 4 | 5 | -------------------------------------------------------------------------------- /services/xray.md: -------------------------------------------------------------------------------- 1 | | Action | Description | Resource | Condition | 2 | | --- | --- | --- | --- | 3 | | [xray:BatchGetTraces](http://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html) | Retrieves a list of traces specified by ID. | ??? | - | 4 | | [xray:GetServiceGraph](http://docs.aws.amazon.com/xray/latest/api/API_GetServiceGraph.html) | Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. | ??? | - | 5 | | [xray:GetTraceGraph](http://docs.aws.amazon.com/xray/latest/api/API_GetTraceGraph.html) | Retrieves a service graph for one or more specific trace IDs. | ??? | - | 6 | | [xray:GetTraceSummaries](http://docs.aws.amazon.com/xray/latest/api/API_GetTraceSummaries.html) | Retrieves IDs and metadata for traces available for a specified time frame using an optional filter. | ??? | - | 7 | | [xray:PutTelemetryRecords](http://docs.aws.amazon.com/xray/latest/api/API_PutTelemetryRecords.html) | Used by the AWS X-Ray daemon to upload telemetry. | ??? | - | 8 | | [xray:PutTraceSegments](http://docs.aws.amazon.com/xray/latest/api/API_PutTraceSegments.html) | Uploads segment documents to AWS X-Ray. | ??? | - | 9 | 10 | -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /tools/README.md: -------------------------------------------------------------------------------- 1 | # Tools 2 | 3 | ## Create rows.js from Markdown files 4 | 5 | ``` 6 | node md2json.js > ../app/data/rows.json 7 | ``` 8 | 9 | ## Fetch API descriptions from Documentation link 10 | 11 | ``` 12 | node fetchDescriptionFromDocs.js ../services/ec2.md > temp.md 13 | mv temp.md ../services/ec2.md 14 | ``` 15 | 16 | ## Fetch Actions & Links from Documentation 17 | 18 | ``` 19 | node fetchActionsAndLinksFromDocs.js "https://docs.aws.amazon.com/IAM/latest/UserGuide/list_iam.html" 20 | ``` 21 | 22 | ## Fetch Actions, Links & Resources from Actions, Resources, and Conditions Reference 23 | 24 | ``` 25 | node fetchPermissionsRef.js "https://docs.aws.amazon.com/IAM/latest/UserGuide/list_iam.html" 26 | ``` 27 | 28 | ## Fetch Doc Links from Markdown 29 | 30 | ``` 31 | node fetchDocLink.js "https://docs.aws.amazon.com/IAM/latest/UserGuide/list_cloudformation.html" ../services/cloudformation.md 32 | ``` 33 | 34 | ## Render static pages 35 | 36 | ``` 37 | node render.js 38 | ``` 39 | -------------------------------------------------------------------------------- /tools/ctas.json: -------------------------------------------------------------------------------- 1 | { 2 | "cloudwatch": { 3 | "title": "ChatOps for AWS", 4 | "description": "Configure AWS monitoring, escalate alerts, solve incidents. Works with Slack and Microsoft Teams.", 5 | "action": "Try for free", 6 | "href": "https://marbot.io/" 7 | }, 8 | "s3": { 9 | "title": "Antivirus protection for Amazon S3", 10 | "description": "Scan your S3 buckets for viruses, worms, and trojans. bucketAV detects malware in real-time, periodically, or on-demand.", 11 | "action": "Try for free", 12 | "href": "https://bucketav.com/" 13 | }, 14 | "_default": { 15 | "title": "Amazon Web Services in Action (3rd edition)", 16 | "description": "This bestselling guide reveals best practices for security, high availability, and scalability on AWS, the world’s most popular cloud. It’s packed with techniques for automating your deployment, management, and even your infrastructure using Infrastructure as Code.", 17 | "action": "Learn more", 18 | "href": "https://bit.ly/amazon-web-services-in-action-3rd-edition" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /tools/fetchActionsAndLinksFromDocs.js: -------------------------------------------------------------------------------- 1 | var loader = require('./lib/loader.js'); 2 | 3 | if (process.argv[2].length === 0) { 4 | console.error("no uri passed as argument"); 5 | process.exit(1); 6 | } 7 | 8 | loader.load(process.argv[2], function(err, $) { 9 | if (err) { 10 | throw err; 11 | } else { 12 | $('ul.itemizedlist').first().find('li a').each(function() { 13 | var t = $(this); 14 | process.stdout.write('| [' + t.text() + '](' + t.attr("href") + ') | ??? | ??? | ??? |\n'); 15 | }); 16 | } 17 | }); 18 | -------------------------------------------------------------------------------- /tools/fetchActionsAndResourcesFromSim.js: -------------------------------------------------------------------------------- 1 | var loader = require('./lib/loader.js'); 2 | var fs = require('fs'); 3 | 4 | if (process.argv[2].length === 0) { 5 | console.error("no file passed as argument"); 6 | process.exit(1); 7 | } 8 | 9 | var content = fs.readFileSync(process.argv[2], {encoding: 'utf8'}); 10 | var data = JSON.parse(content); 11 | 12 | data.forEach(function(row) { 13 | var resources = (row.requiredResourceNames || []).map((name) => 'arn:aws:' + row.prefix + ':$region:$account:' + name + '/$' + name).join(','); 14 | process.stdout.write('| [' + row.prefix + ':' + row.name + ']() | ??? | ' + (resources || '*') + ' | ??? |\n'); 15 | }); 16 | -------------------------------------------------------------------------------- /tools/fetchPermissionsRef.js: -------------------------------------------------------------------------------- 1 | var loader = require('./lib/loader.js'); 2 | var parser = require('./lib/parser.js'); 3 | 4 | if (process.argv[2].length === 0) { 5 | console.error("no uri passed as argument"); 6 | process.exit(1); 7 | } 8 | 9 | loader.load(process.argv[2], function(err, $) { 10 | if (err) { 11 | throw err; 12 | } else { 13 | var data = []; 14 | $('div.table table tbody tr').each(function() { 15 | var t = $(this); 16 | var docTD = t.find("td:nth-child(1)"); 17 | var serviceActionTD = t.find("td:nth-child(2)"); 18 | var resourceTD = t.find("td:nth-child(3)"); 19 | var serviceAction = serviceActionTD.text().trim().split(":"); 20 | data.push({ 21 | service: serviceAction[0].trim(), 22 | action: serviceAction[1].trim(), 23 | doc: docTD.find("a").attr("href"), 24 | resource: resourceTD.text().trim() 25 | }); 26 | }); 27 | 28 | data.forEach((line) => process.stdout.write("| [" + line.service + ":" + line.action + "](" + line.doc + ") | ??? | " + line.resource + " | ??? |\n")); 29 | } 30 | }); 31 | -------------------------------------------------------------------------------- /tools/lib/loader.js: -------------------------------------------------------------------------------- 1 | var cheerio = require('cheerio'); 2 | var request = require('request'); 3 | 4 | exports.load = function(uri, cb) { 5 | request({ 6 | uri: uri, 7 | method: "GET", 8 | encoding: "utf8" 9 | }, function(err, res, body) { 10 | if (err) { 11 | err.path = path; 12 | err.uri = uri; 13 | cb(err); 14 | } else { 15 | if (res.statusCode === 200) { 16 | var $ = cheerio.load(body); 17 | cb(undefined, $); 18 | } else { 19 | err = new Error('non 200 status code received'); 20 | err.uri = uri; 21 | err.path = path; 22 | err.statusCode = res.statusCode; 23 | cb(err); 24 | } 25 | } 26 | }); 27 | }; 28 | -------------------------------------------------------------------------------- /tools/lib/parser.js: -------------------------------------------------------------------------------- 1 | function parseLink(cell) { 2 | if (cell.indexOf('](') === -1) { 3 | return null; 4 | } 5 | // [ec2:DetachInternetGateway](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DetachInternetGateway.html) 6 | var s = cell.slice(1, -1).split(']('); 7 | var s2 = s[0].split(':'); 8 | return { 9 | service: s2[0], 10 | action: s2[1], 11 | doc: s[1] 12 | } 13 | } 14 | exports.parseLink = parseLink; 15 | 16 | function parseLine(line) { 17 | // [ec2:DetachInternetGateway](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DetachInternetGateway.html) | ??? | * | - | 18 | var cell = line.split("|"); 19 | if (cell.length !== 6) { 20 | return null; 21 | } 22 | var link = parseLink(cell[1].trim()); 23 | if (link === null) { 24 | return null; 25 | } 26 | return { 27 | "service": link.service, 28 | "action": link.action, 29 | "doc": link.doc, 30 | "description": cell[2].trim(), 31 | "resources": cell[3].trim().split(",").map((s) => s.trim()), 32 | "conditions": cell[4].trim().split(",").map((s) => s.trim()).filter((s) => s !== "-") 33 | }; 34 | } 35 | exports.parseLine = parseLine; 36 | -------------------------------------------------------------------------------- /tools/md2json.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | var parser = require('./lib/parser.js'); 3 | 4 | var files = fs.readdirSync('../services'); 5 | var rows = files 6 | .map(function(file) { 7 | var content = fs.readFileSync('../services/' + file, {encoding: 'utf8'}); 8 | var lines = content.replace(/[\r]/g, '').split('\n'); 9 | return lines.map(parser.parseLine); 10 | }) 11 | .reduce(function(a, b) { 12 | return a.concat(b); 13 | }, []) 14 | .filter((row) => row !== null); 15 | 16 | console.log(JSON.stringify(rows)); 17 | -------------------------------------------------------------------------------- /tools/node_modules/.bin/har-validator: -------------------------------------------------------------------------------- 1 | ../har-validator/bin/har-validator -------------------------------------------------------------------------------- /tools/node_modules/.bin/sshpk-conv: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-conv -------------------------------------------------------------------------------- /tools/node_modules/.bin/sshpk-sign: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-sign -------------------------------------------------------------------------------- /tools/node_modules/.bin/sshpk-verify: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-verify -------------------------------------------------------------------------------- /tools/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../node-uuid/bin/uuid -------------------------------------------------------------------------------- /tools/node_modules/ansi-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function () { 3 | return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g; 4 | }; 5 | -------------------------------------------------------------------------------- /tools/node_modules/ansi-regex/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/ansi-regex/readme.md: -------------------------------------------------------------------------------- 1 | # ansi-regex [![Build Status](https://travis-ci.org/sindresorhus/ansi-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-regex) 2 | 3 | > Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save ansi-regex 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var ansiRegex = require('ansi-regex'); 17 | 18 | ansiRegex().test('\u001b[4mcake\u001b[0m'); 19 | //=> true 20 | 21 | ansiRegex().test('cake'); 22 | //=> false 23 | 24 | '\u001b[4mcake\u001b[0m'.match(ansiRegex()); 25 | //=> ['\u001b[4m', '\u001b[0m'] 26 | ``` 27 | 28 | 29 | ## License 30 | 31 | MIT © [Sindre Sorhus](http://sindresorhus.com) 32 | -------------------------------------------------------------------------------- /tools/node_modules/ansi-styles/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/asn1/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | -------------------------------------------------------------------------------- /tools/node_modules/asn1/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | -------------------------------------------------------------------------------- /tools/node_modules/asn1/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Mark Cavage, All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE 20 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/assert-plus/CHANGES.md: -------------------------------------------------------------------------------- 1 | # assert-plus Changelog 2 | 3 | ## 0.2.0 4 | 5 | - Fix `assert.object(null)` so it throws 6 | - Fix optional/arrayOf exports for non-type-of asserts 7 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid 8 | - Add basic unit test coverage 9 | -------------------------------------------------------------------------------- /tools/node_modules/async/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2014 Caolan McMahon 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/aws4/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | examples 3 | example.js 4 | browser 5 | -------------------------------------------------------------------------------- /tools/node_modules/aws4/.tern-port: -------------------------------------------------------------------------------- 1 | 62638 -------------------------------------------------------------------------------- /tools/node_modules/aws4/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.2" 6 | -------------------------------------------------------------------------------- /tools/node_modules/aws4/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2013 Michael Hart (michael.hart.au@gmail.com) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/bl/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /tools/node_modules/bl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - '0.10' 5 | - '0.12' 6 | - '4' 7 | - '5' 8 | branches: 9 | only: 10 | - master 11 | notifications: 12 | email: 13 | - rod@vagg.org 14 | -------------------------------------------------------------------------------- /tools/node_modules/bl/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright (c) 2014 bl contributors 5 | ---------------------------------- 6 | 7 | *bl contributors listed at * 8 | 9 | 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: 10 | 11 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 12 | 13 | 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. 14 | -------------------------------------------------------------------------------- /tools/node_modules/boom/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /tools/node_modules/boom/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /tools/node_modules/boom/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /tools/node_modules/boom/images/boom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/boom/images/boom.png -------------------------------------------------------------------------------- /tools/node_modules/caseless/test.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | , caseless = require('./') 3 | ; 4 | 5 | tape('set get has', function (t) { 6 | var headers = {} 7 | , c = caseless(headers) 8 | ; 9 | t.plan(17) 10 | c.set('a-Header', 'asdf') 11 | t.equal(c.get('a-header'), 'asdf') 12 | t.equal(c.has('a-header'), 'a-Header') 13 | t.ok(!c.has('nothing')) 14 | // old bug where we used the wrong regex 15 | t.ok(!c.has('a-hea')) 16 | c.set('a-header', 'fdsa') 17 | t.equal(c.get('a-header'), 'fdsa') 18 | t.equal(c.get('a-Header'), 'fdsa') 19 | c.set('a-HEADER', 'more', false) 20 | t.equal(c.get('a-header'), 'fdsa,more') 21 | 22 | t.deepEqual(headers, {'a-Header': 'fdsa,more'}) 23 | c.swap('a-HEADER') 24 | t.deepEqual(headers, {'a-HEADER': 'fdsa,more'}) 25 | 26 | c.set('deleteme', 'foobar') 27 | t.ok(c.has('deleteme')) 28 | t.ok(c.del('deleteme')) 29 | t.notOk(c.has('deleteme')) 30 | t.notOk(c.has('idonotexist')) 31 | t.ok(c.del('idonotexist')) 32 | 33 | c.set('tva', 'test1') 34 | c.set('tva-header', 'test2') 35 | t.equal(c.has('tva'), 'tva') 36 | t.notOk(c.has('header')) 37 | 38 | t.equal(c.get('tva'), 'test1') 39 | 40 | }) 41 | -------------------------------------------------------------------------------- /tools/node_modules/chalk/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/combined-stream/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Debuggable Limited 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/commander/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /tools/node_modules/core-util-is/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Node.js contributors. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to 5 | deal in the Software without restriction, including without limitation the 6 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 7 | sell copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 19 | IN THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /tools/node_modules/cryptiles/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /tools/node_modules/cryptiles/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | 9 | -------------------------------------------------------------------------------- /tools/node_modules/cryptiles/README.md: -------------------------------------------------------------------------------- 1 | cryptiles 2 | ========= 3 | 4 | General purpose crypto utilities 5 | 6 | [![Build Status](https://secure.travis-ci.org/hapijs/cryptiles.png)](http://travis-ci.org/hapijs/cryptiles) 7 | 8 | Lead Maintainer - [C J Silverio](https://github.com/ceejbot) 9 | 10 | ## Methods 11 | 12 | ### `randomString( size)` 13 | Returns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string. 14 | 15 | ### `fixedTimeComparison( a, b)` 16 | Compare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ. 17 | -------------------------------------------------------------------------------- /tools/node_modules/dashdash/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 | -------------------------------------------------------------------------------- /tools/node_modules/dashdash/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 | -------------------------------------------------------------------------------- /tools/node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /tools/node_modules/delayed-stream/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Debuggable Limited 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /tools/node_modules/ecc-jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | node_modules 16 | -------------------------------------------------------------------------------- /tools/node_modules/ecc-jsbn/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Jeremie Miller 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. -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/escape-string-regexp/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g; 4 | 5 | module.exports = function (str) { 6 | if (typeof str !== 'string') { 7 | throw new TypeError('Expected a string'); 8 | } 9 | 10 | return str.replace(matchOperatorsRe, '\\$&'); 11 | }; 12 | -------------------------------------------------------------------------------- /tools/node_modules/escape-string-regexp/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/escape-string-regexp/readme.md: -------------------------------------------------------------------------------- 1 | # escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp) 2 | 3 | > Escape RegExp special characters 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save escape-string-regexp 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const escapeStringRegexp = require('escape-string-regexp'); 17 | 18 | const escapedString = escapeStringRegexp('how much $ for a unicorn?'); 19 | //=> 'how much \$ for a unicorn\?' 20 | 21 | new RegExp(escapedString); 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | MIT © [Sindre Sorhus](http://sindresorhus.com) 28 | -------------------------------------------------------------------------------- /tools/node_modules/extend/.npmignore: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /tools/node_modules/extend/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "iojs-v2.3" 4 | - "iojs-v2.2" 5 | - "iojs-v2.1" 6 | - "iojs-v2.0" 7 | - "iojs-v1.8" 8 | - "iojs-v1.7" 9 | - "iojs-v1.6" 10 | - "iojs-v1.5" 11 | - "iojs-v1.4" 12 | - "iojs-v1.3" 13 | - "iojs-v1.2" 14 | - "iojs-v1.1" 15 | - "iojs-v1.0" 16 | - "0.12" 17 | - "0.11" 18 | - "0.10" 19 | - "0.9" 20 | - "0.8" 21 | - "0.6" 22 | - "0.4" 23 | before_install: 24 | - '[ "${TRAVIS_NODE_VERSION}" = "0.6" ] || npm install -g npm@1.4.28 && npm install -g npm' 25 | sudo: false 26 | matrix: 27 | fast_finish: true 28 | allow_failures: 29 | - node_js: "iojs-v2.2" 30 | - node_js: "iojs-v2.1" 31 | - node_js: "iojs-v2.0" 32 | - node_js: "iojs-v1.7" 33 | - node_js: "iojs-v1.6" 34 | - node_js: "iojs-v1.5" 35 | - node_js: "iojs-v1.4" 36 | - node_js: "iojs-v1.3" 37 | - node_js: "iojs-v1.2" 38 | - node_js: "iojs-v1.1" 39 | - node_js: "iojs-v1.0" 40 | - node_js: "0.11" 41 | - node_js: "0.9" 42 | - node_js: "0.8" 43 | - node_js: "0.6" 44 | - node_js: "0.4" 45 | -------------------------------------------------------------------------------- /tools/node_modules/extend/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Stefan Thomas 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/extsprintf/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/jsstyle"] 2 | path = deps/jsstyle 3 | url = git://github.com/davepacheco/jsstyle 4 | [submodule "deps/javascriptlint"] 5 | path = deps/javascriptlint 6 | url = git://github.com/davepacheco/javascriptlint 7 | -------------------------------------------------------------------------------- /tools/node_modules/extsprintf/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012, Joyent, Inc. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE 20 | -------------------------------------------------------------------------------- /tools/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 | JS_FILES := $(shell find lib -name '*.js') 15 | JSL_FILES_NODE = $(JS_FILES) 16 | JSSTYLE_FILES = $(JS_FILES) 17 | JSL_CONF_NODE = jsl.node.conf 18 | 19 | # Default target is "check" 20 | check: 21 | 22 | include ./Makefile.deps 23 | include ./Makefile.targ 24 | -------------------------------------------------------------------------------- /tools/node_modules/extsprintf/Makefile.deps: -------------------------------------------------------------------------------- 1 | # -*- mode: makefile -*- 2 | # 3 | # Copyright (c) 2012, Joyent, Inc. All rights reserved. 4 | # 5 | # Makefile.deps: Makefile for including common tools as dependencies 6 | # 7 | # NOTE: This makefile comes from the "eng" repo. It's designed to be dropped 8 | # into other repos as-is without requiring any modifications. If you find 9 | # yourself changing this file, you should instead update the original copy in 10 | # eng.git and then update your repo to use the new version. 11 | # 12 | # This file is separate from Makefile.targ so that teams can choose 13 | # independently whether to use the common targets in Makefile.targ and the 14 | # common tools here. 15 | # 16 | 17 | # 18 | # javascriptlint 19 | # 20 | JSL_EXEC ?= deps/javascriptlint/build/install/jsl 21 | JSL ?= python2.6 $(JSL_EXEC) 22 | 23 | $(JSL_EXEC): | deps/javascriptlint/.git 24 | cd deps/javascriptlint && make install 25 | 26 | # 27 | # jsstyle 28 | # 29 | JSSTYLE_EXEC ?= deps/jsstyle/jsstyle 30 | JSSTYLE ?= $(JSSTYLE_EXEC) 31 | 32 | $(JSSTYLE_EXEC): | deps/jsstyle/.git 33 | 34 | # 35 | # restdown 36 | # 37 | RESTDOWN_EXEC ?= deps/restdown/bin/restdown 38 | RESTDOWN ?= python2.6 $(RESTDOWN_EXEC) 39 | $(RESTDOWN_EXEC): | deps/restdown/.git 40 | -------------------------------------------------------------------------------- /tools/node_modules/extsprintf/examples/simple.js: -------------------------------------------------------------------------------- 1 | var mod_extsprintf = require('extsprintf'); 2 | console.log(mod_extsprintf.sprintf('hello %25s', 'world')); 3 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/.dockerignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | *.sublime-* 3 | *.un~ 4 | .idea 5 | sftp-config.json 6 | node_modules/ 7 | test/tmp/ 8 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/* 2 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = FormData; 3 | -------------------------------------------------------------------------------- /tools/node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | for (var prop in src) { 4 | if (src.hasOwnProperty(prop) && !dst[prop]) { 5 | dst[prop] = src[prop]; 6 | } 7 | } 8 | return dst; 9 | }; 10 | -------------------------------------------------------------------------------- /tools/node_modules/generate-function/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /tools/node_modules/generate-function/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /tools/node_modules/generate-function/example.js: -------------------------------------------------------------------------------- 1 | var genfun = require('./') 2 | 3 | var multiply = function(a, b) { 4 | return a * b 5 | } 6 | 7 | var addAndMultiplyNumber = function(val) { 8 | var fn = genfun() 9 | ('function(n) {') 10 | ('if (typeof n !== "number") {') // ending a line with { will indent the source 11 | ('throw new Error("argument should be a number")') 12 | ('}') 13 | ('var result = multiply(%d, n+%d)', val, val) 14 | ('return result') 15 | ('}') 16 | 17 | // use fn.toString() if you want to see the generated source 18 | 19 | return fn.toFunction({ 20 | multiply: multiply 21 | }) 22 | } 23 | 24 | var addAndMultiply2 = addAndMultiplyNumber(2) 25 | 26 | console.log(addAndMultiply2.toString()) 27 | console.log('(3 + 2) * 2 =', addAndMultiply2(3)) -------------------------------------------------------------------------------- /tools/node_modules/generate-function/test.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | var genfun = require('./') 3 | 4 | tape('generate add function', function(t) { 5 | var fn = genfun() 6 | ('function add(n) {') 7 | ('return n + %d', 42) 8 | ('}') 9 | 10 | t.same(fn.toString(), 'function add(n) {\n return n + 42\n}', 'code is indented') 11 | t.same(fn.toFunction()(10), 52, 'function works') 12 | t.end() 13 | }) 14 | 15 | tape('generate function + closed variables', function(t) { 16 | var fn = genfun() 17 | ('function add(n) {') 18 | ('return n + %d + number', 42) 19 | ('}') 20 | 21 | var notGood = fn.toFunction() 22 | var good = fn.toFunction({number:10}) 23 | 24 | try { 25 | notGood(10) 26 | t.ok(false, 'function should not work') 27 | } catch (err) { 28 | t.same(err.message, 'number is not defined', 'throws reference error') 29 | } 30 | 31 | t.same(good(11), 63, 'function with closed var works') 32 | t.end() 33 | }) -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Mathias Buus 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 13 | all 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 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/README.md: -------------------------------------------------------------------------------- 1 | # generate-object-property 2 | 3 | Generate safe JS code that can used to reference a object property 4 | 5 | npm install generate-object-property 6 | 7 | [![build status](http://img.shields.io/travis/mafintosh/generate-object-property.svg?style=flat)](http://travis-ci.org/mafintosh/generate-object-property) 8 | 9 | ## Usage 10 | 11 | ``` js 12 | var gen = require('generate-object-property'); 13 | console.log(gen('a','b')); // prints a.b 14 | console.log(gen('a', 'foo-bar')); // prints a["foo-bar"] 15 | ``` 16 | 17 | ## License 18 | 19 | MIT -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/index.js: -------------------------------------------------------------------------------- 1 | var isProperty = require('is-property') 2 | 3 | var gen = function(obj, prop) { 4 | return isProperty(prop) ? obj+'.'+prop : obj+'['+JSON.stringify(prop)+']' 5 | } 6 | 7 | gen.valid = isProperty 8 | gen.property = function (prop) { 9 | return isProperty(prop) ? prop : JSON.stringify(prop) 10 | } 11 | 12 | module.exports = gen 13 | -------------------------------------------------------------------------------- /tools/node_modules/generate-object-property/test.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | var gen = require('./') 3 | 4 | tape('valid', function(t) { 5 | t.same(gen('a', 'b'), 'a.b') 6 | t.end() 7 | }) 8 | 9 | tape('invalid', function(t) { 10 | t.same(gen('a', '-b'), 'a["-b"]') 11 | t.end() 12 | }) -------------------------------------------------------------------------------- /tools/node_modules/getpass/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/getpass/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 | -------------------------------------------------------------------------------- /tools/node_modules/getpass/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 | -------------------------------------------------------------------------------- /tools/node_modules/graceful-readlink/.npmignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /tools/node_modules/graceful-readlink/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "io.js" 6 | -------------------------------------------------------------------------------- /tools/node_modules/graceful-readlink/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Zhiye Li 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 | 23 | -------------------------------------------------------------------------------- /tools/node_modules/graceful-readlink/README.md: -------------------------------------------------------------------------------- 1 | # graceful-readlink 2 | [![NPM Version](http://img.shields.io/npm/v/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 3 | [![NPM Downloads](https://img.shields.io/npm/dm/graceful-readlink.svg?style=flat)](https://www.npmjs.org/package/graceful-readlink) 4 | 5 | 6 | ## Usage 7 | 8 | ```js 9 | var readlinkSync = require('graceful-readlink').readlinkSync; 10 | console.log(readlinkSync(f)); 11 | // output 12 | // the file pointed to when `f` is a symbolic link 13 | // the `f` itself when `f` is not a symbolic link 14 | ``` 15 | ## Licence 16 | 17 | MIT License 18 | -------------------------------------------------------------------------------- /tools/node_modules/graceful-readlink/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | , lstat = fs.lstatSync; 3 | 4 | exports.readlinkSync = function (p) { 5 | if (lstat(p).isSymbolicLink()) { 6 | return fs.readlinkSync(p); 7 | } else { 8 | return p; 9 | } 10 | }; 11 | 12 | 13 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/async.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var runner = require('./runner') 4 | var schemas = require('./schemas') 5 | 6 | module.exports = function (data, cb) { 7 | return runner(schemas.har, data, cb) 8 | } 9 | 10 | Object.keys(schemas).map(function (name) { 11 | module.exports[name] = function (data, cb) { 12 | return runner(schemas[name], data, cb) 13 | } 14 | }) 15 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/error.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | function ValidationError (errors) { 4 | this.name = 'ValidationError' 5 | this.errors = errors 6 | } 7 | 8 | ValidationError.prototype = Error.prototype 9 | 10 | module.exports = ValidationError 11 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var Promise = require('pinkie-promise') 4 | var runner = require('./runner') 5 | var schemas = require('./schemas') 6 | 7 | var promisify = function (schema) { 8 | return function (data) { 9 | return new Promise(function (resolve, reject) { 10 | runner(schema, data, function (err, valid) { 11 | return err === null ? resolve(data) : reject(err) 12 | }) 13 | }) 14 | } 15 | } 16 | 17 | module.exports = promisify(schemas.har) 18 | 19 | // utility methods for all parts of the schema 20 | Object.keys(schemas).map(function (name) { 21 | module.exports[name] = promisify(schemas[name]) 22 | }) 23 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/runner.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var schemas = require('./schemas') 4 | var ValidationError = require('./error') 5 | var validator = require('is-my-json-valid') 6 | 7 | module.exports = function (schema, data, cb) { 8 | // default value 9 | var valid = false 10 | 11 | // validator config 12 | var validate = validator(schema, { 13 | greedy: true, 14 | verbose: true, 15 | schemas: schemas 16 | }) 17 | 18 | // execute is-my-json-valid 19 | if (data !== undefined) { 20 | valid = validate(data) 21 | } 22 | 23 | // callback? 24 | if (typeof cb === 'function') { 25 | return cb(validate.errors ? new ValidationError(validate.errors) : null, valid) 26 | } 27 | 28 | return valid 29 | } 30 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/cache.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": { 3 | "beforeRequest": { 4 | "$ref": "#cacheEntry" 5 | }, 6 | "afterRequest": { 7 | "$ref": "#cacheEntry" 8 | }, 9 | "comment": { 10 | "type": "string" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/cacheEntry.json: -------------------------------------------------------------------------------- 1 | { 2 | "oneOf": [{ 3 | "type": "object", 4 | "optional": true, 5 | "required": [ 6 | "lastAccess", 7 | "eTag", 8 | "hitCount" 9 | ], 10 | "properties": { 11 | "expires": { 12 | "type": "string" 13 | }, 14 | "lastAccess": { 15 | "type": "string" 16 | }, 17 | "eTag": { 18 | "type": "string" 19 | }, 20 | "hitCount": { 21 | "type": "integer" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | }, { 28 | "type": null, 29 | "additionalProperties": false 30 | }] 31 | } 32 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "size", 5 | "mimeType" 6 | ], 7 | "properties": { 8 | "size": { 9 | "type": "integer" 10 | }, 11 | "compression": { 12 | "type": "integer" 13 | }, 14 | "mimeType": { 15 | "type": "string" 16 | }, 17 | "text": { 18 | "type": "string" 19 | }, 20 | "encoding": { 21 | "type": "string" 22 | }, 23 | "comment": { 24 | "type": "string" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/cookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "path": { 15 | "type": "string" 16 | }, 17 | "domain": { 18 | "type": "string" 19 | }, 20 | "expires": { 21 | "type": ["string", "null"], 22 | "format": "date-time" 23 | }, 24 | "httpOnly": { 25 | "type": "boolean" 26 | }, 27 | "secure": { 28 | "type": "boolean" 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/creator.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "version" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "version": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/entry.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "optional": true, 4 | "required": [ 5 | "startedDateTime", 6 | "time", 7 | "request", 8 | "response", 9 | "cache", 10 | "timings" 11 | ], 12 | "properties": { 13 | "pageref": { 14 | "type": "string" 15 | }, 16 | "startedDateTime": { 17 | "type": "string", 18 | "format": "date-time", 19 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 20 | }, 21 | "time": { 22 | "type": "number", 23 | "min": 0 24 | }, 25 | "request": { 26 | "$ref": "#request" 27 | }, 28 | "response": { 29 | "$ref": "#response" 30 | }, 31 | "cache": { 32 | "$ref": "#cache" 33 | }, 34 | "timings": { 35 | "$ref": "#timings" 36 | }, 37 | "serverIPAddress": { 38 | "type": "string", 39 | "oneOf": [ 40 | { "format": "ipv4" }, 41 | { "format": "ipv6" } 42 | ] 43 | }, 44 | "connection": { 45 | "type": "string" 46 | }, 47 | "comment": { 48 | "type": "string" 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/har.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "log" 5 | ], 6 | "properties": { 7 | "log": { 8 | "$ref": "#log" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/log.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "version", 5 | "creator", 6 | "entries" 7 | ], 8 | "properties": { 9 | "version": { 10 | "type": "string" 11 | }, 12 | "creator": { 13 | "$ref": "#creator" 14 | }, 15 | "browser": { 16 | "$ref": "#creator" 17 | }, 18 | "pages": { 19 | "type": "array", 20 | "items": { 21 | "$ref": "#page" 22 | } 23 | }, 24 | "entries": { 25 | "type": "array", 26 | "items": { 27 | "$ref": "#entry" 28 | } 29 | }, 30 | "comment": { 31 | "type": "string" 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "optional": true, 4 | "required": [ 5 | "startedDateTime", 6 | "id", 7 | "title", 8 | "pageTimings" 9 | ], 10 | "properties": { 11 | "startedDateTime": { 12 | "type": "string", 13 | "format": "date-time", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 15 | }, 16 | "id": { 17 | "type": "string", 18 | "unique": true 19 | }, 20 | "title": { 21 | "type": "string" 22 | }, 23 | "pageTimings": { 24 | "$ref": "#pageTimings" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/pageTimings.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "properties": { 4 | "onContentLoad": { 5 | "type": "number", 6 | "min": -1 7 | }, 8 | "onLoad": { 9 | "type": "number", 10 | "min": -1 11 | }, 12 | "comment": { 13 | "type": "string" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/postData.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "optional": true, 4 | "required": [ 5 | "mimeType" 6 | ], 7 | "properties": { 8 | "mimeType": { 9 | "type": "string" 10 | }, 11 | "text": { 12 | "type": "string" 13 | }, 14 | "params": { 15 | "type": "array", 16 | "required": [ 17 | "name" 18 | ], 19 | "properties": { 20 | "name": { 21 | "type": "string" 22 | }, 23 | "value": { 24 | "type": "string" 25 | }, 26 | "fileName": { 27 | "type": "string" 28 | }, 29 | "contentType": { 30 | "type": "string" 31 | }, 32 | "comment": { 33 | "type": "string" 34 | } 35 | } 36 | }, 37 | "comment": { 38 | "type": "string" 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/record.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "name", 5 | "value" 6 | ], 7 | "properties": { 8 | "name": { 9 | "type": "string" 10 | }, 11 | "value": { 12 | "type": "string" 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "method", 5 | "url", 6 | "httpVersion", 7 | "cookies", 8 | "headers", 9 | "queryString", 10 | "headersSize", 11 | "bodySize" 12 | ], 13 | "properties": { 14 | "method": { 15 | "type": "string" 16 | }, 17 | "url": { 18 | "type": "string", 19 | "format": "uri" 20 | }, 21 | "httpVersion": { 22 | "type": "string" 23 | }, 24 | "cookies": { 25 | "type": "array", 26 | "items": { 27 | "$ref": "#cookie" 28 | } 29 | }, 30 | "headers": { 31 | "type": "array", 32 | "items": { 33 | "$ref": "#record" 34 | } 35 | }, 36 | "queryString": { 37 | "type": "array", 38 | "items": { 39 | "$ref": "#record" 40 | } 41 | }, 42 | "postData": { 43 | "$ref": "#postData" 44 | }, 45 | "headersSize": { 46 | "type": "integer" 47 | }, 48 | "bodySize": { 49 | "type": "integer" 50 | }, 51 | "comment": { 52 | "type": "string" 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "object", 3 | "required": [ 4 | "status", 5 | "statusText", 6 | "httpVersion", 7 | "cookies", 8 | "headers", 9 | "content", 10 | "redirectURL", 11 | "headersSize", 12 | "bodySize" 13 | ], 14 | "properties": { 15 | "status": { 16 | "type": "integer" 17 | }, 18 | "statusText": { 19 | "type": "string" 20 | }, 21 | "httpVersion": { 22 | "type": "string" 23 | }, 24 | "cookies": { 25 | "type": "array", 26 | "items": { 27 | "$ref": "#cookie" 28 | } 29 | }, 30 | "headers": { 31 | "type": "array", 32 | "items": { 33 | "$ref": "#record" 34 | } 35 | }, 36 | "content": { 37 | "$ref": "#content" 38 | }, 39 | "redirectURL": { 40 | "type": "string" 41 | }, 42 | "headersSize": { 43 | "type": "integer" 44 | }, 45 | "bodySize": { 46 | "type": "integer" 47 | }, 48 | "comment": { 49 | "type": "string" 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /tools/node_modules/har-validator/lib/schemas/timings.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": [ 3 | "send", 4 | "wait", 5 | "receive" 6 | ], 7 | "properties": { 8 | "dns": { 9 | "type": "number", 10 | "min": -1 11 | }, 12 | "connect": { 13 | "type": "number", 14 | "min": -1 15 | }, 16 | "blocked": { 17 | "type": "number", 18 | "min": -1 19 | }, 20 | "send": { 21 | "type": "number", 22 | "min": -1 23 | }, 24 | "wait": { 25 | "type": "number", 26 | "min": -1 27 | }, 28 | "receive": { 29 | "type": "number", 30 | "min": -1 31 | }, 32 | "ssl": { 33 | "type": "number", 34 | "min": -1 35 | }, 36 | "comment": { 37 | "type": "string" 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /tools/node_modules/has-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex'); 3 | var re = new RegExp(ansiRegex().source); // remove the `g` flag 4 | module.exports = re.test.bind(re); 5 | -------------------------------------------------------------------------------- /tools/node_modules/has-ansi/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/has-ansi/readme.md: -------------------------------------------------------------------------------- 1 | # has-ansi [![Build Status](https://travis-ci.org/sindresorhus/has-ansi.svg?branch=master)](https://travis-ci.org/sindresorhus/has-ansi) 2 | 3 | > Check if a string has [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save has-ansi 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var hasAnsi = require('has-ansi'); 17 | 18 | hasAnsi('\u001b[4mcake\u001b[0m'); 19 | //=> true 20 | 21 | hasAnsi('cake'); 22 | //=> false 23 | ``` 24 | 25 | 26 | ## Related 27 | 28 | - [has-ansi-cli](https://github.com/sindresorhus/has-ansi-cli) - CLI for this module 29 | - [strip-ansi](https://github.com/sindresorhus/strip-ansi) - Strip ANSI escape codes 30 | - [ansi-regex](https://github.com/sindresorhus/ansi-regex) - Regular expression for matching ANSI escape codes 31 | - [chalk](https://github.com/sindresorhus/chalk) - Terminal string styling done right 32 | 33 | 34 | ## License 35 | 36 | MIT © [Sindre Sorhus](http://sindresorhus.com) 37 | -------------------------------------------------------------------------------- /tools/node_modules/hawk/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | components 7 | build 8 | results.tap 9 | results.xml 10 | npm-shrinkwrap.json 11 | config.json 12 | .DS_Store 13 | */.DS_Store 14 | */*/.DS_Store 15 | ._* 16 | */._* 17 | */*/._* 18 | coverage.* 19 | lib-cov 20 | 21 | -------------------------------------------------------------------------------- /tools/node_modules/hawk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /tools/node_modules/hawk/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "main": "lib/browser.js", 4 | "license": "./LICENSE", 5 | "ignore": [ 6 | "!lib", 7 | "lib/*", 8 | "!lib/browser.js", 9 | "index.js" 10 | ], 11 | "keywords": [ 12 | "http", 13 | "authentication", 14 | "scheme", 15 | "hawk" 16 | ], 17 | "authors": [ 18 | "Eran Hammer " 19 | ], 20 | "repository": { 21 | "type": "git", 22 | "url": "git://github.com/hueniverse/hawk.git" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tools/node_modules/hawk/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hawk", 3 | "repo": "hueniverse/hawk", 4 | "description": "HTTP Hawk Authentication Scheme", 5 | "version": "1.0.0", 6 | "keywords": [ 7 | "http", 8 | "authentication", 9 | "scheme", 10 | "hawk" 11 | ], 12 | "dependencies": {}, 13 | "development": {}, 14 | "license": "BSD", 15 | "main": "lib/browser.js", 16 | "scripts": [ 17 | "lib/browser.js" 18 | ] 19 | } -------------------------------------------------------------------------------- /tools/node_modules/hawk/images/hawk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/hawk/images/hawk.png -------------------------------------------------------------------------------- /tools/node_modules/hawk/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/hawk/images/logo.png -------------------------------------------------------------------------------- /tools/node_modules/hawk/lib/index.js: -------------------------------------------------------------------------------- 1 | // Export sub-modules 2 | 3 | exports.error = exports.Error = require('boom'); 4 | exports.sntp = require('sntp'); 5 | 6 | exports.server = require('./server'); 7 | exports.client = require('./client'); 8 | exports.crypto = require('./crypto'); 9 | exports.utils = require('./utils'); 10 | 11 | exports.uri = { 12 | authenticate: exports.server.authenticateBewit, 13 | getBewit: exports.client.getBewit 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | complexity.md 19 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | - 4.0 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/images/hoek.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/hoek/images/hoek.png -------------------------------------------------------------------------------- /tools/node_modules/hoek/test/modules/ignore.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/hoek/test/modules/ignore.txt -------------------------------------------------------------------------------- /tools/node_modules/hoek/test/modules/test1.js: -------------------------------------------------------------------------------- 1 | exports.x = 1; 2 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/test/modules/test2.js: -------------------------------------------------------------------------------- 1 | exports.y = 2; 2 | -------------------------------------------------------------------------------- /tools/node_modules/hoek/test/modules/test3.js: -------------------------------------------------------------------------------- 1 | exports.z = 3; 2 | -------------------------------------------------------------------------------- /tools/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 | ))) -------------------------------------------------------------------------------- /tools/node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /tools/node_modules/http-signature/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | module.exports = require('util').inherits 2 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/inherits/test.js: -------------------------------------------------------------------------------- 1 | var inherits = require('./inherits.js') 2 | var assert = require('assert') 3 | 4 | function test(c) { 5 | assert(c.constructor === Child) 6 | assert(c.constructor.super_ === Parent) 7 | assert(Object.getPrototypeOf(c) === Child.prototype) 8 | assert(Object.getPrototypeOf(Object.getPrototypeOf(c)) === Parent.prototype) 9 | assert(c instanceof Child) 10 | assert(c instanceof Parent) 11 | } 12 | 13 | function Child() { 14 | Parent.call(this) 15 | test(this) 16 | } 17 | 18 | function Parent() {} 19 | 20 | inherits(Child, Parent) 21 | 22 | var c = new Child 23 | test(c) 24 | 25 | console.log('ok') 26 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | cosmicrealms.com 3 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Mathias Buus 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 13 | all 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 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/example.js: -------------------------------------------------------------------------------- 1 | var validator = require('./') 2 | 3 | var validate = validator({ 4 | type: 'object', 5 | properties: { 6 | hello: { 7 | required: true, 8 | type: 'string' 9 | } 10 | } 11 | }) 12 | 13 | console.log('should be valid', validate({hello: 'world'})) 14 | console.log('should not be valid', validate({})) 15 | 16 | // get the last error message by checking validate.error 17 | // the following will print "data.hello is required" 18 | console.log('the errors were:', validate.errors) 19 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/require.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var path = require('path') 3 | var compile = require('./') 4 | 5 | delete require.cache[require.resolve(__filename)] 6 | 7 | module.exports = function(file, opts) { 8 | file = path.join(path.dirname(module.parent.filename), file) 9 | if (!fs.existsSync(file) && fs.existsSync(file+'.schema')) file += '.schema' 10 | if (!fs.existsSync(file) && fs.existsSync(file+'.json')) file += '.json' 11 | return compile(fs.readFileSync(file, 'utf-8'), opts) 12 | } 13 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/definitions.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "valid definition", 4 | "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, 5 | "tests": [ 6 | { 7 | "description": "valid definition schema", 8 | "data": { 9 | "definitions": { 10 | "foo": {"type": "integer"} 11 | } 12 | }, 13 | "valid": true 14 | } 15 | ] 16 | }, 17 | { 18 | "description": "invalid definition", 19 | "schema": {"$ref": "http://json-schema.org/draft-04/schema#"}, 20 | "tests": [ 21 | { 22 | "description": "invalid definition schema", 23 | "data": { 24 | "definitions": { 25 | "foo": {"type": 1} 26 | } 27 | }, 28 | "valid": false 29 | } 30 | ] 31 | } 32 | ] 33 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/maxItems.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "maxItems validation", 4 | "schema": {"maxItems": 2}, 5 | "tests": [ 6 | { 7 | "description": "shorter is valid", 8 | "data": [1], 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": [1, 2], 14 | "valid": true 15 | }, 16 | { 17 | "description": "too long is invalid", 18 | "data": [1, 2, 3], 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-arrays", 23 | "data": "foobar", 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/maxLength.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "maxLength validation", 4 | "schema": {"maxLength": 2}, 5 | "tests": [ 6 | { 7 | "description": "shorter is valid", 8 | "data": "f", 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": "fo", 14 | "valid": true 15 | }, 16 | { 17 | "description": "too long is invalid", 18 | "data": "foo", 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-strings", 23 | "data": 100, 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/maxProperties.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "maxProperties validation", 4 | "schema": {"maxProperties": 2}, 5 | "tests": [ 6 | { 7 | "description": "shorter is valid", 8 | "data": {"foo": 1}, 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": {"foo": 1, "bar": 2}, 14 | "valid": true 15 | }, 16 | { 17 | "description": "too long is invalid", 18 | "data": {"foo": 1, "bar": 2, "baz": 3}, 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-objects", 23 | "data": "foobar", 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/minItems.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "minItems validation", 4 | "schema": {"minItems": 1}, 5 | "tests": [ 6 | { 7 | "description": "longer is valid", 8 | "data": [1, 2], 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": [1], 14 | "valid": true 15 | }, 16 | { 17 | "description": "too short is invalid", 18 | "data": [], 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-arrays", 23 | "data": "", 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/minLength.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "minLength validation", 4 | "schema": {"minLength": 2}, 5 | "tests": [ 6 | { 7 | "description": "longer is valid", 8 | "data": "foo", 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": "fo", 14 | "valid": true 15 | }, 16 | { 17 | "description": "too short is invalid", 18 | "data": "f", 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-strings", 23 | "data": 1, 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/minProperties.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "minProperties validation", 4 | "schema": {"minProperties": 1}, 5 | "tests": [ 6 | { 7 | "description": "longer is valid", 8 | "data": {"foo": 1, "bar": 2}, 9 | "valid": true 10 | }, 11 | { 12 | "description": "exact length is valid", 13 | "data": {"foo": 1}, 14 | "valid": true 15 | }, 16 | { 17 | "description": "too short is invalid", 18 | "data": {}, 19 | "valid": false 20 | }, 21 | { 22 | "description": "ignores non-objects", 23 | "data": "", 24 | "valid": true 25 | } 26 | ] 27 | } 28 | ] 29 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndFormat.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "validation of null and format", 4 | "schema": {"type": ["null", "string"], "format": "date-time"}, 5 | "tests": [ 6 | { 7 | "description": "a valid date-time string", 8 | "data": "1963-06-19T08:30:06.283185Z", 9 | "valid": true 10 | }, 11 | { 12 | "description": "allow null", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/nullAndObject.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "multiple types of null and object containing properties", 4 | "schema": { 5 | "type": ["null", "object"], 6 | "properties": { 7 | "foo": {} 8 | } 9 | }, 10 | "tests": [ 11 | { 12 | "description": "null is valid", 13 | "data": null, 14 | "valid": true 15 | } 16 | ] 17 | } 18 | ] 19 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/pattern.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "pattern validation", 4 | "schema": {"pattern": "^a*$"}, 5 | "tests": [ 6 | { 7 | "description": "a matching pattern is valid", 8 | "data": "aaa", 9 | "valid": true 10 | }, 11 | { 12 | "description": "a non-matching pattern is invalid", 13 | "data": "abc", 14 | "valid": false 15 | }, 16 | { 17 | "description": "ignores non-strings", 18 | "data": true, 19 | "valid": true 20 | } 21 | ] 22 | } 23 | ] 24 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema-draft4/required.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "description": "required validation", 4 | "schema": { 5 | "properties": { 6 | "foo": {}, 7 | "bar": {} 8 | }, 9 | "required": ["foo"] 10 | }, 11 | "tests": [ 12 | { 13 | "description": "present required property is valid", 14 | "data": {"foo": 1}, 15 | "valid": true 16 | }, 17 | { 18 | "description": "non-present required property is invalid", 19 | "data": {"bar": 1}, 20 | "valid": false 21 | } 22 | ] 23 | }, 24 | { 25 | "description": "required default validation", 26 | "schema": { 27 | "properties": { 28 | "foo": {} 29 | } 30 | }, 31 | "tests": [ 32 | { 33 | "description": "not required by default", 34 | "data": {}, 35 | "valid": true 36 | } 37 | ] 38 | } 39 | ] 40 | -------------------------------------------------------------------------------- /tools/node_modules/is-my-json-valid/test/json-schema.js: -------------------------------------------------------------------------------- 1 | var tape = require('tape') 2 | var fs = require('fs') 3 | var validator = require('../') 4 | 5 | var files = fs.readdirSync(__dirname+'/json-schema-draft4') 6 | .map(function(file) { 7 | if (file === 'definitions.json') return null 8 | if (file === 'refRemote.json') return null 9 | return require('./json-schema-draft4/'+file) 10 | }) 11 | .filter(Boolean) 12 | 13 | files.forEach(function(file) { 14 | file.forEach(function(f) { 15 | tape('json-schema-test-suite '+f.description, function(t) { 16 | var validate = validator(f.schema) 17 | f.tests.forEach(function(test) { 18 | t.same(validate(test.data), test.valid, test.description) 19 | }) 20 | t.end() 21 | }) 22 | }) 23 | }) 24 | -------------------------------------------------------------------------------- /tools/node_modules/is-property/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | npm-debug.log 15 | node_modules/* 16 | *.DS_Store 17 | test/* -------------------------------------------------------------------------------- /tools/node_modules/is-property/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 Mikola Lysenko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /tools/node_modules/is-property/README.md: -------------------------------------------------------------------------------- 1 | is-property 2 | =========== 3 | Tests if a property of a JavaScript object can be accessed using the dot (.) notation or if it must be enclosed in brackets, (ie use x[" ... "]) 4 | 5 | Example 6 | ------- 7 | 8 | ```javascript 9 | var isProperty = require("is-property") 10 | 11 | console.log(isProperty("foo")) //Prints true 12 | console.log(isProperty("0")) //Prints false 13 | ``` 14 | 15 | Install 16 | ------- 17 | 18 | npm install is-property 19 | 20 | ### `require("is-property")(str)` 21 | Checks if str is a property 22 | 23 | * `str` is a string which we will test if it is a property or not 24 | 25 | **Returns** true or false depending if str is a property 26 | 27 | ## Credits 28 | (c) 2013 Mikola Lysenko. MIT License -------------------------------------------------------------------------------- /tools/node_modules/is-typedarray/LICENSE.md: -------------------------------------------------------------------------------- 1 | This software is released under the MIT license: 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 7 | the Software, and to permit persons to whom the Software is furnished to do so, 8 | subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 15 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/is-typedarray/index.js: -------------------------------------------------------------------------------- 1 | module.exports = isTypedArray 2 | isTypedArray.strict = isStrictTypedArray 3 | isTypedArray.loose = isLooseTypedArray 4 | 5 | var toString = Object.prototype.toString 6 | var names = { 7 | '[object Int8Array]': true 8 | , '[object Int16Array]': true 9 | , '[object Int32Array]': true 10 | , '[object Uint8Array]': true 11 | , '[object Uint8ClampedArray]': true 12 | , '[object Uint16Array]': true 13 | , '[object Uint32Array]': true 14 | , '[object Float32Array]': true 15 | , '[object Float64Array]': true 16 | } 17 | 18 | function isTypedArray(arr) { 19 | return ( 20 | isStrictTypedArray(arr) 21 | || isLooseTypedArray(arr) 22 | ) 23 | } 24 | 25 | function isStrictTypedArray(arr) { 26 | return ( 27 | arr instanceof Int8Array 28 | || arr instanceof Int16Array 29 | || arr instanceof Int32Array 30 | || arr instanceof Uint8Array 31 | || arr instanceof Uint8ClampedArray 32 | || arr instanceof Uint16Array 33 | || arr instanceof Uint32Array 34 | || arr instanceof Float32Array 35 | || arr instanceof Float64Array 36 | ) 37 | } 38 | 39 | function isLooseTypedArray(arr) { 40 | return names[toString.call(arr)] 41 | } 42 | -------------------------------------------------------------------------------- /tools/node_modules/is-typedarray/test.js: -------------------------------------------------------------------------------- 1 | var test = require('tape') 2 | var ista = require('./') 3 | 4 | test('strict', function(t) { 5 | t.ok(ista.strict(new Int8Array), 'Int8Array') 6 | t.ok(ista.strict(new Int16Array), 'Int16Array') 7 | t.ok(ista.strict(new Int32Array), 'Int32Array') 8 | t.ok(ista.strict(new Uint8Array), 'Uint8Array') 9 | t.ok(ista.strict(new Uint16Array), 'Uint16Array') 10 | t.ok(ista.strict(new Uint32Array), 'Uint32Array') 11 | t.ok(ista.strict(new Float32Array), 'Float32Array') 12 | t.ok(ista.strict(new Float64Array), 'Float64Array') 13 | 14 | t.ok(!ista.strict(new Array), 'Array') 15 | t.ok(!ista.strict([]), '[]') 16 | 17 | t.end() 18 | }) 19 | 20 | test('loose', function(t) { 21 | t.ok(ista.loose(new Int8Array), 'Int8Array') 22 | t.ok(ista.loose(new Int16Array), 'Int16Array') 23 | t.ok(ista.loose(new Int32Array), 'Int32Array') 24 | t.ok(ista.loose(new Uint8Array), 'Uint8Array') 25 | t.ok(ista.loose(new Uint16Array), 'Uint16Array') 26 | t.ok(ista.loose(new Uint32Array), 'Uint32Array') 27 | t.ok(ista.loose(new Float32Array), 'Float32Array') 28 | t.ok(ista.loose(new Float64Array), 'Float64Array') 29 | 30 | t.ok(!ista.loose(new Array), 'Array') 31 | t.ok(!ista.loose([]), '[]') 32 | 33 | t.end() 34 | }) 35 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /tools/node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /tools/node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/isstream/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | ===================== 3 | 4 | Copyright (c) 2015 Rod Vagg 5 | --------------------------- 6 | 7 | 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: 8 | 9 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 10 | 11 | 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. 12 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/.npmignore: -------------------------------------------------------------------------------- 1 | # Editor, IDE and dev environment stuff 2 | *~ 3 | .project 4 | .settings 5 | 6 | # Build files and directories 7 | /coverage 8 | /doc/api 9 | /build/ 10 | /test/ 11 | /jodid25519-*.tgz 12 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.11" 5 | branches: 6 | only: 7 | - master 8 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/AUTHORS.md: -------------------------------------------------------------------------------- 1 | * Michele Bini (original Curve25519 core code: curve25519.js) 2 | * Ron Garret (original Ed25519 code: fast-djbec.js) 3 | * Guy Kloss (package refactoring, unit testing) 4 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/almond.1: -------------------------------------------------------------------------------- 1 | if (typeof module === 'object' && module.exports) { 2 | // Restore CommonJS exports once our dependencies have all finished 3 | // loading. 4 | module = __oldModule; 5 | exports = __oldExports; 6 | } 7 | // The modules for your project will be inlined above 8 | // this snippet. Ask almond to synchronously require the 9 | // module value for 'main' here and return it as the 10 | // value to use for the public API for the built file. 11 | return require('jodid25519'); 12 | })); 13 | // See https://github.com/jrburke/almond#exporting-a-public-api 14 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | /* 4 | * Copyright (c) 2014 Mega Limited 5 | * under the MIT License. 6 | * 7 | * Authors: Guy K. Kloss 8 | * 9 | * You should have received a copy of the license along with this program. 10 | */ 11 | 12 | var dh = require('./lib/dh'); 13 | var eddsa = require('./lib/eddsa'); 14 | var curve255 = require('./lib/curve255'); 15 | var utils = require('./lib/utils'); 16 | 17 | /** 18 | * @exports jodid25519 19 | * Curve 25519-based cryptography collection. 20 | * 21 | * @description 22 | * EC Diffie-Hellman (ECDH) based on Curve25519 and digital signatures 23 | * (EdDSA) based on Ed25519. 24 | */ 25 | var ns = {}; 26 | 27 | /** Module version indicator as string (format: [major.minor.patch]). */ 28 | ns.VERSION = '0.7.1'; 29 | 30 | ns.dh = dh; 31 | ns.eddsa = eddsa; 32 | ns.curve255 = curve255; 33 | ns.utils = utils; 34 | 35 | module.exports = ns; 36 | -------------------------------------------------------------------------------- /tools/node_modules/jodid25519/jsdoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "templates": { 3 | "applicationName": "jodid25519 Library", 4 | "disqus": "", 5 | "googleAnalytics": "", 6 | "openGraph": { 7 | "title": "jodid25519 Library", 8 | "type": "website", 9 | "image": "", 10 | "site_name": "", 11 | "url": "" 12 | }, 13 | "meta": { 14 | "title": "jodid25519 Library", 15 | "description": "", 16 | "keyword": "" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tools/node_modules/jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /tools/node_modules/jsbn/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tools/node_modules/jsbn/example.js: -------------------------------------------------------------------------------- 1 | var BigInteger = require('./'); 2 | var a = new BigInteger('91823918239182398123'); 3 | console.log(a.bitLength()); -------------------------------------------------------------------------------- /tools/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. -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/node_modules/json-schema/draft-03/examples/calendar: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "A representation of an event", 3 | "type" : "object", 4 | "properties" : { 5 | "dtstart" : { 6 | "format" : "date-time", 7 | "type" : "string", 8 | "description" : "Event starting time", 9 | "required":true 10 | }, 11 | "summary" : { 12 | "type":"string", 13 | "required":true 14 | }, 15 | "location" : { 16 | "type" : "string" 17 | }, 18 | "url" : { 19 | "type" : "string", 20 | "format" : "url" 21 | }, 22 | "dtend" : { 23 | "format" : "date-time", 24 | "type" : "string", 25 | "description" : "Event ending time" 26 | }, 27 | "duration" : { 28 | "format" : "date", 29 | "type" : "string", 30 | "description" : "Event duration" 31 | }, 32 | "rdate" : { 33 | "format" : "date-time", 34 | "type" : "string", 35 | "description" : "Recurrence date" 36 | }, 37 | "rrule" : { 38 | "type" : "string", 39 | "description" : "Recurrence rule" 40 | }, 41 | "category" : { 42 | "type" : "string" 43 | }, 44 | "description" : { 45 | "type" : "string" 46 | }, 47 | "geo" : { "$ref" : "http://json-schema.org/draft-03/geo" } 48 | } 49 | } 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/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 | } -------------------------------------------------------------------------------- /tools/node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /tools/node_modules/jsonpointer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | - 0.11 7 | - 0.12 8 | - iojs-v1.0 9 | - iojs-v2.0 10 | - iojs 11 | -------------------------------------------------------------------------------- /tools/node_modules/jsonpointer/README.md: -------------------------------------------------------------------------------- 1 | # JSON Pointer for nodejs 2 | 3 | This is an implementation of [JSON Pointer](http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08). 4 | 5 | ## Usage 6 | 7 | var jsonpointer = require("jsonpointer"); 8 | var obj = { foo: 1, bar: { baz: 2}, qux: [3, 4, 5]}; 9 | var one = jsonpointer.get(obj, "/foo"); 10 | var two = jsonpointer.get(obj, "/bar/baz"); 11 | var three = jsonpointer.get(obj, "/qux/0"); 12 | var four = jsonpointer.get(obj, "/qux/1"); 13 | var five = jsonpointer.get(obj, "/qux/2"); 14 | var notfound = jsonpointer.get(obj, "/quo"); // returns null 15 | 16 | jsonpointer.set(obj, "/foo", 6); // obj.foo = 6; 17 | 18 | ## Testing 19 | 20 | $ node test.js 21 | All tests pass. 22 | $ 23 | 24 | [![Build Status](https://travis-ci.org/janl/node-jsonpointer.png?branch=master)](https://travis-ci.org/janl/node-jsonpointer) 25 | 26 | ## Author 27 | 28 | (c) 2011 Jan Lehnardt 29 | 30 | ## License 31 | 32 | MIT License. 33 | -------------------------------------------------------------------------------- /tools/node_modules/jsprim/CHANGES.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## not yet released 4 | 5 | None yet. 6 | 7 | ## v1.3.0 (2016-06-22) 8 | 9 | * #14 add safer version of hasOwnProperty() 10 | * #15 forEachKey() should ignore inherited properties 11 | 12 | ## v1.2.2 (2015-10-15) 13 | 14 | * #11 NPM package shouldn't include any code that does `require('JSV')` 15 | * #12 jsl.node.conf missing definition for "module" 16 | 17 | ## v1.2.1 (2015-10-14) 18 | 19 | * #8 odd date parsing behaviour 20 | 21 | ## v1.2.0 (2015-10-13) 22 | 23 | * #9 want function for returning RFC1123 dates 24 | 25 | ## v1.1.0 (2015-09-02) 26 | 27 | * #6 a new suite of hrtime manipulation routines: `hrtimeAdd()`, 28 | `hrtimeAccum()`, `hrtimeNanosec()`, `hrtimeMicrosec()` and 29 | `hrtimeMillisec()`. 30 | 31 | ## v1.0.0 (2015-09-01) 32 | 33 | First tracked release. Includes everything in previous releases, plus: 34 | 35 | * #4 want function for merging objects 36 | -------------------------------------------------------------------------------- /tools/node_modules/jsprim/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012, Joyent, Inc. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE 20 | -------------------------------------------------------------------------------- /tools/node_modules/mime-db/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/mime-types/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Jonathan Ong 4 | Copyright (c) 2015 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /tools/node_modules/neo-async/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014-2016 Suguru Motegi 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 | -------------------------------------------------------------------------------- /tools/node_modules/neo-async/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = require('./lib/async'); 4 | 5 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .nyc_output 4 | coverage 5 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2010-2012 Robert Kieffer 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 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/benchmark/bench.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # for a given node version run: 4 | # for i in {0..9}; do node benchmark.js >> bench_0.6.2.log; done; 5 | 6 | PATTERNS=('nodeuuid.v1()' "nodeuuid.v1('binary'," 'nodeuuid.v4()' "nodeuuid.v4('binary'," "uuid()" "uuid('binary')" 'uuidjs.create(1)' 'uuidjs.create(4)' '140byte') 7 | FILES=(node_uuid_v1_string node_uuid_v1_buf node_uuid_v4_string node_uuid_v4_buf libuuid_v4_string libuuid_v4_binary uuidjs_v1_string uuidjs_v4_string 140byte_es) 8 | INDICES=(2 3 2 3 2 2 2 2 2) 9 | VERSIONS=$( ls bench_*.log | sed -e 's/^bench_\([0-9\.]*\)\.log/\1/' | tr "\\n" " " ) 10 | TMPJOIN="tmp_join" 11 | OUTPUT="bench_results.txt" 12 | 13 | for I in ${!FILES[*]}; do 14 | F=${FILES[$I]} 15 | P=${PATTERNS[$I]} 16 | INDEX=${INDICES[$I]} 17 | echo "version $F" > $F 18 | for V in $VERSIONS; do 19 | (VAL=$( grep "$P" bench_$V.log | LC_ALL=en_US awk '{ sum += $'$INDEX' } END { print sum/NR }' ); echo $V $VAL) >> $F 20 | done 21 | if [ $I == 0 ]; then 22 | cat $F > $TMPJOIN 23 | else 24 | join $TMPJOIN $F > $OUTPUT 25 | cp $OUTPUT $TMPJOIN 26 | fi 27 | rm $F 28 | done 29 | 30 | rm $TMPJOIN 31 | 32 | gnuplot bench.gnu 33 | convert -density 200 -resize 800x560 -flatten bench.eps bench.png 34 | rm bench.eps 35 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/benchmark/benchmark-native.c: -------------------------------------------------------------------------------- 1 | /* 2 | Test performance of native C UUID generation 3 | 4 | To Compile: cc -luuid benchmark-native.c -o benchmark-native 5 | */ 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | int main() { 13 | uuid_t myid; 14 | char buf[36+1]; 15 | int i; 16 | struct timeval t; 17 | double start, finish; 18 | 19 | gettimeofday(&t, NULL); 20 | start = t.tv_sec + t.tv_usec/1e6; 21 | 22 | int n = 2e5; 23 | for (i = 0; i < n; i++) { 24 | uuid_generate(myid); 25 | uuid_unparse(myid, buf); 26 | } 27 | 28 | gettimeofday(&t, NULL); 29 | finish = t.tv_sec + t.tv_usec/1e6; 30 | double dur = finish - start; 31 | 32 | printf("%d uuids/sec", (int)(n/dur)); 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | var uuid = require(path.join(__dirname, '..')); 5 | 6 | var arg = process.argv[2]; 7 | 8 | if ('--help' === arg) { 9 | console.log('\n USAGE: uuid [version] [options]\n\n'); 10 | console.log(' options:\n'); 11 | console.log(' --help Display this message and exit\n'); 12 | process.exit(0); 13 | } 14 | 15 | if (null == arg) { 16 | console.log(uuid()); 17 | process.exit(0); 18 | } 19 | 20 | if ('v1' !== arg && 'v4' !== arg) { 21 | console.error('Version must be RFC4122 version 1 or version 4, denoted as "v1" or "v4"'); 22 | process.exit(1); 23 | } 24 | 25 | console.log(uuid[arg]()); 26 | process.exit(0); 27 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "version": "1.4.7", 4 | "homepage": "https://github.com/broofa/node-uuid", 5 | "authors": [ 6 | "Robert Kieffer " 7 | ], 8 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 9 | "main": "uuid.js", 10 | "keywords": [ 11 | "uuid", 12 | "gid", 13 | "rfc4122" 14 | ], 15 | "license": "MIT", 16 | "ignore": [ 17 | "**/.*", 18 | "node_modules", 19 | "bower_components", 20 | "test", 21 | "tests" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-uuid", 3 | "repo": "broofa/node-uuid", 4 | "description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", 5 | "version": "1.4.7", 6 | "author": "Robert Kieffer ", 7 | "contributors": [ 8 | { 9 | "name": "Christoph Tavan ", 10 | "github": "https://github.com/ctavan" 11 | } 12 | ], 13 | "keywords": [ 14 | "uuid", 15 | "guid", 16 | "rfc4122" 17 | ], 18 | "dependencies": {}, 19 | "development": {}, 20 | "main": "uuid.js", 21 | "scripts": [ 22 | "uuid.js" 23 | ], 24 | "license": "MIT" 25 | } -------------------------------------------------------------------------------- /tools/node_modules/node-uuid/test/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tools/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 | -------------------------------------------------------------------------------- /tools/node_modules/pinkie-promise/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = typeof Promise === 'function' ? Promise : require('pinkie'); 4 | -------------------------------------------------------------------------------- /tools/node_modules/pinkie-promise/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/pinkie-promise/readme.md: -------------------------------------------------------------------------------- 1 | # pinkie-promise [![Build Status](https://travis-ci.org/floatdrop/pinkie-promise.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie-promise) 2 | 3 | > [ES2015 Promise](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects) ponyfill 4 | 5 | Module exports global Promise object (if available) or [`pinkie`](http://github.com/floatdrop/pinkie) Promise polyfill. 6 | 7 | ## Install 8 | 9 | ``` 10 | $ npm install --save pinkie-promise 11 | ``` 12 | 13 | ## Usage 14 | 15 | ```js 16 | var Promise = require('pinkie-promise'); 17 | 18 | new Promise(function (resolve) { resolve('unicorns'); }); 19 | //=> Promise { 'unicorns' } 20 | ``` 21 | 22 | ## Related 23 | 24 | - [pify](https://github.com/sindresorhus/pify) - Promisify a callback-style function 25 | 26 | ## License 27 | 28 | MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop) 29 | -------------------------------------------------------------------------------- /tools/node_modules/pinkie/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /tools/node_modules/process-nextick-args/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | if (!process.version || 4 | process.version.indexOf('v0.') === 0 || 5 | process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) { 6 | module.exports = nextTick; 7 | } else { 8 | module.exports = process.nextTick; 9 | } 10 | 11 | function nextTick(fn, arg1, arg2, arg3) { 12 | if (typeof fn !== 'function') { 13 | throw new TypeError('"callback" argument must be a function'); 14 | } 15 | var len = arguments.length; 16 | var args, i; 17 | switch (len) { 18 | case 0: 19 | case 1: 20 | return process.nextTick(fn); 21 | case 2: 22 | return process.nextTick(function afterTickOne() { 23 | fn.call(null, arg1); 24 | }); 25 | case 3: 26 | return process.nextTick(function afterTickTwo() { 27 | fn.call(null, arg1, arg2); 28 | }); 29 | case 4: 30 | return process.nextTick(function afterTickThree() { 31 | fn.call(null, arg1, arg2, arg3); 32 | }); 33 | default: 34 | args = new Array(len - 1); 35 | i = 0; 36 | while (i < args.length) { 37 | args[i++] = arguments[i]; 38 | } 39 | return process.nextTick(function afterTick() { 40 | fn.apply(null, args); 41 | }); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /tools/node_modules/process-nextick-args/license.md: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2015 Calvin Metcalf 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | **THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE.** 20 | -------------------------------------------------------------------------------- /tools/node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var nextTick = require('process-nextick-args'); 14 | 15 | nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /tools/node_modules/process-nextick-args/test.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test; 2 | var nextTick = require('./'); 3 | 4 | test('should work', function (t) { 5 | t.plan(5); 6 | nextTick(function (a) { 7 | t.ok(a); 8 | nextTick(function (thing) { 9 | t.equals(thing, 7); 10 | }, 7); 11 | }, true); 12 | nextTick(function (a, b, c) { 13 | t.equals(a, 'step'); 14 | t.equals(b, 3); 15 | t.equals(c, 'profit'); 16 | }, 'step', 3, 'profit'); 17 | }); 18 | 19 | test('correct number of arguments', function (t) { 20 | t.plan(1); 21 | nextTick(function () { 22 | t.equals(2, arguments.length, 'correct number'); 23 | }, 1, 2); 24 | }); 25 | -------------------------------------------------------------------------------- /tools/node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /tools/node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 22], 8 | "consistent-return": [1], 9 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], 10 | "indent": [2, 4], 11 | "max-params": [2, 9], 12 | "max-statements": [2, 36], 13 | "no-extra-parens": [1], 14 | "no-continue": [1], 15 | "no-magic-numbers": 0, 16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 17 | "operator-linebreak": 1 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tools/node_modules/qs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md). 2 | -------------------------------------------------------------------------------- /tools/node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var Stringify = require('./stringify'); 4 | var Parse = require('./parse'); 5 | 6 | module.exports = { 7 | stringify: Stringify, 8 | parse: Parse 9 | }; 10 | -------------------------------------------------------------------------------- /tools/node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | require('./parse'); 2 | 3 | require('./stringify'); 4 | 5 | require('./utils'); 6 | -------------------------------------------------------------------------------- /tools/node_modules/qs/test/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var utils = require('../lib/utils'); 5 | 6 | test('merge()', function (t) { 7 | t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key'); 8 | t.end(); 9 | }); 10 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/.zuul.yml: -------------------------------------------------------------------------------- 1 | ui: tape 2 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Joyent, Inc. and other Node contributors. 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 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_duplex.js") 2 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/lib/_stream_passthrough.js: -------------------------------------------------------------------------------- 1 | // a passthrough stream. 2 | // basically just the most minimal sort of Transform stream. 3 | // Every written chunk gets output as-is. 4 | 5 | 'use strict'; 6 | 7 | module.exports = PassThrough; 8 | 9 | var Transform = require('./_stream_transform'); 10 | 11 | /**/ 12 | var util = require('core-util-is'); 13 | util.inherits = require('inherits'); 14 | /**/ 15 | 16 | util.inherits(PassThrough, Transform); 17 | 18 | function PassThrough(options) { 19 | if (!(this instanceof PassThrough)) return new PassThrough(options); 20 | 21 | Transform.call(this, options); 22 | } 23 | 24 | PassThrough.prototype._transform = function (chunk, encoding, cb) { 25 | cb(null, chunk); 26 | }; -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_passthrough.js") 2 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/readable.js: -------------------------------------------------------------------------------- 1 | var Stream = (function (){ 2 | try { 3 | return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify 4 | } catch(_){} 5 | }()); 6 | exports = module.exports = require('./lib/_stream_readable.js'); 7 | exports.Stream = Stream || exports; 8 | exports.Readable = exports; 9 | exports.Writable = require('./lib/_stream_writable.js'); 10 | exports.Duplex = require('./lib/_stream_duplex.js'); 11 | exports.Transform = require('./lib/_stream_transform.js'); 12 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 13 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_transform.js") 2 | -------------------------------------------------------------------------------- /tools/node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/_stream_writable.js") 2 | -------------------------------------------------------------------------------- /tools/node_modules/request/.npmignore: -------------------------------------------------------------------------------- 1 | coverage 2 | tests 3 | node_modules 4 | examples 5 | release.sh 6 | disabled.appveyor.yml 7 | -------------------------------------------------------------------------------- /tools/node_modules/request/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | 4 | node_js: 5 | - node 6 | - 4 7 | - 0.12 8 | - 0.10 9 | 10 | after_script: 11 | - npm run test-cov 12 | - codecov 13 | - cat ./coverage/lcov.info | coveralls 14 | 15 | webhooks: 16 | urls: https://webhooks.gitter.im/e/237280ed4796c19cc626 17 | on_success: change # options: [always|never|change] default: always 18 | on_failure: always # options: [always|never|change] default: always 19 | on_start: false # default: false 20 | 21 | sudo: false 22 | -------------------------------------------------------------------------------- /tools/node_modules/request/codecov.yml: -------------------------------------------------------------------------------- 1 | 2 | comment: false 3 | -------------------------------------------------------------------------------- /tools/node_modules/request/lib/cookies.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var tough = require('tough-cookie') 4 | 5 | var Cookie = tough.Cookie 6 | , CookieJar = tough.CookieJar 7 | 8 | 9 | exports.parse = function(str) { 10 | if (str && str.uri) { 11 | str = str.uri 12 | } 13 | if (typeof str !== 'string') { 14 | throw new Error('The cookie function only accepts STRING as param') 15 | } 16 | return Cookie.parse(str, {loose: true}) 17 | } 18 | 19 | // Adapt the sometimes-Async api of tough.CookieJar to our requirements 20 | function RequestJar(store) { 21 | var self = this 22 | self._jar = new CookieJar(store, {looseMode: true}) 23 | } 24 | RequestJar.prototype.setCookie = function(cookieOrStr, uri, options) { 25 | var self = this 26 | return self._jar.setCookieSync(cookieOrStr, uri, options || {}) 27 | } 28 | RequestJar.prototype.getCookieString = function(uri) { 29 | var self = this 30 | return self._jar.getCookieStringSync(uri) 31 | } 32 | RequestJar.prototype.getCookies = function(uri) { 33 | var self = this 34 | return self._jar.getCookiesSync(uri) 35 | } 36 | 37 | exports.jar = function(store) { 38 | return new RequestJar(store) 39 | } 40 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | npm-debug.log 4 | dump.rdb 5 | node_modules 6 | results.tap 7 | results.xml 8 | npm-shrinkwrap.json 9 | config.json 10 | .DS_Store 11 | */.DS_Store 12 | */*/.DS_Store 13 | ._* 14 | */._* 15 | */*/._* 16 | coverage.* 17 | lib-cov 18 | 19 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.10 5 | 6 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @node node_modules/lab/bin/lab 3 | test-cov: 4 | @node node_modules/lab/bin/lab -t 100 -m 3000 5 | test-cov-html: 6 | @node node_modules/lab/bin/lab -r html -o coverage.html 7 | 8 | .PHONY: test test-cov test-cov-html 9 | 10 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/examples/offset.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // Request offset once 4 | 5 | Sntp.offset(function (err, offset) { 6 | 7 | console.log(offset); // New (served fresh) 8 | 9 | // Request offset again 10 | 11 | Sntp.offset(function (err, offset) { 12 | 13 | console.log(offset); // Identical (served from cache) 14 | }); 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/examples/time.js: -------------------------------------------------------------------------------- 1 | var Sntp = require('../lib'); 2 | 3 | // All options are optional 4 | 5 | var options = { 6 | host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org 7 | port: 123, // Defaults to 123 (NTP) 8 | resolveReference: true, // Default to false (not resolving) 9 | timeout: 1000 // Defaults to zero (no timeout) 10 | }; 11 | 12 | // Request server time 13 | 14 | Sntp.time(options, function (err, time) { 15 | 16 | if (err) { 17 | console.log('Failed: ' + err.message); 18 | process.exit(1); 19 | } 20 | 21 | console.log(time); 22 | console.log('Local clock is off by: ' + time.t + ' milliseconds'); 23 | process.exit(0); 24 | }); 25 | 26 | -------------------------------------------------------------------------------- /tools/node_modules/sntp/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib'); -------------------------------------------------------------------------------- /tools/node_modules/sshpk/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | man/src 10 | -------------------------------------------------------------------------------- /tools/node_modules/sshpk/.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 | after_success: 11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio' 12 | -------------------------------------------------------------------------------- /tools/node_modules/sshpk/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 | -------------------------------------------------------------------------------- /tools/node_modules/sshpk/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 | -------------------------------------------------------------------------------- /tools/node_modules/sshpk/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 | -------------------------------------------------------------------------------- /tools/node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /tools/node_modules/string_decoder/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright Joyent, Inc. and other Node contributors. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a 4 | copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to permit 8 | persons to whom the Software is furnished to do so, subject to the 9 | following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included 12 | in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 17 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 18 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 19 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 20 | USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /tools/node_modules/string_decoder/README.md: -------------------------------------------------------------------------------- 1 | **string_decoder.js** (`require('string_decoder')`) from Node.js core 2 | 3 | Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details. 4 | 5 | Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.** 6 | 7 | The *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version. -------------------------------------------------------------------------------- /tools/node_modules/stringstream/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /tools/node_modules/stringstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /tools/node_modules/stringstream/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Michael Hart (michael.hart.au@gmail.com) 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /tools/node_modules/stringstream/README.md: -------------------------------------------------------------------------------- 1 | # Decode streams into strings The Right Way(tm) 2 | 3 | ```javascript 4 | var fs = require('fs') 5 | var zlib = require('zlib') 6 | var strs = require('stringstream') 7 | 8 | var utf8Stream = fs.createReadStream('massiveLogFile.gz') 9 | .pipe(zlib.createGunzip()) 10 | .pipe(strs('utf8')) 11 | ``` 12 | 13 | No need to deal with `setEncoding()` weirdness, just compose streams 14 | like they were supposed to be! 15 | 16 | Handles input and output encoding: 17 | 18 | ```javascript 19 | // Stream from utf8 to hex to base64... Why not, ay. 20 | var hex64Stream = fs.createReadStream('myFile') 21 | .pipe(strs('utf8', 'hex')) 22 | .pipe(strs('hex', 'base64')) 23 | ``` 24 | 25 | Also deals with `base64` output correctly by aligning each emitted data 26 | chunk so that there are no dangling `=` characters: 27 | 28 | ```javascript 29 | var stream = fs.createReadStream('myFile').pipe(strs('base64')) 30 | 31 | var base64Str = '' 32 | 33 | stream.on('data', function(data) { base64Str += data }) 34 | stream.on('end', function() { 35 | console.log('My base64 encoded file is: ' + base64Str) // Wouldn't work with setEncoding() 36 | console.log('Original file is: ' + new Buffer(base64Str, 'base64')) 37 | }) 38 | ``` 39 | -------------------------------------------------------------------------------- /tools/node_modules/stringstream/example.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs') 2 | var zlib = require('zlib') 3 | var strs = require('stringstream') 4 | 5 | var utf8Stream = fs.createReadStream('massiveLogFile.gz') 6 | .pipe(zlib.createGunzip()) 7 | .pipe(strs('utf8')) 8 | 9 | utf8Stream.pipe(process.stdout) 10 | 11 | // Stream from utf8 to hex to base64... Why not, ay. 12 | var hex64Stream = fs.createReadStream('myFile') 13 | .pipe(strs('utf8', 'hex')) 14 | .pipe(strs('hex', 'base64')) 15 | 16 | hex64Stream.pipe(process.stdout) 17 | 18 | // Deals with base64 correctly by aligning chunks 19 | var stream = fs.createReadStream('myFile').pipe(strs('base64')) 20 | 21 | var base64Str = '' 22 | 23 | stream.on('data', function(data) { base64Str += data }) 24 | stream.on('end', function() { 25 | console.log('My base64 encoded file is: ' + base64Str) // Wouldn't work with setEncoding() 26 | console.log('Original file is: ' + new Buffer(base64Str, 'base64')) 27 | }) 28 | -------------------------------------------------------------------------------- /tools/node_modules/strip-ansi/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var ansiRegex = require('ansi-regex')(); 3 | 4 | module.exports = function (str) { 5 | return typeof str === 'string' ? str.replace(ansiRegex, '') : str; 6 | }; 7 | -------------------------------------------------------------------------------- /tools/node_modules/strip-ansi/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/strip-ansi/readme.md: -------------------------------------------------------------------------------- 1 | # strip-ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi) 2 | 3 | > Strip [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save strip-ansi 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var stripAnsi = require('strip-ansi'); 17 | 18 | stripAnsi('\u001b[4mcake\u001b[0m'); 19 | //=> 'cake' 20 | ``` 21 | 22 | 23 | ## Related 24 | 25 | - [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module 26 | - [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes 27 | - [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes 28 | - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right 29 | 30 | 31 | ## License 32 | 33 | MIT © [Sindre Sorhus](http://sindresorhus.com) 34 | -------------------------------------------------------------------------------- /tools/node_modules/supports-color/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var argv = process.argv; 3 | 4 | var terminator = argv.indexOf('--'); 5 | var hasFlag = function (flag) { 6 | flag = '--' + flag; 7 | var pos = argv.indexOf(flag); 8 | return pos !== -1 && (terminator !== -1 ? pos < terminator : true); 9 | }; 10 | 11 | module.exports = (function () { 12 | if ('FORCE_COLOR' in process.env) { 13 | return true; 14 | } 15 | 16 | if (hasFlag('no-color') || 17 | hasFlag('no-colors') || 18 | hasFlag('color=false')) { 19 | return false; 20 | } 21 | 22 | if (hasFlag('color') || 23 | hasFlag('colors') || 24 | hasFlag('color=true') || 25 | hasFlag('color=always')) { 26 | return true; 27 | } 28 | 29 | if (process.stdout && !process.stdout.isTTY) { 30 | return false; 31 | } 32 | 33 | if (process.platform === 'win32') { 34 | return true; 35 | } 36 | 37 | if ('COLORTERM' in process.env) { 38 | return true; 39 | } 40 | 41 | if (process.env.TERM === 'dumb') { 42 | return false; 43 | } 44 | 45 | if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)) { 46 | return true; 47 | } 48 | 49 | return false; 50 | })(); 51 | -------------------------------------------------------------------------------- /tools/node_modules/supports-color/license: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Sindre Sorhus (sindresorhus.com) 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 13 | all 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 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /tools/node_modules/supports-color/readme.md: -------------------------------------------------------------------------------- 1 | # supports-color [![Build Status](https://travis-ci.org/chalk/supports-color.svg?branch=master)](https://travis-ci.org/chalk/supports-color) 2 | 3 | > Detect whether a terminal supports color 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save supports-color 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var supportsColor = require('supports-color'); 17 | 18 | if (supportsColor) { 19 | console.log('Terminal supports color'); 20 | } 21 | ``` 22 | 23 | It obeys the `--color` and `--no-color` CLI flags. 24 | 25 | For situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`. 26 | 27 | 28 | ## Related 29 | 30 | - [supports-color-cli](https://github.com/chalk/supports-color-cli) - CLI for this module 31 | - [chalk](https://github.com/chalk/chalk) - Terminal string styling done right 32 | 33 | 34 | ## License 35 | 36 | MIT © [Sindre Sorhus](http://sindresorhus.com) 37 | -------------------------------------------------------------------------------- /tools/node_modules/tunnel-agent/README.md: -------------------------------------------------------------------------------- 1 | tunnel-agent 2 | ============ 3 | 4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /tools/node_modules/tweetnacl/.npmignore: -------------------------------------------------------------------------------- 1 | .eslintrc 2 | .travis.yml 3 | bower.json 4 | test 5 | -------------------------------------------------------------------------------- /tools/node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /tools/node_modules/util-deprecate/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Nathan Rajlich 4 | 5 | Permission is hereby granted, free of charge, to any person 6 | obtaining a copy of this software and associated documentation 7 | files (the "Software"), to deal in the Software without 8 | restriction, including without limitation the rights to use, 9 | copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the 11 | Software is furnished to do so, subject to the following 12 | conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 19 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 20 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 21 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 22 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 23 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 24 | OTHER DEALINGS IN THE SOFTWARE. 25 | -------------------------------------------------------------------------------- /tools/node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /tools/node_modules/verror/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/widdix/complete-aws-iam-reference/a63b972bdc276e98e1cde83758ded83194a78dc6/tools/node_modules/verror/.gitmodules -------------------------------------------------------------------------------- /tools/node_modules/verror/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /tools/node_modules/verror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012, Joyent, Inc. All rights reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE 20 | -------------------------------------------------------------------------------- /tools/node_modules/verror/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 | # Tools 13 | # 14 | NPM = npm 15 | 16 | # 17 | # Files 18 | # 19 | JS_FILES := $(shell find lib examples tests -name '*.js') 20 | JSL_FILES_NODE = $(JS_FILES) 21 | JSSTYLE_FILES = $(JS_FILES) 22 | JSL_CONF_NODE = jsl.node.conf 23 | 24 | .PHONY: all 25 | all: 26 | $(NPM) install 27 | 28 | .PHONY: test 29 | test: 30 | node tests/tst.inherit.js 31 | node tests/tst.verror.js 32 | node tests/tst.werror.js 33 | @echo all tests passed 34 | 35 | include ./Makefile.targ 36 | -------------------------------------------------------------------------------- /tools/node_modules/verror/examples/levels-verror.js: -------------------------------------------------------------------------------- 1 | var extsprintf = require('extsprintf'); 2 | var fs = require('fs'); 3 | var verror = require('../lib/verror'); 4 | 5 | function checkFile(filename, callback) { 6 | fs.stat(filename, function (err) { 7 | if (err) 8 | /* Annotate the "stat" error with what we were doing. */ 9 | return (callback(new verror.VError(err, 10 | 'failed to check "%s"', filename))); 11 | 12 | /* ... */ 13 | return (callback()); 14 | }); 15 | } 16 | 17 | function handleRequest(filename, callback) { 18 | checkFile('/nonexistent', function (err) { 19 | if (err) 20 | /* Annotate the "checkFile" error. */ 21 | return (callback(new verror.VError( 22 | err, 'request failed'))); 23 | 24 | /* ... */ 25 | return (callback()); 26 | }); 27 | } 28 | 29 | handleRequest('/nonexistent', function (err) { 30 | if (err) { 31 | console.log(err.message); 32 | console.log(extsprintf.sprintf('%r', err)); 33 | } 34 | 35 | /* ... */ 36 | }); 37 | -------------------------------------------------------------------------------- /tools/node_modules/verror/examples/levels-werror.js: -------------------------------------------------------------------------------- 1 | var extsprintf = require('extsprintf'); 2 | var fs = require('fs'); 3 | var verror = require('../lib/verror'); 4 | 5 | function checkFile(filename, callback) { 6 | fs.stat(filename, function (err) { 7 | if (err) 8 | /* Annotate the "stat" error with what we were doing. */ 9 | return (callback(new verror.VError(err, 10 | 'failed to check "%s"', filename))); 11 | 12 | /* ... */ 13 | return (callback()); 14 | }); 15 | } 16 | 17 | function handleRequest(filename, callback) { 18 | checkFile('/nonexistent', function (err) { 19 | if (err) 20 | /* Wrap the "checkFile" error. */ 21 | return (callback(new verror.WError( 22 | err, 'request failed'))); 23 | 24 | /* ... */ 25 | return (callback()); 26 | }); 27 | } 28 | 29 | handleRequest('/nonexistent', function (err) { 30 | if (err) { 31 | console.log(err.message); 32 | console.log(err.toString()); 33 | } 34 | }); 35 | -------------------------------------------------------------------------------- /tools/node_modules/verror/examples/varargs.js: -------------------------------------------------------------------------------- 1 | var verror = require('../lib/verror'); 2 | 3 | var opname = 'read'; 4 | var err = new verror.VError('"%s" operation failed', opname); 5 | console.log(err.message); 6 | console.log(err.stack); 7 | -------------------------------------------------------------------------------- /tools/node_modules/verror/examples/verror.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_verror = require('../lib/verror'); 3 | 4 | var filename = '/nonexistent'; 5 | 6 | mod_fs.stat(filename, function (err1) { 7 | var err2 = new mod_verror.VError(err1, 'failed to stat "%s"', filename); 8 | 9 | /* The following would normally be higher up the stack. */ 10 | var err3 = new mod_verror.VError(err2, 'failed to handle request'); 11 | console.log(err3.message); 12 | console.log(err3.stack); 13 | }); 14 | -------------------------------------------------------------------------------- /tools/node_modules/verror/examples/werror.js: -------------------------------------------------------------------------------- 1 | var mod_fs = require('fs'); 2 | var mod_verror = require('../lib/verror'); 3 | 4 | var filename = '/nonexistent'; 5 | 6 | mod_fs.stat(filename, function (err1) { 7 | var err2 = new mod_verror.WError(err1, 'failed to stat "%s"', filename); 8 | 9 | /* The following would normally be higher up the stack. */ 10 | var err3 = new mod_verror.WError(err2, 'failed to handle request'); 11 | console.log(err3.message); 12 | console.log(err3.toString()); 13 | console.log(err3.stack); 14 | }); 15 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "maxdepth": 4, 3 | "maxstatements": 200, 4 | "maxcomplexity": 12, 5 | "maxlen": 80, 6 | "maxparams": 5, 7 | 8 | "curly": true, 9 | "eqeqeq": true, 10 | "immed": true, 11 | "latedef": false, 12 | "noarg": true, 13 | "noempty": true, 14 | "nonew": true, 15 | "undef": true, 16 | "unused": "vars", 17 | "trailing": true, 18 | 19 | "quotmark": true, 20 | "expr": true, 21 | "asi": true, 22 | 23 | "browser": false, 24 | "esnext": true, 25 | "devel": false, 26 | "node": false, 27 | "nonstandard": false, 28 | 29 | "predef": ["require", "module", "__dirname", "__filename"] 30 | } 31 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/LICENCE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012-2014 Raynos. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/Makefile: -------------------------------------------------------------------------------- 1 | browser: 2 | node ./support/compile 3 | 4 | .PHONY: browser -------------------------------------------------------------------------------- /tools/node_modules/xtend/README.md: -------------------------------------------------------------------------------- 1 | # xtend 2 | 3 | [![browser support][3]][4] 4 | 5 | [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges) 6 | 7 | Extend like a boss 8 | 9 | xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence. 10 | 11 | ## Examples 12 | 13 | ```js 14 | var extend = require("xtend") 15 | 16 | // extend returns a new object. Does not mutate arguments 17 | var combination = extend({ 18 | a: "a", 19 | b: 'c' 20 | }, { 21 | b: "b" 22 | }) 23 | // { a: "a", b: "b" } 24 | ``` 25 | 26 | ## Stability status: Locked 27 | 28 | ## MIT Licenced 29 | 30 | 31 | [3]: http://ci.testling.com/Raynos/xtend.png 32 | [4]: http://ci.testling.com/Raynos/xtend 33 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/immutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend() { 6 | var target = {} 7 | 8 | for (var i = 0; i < arguments.length; i++) { 9 | var source = arguments[i] 10 | 11 | for (var key in source) { 12 | if (hasOwnProperty.call(source, key)) { 13 | target[key] = source[key] 14 | } 15 | } 16 | } 17 | 18 | return target 19 | } 20 | -------------------------------------------------------------------------------- /tools/node_modules/xtend/mutable.js: -------------------------------------------------------------------------------- 1 | module.exports = extend 2 | 3 | var hasOwnProperty = Object.prototype.hasOwnProperty; 4 | 5 | function extend(target) { 6 | for (var i = 1; i < arguments.length; i++) { 7 | var source = arguments[i] 8 | 9 | for (var key in source) { 10 | if (hasOwnProperty.call(source, key)) { 11 | target[key] = source[key] 12 | } 13 | } 14 | } 15 | 16 | return target 17 | } 18 | -------------------------------------------------------------------------------- /tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "cheerio": "0.20.0", 4 | "mustache": "2.2.1", 5 | "neo-async": "2.0.0", 6 | "request": "2.74.0", 7 | "fs-extra": "0.30.0" 8 | }, 9 | "private": true 10 | } 11 | -------------------------------------------------------------------------------- /tools/template/footer.mustache: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tools/template/index.mustache: -------------------------------------------------------------------------------- 1 | {{> header}} 2 | 3 |
4 |

Complete AWS IAM Reference

5 |

Creating IAM policies is hard. We collect information from the AWS Documentation to make writing IAM policies easier. Send us feedback: hello@widdix.de.

6 |

Services

7 | 12 |
13 | 14 | {{> footer}} 15 | -------------------------------------------------------------------------------- /tools/template/sitemap.mustache: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://iam.cloudonaut.io/about.html 5 | 6 | 7 | https://iam.cloudonaut.io/global-conditions.html 8 | 9 | 10 | https://iam.cloudonaut.io/ 11 | 12 | {{#services}} 13 | 14 | https://iam.cloudonaut.io/reference/{{.}}.html 15 | 16 | {{/services}} 17 | {{#contents}} 18 | {{#.}} 19 | 20 | https://iam.cloudonaut.io/reference/{{service}}/{{action}}.html 21 | 22 | {{/.}} 23 | {{/contents}} 24 | 25 | --------------------------------------------------------------------------------