├── README.md ├── action.yml ├── index.js ├── node_modules ├── .bin │ ├── semver │ ├── sshpk-conv │ ├── sshpk-sign │ ├── sshpk-verify │ ├── uuid │ └── which ├── @actions │ ├── core │ │ ├── README.md │ │ ├── lib │ │ │ ├── command.d.ts │ │ │ ├── command.js │ │ │ ├── command.js.map │ │ │ ├── core.d.ts │ │ │ ├── core.js │ │ │ └── core.js.map │ │ └── package.json │ ├── github │ │ ├── README.md │ │ ├── lib │ │ │ ├── context.d.ts │ │ │ ├── context.js │ │ │ ├── context.js.map │ │ │ ├── github.d.ts │ │ │ ├── github.js │ │ │ ├── github.js.map │ │ │ ├── interfaces.d.ts │ │ │ ├── interfaces.js │ │ │ └── interfaces.js.map │ │ └── package.json │ └── http-client │ │ ├── LICENSE │ │ ├── README.md │ │ ├── RELEASES.md │ │ ├── actions.png │ │ ├── auth.d.ts │ │ ├── auth.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── interfaces.d.ts │ │ ├── interfaces.js │ │ ├── package.json │ │ ├── proxy.d.ts │ │ └── proxy.js ├── @octokit │ ├── auth-token │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── auth.js │ │ │ ├── hook.js │ │ │ ├── index.js │ │ │ ├── types.js │ │ │ └── with-authorization-prefix.js │ │ ├── dist-types │ │ │ ├── auth.d.ts │ │ │ ├── hook.d.ts │ │ │ ├── index.d.ts │ │ │ ├── types.d.ts │ │ │ └── with-authorization-prefix.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── endpoint │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── defaults.js │ │ │ ├── endpoint-with-defaults.js │ │ │ ├── index.js │ │ │ ├── merge.js │ │ │ ├── parse.js │ │ │ ├── util │ │ │ │ ├── add-query-parameters.js │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ ├── lowercase-keys.js │ │ │ │ ├── merge-deep.js │ │ │ │ ├── omit.js │ │ │ │ └── url-template.js │ │ │ ├── version.js │ │ │ └── with-defaults.js │ │ ├── dist-types │ │ │ ├── defaults.d.ts │ │ │ ├── endpoint-with-defaults.d.ts │ │ │ ├── index.d.ts │ │ │ ├── merge.d.ts │ │ │ ├── parse.d.ts │ │ │ ├── util │ │ │ │ ├── add-query-parameters.d.ts │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ ├── merge-deep.d.ts │ │ │ │ ├── omit.d.ts │ │ │ │ └── url-template.d.ts │ │ │ ├── version.d.ts │ │ │ └── with-defaults.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── graphql │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── error.js │ │ │ ├── graphql.js │ │ │ ├── index.js │ │ │ ├── types.js │ │ │ ├── version.js │ │ │ └── with-defaults.js │ │ ├── dist-types │ │ │ ├── error.d.ts │ │ │ ├── graphql.d.ts │ │ │ ├── index.d.ts │ │ │ ├── types.d.ts │ │ │ ├── version.d.ts │ │ │ └── with-defaults.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── plugin-paginate-rest │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── index.js │ │ │ ├── iterator.js │ │ │ ├── normalize-paginated-list-response.js │ │ │ ├── paginate.js │ │ │ ├── types.js │ │ │ └── version.js │ │ ├── dist-types │ │ │ ├── index.d.ts │ │ │ ├── iterator.d.ts │ │ │ ├── normalize-paginated-list-response.d.ts │ │ │ ├── paginate.d.ts │ │ │ ├── types.d.ts │ │ │ └── version.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── plugin-request-log │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── index.js │ │ │ └── version.js │ │ ├── dist-types │ │ │ ├── index.d.ts │ │ │ └── version.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── plugin-rest-endpoint-methods │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── generated │ │ │ │ ├── endpoints.js │ │ │ │ └── rest-endpoint-methods-types.js │ │ │ ├── index.js │ │ │ ├── register-endpoints.js │ │ │ ├── types.js │ │ │ └── version.js │ │ ├── dist-types │ │ │ ├── generated │ │ │ │ ├── endpoints.d.ts │ │ │ │ └── rest-endpoint-methods-types.d.ts │ │ │ ├── index.d.ts │ │ │ ├── register-endpoints.d.ts │ │ │ ├── types.d.ts │ │ │ └── version.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── request-error │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── index.js │ │ │ └── types.js │ │ ├── dist-types │ │ │ ├── index.d.ts │ │ │ └── types.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── request │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ ├── fetch-wrapper.js │ │ │ ├── get-buffer-response.js │ │ │ ├── index.js │ │ │ ├── version.js │ │ │ └── with-defaults.js │ │ ├── dist-types │ │ │ ├── fetch-wrapper.d.ts │ │ │ ├── get-buffer-response.d.ts │ │ │ ├── index.d.ts │ │ │ ├── version.d.ts │ │ │ └── with-defaults.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── rest │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── lib │ │ │ ├── constructor.js │ │ │ ├── core.js │ │ │ ├── factory.js │ │ │ ├── parse-client-options.js │ │ │ └── register-plugin.js │ │ ├── package.json │ │ └── plugins │ │ │ ├── authentication-deprecated │ │ │ ├── authenticate.js │ │ │ ├── before-request.js │ │ │ ├── index.js │ │ │ └── request-error.js │ │ │ ├── authentication │ │ │ ├── before-request.js │ │ │ ├── index.js │ │ │ ├── request-error.js │ │ │ ├── validate.js │ │ │ └── with-authorization-prefix.js │ │ │ ├── pagination │ │ │ └── index.js │ │ │ └── validate │ │ │ ├── index.js │ │ │ └── validate.js │ └── types │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ └── src │ │ ├── AuthInterface.ts │ │ ├── EndpointDefaults.ts │ │ ├── EndpointInterface.ts │ │ ├── EndpointOptions.ts │ │ ├── Fetch.ts │ │ ├── OctokitResponse.ts │ │ ├── RequestHeaders.ts │ │ ├── RequestInterface.ts │ │ ├── RequestMethod.ts │ │ ├── RequestOptions.ts │ │ ├── RequestParameters.ts │ │ ├── RequestRequestOptions.ts │ │ ├── ResponseHeaders.ts │ │ ├── Route.ts │ │ ├── Signal.ts │ │ ├── StrategyInterface.ts │ │ ├── Url.ts │ │ ├── VERSION.ts │ │ ├── generated │ │ ├── Endpoints.ts │ │ └── README.md │ │ └── index.ts ├── @types │ └── node │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assert.d.ts │ │ ├── async_hooks.d.ts │ │ ├── base.d.ts │ │ ├── buffer.d.ts │ │ ├── child_process.d.ts │ │ ├── cluster.d.ts │ │ ├── console.d.ts │ │ ├── constants.d.ts │ │ ├── crypto.d.ts │ │ ├── dgram.d.ts │ │ ├── dns.d.ts │ │ ├── domain.d.ts │ │ ├── events.d.ts │ │ ├── fs.d.ts │ │ ├── globals.d.ts │ │ ├── http.d.ts │ │ ├── http2.d.ts │ │ ├── https.d.ts │ │ ├── index.d.ts │ │ ├── inspector.d.ts │ │ ├── module.d.ts │ │ ├── net.d.ts │ │ ├── os.d.ts │ │ ├── package.json │ │ ├── path.d.ts │ │ ├── perf_hooks.d.ts │ │ ├── process.d.ts │ │ ├── punycode.d.ts │ │ ├── querystring.d.ts │ │ ├── readline.d.ts │ │ ├── repl.d.ts │ │ ├── stream.d.ts │ │ ├── string_decoder.d.ts │ │ ├── timers.d.ts │ │ ├── tls.d.ts │ │ ├── trace_events.d.ts │ │ ├── ts3.5 │ │ ├── fs.d.ts │ │ ├── globals.d.ts │ │ ├── index.d.ts │ │ ├── util.d.ts │ │ └── wasi.d.ts │ │ ├── tty.d.ts │ │ ├── url.d.ts │ │ ├── util.d.ts │ │ ├── v8.d.ts │ │ ├── vm.d.ts │ │ ├── worker_threads.d.ts │ │ └── zlib.d.ts ├── ajv │ ├── .tonic_example.js │ ├── LICENSE │ ├── README.md │ ├── dist │ │ ├── ajv.bundle.js │ │ ├── ajv.min.js │ │ └── ajv.min.js.map │ ├── lib │ │ ├── ajv.d.ts │ │ ├── ajv.js │ │ ├── cache.js │ │ ├── compile │ │ │ ├── async.js │ │ │ ├── equal.js │ │ │ ├── error_classes.js │ │ │ ├── formats.js │ │ │ ├── index.js │ │ │ ├── resolve.js │ │ │ ├── rules.js │ │ │ ├── schema_obj.js │ │ │ ├── ucs2length.js │ │ │ └── util.js │ │ ├── data.js │ │ ├── definition_schema.js │ │ ├── dot │ │ │ ├── _limit.jst │ │ │ ├── _limitItems.jst │ │ │ ├── _limitLength.jst │ │ │ ├── _limitProperties.jst │ │ │ ├── allOf.jst │ │ │ ├── anyOf.jst │ │ │ ├── coerce.def │ │ │ ├── comment.jst │ │ │ ├── const.jst │ │ │ ├── contains.jst │ │ │ ├── custom.jst │ │ │ ├── defaults.def │ │ │ ├── definitions.def │ │ │ ├── dependencies.jst │ │ │ ├── enum.jst │ │ │ ├── errors.def │ │ │ ├── format.jst │ │ │ ├── if.jst │ │ │ ├── items.jst │ │ │ ├── missing.def │ │ │ ├── multipleOf.jst │ │ │ ├── not.jst │ │ │ ├── oneOf.jst │ │ │ ├── pattern.jst │ │ │ ├── properties.jst │ │ │ ├── propertyNames.jst │ │ │ ├── ref.jst │ │ │ ├── required.jst │ │ │ ├── uniqueItems.jst │ │ │ └── validate.jst │ │ ├── dotjs │ │ │ ├── README.md │ │ │ ├── _limit.js │ │ │ ├── _limitItems.js │ │ │ ├── _limitLength.js │ │ │ ├── _limitProperties.js │ │ │ ├── allOf.js │ │ │ ├── anyOf.js │ │ │ ├── comment.js │ │ │ ├── const.js │ │ │ ├── contains.js │ │ │ ├── custom.js │ │ │ ├── dependencies.js │ │ │ ├── enum.js │ │ │ ├── format.js │ │ │ ├── if.js │ │ │ ├── index.js │ │ │ ├── items.js │ │ │ ├── multipleOf.js │ │ │ ├── not.js │ │ │ ├── oneOf.js │ │ │ ├── pattern.js │ │ │ ├── properties.js │ │ │ ├── propertyNames.js │ │ │ ├── ref.js │ │ │ ├── required.js │ │ │ ├── uniqueItems.js │ │ │ └── validate.js │ │ ├── keyword.js │ │ └── refs │ │ │ ├── data.json │ │ │ ├── json-schema-draft-04.json │ │ │ ├── json-schema-draft-06.json │ │ │ ├── json-schema-draft-07.json │ │ │ └── json-schema-secure.json │ ├── package.json │ └── scripts │ │ ├── .eslintrc.yml │ │ ├── bundle.js │ │ ├── compile-dots.js │ │ ├── info │ │ ├── prepare-tests │ │ ├── publish-built-version │ │ └── travis-gh-pages ├── asn1 │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── ber │ │ │ ├── errors.js │ │ │ ├── index.js │ │ │ ├── reader.js │ │ │ ├── types.js │ │ │ └── writer.js │ │ └── index.js │ └── package.json ├── assert-plus │ ├── AUTHORS │ ├── CHANGES.md │ ├── README.md │ ├── assert.js │ └── package.json ├── asynckit │ ├── LICENSE │ ├── README.md │ ├── bench.js │ ├── index.js │ ├── lib │ │ ├── abort.js │ │ ├── async.js │ │ ├── defer.js │ │ ├── iterate.js │ │ ├── readable_asynckit.js │ │ ├── readable_parallel.js │ │ ├── readable_serial.js │ │ ├── readable_serial_ordered.js │ │ ├── state.js │ │ ├── streamify.js │ │ └── terminator.js │ ├── package.json │ ├── parallel.js │ ├── serial.js │ ├── serialOrdered.js │ └── stream.js ├── atob-lite │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── atob-browser.js │ ├── atob-node.js │ └── package.json ├── aws-sign2 │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── aws4 │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── aws4.js │ ├── lru.js │ └── package.json ├── bcrypt-pbkdf │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── before-after-hook │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── lib │ │ ├── add.js │ │ ├── register.js │ │ └── remove.js │ └── package.json ├── btoa-lite │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── btoa-browser.js │ ├── btoa-node.js │ └── package.json ├── caseless │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── combined-stream │ ├── License │ ├── Readme.md │ ├── lib │ │ └── combined_stream.js │ ├── package.json │ └── yarn.lock ├── configstore │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── cos-nodejs-sdk-v5 │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── demo │ │ ├── demo-sts-scope.js │ │ ├── demo-sts.js │ │ ├── demo.js │ │ └── util.js │ ├── index.js │ ├── package.json │ ├── sdk │ │ ├── advance.js │ │ ├── async.js │ │ ├── base.js │ │ ├── cos.js │ │ ├── event.js │ │ ├── task.js │ │ └── util.js │ └── test │ │ ├── csp.js │ │ └── test.js ├── cross-spawn │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── enoent.js │ │ ├── parse.js │ │ └── util │ │ │ ├── escape.js │ │ │ ├── readShebang.js │ │ │ └── resolveCommand.js │ └── package.json ├── crypto-random-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── dashdash │ ├── CHANGES.md │ ├── LICENSE.txt │ ├── README.md │ ├── etc │ │ └── dashdash.bash_completion.in │ ├── lib │ │ └── dashdash.js │ └── package.json ├── delayed-stream │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── delayed_stream.js │ └── package.json ├── deprecation │ ├── LICENSE │ ├── README.md │ ├── dist-node │ │ └── index.js │ ├── dist-src │ │ └── index.js │ ├── dist-types │ │ └── index.d.ts │ ├── dist-web │ │ └── index.js │ └── package.json ├── dot-prop │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── ecc-jsbn │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── LICENSE-jsbn │ │ ├── ec.js │ │ └── sec.js │ ├── package.json │ └── test.js ├── end-of-stream │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── execa │ ├── index.js │ ├── lib │ │ ├── errname.js │ │ └── stdio.js │ ├── license │ ├── package.json │ └── readme.md ├── extend │ ├── .editorconfig │ ├── .eslintrc │ ├── .jscs.json │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── index.js │ └── package.json ├── extsprintf │ ├── .gitmodules │ ├── .npmignore │ ├── LICENSE │ ├── Makefile │ ├── Makefile.targ │ ├── README.md │ ├── jsl.node.conf │ ├── lib │ │ └── extsprintf.js │ └── package.json ├── fast-deep-equal │ ├── LICENSE │ ├── README.md │ ├── es6 │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── react.d.ts │ │ └── react.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── react.d.ts │ └── react.js ├── fast-json-stable-stringify │ ├── .eslintrc.yml │ ├── .github │ │ └── FUNDING.yml │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── benchmark │ │ ├── index.js │ │ └── test.json │ ├── example │ │ ├── key_cmp.js │ │ ├── nested.js │ │ ├── str.js │ │ └── value_cmp.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ └── test │ │ ├── cmp.js │ │ ├── nested.js │ │ ├── str.js │ │ └── to-json.js ├── forever-agent │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── form-data │ ├── License │ ├── README.md │ ├── README.md.bak │ ├── lib │ │ ├── browser.js │ │ ├── form_data.js │ │ └── populate.js │ ├── package.json │ └── yarn.lock ├── get-stream │ ├── buffer-stream.js │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── getpass │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── index.js │ └── package.json ├── graceful-fs │ ├── LICENSE │ ├── README.md │ ├── clone.js │ ├── graceful-fs.js │ ├── legacy-streams.js │ ├── package.json │ └── polyfills.js ├── har-schema │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── afterRequest.json │ │ ├── beforeRequest.json │ │ ├── browser.json │ │ ├── cache.json │ │ ├── content.json │ │ ├── cookie.json │ │ ├── creator.json │ │ ├── entry.json │ │ ├── har.json │ │ ├── header.json │ │ ├── index.js │ │ ├── log.json │ │ ├── page.json │ │ ├── pageTimings.json │ │ ├── postData.json │ │ ├── query.json │ │ ├── request.json │ │ ├── response.json │ │ └── timings.json │ └── package.json ├── har-validator │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── async.js │ │ ├── error.js │ │ └── promise.js │ └── package.json ├── 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 ├── imurmurhash │ ├── README.md │ ├── imurmurhash.js │ ├── imurmurhash.min.js │ └── package.json ├── is-obj │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-plain-object │ ├── LICENSE │ ├── README.md │ ├── index.cjs.js │ ├── index.d.ts │ ├── index.js │ └── package.json ├── is-stream │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-typedarray │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── isexe │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── mode.js │ ├── package.json │ ├── test │ │ └── basic.js │ └── windows.js ├── isobject │ ├── LICENSE │ ├── README.md │ ├── index.cjs.js │ ├── index.d.ts │ ├── index.js │ └── package.json ├── isstream │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── isstream.js │ ├── package.json │ └── test.js ├── jsbn │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── example.html │ ├── example.js │ ├── index.js │ └── package.json ├── json-schema-traverse │ ├── .eslintrc.yml │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── spec │ │ ├── .eslintrc.yml │ │ ├── fixtures │ │ └── schema.js │ │ └── index.spec.js ├── json-schema │ ├── README.md │ ├── draft-00 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-01 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-02 │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-03 │ │ ├── examples │ │ │ ├── address │ │ │ ├── calendar │ │ │ ├── card │ │ │ ├── geo │ │ │ └── interfaces │ │ ├── hyper-schema │ │ ├── json-ref │ │ ├── links │ │ └── schema │ ├── draft-04 │ │ ├── hyper-schema │ │ ├── links │ │ └── schema │ ├── draft-zyp-json-schema-03.xml │ ├── draft-zyp-json-schema-04.xml │ ├── lib │ │ ├── links.js │ │ └── validate.js │ ├── package.json │ └── test │ │ └── tests.js ├── json-stringify-safe │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── package.json │ ├── stringify.js │ └── test │ │ ├── mocha.opts │ │ └── stringify_test.js ├── jsprim │ ├── CHANGES.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── jsprim.js │ └── package.json ├── lodash.get │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.set │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lodash.uniq │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── macos-release │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── make-dir │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── nice-try │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── node-fetch │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── browser.js │ ├── lib │ │ ├── index.es.js │ │ ├── index.js │ │ └── index.mjs │ └── package.json ├── npm-run-path │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── oauth-sign │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── octokit-pagination-methods │ ├── .travis.yml │ ├── CODE_OF_CONDUCT.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── deprecate.js │ │ ├── get-first-page.js │ │ ├── get-last-page.js │ │ ├── get-next-page.js │ │ ├── get-page-links.js │ │ ├── get-page.js │ │ ├── get-previous-page.js │ │ ├── has-first-page.js │ │ ├── has-last-page.js │ │ ├── has-next-page.js │ │ ├── has-previous-page.js │ │ └── http-error.js │ ├── package.json │ └── test.js ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── os-name │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── p-finally │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-key │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── performance-now │ ├── .npmignore │ ├── .tm_properties │ ├── .travis.yml │ ├── README.md │ ├── lib │ │ ├── performance-now.js │ │ └── performance-now.js.map │ ├── license.txt │ ├── package.json │ ├── src │ │ ├── index.d.ts │ │ └── performance-now.coffee │ └── test │ │ ├── mocha.opts │ │ ├── performance-now.coffee │ │ ├── scripts.coffee │ │ └── scripts │ │ ├── delayed-call.coffee │ │ ├── delayed-require.coffee │ │ ├── difference.coffee │ │ └── initial-value.coffee ├── pify │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── psl │ ├── LICENSE │ ├── README.md │ ├── browserstack-logo.svg │ ├── data │ │ └── rules.json │ ├── dist │ │ ├── psl.js │ │ └── psl.min.js │ ├── index.js │ └── package.json ├── pump │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ ├── test-browser.js │ └── test-node.js ├── punycode │ ├── LICENSE-MIT.txt │ ├── README.md │ ├── package.json │ ├── punycode.es6.js │ └── punycode.js ├── qs │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── formats.js │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── request │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── auth.js │ │ ├── cookies.js │ │ ├── getProxyFromURI.js │ │ ├── har.js │ │ ├── hawk.js │ │ ├── helpers.js │ │ ├── multipart.js │ │ ├── oauth.js │ │ ├── querystring.js │ │ ├── redirect.js │ │ └── tunnel.js │ ├── package.json │ └── request.js ├── safe-buffer │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── safer-buffer │ ├── LICENSE │ ├── Porting-Buffer.md │ ├── Readme.md │ ├── dangerous.js │ ├── package.json │ ├── safer.js │ └── tests.js ├── sax │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── sax.js │ └── package.json ├── semver │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── semver │ ├── package.json │ ├── range.bnf │ └── semver.js ├── shebang-command │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── shebang-regex │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── signal-exit │ ├── CHANGELOG.md │ ├── LICENSE.txt │ ├── README.md │ ├── index.js │ ├── package.json │ └── signals.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 │ │ │ ├── dnssec.js │ │ │ ├── openssh-cert.js │ │ │ ├── pem.js │ │ │ ├── pkcs1.js │ │ │ ├── pkcs8.js │ │ │ ├── putty.js │ │ │ ├── rfc4253.js │ │ │ ├── ssh-private.js │ │ │ ├── ssh.js │ │ │ ├── x509-pem.js │ │ │ └── x509.js │ │ ├── identity.js │ │ ├── index.js │ │ ├── key.js │ │ ├── private-key.js │ │ ├── signature.js │ │ ├── ssh-buffer.js │ │ └── utils.js │ ├── man │ │ └── man1 │ │ │ ├── sshpk-conv.1 │ │ │ ├── sshpk-sign.1 │ │ │ └── sshpk-verify.1 │ └── package.json ├── strip-eof │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── tough-cookie │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── cookie.js │ │ ├── memstore.js │ │ ├── pathMatch.js │ │ ├── permuteDomain.js │ │ ├── pubsuffix-psl.js │ │ ├── store.js │ │ └── version.js │ └── package.json ├── tunnel-agent │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── tunnel │ ├── .idea │ │ ├── encodings.xml │ │ ├── modules.xml │ │ ├── node-tunnel.iml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ └── tunnel.js │ └── package.json ├── tweetnacl │ ├── .npmignore │ ├── AUTHORS.md │ ├── CHANGELOG.md │ ├── LICENSE │ ├── PULL_REQUEST_TEMPLATE.md │ ├── README.md │ ├── nacl-fast.js │ ├── nacl-fast.min.js │ ├── nacl.d.ts │ ├── nacl.js │ ├── nacl.min.js │ └── package.json ├── unique-string │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── universal-user-agent │ ├── LICENSE.md │ ├── README.md │ ├── dist-node │ │ ├── index.js │ │ └── index.js.map │ ├── dist-src │ │ ├── browser.js │ │ ├── index.js │ │ └── node.js │ ├── dist-types │ │ ├── browser.d.ts │ │ ├── index.d.ts │ │ └── node.d.ts │ ├── dist-web │ │ ├── index.js │ │ └── index.js.map │ └── package.json ├── uri-js │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── es5 │ │ │ ├── uri.all.d.ts │ │ │ ├── uri.all.js │ │ │ ├── uri.all.js.map │ │ │ ├── uri.all.min.d.ts │ │ │ ├── uri.all.min.js │ │ │ └── uri.all.min.js.map │ │ └── esnext │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── regexps-iri.d.ts │ │ │ ├── regexps-iri.js │ │ │ ├── regexps-iri.js.map │ │ │ ├── regexps-uri.d.ts │ │ │ ├── regexps-uri.js │ │ │ ├── regexps-uri.js.map │ │ │ ├── schemes │ │ │ ├── http.d.ts │ │ │ ├── http.js │ │ │ ├── http.js.map │ │ │ ├── https.d.ts │ │ │ ├── https.js │ │ │ ├── https.js.map │ │ │ ├── mailto.d.ts │ │ │ ├── mailto.js │ │ │ ├── mailto.js.map │ │ │ ├── urn-uuid.d.ts │ │ │ ├── urn-uuid.js │ │ │ ├── urn-uuid.js.map │ │ │ ├── urn.d.ts │ │ │ ├── urn.js │ │ │ └── urn.js.map │ │ │ ├── uri.d.ts │ │ │ ├── uri.js │ │ │ ├── uri.js.map │ │ │ ├── util.d.ts │ │ │ ├── util.js │ │ │ └── util.js.map │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── punycode.d.ts │ │ ├── regexps-iri.ts │ │ ├── regexps-uri.ts │ │ ├── schemes │ │ │ ├── http.ts │ │ │ ├── https.ts │ │ │ ├── mailto.ts │ │ │ ├── urn-uuid.ts │ │ │ └── urn.ts │ │ ├── uri.ts │ │ └── util.ts │ ├── tests │ │ ├── qunit.css │ │ ├── qunit.js │ │ ├── test-es5-min.html │ │ ├── test-es5.html │ │ └── tests.js │ ├── tsconfig.json │ └── yarn.lock ├── uuid │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── uuid │ ├── index.js │ ├── lib │ │ ├── bytesToUuid.js │ │ ├── md5-browser.js │ │ ├── md5.js │ │ ├── rng-browser.js │ │ ├── rng.js │ │ ├── sha1-browser.js │ │ ├── sha1.js │ │ └── v35.js │ ├── package.json │ ├── v1.js │ ├── v3.js │ ├── v4.js │ └── v5.js ├── verror │ ├── .npmignore │ ├── CHANGES.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── verror.js │ └── package.json ├── which │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── which │ ├── package.json │ └── which.js ├── windows-release │ ├── index.d.ts │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── wrappy.js ├── write-file-atomic │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── xdg-basedir │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── xml2js │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── bom.js │ │ ├── builder.js │ │ ├── defaults.js │ │ ├── parser.js │ │ ├── processors.js │ │ └── xml2js.js │ └── package.json └── xmlbuilder │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── appveyor.yml │ ├── lib │ ├── Derivation.js │ ├── DocumentPosition.js │ ├── NodeType.js │ ├── OperationType.js │ ├── Utility.js │ ├── WriterState.js │ ├── XMLAttribute.js │ ├── XMLCData.js │ ├── XMLCharacterData.js │ ├── XMLComment.js │ ├── XMLDOMConfiguration.js │ ├── XMLDOMErrorHandler.js │ ├── XMLDOMImplementation.js │ ├── XMLDOMStringList.js │ ├── XMLDTDAttList.js │ ├── XMLDTDElement.js │ ├── XMLDTDEntity.js │ ├── XMLDTDNotation.js │ ├── XMLDeclaration.js │ ├── XMLDocType.js │ ├── XMLDocument.js │ ├── XMLDocumentCB.js │ ├── XMLDocumentFragment.js │ ├── XMLDummy.js │ ├── XMLElement.js │ ├── XMLNamedNodeMap.js │ ├── XMLNode.js │ ├── XMLNodeFilter.js │ ├── XMLNodeList.js │ ├── XMLProcessingInstruction.js │ ├── XMLRaw.js │ ├── XMLStreamWriter.js │ ├── XMLStringWriter.js │ ├── XMLStringifier.js │ ├── XMLText.js │ ├── XMLTypeInfo.js │ ├── XMLUserDataHandler.js │ ├── XMLWriterBase.js │ └── index.js │ ├── package.json │ └── typings │ └── index.d.ts ├── package-lock.json └── package.json /node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-conv: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-conv -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-sign: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-sign -------------------------------------------------------------------------------- /node_modules/.bin/sshpk-verify: -------------------------------------------------------------------------------- 1 | ../sshpk/bin/sshpk-verify -------------------------------------------------------------------------------- /node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/bin/uuid -------------------------------------------------------------------------------- /node_modules/.bin/which: -------------------------------------------------------------------------------- 1 | ../which/bin/which -------------------------------------------------------------------------------- /node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | interface CommandProperties { 2 | [key: string]: string; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: string): void; 15 | export declare function issue(name: string, message?: string): void; 16 | export {}; 17 | -------------------------------------------------------------------------------- /node_modules/@actions/github/lib/context.d.ts: -------------------------------------------------------------------------------- 1 | import { WebhookPayload } from './interfaces'; 2 | export declare class Context { 3 | /** 4 | * Webhook payload object that triggered the workflow 5 | */ 6 | payload: WebhookPayload; 7 | eventName: string; 8 | sha: string; 9 | ref: string; 10 | workflow: string; 11 | action: string; 12 | actor: string; 13 | /** 14 | * Hydrate the context from the environment 15 | */ 16 | constructor(); 17 | get issue(): { 18 | owner: string; 19 | repo: string; 20 | number: number; 21 | }; 22 | get repo(): { 23 | owner: string; 24 | repo: string; 25 | }; 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/@actions/github/lib/interfaces.d.ts: -------------------------------------------------------------------------------- 1 | export interface PayloadRepository { 2 | [key: string]: any; 3 | full_name?: string; 4 | name: string; 5 | owner: { 6 | [key: string]: any; 7 | login: string; 8 | name?: string; 9 | }; 10 | html_url?: string; 11 | } 12 | export interface WebhookPayload { 13 | [key: string]: any; 14 | repository?: PayloadRepository; 15 | issue?: { 16 | [key: string]: any; 17 | number: number; 18 | html_url?: string; 19 | body?: string; 20 | }; 21 | pull_request?: { 22 | [key: string]: any; 23 | number: number; 24 | html_url?: string; 25 | body?: string; 26 | }; 27 | sender?: { 28 | [key: string]: any; 29 | type: string; 30 | }; 31 | action?: string; 32 | installation?: { 33 | id: number; 34 | [key: string]: any; 35 | }; 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/@actions/github/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | /* eslint-disable @typescript-eslint/no-explicit-any */ 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /node_modules/@actions/http-client/RELEASES.md: -------------------------------------------------------------------------------- 1 | ## Releases 2 | 3 | ## 1.0.6 4 | Automatically sends Content-Type and Accept application/json headers for \Json() helper methods if not set in the client or parameters. 5 | 6 | ## 1.0.5 7 | Adds \Json() helper methods for json over http scenarios. 8 | 9 | ## 1.0.4 10 | Started to add \Json() helper methods. Do not use this release for that. Use >= 1.0.5 since there was an issue with types. 11 | 12 | ## 1.0.1 to 1.0.3 13 | Adds proxy support. -------------------------------------------------------------------------------- /node_modules/@actions/http-client/actions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@actions/http-client/actions.png -------------------------------------------------------------------------------- /node_modules/@actions/http-client/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | ; 4 | -------------------------------------------------------------------------------- /node_modules/@actions/http-client/proxy.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as url from 'url'; 3 | export declare function getProxyUrl(reqUrl: url.Url): url.Url | undefined; 4 | export declare function checkBypass(reqUrl: url.Url): boolean; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-src/auth.js: -------------------------------------------------------------------------------- 1 | export async function auth(token) { 2 | const tokenType = token.split(/\./).length === 3 3 | ? "app" 4 | : /^v\d+\./.test(token) 5 | ? "installation" 6 | : "oauth"; 7 | return { 8 | type: "token", 9 | token: token, 10 | tokenType 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-src/hook.js: -------------------------------------------------------------------------------- 1 | import { withAuthorizationPrefix } from "./with-authorization-prefix"; 2 | export async function hook(token, request, route, parameters) { 3 | const endpoint = request.endpoint.merge(route, parameters); 4 | endpoint.headers.authorization = withAuthorizationPrefix(token); 5 | return request(endpoint); 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { auth } from "./auth"; 2 | import { hook } from "./hook"; 3 | export const createTokenAuth = function createTokenAuth(token) { 4 | if (!token) { 5 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 6 | } 7 | if (typeof token !== "string") { 8 | throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string"); 9 | } 10 | token = token.replace(/^(token|bearer) +/i, ""); 11 | return Object.assign(auth.bind(null, token), { 12 | hook: hook.bind(null, token) 13 | }); 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/auth-token/dist-src/types.js -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export function withAuthorizationPrefix(token) { 7 | if (token.split(/\./).length === 3) { 8 | return `bearer ${token}`; 9 | } 10 | return `token ${token}`; 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-types/auth.d.ts: -------------------------------------------------------------------------------- 1 | import { Token, Authentication } from "./types"; 2 | export declare function auth(token: Token): Promise; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-types/hook.d.ts: -------------------------------------------------------------------------------- 1 | import { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; 2 | export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { StrategyInterface, Token, Authentication } from "./types"; 2 | export declare type Types = { 3 | StrategyOptions: Token; 4 | AuthOptions: never; 5 | Authentication: Authentication; 6 | }; 7 | export declare const createTokenAuth: StrategyInterface; 8 | -------------------------------------------------------------------------------- /node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export declare function withAuthorizationPrefix(token: string): string; 7 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/defaults.js: -------------------------------------------------------------------------------- 1 | import { getUserAgent } from "universal-user-agent"; 2 | import { VERSION } from "./version"; 3 | const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; 4 | // DEFAULTS has all properties set that EndpointOptions has, except url. 5 | // So we use RequestParameters and add method as additional required property. 6 | export const DEFAULTS = { 7 | method: "GET", 8 | baseUrl: "https://api.github.com", 9 | headers: { 10 | accept: "application/vnd.github.v3+json", 11 | "user-agent": userAgent 12 | }, 13 | mediaType: { 14 | format: "", 15 | previews: [] 16 | } 17 | }; 18 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js: -------------------------------------------------------------------------------- 1 | import { merge } from "./merge"; 2 | import { parse } from "./parse"; 3 | export function endpointWithDefaults(defaults, route, options) { 4 | return parse(merge(defaults, route, options)); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { withDefaults } from "./with-defaults"; 2 | import { DEFAULTS } from "./defaults"; 3 | export const endpoint = withDefaults(null, DEFAULTS); 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js: -------------------------------------------------------------------------------- 1 | export function addQueryParameters(url, parameters) { 2 | const separator = /\?/.test(url) ? "&" : "?"; 3 | const names = Object.keys(parameters); 4 | if (names.length === 0) { 5 | return url; 6 | } 7 | return (url + 8 | separator + 9 | names 10 | .map(name => { 11 | if (name === "q") { 12 | return ("q=" + 13 | parameters 14 | .q.split("+") 15 | .map(encodeURIComponent) 16 | .join("+")); 17 | } 18 | return `${name}=${encodeURIComponent(parameters[name])}`; 19 | }) 20 | .join("&")); 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js: -------------------------------------------------------------------------------- 1 | const urlVariableRegex = /\{[^}]+\}/g; 2 | function removeNonChars(variableName) { 3 | return variableName.replace(/^\W+|\W+$/g, "").split(/,/); 4 | } 5 | export function extractUrlVariableNames(url) { 6 | const matches = url.match(urlVariableRegex); 7 | if (!matches) { 8 | return []; 9 | } 10 | return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js: -------------------------------------------------------------------------------- 1 | export function lowercaseKeys(object) { 2 | if (!object) { 3 | return {}; 4 | } 5 | return Object.keys(object).reduce((newObj, key) => { 6 | newObj[key.toLowerCase()] = object[key]; 7 | return newObj; 8 | }, {}); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/util/merge-deep.js: -------------------------------------------------------------------------------- 1 | import isPlainObject from "is-plain-object"; 2 | export function mergeDeep(defaults, options) { 3 | const result = Object.assign({}, defaults); 4 | Object.keys(options).forEach(key => { 5 | if (isPlainObject(options[key])) { 6 | if (!(key in defaults)) 7 | Object.assign(result, { [key]: options[key] }); 8 | else 9 | result[key] = mergeDeep(defaults[key], options[key]); 10 | } 11 | else { 12 | Object.assign(result, { [key]: options[key] }); 13 | } 14 | }); 15 | return result; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/util/omit.js: -------------------------------------------------------------------------------- 1 | export function omit(object, keysToOmit) { 2 | return Object.keys(object) 3 | .filter(option => !keysToOmit.includes(option)) 4 | .reduce((obj, key) => { 5 | obj[key] = object[key]; 6 | return obj; 7 | }, {}); 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.5.2"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { endpointWithDefaults } from "./endpoint-with-defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | export function withDefaults(oldDefaults, newDefaults) { 5 | const DEFAULTS = merge(oldDefaults, newDefaults); 6 | const endpoint = endpointWithDefaults.bind(null, DEFAULTS); 7 | return Object.assign(endpoint, { 8 | DEFAULTS, 9 | defaults: withDefaults.bind(null, DEFAULTS), 10 | merge: merge.bind(null, DEFAULTS), 11 | parse 12 | }); 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointOptions, RequestParameters, Route } from "@octokit/types"; 2 | import { DEFAULTS } from "./defaults"; 3 | export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/merge.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; 2 | export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/parse.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults, RequestOptions } from "@octokit/types"; 2 | export declare function parse(options: EndpointDefaults): RequestOptions; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function addQueryParameters(url: string, parameters: { 2 | [x: string]: string | undefined; 3 | q?: string; 4 | }): string; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts: -------------------------------------------------------------------------------- 1 | export declare function lowercaseKeys(object?: { 2 | [key: string]: any; 3 | }): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare function omit(object: { 2 | [key: string]: any; 3 | }, keysToOmit: string[]): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseUrl(template: string): { 2 | expand: (context: object) => string; 3 | }; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.5.2"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; 2 | export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-src/error.js: -------------------------------------------------------------------------------- 1 | export class GraphqlError extends Error { 2 | constructor(request, response) { 3 | const message = response.data.errors[0].message; 4 | super(message); 5 | Object.assign(this, response.data); 6 | this.name = "GraphqlError"; 7 | this.request = request; 8 | // Maintains proper stack trace (only available on V8) 9 | /* istanbul ignore next */ 10 | if (Error.captureStackTrace) { 11 | Error.captureStackTrace(this, this.constructor); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import { withDefaults } from "./with-defaults"; 5 | export const graphql = withDefaults(request, { 6 | headers: { 7 | "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}` 8 | }, 9 | method: "POST", 10 | url: "/graphql" 11 | }); 12 | export function withCustomRequest(customRequest) { 13 | return withDefaults(customRequest, { 14 | method: "POST", 15 | url: "/graphql" 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/graphql/dist-src/types.js -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "4.3.1"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql } from "./graphql"; 3 | export function withDefaults(request, newDefaults) { 4 | const newRequest = request.defaults(newDefaults); 5 | const newApi = (query, options) => { 6 | return graphql(newRequest, query, options); 7 | }; 8 | return Object.assign(newApi, { 9 | defaults: withDefaults.bind(null, newRequest), 10 | endpoint: Request.endpoint 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointOptions, GraphQlQueryResponse } from "./types"; 2 | export declare class GraphqlError extends Error { 3 | request: EndpointOptions; 4 | constructor(request: EndpointOptions, response: { 5 | data: Required; 6 | }); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-types/graphql.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { RequestParameters, GraphQlQueryResponseData } from "./types"; 3 | export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | export declare const graphql: import("./types").graphql; 3 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "4.3.1"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/graphql/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql as ApiInterface, RequestParameters } from "./types"; 3 | export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version"; 2 | import { paginate } from "./paginate"; 3 | import { iterator } from "./iterator"; 4 | /** 5 | * @param octokit Octokit instance 6 | * @param options Options passed to Octokit constructor 7 | */ 8 | export function paginateRest(octokit) { 9 | return { 10 | paginate: Object.assign(paginate.bind(null, octokit), { 11 | iterator: iterator.bind(null, octokit) 12 | }) 13 | }; 14 | } 15 | paginateRest.VERSION = VERSION; 16 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js: -------------------------------------------------------------------------------- 1 | import { iterator } from "./iterator"; 2 | export function paginate(octokit, route, parameters, mapFn) { 3 | if (typeof parameters === "function") { 4 | mapFn = parameters; 5 | parameters = undefined; 6 | } 7 | return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn); 8 | } 9 | function gather(octokit, results, iterator, mapFn) { 10 | return iterator.next().then(result => { 11 | if (result.done) { 12 | return results; 13 | } 14 | let earlyExit = false; 15 | function done() { 16 | earlyExit = true; 17 | } 18 | results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data); 19 | if (earlyExit) { 20 | return results; 21 | } 22 | return gather(octokit, results, iterator, mapFn); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.1.2"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { PaginateInterface } from "./types"; 2 | export { PaginateInterface } from "./types"; 3 | import { Octokit } from "@octokit/core"; 4 | /** 5 | * @param octokit Octokit instance 6 | * @param options Options passed to Octokit constructor 7 | */ 8 | export declare function paginateRest(octokit: Octokit): { 9 | paginate: PaginateInterface; 10 | }; 11 | export declare namespace paginateRest { 12 | var VERSION: string; 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { OctokitResponse, RequestParameters, Route } from "./types"; 3 | export declare function iterator(octokit: Octokit, route: Route, parameters?: RequestParameters): { 4 | [Symbol.asyncIterator]: () => { 5 | next(): Promise<{ 6 | done: boolean; 7 | }> | Promise<{ 8 | value: OctokitResponse; 9 | }>; 10 | }; 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { MapFunction, PaginationResults, RequestParameters, Route } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "1.1.2"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-request-log/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.0.0"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-request-log/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | /** 3 | * @param octokit Octokit instance 4 | * @param options Options passed to Octokit constructor 5 | */ 6 | export declare function requestLog(octokit: Octokit): void; 7 | export declare namespace requestLog { 8 | var VERSION: string; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-request-log/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "1.0.0"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/rest-endpoint-methods-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/rest-endpoint-methods-types.js -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "2.4.0"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { Api } from "./types"; 3 | /** 4 | * This plugin is a 1:1 copy of internal @octokit/rest plugins. The primary 5 | * goal is to rebuild @octokit/rest on top of @octokit/core. Once that is 6 | * done, we will remove the registerEndpoints methods and return the methods 7 | * directly as with the other plugins. At that point we will also remove the 8 | * legacy workarounds and deprecations. 9 | * 10 | * See the plan at 11 | * https://github.com/octokit/plugin-rest-endpoint-methods.js/pull/1 12 | */ 13 | export declare function restEndpointMethods(octokit: Octokit): Api; 14 | export declare namespace restEndpointMethods { 15 | var VERSION: string; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/register-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | export declare function registerEndpoints(octokit: any, routes: any): void; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { RestEndpointMethods } from "./generated/rest-endpoint-methods-types"; 2 | export declare type Api = { 3 | registerEndpoints: (endpoints: any) => void; 4 | } & RestEndpointMethods; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "2.4.0"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/request-error/dist-src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/@octokit/request-error/dist-src/types.js -------------------------------------------------------------------------------- /node_modules/@octokit/request-error/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders } from "@octokit/types"; 2 | import { RequestErrorOptions } from "./types"; 3 | /** 4 | * Error with extra properties to help with debugging 5 | */ 6 | export declare class RequestError extends Error { 7 | name: "HttpError"; 8 | /** 9 | * http status code 10 | */ 11 | status: number; 12 | /** 13 | * http status code 14 | * 15 | * @deprecated `error.code` is deprecated in favor of `error.status` 16 | */ 17 | code: number; 18 | /** 19 | * error response headers 20 | */ 21 | headers: ResponseHeaders; 22 | /** 23 | * Request options that lead to the error. 24 | */ 25 | request: RequestOptions; 26 | constructor(message: string, statusCode: number, options: RequestErrorOptions); 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders } from "@octokit/types"; 2 | export declare type RequestErrorOptions = { 3 | headers?: ResponseHeaders; 4 | request: RequestOptions; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { endpoint } from "@octokit/endpoint"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import withDefaults from "./with-defaults"; 5 | export const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}` 8 | } 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.3.1"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface } from "@octokit/types"; 2 | export default function fetchWrapper(requestOptions: ReturnType & { 3 | redirect?: string; 4 | }): Promise<{ 5 | status: number; 6 | url: string; 7 | headers: { 8 | [header: string]: string; 9 | }; 10 | data: any; 11 | }>; 12 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | import { Response } from "node-fetch"; 2 | export default function getBufferResponse(response: Response): Promise; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.3.1"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/request/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; 2 | export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; 3 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/lib/constructor.js: -------------------------------------------------------------------------------- 1 | module.exports = Octokit; 2 | 3 | const { request } = require("@octokit/request"); 4 | const Hook = require("before-after-hook"); 5 | 6 | const parseClientOptions = require("./parse-client-options"); 7 | 8 | function Octokit(plugins, options) { 9 | options = options || {}; 10 | const hook = new Hook.Collection(); 11 | const log = Object.assign( 12 | { 13 | debug: () => {}, 14 | info: () => {}, 15 | warn: console.warn, 16 | error: console.error 17 | }, 18 | options && options.log 19 | ); 20 | const api = { 21 | hook, 22 | log, 23 | request: request.defaults(parseClientOptions(options, log, hook)) 24 | }; 25 | 26 | plugins.forEach(pluginFunction => pluginFunction(api, options)); 27 | 28 | return api; 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/lib/core.js: -------------------------------------------------------------------------------- 1 | const factory = require("./factory"); 2 | 3 | module.exports = factory(); 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/lib/factory.js: -------------------------------------------------------------------------------- 1 | module.exports = factory; 2 | 3 | const Octokit = require("./constructor"); 4 | const registerPlugin = require("./register-plugin"); 5 | 6 | function factory(plugins) { 7 | const Api = Octokit.bind(null, plugins || []); 8 | Api.plugin = registerPlugin.bind(null, plugins || []); 9 | return Api; 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/lib/register-plugin.js: -------------------------------------------------------------------------------- 1 | module.exports = registerPlugin; 2 | 3 | const factory = require("./factory"); 4 | 5 | function registerPlugin(plugins, pluginFunction) { 6 | return factory( 7 | plugins.includes(pluginFunction) ? plugins : plugins.concat(pluginFunction) 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/plugins/authentication/validate.js: -------------------------------------------------------------------------------- 1 | module.exports = validateAuth; 2 | 3 | function validateAuth(auth) { 4 | if (typeof auth === "string") { 5 | return; 6 | } 7 | 8 | if (typeof auth === "function") { 9 | return; 10 | } 11 | 12 | if (auth.username && auth.password) { 13 | return; 14 | } 15 | 16 | if (auth.clientId && auth.clientSecret) { 17 | return; 18 | } 19 | 20 | throw new Error(`Invalid "auth" option: ${JSON.stringify(auth)}`); 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/plugins/authentication/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | module.exports = withAuthorizationPrefix; 2 | 3 | const atob = require("atob-lite"); 4 | 5 | const REGEX_IS_BASIC_AUTH = /^[\w-]+:/; 6 | 7 | function withAuthorizationPrefix(authorization) { 8 | if (/^(basic|bearer|token) /i.test(authorization)) { 9 | return authorization; 10 | } 11 | 12 | try { 13 | if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) { 14 | return `basic ${authorization}`; 15 | } 16 | } catch (error) {} 17 | 18 | if (authorization.split(/\./).length === 3) { 19 | return `bearer ${authorization}`; 20 | } 21 | 22 | return `token ${authorization}`; 23 | } 24 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/plugins/pagination/index.js: -------------------------------------------------------------------------------- 1 | module.exports = paginatePlugin; 2 | 3 | const { paginateRest } = require("@octokit/plugin-paginate-rest"); 4 | 5 | function paginatePlugin(octokit) { 6 | Object.assign(octokit, paginateRest(octokit)); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@octokit/rest/plugins/validate/index.js: -------------------------------------------------------------------------------- 1 | module.exports = octokitValidate; 2 | 3 | const validate = require("./validate"); 4 | 5 | function octokitValidate(octokit) { 6 | octokit.hook.before("request", validate.bind(null, octokit)); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/README.md: -------------------------------------------------------------------------------- 1 | # types.ts 2 | 3 | > Shared TypeScript definitions for Octokit projects 4 | 5 | [![@latest](https://img.shields.io/npm/v/@octokit/types.svg)](https://www.npmjs.com/package/@octokit/types) 6 | [![Build Status](https://github.com/octokit/types.ts/workflows/Test/badge.svg)](https://github.com/octokit/types.ts/actions?workflow=Test) 7 | [![Greenkeeper](https://badges.greenkeeper.io/octokit/types.ts.svg)](https://greenkeeper.io/) 8 | 9 | ## Usage 10 | 11 | See https://octokit.github.io/types.ts for all exported types 12 | 13 | ## Contributing 14 | 15 | See [CONTRIBUTING.md](CONTRIBUTING.md) 16 | 17 | ## License 18 | 19 | [MIT](LICENSE) 20 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/EndpointDefaults.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | import { Url } from "./Url"; 5 | 6 | /** 7 | * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters 8 | * as well as the method property. 9 | */ 10 | export type EndpointDefaults = RequestParameters & { 11 | baseUrl: Url; 12 | method: RequestMethod; 13 | url?: Url; 14 | headers: RequestHeaders & { 15 | accept: string; 16 | "user-agent": string; 17 | }; 18 | mediaType: { 19 | format: string; 20 | previews: string[]; 21 | }; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/EndpointOptions.ts: -------------------------------------------------------------------------------- 1 | import { RequestMethod } from "./RequestMethod"; 2 | import { Url } from "./Url"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | 5 | export type EndpointOptions = RequestParameters & { 6 | method: RequestMethod; 7 | url: Url; 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/Fetch.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export type Fetch = any; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/OctokitResponse.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "./ResponseHeaders"; 2 | import { Url } from "./Url"; 3 | 4 | export type OctokitResponse = { 5 | headers: ResponseHeaders; 6 | /** 7 | * http response code 8 | */ 9 | status: number; 10 | /** 11 | * URL of response after all redirects 12 | */ 13 | url: Url; 14 | /** 15 | * This is the data you would see in https://developer.Octokit.com/v3/ 16 | */ 17 | data: T; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/RequestHeaders.ts: -------------------------------------------------------------------------------- 1 | export type RequestHeaders = { 2 | /** 3 | * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. 4 | */ 5 | accept?: string; 6 | /** 7 | * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` 8 | */ 9 | authorization?: string; 10 | /** 11 | * `user-agent` is set do a default and can be overwritten as needed. 12 | */ 13 | "user-agent"?: string; 14 | [header: string]: string | number | undefined; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/RequestMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export type RequestMethod = 5 | | "DELETE" 6 | | "GET" 7 | | "HEAD" 8 | | "PATCH" 9 | | "POST" 10 | | "PUT"; 11 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/RequestOptions.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import { Url } from "./Url"; 5 | 6 | /** 7 | * Generic request options as they are returned by the `endpoint()` method 8 | */ 9 | export type RequestOptions = { 10 | method: RequestMethod; 11 | url: Url; 12 | headers: RequestHeaders; 13 | body?: any; 14 | request?: RequestRequestOptions; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/ResponseHeaders.ts: -------------------------------------------------------------------------------- 1 | export type ResponseHeaders = { 2 | "cache-control"?: string; 3 | "content-length"?: number; 4 | "content-type"?: string; 5 | date?: string; 6 | etag?: string; 7 | "last-modified"?: string; 8 | link?: string; 9 | location?: string; 10 | server?: string; 11 | status?: string; 12 | vary?: string; 13 | "x-github-mediatype"?: string; 14 | "x-github-request-id"?: string; 15 | "x-oauth-scopes"?: string; 16 | "x-ratelimit-limit"?: string; 17 | "x-ratelimit-remaining"?: string; 18 | "x-ratelimit-reset"?: string; 19 | 20 | [header: string]: string | number | undefined; 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/Route.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/:org'`, `'PUT /orgs/:org'`, `GET https://example.com/foo/bar` 3 | */ 4 | export type Route = string; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/Signal.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export type Signal = any; 7 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/StrategyInterface.ts: -------------------------------------------------------------------------------- 1 | import { AuthInterface } from "./AuthInterface"; 2 | 3 | export interface StrategyInterface< 4 | StrategyOptions extends any[], 5 | AuthOptions extends any[], 6 | Authentication extends object 7 | > { 8 | (...args: StrategyOptions): AuthInterface; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/Url.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/:org'`, `https://example.com/foo/bar` 3 | */ 4 | export type Url = string; 5 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/VERSION.ts: -------------------------------------------------------------------------------- 1 | export const VERSION = "2.1.1"; 2 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/generated/README.md: -------------------------------------------------------------------------------- 1 | # ⚠️ Do not edit files in this folder 2 | 3 | All files are generated. Manual changes will be overwritten. If you find a problem, please look into how they are generated. When in doubt, please open a new issue. 4 | -------------------------------------------------------------------------------- /node_modules/@octokit/types/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./AuthInterface"; 2 | export * from "./EndpointDefaults"; 3 | export * from "./EndpointInterface"; 4 | export * from "./EndpointOptions"; 5 | export * from "./Fetch"; 6 | export * from "./OctokitResponse"; 7 | export * from "./RequestHeaders"; 8 | export * from "./RequestInterface"; 9 | export * from "./RequestMethod"; 10 | export * from "./RequestOptions"; 11 | export * from "./RequestParameters"; 12 | export * from "./RequestRequestOptions"; 13 | export * from "./ResponseHeaders"; 14 | export * from "./Route"; 15 | export * from "./Signal"; 16 | export * from "./StrategyInterface"; 17 | export * from "./Url"; 18 | export * from "./VERSION"; 19 | -------------------------------------------------------------------------------- /node_modules/@types/node/buffer.d.ts: -------------------------------------------------------------------------------- 1 | declare module "buffer" { 2 | export const INSPECT_MAX_BYTES: number; 3 | export const kMaxLength: number; 4 | export const kStringMaxLength: number; 5 | export const constants: { 6 | MAX_LENGTH: number; 7 | MAX_STRING_LENGTH: number; 8 | }; 9 | const BuffType: typeof Buffer; 10 | 11 | export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; 12 | 13 | export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; 14 | 15 | export const SlowBuffer: { 16 | /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */ 17 | new(size: number): Buffer; 18 | prototype: Buffer; 19 | }; 20 | 21 | export { BuffType as Buffer }; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/@types/node/console.d.ts: -------------------------------------------------------------------------------- 1 | declare module "console" { 2 | export = console; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@types/node/constants.d.ts: -------------------------------------------------------------------------------- 1 | /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ 2 | declare module "constants" { 3 | import { constants as osConstants, SignalConstants } from 'os'; 4 | import { constants as cryptoConstants } from 'crypto'; 5 | import { constants as fsConstants } from 'fs'; 6 | const exp: typeof osConstants.errno & typeof osConstants.priority & SignalConstants & typeof cryptoConstants & typeof fsConstants; 7 | export = exp; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/@types/node/domain.d.ts: -------------------------------------------------------------------------------- 1 | declare module "domain" { 2 | import { EventEmitter } from "events"; 3 | 4 | class Domain extends EventEmitter implements NodeJS.Domain { 5 | run(fn: (...args: any[]) => T, ...args: any[]): T; 6 | add(emitter: EventEmitter | NodeJS.Timer): void; 7 | remove(emitter: EventEmitter | NodeJS.Timer): void; 8 | bind(cb: T): T; 9 | intercept(cb: T): T; 10 | members: Array; 11 | enter(): void; 12 | exit(): void; 13 | } 14 | 15 | function create(): Domain; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/process.d.ts: -------------------------------------------------------------------------------- 1 | declare module "process" { 2 | import * as tty from "tty"; 3 | 4 | global { 5 | namespace NodeJS { 6 | // this namespace merge is here because these are specifically used 7 | // as the type for process.stdin, process.stdout, and process.stderr. 8 | // they can't live in tty.d.ts because we need to disambiguate the imported name. 9 | interface ReadStream extends tty.ReadStream {} 10 | interface WriteStream extends tty.WriteStream {} 11 | } 12 | } 13 | 14 | export = process; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/@types/node/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module "punycode" { 2 | function decode(string: string): string; 3 | function encode(string: string): string; 4 | function toUnicode(domain: string): string; 5 | function toASCII(domain: string): string; 6 | const ucs2: ucs2; 7 | interface ucs2 { 8 | decode(string: string): number[]; 9 | encode(codePoints: number[]): string; 10 | } 11 | const version: string; 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/@types/node/string_decoder.d.ts: -------------------------------------------------------------------------------- 1 | declare module "string_decoder" { 2 | class StringDecoder { 3 | constructor(encoding?: string); 4 | write(buffer: Buffer): string; 5 | end(buffer?: Buffer): string; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@types/node/timers.d.ts: -------------------------------------------------------------------------------- 1 | declare module "timers" { 2 | function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 3 | namespace setTimeout { 4 | function __promisify__(ms: number): Promise; 5 | function __promisify__(ms: number, value: T): Promise; 6 | } 7 | function clearTimeout(timeoutId: NodeJS.Timeout): void; 8 | function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; 9 | function clearInterval(intervalId: NodeJS.Timeout): void; 10 | function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; 11 | namespace setImmediate { 12 | function __promisify__(): Promise; 13 | function __promisify__(value: T): Promise; 14 | } 15 | function clearImmediate(immediateId: NodeJS.Immediate): void; 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.5/globals.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare namespace NodeJS { 5 | interface HRTime { 6 | bigint(): bigint; 7 | } 8 | } 9 | 10 | interface Buffer extends Uint8Array { 11 | readBigUInt64BE(offset?: number): bigint; 12 | readBigUInt64LE(offset?: number): bigint; 13 | readBigInt64BE(offset?: number): bigint; 14 | readBigInt64LE(offset?: number): bigint; 15 | writeBigInt64BE(value: bigint, offset?: number): number; 16 | writeBigInt64LE(value: bigint, offset?: number): number; 17 | writeBigUInt64BE(value: bigint, offset?: number): number; 18 | writeBigUInt64LE(value: bigint, offset?: number): number; 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.5/index.d.ts: -------------------------------------------------------------------------------- 1 | // NOTE: These definitions support NodeJS and TypeScript 3.5. 2 | 3 | // Reference required types from the default lib: 4 | /// 5 | /// 6 | /// 7 | /// 8 | 9 | // Base definitions for all NodeJS modules that are not specific to any version of TypeScript: 10 | // tslint:disable-next-line:no-bad-reference 11 | /// 12 | 13 | // TypeScript 3.5-specific augmentations: 14 | /// 15 | /// 16 | /// 17 | /// 18 | -------------------------------------------------------------------------------- /node_modules/@types/node/ts3.5/util.d.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line:no-bad-reference 2 | /// 3 | 4 | declare module "util" { 5 | namespace types { 6 | function isBigInt64Array(value: any): value is BigInt64Array; 7 | function isBigUint64Array(value: any): value is BigUint64Array; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/ajv/.tonic_example.js: -------------------------------------------------------------------------------- 1 | var Ajv = require('ajv'); 2 | var ajv = new Ajv({allErrors: true}); 3 | 4 | var schema = { 5 | "properties": { 6 | "foo": { "type": "string" }, 7 | "bar": { "type": "number", "maximum": 3 } 8 | } 9 | }; 10 | 11 | var validate = ajv.compile(schema); 12 | 13 | test({"foo": "abc", "bar": 2}); 14 | test({"foo": 2, "bar": 4}); 15 | 16 | function test(data) { 17 | var valid = validate(data); 18 | if (valid) console.log('Valid!'); 19 | else console.log('Invalid: ' + ajv.errorsText(validate.errors)); 20 | } -------------------------------------------------------------------------------- /node_modules/ajv/lib/cache.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | 4 | var Cache = module.exports = function Cache() { 5 | this._cache = {}; 6 | }; 7 | 8 | 9 | Cache.prototype.put = function Cache_put(key, value) { 10 | this._cache[key] = value; 11 | }; 12 | 13 | 14 | Cache.prototype.get = function Cache_get(key) { 15 | return this._cache[key]; 16 | }; 17 | 18 | 19 | Cache.prototype.del = function Cache_del(key) { 20 | delete this._cache[key]; 21 | }; 22 | 23 | 24 | Cache.prototype.clear = function Cache_clear() { 25 | this._cache = {}; 26 | }; 27 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/equal.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // do NOT remove this file - it would break pre-compiled schemas 4 | // https://github.com/epoberezkin/ajv/issues/889 5 | module.exports = require('fast-deep-equal'); 6 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/schema_obj.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var util = require('./util'); 4 | 5 | module.exports = SchemaObject; 6 | 7 | function SchemaObject(obj) { 8 | util.copy(obj, this); 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/compile/ucs2length.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // https://mathiasbynens.be/notes/javascript-encoding 4 | // https://github.com/bestiejs/punycode.js - punycode.ucs2.decode 5 | module.exports = function ucs2length(str) { 6 | var length = 0 7 | , len = str.length 8 | , pos = 0 9 | , value; 10 | while (pos < len) { 11 | length++; 12 | value = str.charCodeAt(pos++); 13 | if (value >= 0xD800 && value <= 0xDBFF && pos < len) { 14 | // high surrogate, and there is a next character 15 | value = str.charCodeAt(pos); 16 | if ((value & 0xFC00) == 0xDC00) pos++; // low surrogate 17 | } 18 | } 19 | return length; 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitItems.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxItems' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} {{=$data}}.length {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitItems' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitLength.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitLength' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/_limitProperties.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ var $op = $keyword == 'maxProperties' ? '>' : '<'; }} 7 | if ({{# def.$dataNotType:'number' }} Object.keys({{=$data}}).length {{=$op}} {{=$schemaValue}}) { 8 | {{ var $errorKeyword = $keyword; }} 9 | {{# def.error:'_limitProperties' }} 10 | } {{? $breakOnError }} else { {{?}} 11 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/allOf.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.setupNextLevel }} 5 | 6 | {{ 7 | var $currentBaseId = $it.baseId 8 | , $allSchemasEmpty = true; 9 | }} 10 | 11 | {{~ $schema:$sch:$i }} 12 | {{? {{# def.nonEmptySchema:$sch }} }} 13 | {{ 14 | $allSchemasEmpty = false; 15 | $it.schema = $sch; 16 | $it.schemaPath = $schemaPath + '[' + $i + ']'; 17 | $it.errSchemaPath = $errSchemaPath + '/' + $i; 18 | }} 19 | 20 | {{# def.insertSubschemaCode }} 21 | 22 | {{# def.ifResultValid }} 23 | {{?}} 24 | {{~}} 25 | 26 | {{? $breakOnError }} 27 | {{? $allSchemasEmpty }} 28 | if (true) { 29 | {{??}} 30 | {{= $closingBraces.slice(0,-1) }} 31 | {{?}} 32 | {{?}} 33 | 34 | {{# def.cleanUp }} 35 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/comment.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.setupKeyword }} 3 | 4 | {{ var $comment = it.util.toQuotedString($schema); }} 5 | {{? it.opts.$comment === true }} 6 | console.log({{=$comment}}); 7 | {{?? typeof it.opts.$comment == 'function' }} 8 | self._opts.$comment({{=$comment}}, {{=it.util.toQuotedString($errSchemaPath)}}, validate.root.schema); 9 | {{?}} 10 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/const.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{? !$isData }} 7 | var schema{{=$lvl}} = validate.schema{{=$schemaPath}}; 8 | {{?}} 9 | var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}}); 10 | {{# def.checkError:'const' }} 11 | {{? $breakOnError }} else { {{?}} 12 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/enum.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ 7 | var $i = 'i' + $lvl 8 | , $vSchema = 'schema' + $lvl; 9 | }} 10 | 11 | {{? !$isData }} 12 | var {{=$vSchema}} = validate.schema{{=$schemaPath}}; 13 | {{?}} 14 | var {{=$valid}}; 15 | 16 | {{?$isData}}{{# def.check$dataIsArray }}{{?}} 17 | 18 | {{=$valid}} = false; 19 | 20 | for (var {{=$i}}=0; {{=$i}}<{{=$vSchema}}.length; {{=$i}}++) 21 | if (equal({{=$data}}, {{=$vSchema}}[{{=$i}}])) { 22 | {{=$valid}} = true; 23 | break; 24 | } 25 | 26 | {{? $isData }} } {{?}} 27 | 28 | {{# def.checkError:'enum' }} 29 | 30 | {{? $breakOnError }} else { {{?}} 31 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/multipleOf.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | var division{{=$lvl}}; 7 | if ({{?$isData}} 8 | {{=$schemaValue}} !== undefined && ( 9 | typeof {{=$schemaValue}} != 'number' || 10 | {{?}} 11 | (division{{=$lvl}} = {{=$data}} / {{=$schemaValue}}, 12 | {{? it.opts.multipleOfPrecision }} 13 | Math.abs(Math.round(division{{=$lvl}}) - division{{=$lvl}}) > 1e-{{=it.opts.multipleOfPrecision}} 14 | {{??}} 15 | division{{=$lvl}} !== parseInt(division{{=$lvl}}) 16 | {{?}} 17 | ) 18 | {{?$isData}} ) {{?}} ) { 19 | {{# def.error:'multipleOf' }} 20 | } {{? $breakOnError }} else { {{?}} 21 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dot/pattern.jst: -------------------------------------------------------------------------------- 1 | {{# def.definitions }} 2 | {{# def.errors }} 3 | {{# def.setupKeyword }} 4 | {{# def.$data }} 5 | 6 | {{ 7 | var $regexp = $isData 8 | ? '(new RegExp(' + $schemaValue + '))' 9 | : it.usePattern($schema); 10 | }} 11 | 12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) { 13 | {{# def.error:'pattern' }} 14 | } {{? $breakOnError }} else { {{?}} 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dotjs/README.md: -------------------------------------------------------------------------------- 1 | These files are compiled dot templates from dot folder. 2 | 3 | Do NOT edit them directly, edit the templates and run `npm run build` from main ajv folder. 4 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/dotjs/comment.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function generate_comment(it, $keyword, $ruleType) { 3 | var out = ' '; 4 | var $schema = it.schema[$keyword]; 5 | var $errSchemaPath = it.errSchemaPath + '/' + $keyword; 6 | var $breakOnError = !it.opts.allErrors; 7 | var $comment = it.util.toQuotedString($schema); 8 | if (it.opts.$comment === true) { 9 | out += ' console.log(' + ($comment) + ');'; 10 | } else if (typeof it.opts.$comment == 'function') { 11 | out += ' self._opts.$comment(' + ($comment) + ', ' + (it.util.toQuotedString($errSchemaPath)) + ', validate.root.schema);'; 12 | } 13 | return out; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/ajv/lib/refs/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#", 4 | "description": "Meta-schema for $data reference (JSON Schema extension proposal)", 5 | "type": "object", 6 | "required": [ "$data" ], 7 | "properties": { 8 | "$data": { 9 | "type": "string", 10 | "anyOf": [ 11 | { "format": "relative-json-pointer" }, 12 | { "format": "json-pointer" } 13 | ] 14 | } 15 | }, 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | no-console: 0 3 | no-empty: [2, allowEmptyCatch: true] 4 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/info: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 'use strict'; 4 | 5 | var fs = require('fs'); 6 | var name = process.argv[2] || '.'; 7 | var property = process.argv[3] || 'version'; 8 | if (name != '.') name = 'node_modules/' + name; 9 | var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8')); 10 | console.log(json[property]); 11 | -------------------------------------------------------------------------------- /node_modules/ajv/scripts/prepare-tests: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | set -e 4 | 5 | mkdir -p .browser 6 | 7 | echo 8 | echo Preparing browser tests: 9 | 10 | find spec -type f -name '*.spec.js' | \ 11 | xargs -I {} sh -c \ 12 | 'export f="{}"; echo $f; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");' 13 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/errors.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | 6 | newInvalidAsn1Error: function (msg) { 7 | var e = new Error(); 8 | e.name = 'InvalidAsn1Error'; 9 | e.message = msg || ''; 10 | return e; 11 | } 12 | 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | var errors = require('./errors'); 4 | var types = require('./types'); 5 | 6 | var Reader = require('./reader'); 7 | var Writer = require('./writer'); 8 | 9 | 10 | // --- Exports 11 | 12 | module.exports = { 13 | 14 | Reader: Reader, 15 | 16 | Writer: Writer 17 | 18 | }; 19 | 20 | for (var t in types) { 21 | if (types.hasOwnProperty(t)) 22 | module.exports[t] = types[t]; 23 | } 24 | for (var e in errors) { 25 | if (errors.hasOwnProperty(e)) 26 | module.exports[e] = errors[e]; 27 | } 28 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/ber/types.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | 4 | module.exports = { 5 | EOC: 0, 6 | Boolean: 1, 7 | Integer: 2, 8 | BitString: 3, 9 | OctetString: 4, 10 | Null: 5, 11 | OID: 6, 12 | ObjectDescriptor: 7, 13 | External: 8, 14 | Real: 9, // float 15 | Enumeration: 10, 16 | PDV: 11, 17 | Utf8String: 12, 18 | RelativeOID: 13, 19 | Sequence: 16, 20 | Set: 17, 21 | NumericString: 18, 22 | PrintableString: 19, 23 | T61String: 20, 24 | VideotexString: 21, 25 | IA5String: 22, 26 | UTCTime: 23, 27 | GeneralizedTime: 24, 28 | GraphicString: 25, 29 | VisibleString: 26, 30 | GeneralString: 28, 31 | UniversalString: 29, 32 | CharacterString: 30, 33 | BMPString: 31, 34 | Constructor: 32, 35 | Context: 128 36 | }; 37 | -------------------------------------------------------------------------------- /node_modules/asn1/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Mark Cavage All rights reserved. 2 | 3 | // If you have no idea what ASN.1 or BER is, see this: 4 | // ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc 5 | 6 | var Ber = require('./ber/index'); 7 | 8 | 9 | 10 | // --- Exported API 11 | 12 | module.exports = { 13 | 14 | Ber: Ber, 15 | 16 | BerReader: Ber.Reader, 17 | 18 | BerWriter: Ber.Writer 19 | 20 | }; 21 | -------------------------------------------------------------------------------- /node_modules/assert-plus/AUTHORS: -------------------------------------------------------------------------------- 1 | Dave Eddy 2 | Fred Kuo 3 | Lars-Magnus Skog 4 | Mark Cavage 5 | Patrick Mooney 6 | Rob Gulewich 7 | -------------------------------------------------------------------------------- /node_modules/assert-plus/CHANGES.md: -------------------------------------------------------------------------------- 1 | # assert-plus Changelog 2 | 3 | ## 1.0.0 4 | 5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input 6 | - Add assert.finite check. Previous assert.number callers should use this if 7 | they expect Infinity inputs to throw. 8 | 9 | ## 0.2.0 10 | 11 | - Fix `assert.object(null)` so it throws 12 | - Fix optional/arrayOf exports for non-type-of asserts 13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid 14 | - Add basic unit test coverage 15 | -------------------------------------------------------------------------------- /node_modules/asynckit/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | { 3 | parallel : require('./parallel.js'), 4 | serial : require('./serial.js'), 5 | serialOrdered : require('./serialOrdered.js') 6 | }; 7 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/abort.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = abort; 3 | 4 | /** 5 | * Aborts leftover active jobs 6 | * 7 | * @param {object} state - current state object 8 | */ 9 | function abort(state) 10 | { 11 | Object.keys(state.jobs).forEach(clean.bind(state)); 12 | 13 | // reset leftover jobs 14 | state.jobs = {}; 15 | } 16 | 17 | /** 18 | * Cleans up leftover job by invoking abort function for the provided job id 19 | * 20 | * @this state 21 | * @param {string|number} key - job id to abort 22 | */ 23 | function clean(key) 24 | { 25 | if (typeof this.jobs[key] == 'function') 26 | { 27 | this.jobs[key](); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/async.js: -------------------------------------------------------------------------------- 1 | var defer = require('./defer.js'); 2 | 3 | // API 4 | module.exports = async; 5 | 6 | /** 7 | * Runs provided callback asynchronously 8 | * even if callback itself is not 9 | * 10 | * @param {function} callback - callback to invoke 11 | * @returns {function} - augmented callback 12 | */ 13 | function async(callback) 14 | { 15 | var isAsync = false; 16 | 17 | // check if async happened 18 | defer(function() { isAsync = true; }); 19 | 20 | return function async_callback(err, result) 21 | { 22 | if (isAsync) 23 | { 24 | callback(err, result); 25 | } 26 | else 27 | { 28 | defer(function nextTick_callback() 29 | { 30 | callback(err, result); 31 | }); 32 | } 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_parallel.js: -------------------------------------------------------------------------------- 1 | var parallel = require('../parallel.js'); 2 | 3 | // API 4 | module.exports = ReadableParallel; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.parallel` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableParallel(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableParallel)) 17 | { 18 | return new ReadableParallel(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableParallel.super_.call(this, {objectMode: true}); 23 | 24 | this._start(parallel, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/readable_serial.js: -------------------------------------------------------------------------------- 1 | var serial = require('../serial.js'); 2 | 3 | // API 4 | module.exports = ReadableSerial; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.serial` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableSerial(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableSerial)) 17 | { 18 | return new ReadableSerial(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableSerial.super_.call(this, {objectMode: true}); 23 | 24 | this._start(serial, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /node_modules/asynckit/lib/terminator.js: -------------------------------------------------------------------------------- 1 | var abort = require('./abort.js') 2 | , async = require('./async.js') 3 | ; 4 | 5 | // API 6 | module.exports = terminator; 7 | 8 | /** 9 | * Terminates jobs in the attached state context 10 | * 11 | * @this AsyncKitState# 12 | * @param {function} callback - final callback to invoke after termination 13 | */ 14 | function terminator(callback) 15 | { 16 | if (!Object.keys(this.jobs).length) 17 | { 18 | return; 19 | } 20 | 21 | // fast forward iteration index 22 | this.index = this.size; 23 | 24 | // abort jobs 25 | abort(this); 26 | 27 | // send back results we have so far 28 | async(callback)(null, this.results); 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/asynckit/serial.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('./serialOrdered.js'); 2 | 3 | // Public API 4 | module.exports = serial; 5 | 6 | /** 7 | * Runs iterator over provided array elements in series 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {function} - jobs terminator 13 | */ 14 | function serial(list, iterator, callback) 15 | { 16 | return serialOrdered(list, iterator, null, callback); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/asynckit/stream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits 2 | , Readable = require('stream').Readable 3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js') 4 | , ReadableParallel = require('./lib/readable_parallel.js') 5 | , ReadableSerial = require('./lib/readable_serial.js') 6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') 7 | ; 8 | 9 | // API 10 | module.exports = 11 | { 12 | parallel : ReadableParallel, 13 | serial : ReadableSerial, 14 | serialOrdered : ReadableSerialOrdered, 15 | }; 16 | 17 | inherits(ReadableAsyncKit, Readable); 18 | 19 | inherits(ReadableParallel, ReadableAsyncKit); 20 | inherits(ReadableSerial, ReadableAsyncKit); 21 | inherits(ReadableSerialOrdered, ReadableAsyncKit); 22 | -------------------------------------------------------------------------------- /node_modules/atob-lite/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | .DS_Store 4 | bundle.js 5 | test 6 | test.js 7 | -------------------------------------------------------------------------------- /node_modules/atob-lite/atob-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = function _atob(str) { 2 | return atob(str) 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/atob-lite/atob-node.js: -------------------------------------------------------------------------------- 1 | module.exports = function atob(str) { 2 | return Buffer.from(str, 'base64').toString('binary') 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/aws-sign2/README.md: -------------------------------------------------------------------------------- 1 | aws-sign 2 | ======== 3 | 4 | AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/aws4/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4" 6 | - "6" 7 | - "8" 8 | - "10" 9 | - "12" 10 | -------------------------------------------------------------------------------- /node_modules/bcrypt-pbkdf/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new 4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user 5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md). 6 | This repo does not use GitHub pull requests. 7 | 8 | See the [Joyent Engineering 9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general 10 | best practices expected in this repository. 11 | 12 | If you're changing something non-trivial or user-facing, you may want to submit 13 | an issue first. 14 | -------------------------------------------------------------------------------- /node_modules/before-after-hook/lib/register.js: -------------------------------------------------------------------------------- 1 | module.exports = register 2 | 3 | function register (state, name, method, options) { 4 | if (typeof method !== 'function') { 5 | throw new Error('method for before hook must be a function') 6 | } 7 | 8 | if (!options) { 9 | options = {} 10 | } 11 | 12 | if (Array.isArray(name)) { 13 | return name.reverse().reduce(function (callback, name) { 14 | return register.bind(null, state, name, callback, options) 15 | }, method)() 16 | } 17 | 18 | return Promise.resolve() 19 | .then(function () { 20 | if (!state.registry[name]) { 21 | return method(options) 22 | } 23 | 24 | return (state.registry[name]).reduce(function (method, registered) { 25 | return registered.hook.bind(null, method, options) 26 | }, method)() 27 | }) 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/before-after-hook/lib/remove.js: -------------------------------------------------------------------------------- 1 | module.exports = removeHook 2 | 3 | function removeHook (state, name, method) { 4 | if (!state.registry[name]) { 5 | return 6 | } 7 | 8 | var index = state.registry[name] 9 | .map(function (registered) { return registered.orig }) 10 | .indexOf(method) 11 | 12 | if (index === -1) { 13 | return 14 | } 15 | 16 | state.registry[name].splice(index, 1) 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/btoa-lite/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | .DS_Store 4 | bundle.js 5 | test 6 | test.js 7 | -------------------------------------------------------------------------------- /node_modules/btoa-lite/btoa-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = function _btoa(str) { 2 | return btoa(str) 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/btoa-lite/btoa-node.js: -------------------------------------------------------------------------------- 1 | module.exports = function btoa(str) { 2 | return new Buffer(str).toString('base64') 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/combined-stream/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | delayed-stream@~1.0.0: 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 8 | 9 | far@~0.0.7: 10 | version "0.0.7" 11 | resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" 12 | dependencies: 13 | oop "0.0.3" 14 | 15 | oop@0.0.3: 16 | version "0.0.3" 17 | resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" 18 | -------------------------------------------------------------------------------- /node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/cos-nodejs-sdk-v5/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - '8' 5 | 6 | install: 7 | - npm install 8 | 9 | script: 10 | - npm test 11 | 12 | notifications: 13 | email: 14 | recipients: 15 | - wjielai@tencent.com 16 | - fysntian@tencent.com 17 | -------------------------------------------------------------------------------- /node_modules/cos-nodejs-sdk-v5/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 提供 npm 包引用的入口 3 | */ 4 | var COS = require('./sdk/cos'); 5 | module.exports = COS; -------------------------------------------------------------------------------- /node_modules/cross-spawn/lib/util/readShebang.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const fs = require('fs'); 4 | const shebangCommand = require('shebang-command'); 5 | 6 | function readShebang(command) { 7 | // Read the first 150 bytes from the file 8 | const size = 150; 9 | let buffer; 10 | 11 | if (Buffer.alloc) { 12 | // Node.js v4.5+ / v5.10+ 13 | buffer = Buffer.alloc(size); 14 | } else { 15 | // Old Node.js API 16 | buffer = new Buffer(size); 17 | buffer.fill(0); // zero-fill 18 | } 19 | 20 | let fd; 21 | 22 | try { 23 | fd = fs.openSync(command, 'r'); 24 | fs.readSync(fd, buffer, 0, size, 0); 25 | fs.closeSync(fd); 26 | } catch (e) { /* Empty */ } 27 | 28 | // Attempt to extract shebang (null is returned if not a shebang) 29 | return shebangCommand(buffer.toString()); 30 | } 31 | 32 | module.exports = readShebang; 33 | -------------------------------------------------------------------------------- /node_modules/crypto-random-string/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const crypto = require('crypto'); 3 | 4 | module.exports = len => { 5 | if (!Number.isFinite(len)) { 6 | throw new TypeError('Expected a finite number'); 7 | } 8 | 9 | return crypto.randomBytes(Math.ceil(len / 2)).toString('hex').slice(0, len); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /node_modules/deprecation/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Gregor Martynus and contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/deprecation/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | class Deprecation extends Error { 6 | constructor(message) { 7 | super(message); // Maintains proper stack trace (only available on V8) 8 | 9 | /* istanbul ignore next */ 10 | 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | 15 | this.name = 'Deprecation'; 16 | } 17 | 18 | } 19 | 20 | exports.Deprecation = Deprecation; 21 | -------------------------------------------------------------------------------- /node_modules/deprecation/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/deprecation/dist-web/index.js: -------------------------------------------------------------------------------- 1 | class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } 15 | 16 | export { Deprecation }; 17 | -------------------------------------------------------------------------------- /node_modules/ecc-jsbn/README.md: -------------------------------------------------------------------------------- 1 | ecc-jsbn 2 | ======== 3 | 4 | ECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/). 5 | 6 | This is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too. 7 | 8 | Also uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression). 9 | -------------------------------------------------------------------------------- /node_modules/ecc-jsbn/test.js: -------------------------------------------------------------------------------- 1 | var ecc = require("./index.js"); 2 | var key1 = new ecc.ECKey(ecc.ECCurves.secp160r1); 3 | var key2 = new ecc.ECKey(ecc.ECCurves.secp160r1); 4 | console.log(key1.deriveSharedSecret(key2)); 5 | var key3 = new ecc.ECKey(ecc.ECCurves.secp160r1,key1.PrivateKey); 6 | var key4 = new ecc.ECKey(ecc.ECCurves.secp160r1,key2.PublicKey,true); 7 | console.log(key3.deriveSharedSecret(key4)); 8 | 9 | var key1 = new ecc.ECKey(ecc.ECCurves.secp256r1); 10 | var key2 = new ecc.ECKey(ecc.ECCurves.secp256r1); 11 | console.log(key1.deriveSharedSecret(key2)); 12 | var key3 = new ecc.ECKey(ecc.ECCurves.secp256r1,key1.PrivateKey); 13 | var key4 = new ecc.ECKey(ecc.ECCurves.secp256r1,key2.PublicKey,true); 14 | console.log(key3.deriveSharedSecret(key4)); 15 | -------------------------------------------------------------------------------- /node_modules/extend/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 150 11 | 12 | [CHANGELOG.md] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.json] 17 | max_line_length = off 18 | 19 | [Makefile] 20 | max_line_length = off 21 | -------------------------------------------------------------------------------- /node_modules/extend/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 20], 8 | "eqeqeq": [2, "allow-null"], 9 | "func-name-matching": [1], 10 | "max-depth": [1, 4], 11 | "max-statements": [2, 26], 12 | "no-extra-parens": [1], 13 | "no-magic-numbers": [0], 14 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"], 15 | "sort-keys": [0], 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/extend/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "extend", 3 | "author": "Stefan Thomas (http://www.justmoon.net)", 4 | "version": "3.0.0", 5 | "description": "Port of jQuery.extend for node.js and the browser.", 6 | "scripts": [ 7 | "index.js" 8 | ], 9 | "contributors": [ 10 | { 11 | "name": "Jordan Harband", 12 | "url": "https://github.com/ljharb" 13 | } 14 | ], 15 | "keywords": [ 16 | "extend", 17 | "clone", 18 | "merge" 19 | ], 20 | "repository" : { 21 | "type": "git", 22 | "url": "https://github.com/justmoon/node-extend.git" 23 | }, 24 | "dependencies": { 25 | }, 26 | "devDependencies": { 27 | "tape" : "~3.0.0", 28 | "covert": "~0.4.0", 29 | "jscs": "~1.6.2" 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /node_modules/extsprintf/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TencentCloud/cos-action/5c9bcf4073065fe8a4cfbd9e2f86ac73c694a264/node_modules/extsprintf/.gitmodules -------------------------------------------------------------------------------- /node_modules/extsprintf/.npmignore: -------------------------------------------------------------------------------- 1 | /deps 2 | /examples 3 | -------------------------------------------------------------------------------- /node_modules/extsprintf/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2012, Joyent, Inc. All rights reserved. 3 | # 4 | # Makefile: top-level Makefile 5 | # 6 | # This Makefile contains only repo-specific logic and uses included makefiles 7 | # to supply common targets (javascriptlint, jsstyle, restdown, etc.), which are 8 | # used by other repos as well. 9 | # 10 | 11 | # 12 | # Files 13 | # 14 | JSL = jsl 15 | JSSTYLE = jsstyle 16 | JS_FILES := $(shell find examples lib -name '*.js') 17 | JSL_FILES_NODE = $(JS_FILES) 18 | JSSTYLE_FILES = $(JS_FILES) 19 | JSL_CONF_NODE = jsl.node.conf 20 | 21 | # Default target is "check" 22 | check: 23 | 24 | include ./Makefile.targ 25 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/index.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/es6/react.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-deep-equal' { 2 | const equal: (a: any, b: any) => boolean; 3 | export = equal; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/fast-deep-equal/react.d.ts: -------------------------------------------------------------------------------- 1 | const equal: (a: any, b: any) => boolean; 2 | export = equal; 3 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | extends: eslint:recommended 2 | env: 3 | node: true 4 | browser: true 5 | rules: 6 | block-scoped-var: 2 7 | callback-return: 2 8 | dot-notation: 2 9 | indent: 2 10 | linebreak-style: [2, unix] 11 | new-cap: 2 12 | no-console: [2, allow: [warn, error]] 13 | no-else-return: 2 14 | no-eq-null: 2 15 | no-fallthrough: 2 16 | no-invalid-this: 2 17 | no-return-assign: 2 18 | no-shadow: 1 19 | no-trailing-spaces: 2 20 | no-use-before-define: [2, nofunc] 21 | quotes: [2, single, avoid-escape] 22 | semi: [2, always] 23 | strict: [2, global] 24 | valid-jsdoc: [2, requireReturn: false] 25 | no-control-regex: 0 26 | no-useless-escape: 2 27 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | tidelift: "npm/fast-json-stable-stringify" 2 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8" 4 | - "10" 5 | - "12" 6 | - "13" 7 | after_script: 8 | - coveralls < coverage/lcov.info 9 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/benchmark/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const Benchmark = require('benchmark'); 4 | const suite = new Benchmark.Suite; 5 | const testData = require('./test.json'); 6 | 7 | 8 | const stringifyPackages = { 9 | // 'JSON.stringify': JSON.stringify, 10 | 'fast-json-stable-stringify': require('../index'), 11 | 'json-stable-stringify': true, 12 | 'fast-stable-stringify': true, 13 | 'faster-stable-stringify': true 14 | }; 15 | 16 | 17 | for (const name in stringifyPackages) { 18 | let func = stringifyPackages[name]; 19 | if (func === true) func = require(name); 20 | 21 | suite.add(name, function() { 22 | func(testData); 23 | }); 24 | } 25 | 26 | suite 27 | .on('cycle', (event) => console.log(String(event.target))) 28 | .on('complete', function () { 29 | console.log('The fastest is ' + this.filter('fastest').map('name')); 30 | }) 31 | .run({async: true}); 32 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/key_cmp.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | 3 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 4 | var s = stringify(obj, function (a, b) { 5 | return a.key < b.key ? 1 : -1; 6 | }); 7 | console.log(s); 8 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/nested.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 3 | console.log(stringify(obj)); 4 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/str.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | var obj = { c: 6, b: [4,5], a: 3 }; 3 | console.log(stringify(obj)); 4 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/example/value_cmp.js: -------------------------------------------------------------------------------- 1 | var stringify = require('../'); 2 | 3 | var obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 }; 4 | var s = stringify(obj, function (a, b) { 5 | return a.value < b.value ? 1 : -1; 6 | }); 7 | console.log(s); 8 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'fast-json-stable-stringify' { 2 | function stringify(obj: any): string; 3 | export = stringify; 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/test/cmp.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var stringify = require('../'); 5 | 6 | test('custom comparison function', function (t) { 7 | t.plan(1); 8 | var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 }; 9 | var s = stringify(obj, function (a, b) { 10 | return a.key < b.key ? 1 : -1; 11 | }); 12 | t.equal(s, '{"c":8,"b":[{"z":6,"y":5,"x":4},7],"a":3}'); 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/fast-json-stable-stringify/test/to-json.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var test = require('tape'); 4 | var stringify = require('../'); 5 | 6 | test('toJSON function', function (t) { 7 | t.plan(1); 8 | var obj = { one: 1, two: 2, toJSON: function() { return { one: 1 }; } }; 9 | t.equal(stringify(obj), '{"one":1}' ); 10 | }); 11 | 12 | test('toJSON returns string', function (t) { 13 | t.plan(1); 14 | var obj = { one: 1, two: 2, toJSON: function() { return 'one'; } }; 15 | t.equal(stringify(obj), '"one"'); 16 | }); 17 | 18 | test('toJSON returns array', function (t) { 19 | t.plan(1); 20 | var obj = { one: 1, two: 2, toJSON: function() { return ['one']; } }; 21 | t.equal(stringify(obj), '["one"]'); 22 | }); 23 | -------------------------------------------------------------------------------- /node_modules/forever-agent/README.md: -------------------------------------------------------------------------------- 1 | forever-agent 2 | ============= 3 | 4 | HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. 5 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | 4 | Object.keys(src).forEach(function(prop) 5 | { 6 | dst[prop] = dst[prop] || src[prop]; 7 | }); 8 | 9 | return dst; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/getpass/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools 8 | coverage 9 | -------------------------------------------------------------------------------- /node_modules/getpass/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "5.10" 4 | - "4.4" 5 | - "4.1" 6 | - "0.12" 7 | - "0.10" 8 | before_install: 9 | - "make check" 10 | -------------------------------------------------------------------------------- /node_modules/getpass/README.md: -------------------------------------------------------------------------------- 1 | ## getpass 2 | 3 | Get a password from the terminal. Sounds simple? Sounds like the `readline` 4 | module should be able to do it? NOPE. 5 | 6 | ## Install and use it 7 | 8 | ```bash 9 | npm install --save getpass 10 | ``` 11 | 12 | ```javascript 13 | const mod_getpass = require('getpass'); 14 | ``` 15 | 16 | ## API 17 | 18 | ### `mod_getpass.getPass([options, ]callback)` 19 | 20 | Gets a password from the terminal. If available, this uses `/dev/tty` to avoid 21 | interfering with any data being piped in or out of stdio. 22 | 23 | This function prints a prompt (by default `Password:`) and then accepts input 24 | without echoing. 25 | 26 | Parameters: 27 | 28 | * `options`, an Object, with properties: 29 | * `prompt`, an optional String 30 | * `callback`, a `Func(error, password)`, with arguments: 31 | * `error`, either `null` (no error) or an `Error` instance 32 | * `password`, a String 33 | -------------------------------------------------------------------------------- /node_modules/graceful-fs/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter, Ben Noordhuis, and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/graceful-fs/clone.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = clone 4 | 5 | function clone (obj) { 6 | if (obj === null || typeof obj !== 'object') 7 | return obj 8 | 9 | if (obj instanceof Object) 10 | var copy = { __proto__: obj.__proto__ } 11 | else 12 | var copy = Object.create(null) 13 | 14 | Object.getOwnPropertyNames(obj).forEach(function (key) { 15 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 16 | }) 17 | 18 | return copy 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/har-schema/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Ahmad Nassri 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/afterRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "afterRequest.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "lastAccess", 8 | "eTag", 9 | "hitCount" 10 | ], 11 | "properties": { 12 | "expires": { 13 | "type": "string", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 15 | }, 16 | "lastAccess": { 17 | "type": "string", 18 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 19 | }, 20 | "eTag": { 21 | "type": "string" 22 | }, 23 | "hitCount": { 24 | "type": "integer" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/beforeRequest.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "beforeRequest.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "lastAccess", 8 | "eTag", 9 | "hitCount" 10 | ], 11 | "properties": { 12 | "expires": { 13 | "type": "string", 14 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 15 | }, 16 | "lastAccess": { 17 | "type": "string", 18 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?" 19 | }, 20 | "eTag": { 21 | "type": "string" 22 | }, 23 | "hitCount": { 24 | "type": "integer" 25 | }, 26 | "comment": { 27 | "type": "string" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/browser.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "browser.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "version" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "version": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/cache.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "cache.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "properties": { 5 | "beforeRequest": { 6 | "oneOf": [ 7 | { "type": "null" }, 8 | { "$ref": "beforeRequest.json#" } 9 | ] 10 | }, 11 | "afterRequest": { 12 | "oneOf": [ 13 | { "type": "null" }, 14 | { "$ref": "afterRequest.json#" } 15 | ] 16 | }, 17 | "comment": { 18 | "type": "string" 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/content.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "content.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "size", 7 | "mimeType" 8 | ], 9 | "properties": { 10 | "size": { 11 | "type": "integer" 12 | }, 13 | "compression": { 14 | "type": "integer" 15 | }, 16 | "mimeType": { 17 | "type": "string" 18 | }, 19 | "text": { 20 | "type": "string" 21 | }, 22 | "encoding": { 23 | "type": "string" 24 | }, 25 | "comment": { 26 | "type": "string" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/cookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "cookie.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "path": { 17 | "type": "string" 18 | }, 19 | "domain": { 20 | "type": "string" 21 | }, 22 | "expires": { 23 | "type": ["string", "null"], 24 | "format": "date-time" 25 | }, 26 | "httpOnly": { 27 | "type": "boolean" 28 | }, 29 | "secure": { 30 | "type": "boolean" 31 | }, 32 | "comment": { 33 | "type": "string" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/creator.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "creator.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "version" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "version": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/har.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "har.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "log" 7 | ], 8 | "properties": { 9 | "log": { 10 | "$ref": "log.json#" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/header.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "header.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | afterRequest: require('./afterRequest.json'), 5 | beforeRequest: require('./beforeRequest.json'), 6 | browser: require('./browser.json'), 7 | cache: require('./cache.json'), 8 | content: require('./content.json'), 9 | cookie: require('./cookie.json'), 10 | creator: require('./creator.json'), 11 | entry: require('./entry.json'), 12 | har: require('./har.json'), 13 | header: require('./header.json'), 14 | log: require('./log.json'), 15 | page: require('./page.json'), 16 | pageTimings: require('./pageTimings.json'), 17 | postData: require('./postData.json'), 18 | query: require('./query.json'), 19 | request: require('./request.json'), 20 | response: require('./response.json'), 21 | timings: require('./timings.json') 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/log.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "log.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "version", 7 | "creator", 8 | "entries" 9 | ], 10 | "properties": { 11 | "version": { 12 | "type": "string" 13 | }, 14 | "creator": { 15 | "$ref": "creator.json#" 16 | }, 17 | "browser": { 18 | "$ref": "browser.json#" 19 | }, 20 | "pages": { 21 | "type": "array", 22 | "items": { 23 | "$ref": "page.json#" 24 | } 25 | }, 26 | "entries": { 27 | "type": "array", 28 | "items": { 29 | "$ref": "entry.json#" 30 | } 31 | }, 32 | "comment": { 33 | "type": "string" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/page.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "page.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "startedDateTime", 8 | "id", 9 | "title", 10 | "pageTimings" 11 | ], 12 | "properties": { 13 | "startedDateTime": { 14 | "type": "string", 15 | "format": "date-time", 16 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))" 17 | }, 18 | "id": { 19 | "type": "string", 20 | "unique": true 21 | }, 22 | "title": { 23 | "type": "string" 24 | }, 25 | "pageTimings": { 26 | "$ref": "pageTimings.json#" 27 | }, 28 | "comment": { 29 | "type": "string" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/pageTimings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "pageTimings.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "properties": { 6 | "onContentLoad": { 7 | "type": "number", 8 | "min": -1 9 | }, 10 | "onLoad": { 11 | "type": "number", 12 | "min": -1 13 | }, 14 | "comment": { 15 | "type": "string" 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/postData.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "postData.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "optional": true, 6 | "required": [ 7 | "mimeType" 8 | ], 9 | "properties": { 10 | "mimeType": { 11 | "type": "string" 12 | }, 13 | "text": { 14 | "type": "string" 15 | }, 16 | "params": { 17 | "type": "array", 18 | "required": [ 19 | "name" 20 | ], 21 | "properties": { 22 | "name": { 23 | "type": "string" 24 | }, 25 | "value": { 26 | "type": "string" 27 | }, 28 | "fileName": { 29 | "type": "string" 30 | }, 31 | "contentType": { 32 | "type": "string" 33 | }, 34 | "comment": { 35 | "type": "string" 36 | } 37 | } 38 | }, 39 | "comment": { 40 | "type": "string" 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/query.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "query.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "object", 5 | "required": [ 6 | "name", 7 | "value" 8 | ], 9 | "properties": { 10 | "name": { 11 | "type": "string" 12 | }, 13 | "value": { 14 | "type": "string" 15 | }, 16 | "comment": { 17 | "type": "string" 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/har-schema/lib/timings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "timings.json#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "required": [ 5 | "send", 6 | "wait", 7 | "receive" 8 | ], 9 | "properties": { 10 | "dns": { 11 | "type": "number", 12 | "min": -1 13 | }, 14 | "connect": { 15 | "type": "number", 16 | "min": -1 17 | }, 18 | "blocked": { 19 | "type": "number", 20 | "min": -1 21 | }, 22 | "send": { 23 | "type": "number", 24 | "min": -1 25 | }, 26 | "wait": { 27 | "type": "number", 28 | "min": -1 29 | }, 30 | "receive": { 31 | "type": "number", 32 | "min": -1 33 | }, 34 | "ssl": { 35 | "type": "number", 36 | "min": -1 37 | }, 38 | "comment": { 39 | "type": "string" 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /node_modules/har-validator/lib/error.js: -------------------------------------------------------------------------------- 1 | function HARError (errors) { 2 | var message = 'validation failed' 3 | 4 | this.name = 'HARError' 5 | this.message = message 6 | this.errors = errors 7 | 8 | if (typeof Error.captureStackTrace === 'function') { 9 | Error.captureStackTrace(this, this.constructor) 10 | } else { 11 | this.stack = (new Error(message)).stack 12 | } 13 | } 14 | 15 | HARError.prototype = Error.prototype 16 | 17 | module.exports = HARError 18 | -------------------------------------------------------------------------------- /node_modules/http-signature/.dir-locals.el: -------------------------------------------------------------------------------- 1 | ((nil . ((indent-tabs-mode . nil) 2 | (tab-width . 8) 3 | (fill-column . 80))) 4 | (js-mode . ((js-indent-level . 2) 5 | (indent-tabs-mode . nil) 6 | ))) -------------------------------------------------------------------------------- /node_modules/http-signature/.npmignore: -------------------------------------------------------------------------------- 1 | .gitmodules 2 | deps 3 | docs 4 | Makefile 5 | node_modules 6 | test 7 | tools -------------------------------------------------------------------------------- /node_modules/http-signature/lib/index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Joyent, Inc. 2 | 3 | var parser = require('./parser'); 4 | var signer = require('./signer'); 5 | var verify = require('./verify'); 6 | var utils = require('./utils'); 7 | 8 | 9 | 10 | ///--- API 11 | 12 | module.exports = { 13 | 14 | parse: parser.parseRequest, 15 | parseRequest: parser.parseRequest, 16 | 17 | sign: signer.signRequest, 18 | signRequest: signer.signRequest, 19 | createSigner: signer.createSigner, 20 | isSigner: signer.isSigner, 21 | 22 | sshKeyToPEM: utils.sshKeyToPEM, 23 | sshKeyFingerprint: utils.fingerprint, 24 | pemToRsaSSHKey: utils.pemToRsaSSHKey, 25 | 26 | verify: verify.verifySignature, 27 | verifySignature: verify.verifySignature, 28 | verifyHMAC: verify.verifyHMAC 29 | }; 30 | -------------------------------------------------------------------------------- /node_modules/is-obj/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (x) { 3 | var type = typeof x; 4 | return x !== null && (type === 'object' || type === 'function'); 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/is-obj/readme.md: -------------------------------------------------------------------------------- 1 | # is-obj [![Build Status](https://travis-ci.org/sindresorhus/is-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/is-obj) 2 | 3 | > Check if a value is an object 4 | 5 | Keep in mind that array, function, regexp, etc, are objects in JavaScript.
6 | See [`is-plain-obj`](https://github.com/sindresorhus/is-plain-obj) if you want to check for plain objects. 7 | 8 | 9 | ## Install 10 | 11 | ``` 12 | $ npm install --save is-obj 13 | ``` 14 | 15 | 16 | ## Usage 17 | 18 | ```js 19 | const isObj = require('is-obj'); 20 | 21 | isObj({foo: 'bar'}); 22 | //=> true 23 | 24 | isObj([1, 2, 3]); 25 | //=> true 26 | 27 | isObj('foo'); 28 | //=> false 29 | ``` 30 | 31 | 32 | ## License 33 | 34 | MIT © [Sindre Sorhus](https://sindresorhus.com) 35 | -------------------------------------------------------------------------------- /node_modules/is-plain-object/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isPlainObject(o: any): boolean; 2 | 3 | export default isPlainObject; 4 | -------------------------------------------------------------------------------- /node_modules/is-stream/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var isStream = module.exports = function (stream) { 4 | return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function'; 5 | }; 6 | 7 | isStream.writable = function (stream) { 8 | return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object'; 9 | }; 10 | 11 | isStream.readable = function (stream) { 12 | return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object'; 13 | }; 14 | 15 | isStream.duplex = function (stream) { 16 | return isStream.writable(stream) && isStream.readable(stream); 17 | }; 18 | 19 | isStream.transform = function (stream) { 20 | return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object'; 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/is-stream/readme.md: -------------------------------------------------------------------------------- 1 | # is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream) 2 | 3 | > Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save is-stream 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const fs = require('fs'); 17 | const isStream = require('is-stream'); 18 | 19 | isStream(fs.createReadStream('unicorn.png')); 20 | //=> true 21 | 22 | isStream({}); 23 | //=> false 24 | ``` 25 | 26 | 27 | ## API 28 | 29 | ### isStream(stream) 30 | 31 | #### isStream.writable(stream) 32 | 33 | #### isStream.readable(stream) 34 | 35 | #### isStream.duplex(stream) 36 | 37 | #### isStream.transform(stream) 38 | 39 | 40 | ## License 41 | 42 | MIT © [Sindre Sorhus](https://sindresorhus.com) 43 | -------------------------------------------------------------------------------- /node_modules/is-typedarray/README.md: -------------------------------------------------------------------------------- 1 | # is-typedarray [![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges) 2 | 3 | Detect whether or not an object is a 4 | [Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays). 5 | 6 | ## Usage 7 | 8 | [![NPM](https://nodei.co/npm/is-typedarray.png)](https://nodei.co/npm/is-typedarray/) 9 | 10 | ### isTypedArray(array) 11 | 12 | Returns `true` when array is a Typed Array, and `false` when it is not. 13 | 14 | ## License 15 | 16 | MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details. 17 | -------------------------------------------------------------------------------- /node_modules/isexe/.npmignore: -------------------------------------------------------------------------------- 1 | .nyc_output/ 2 | coverage/ 3 | -------------------------------------------------------------------------------- /node_modules/isexe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/isobject/index.cjs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*! 4 | * isobject 5 | * 6 | * Copyright (c) 2014-2017, Jon Schlinkert. 7 | * Released under the MIT License. 8 | */ 9 | 10 | function isObject(val) { 11 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 12 | } 13 | 14 | module.exports = isObject; 15 | -------------------------------------------------------------------------------- /node_modules/isobject/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function isObject(val: any): boolean; 2 | 3 | export default isObject; 4 | -------------------------------------------------------------------------------- /node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | export default function isObject(val) { 9 | return val != null && typeof val === 'object' && Array.isArray(val) === false; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /node_modules/isstream/isstream.js: -------------------------------------------------------------------------------- 1 | var stream = require('stream') 2 | 3 | 4 | function isStream (obj) { 5 | return obj instanceof stream.Stream 6 | } 7 | 8 | 9 | function isReadable (obj) { 10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object' 11 | } 12 | 13 | 14 | function isWritable (obj) { 15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object' 16 | } 17 | 18 | 19 | function isDuplex (obj) { 20 | return isReadable(obj) && isWritable(obj) 21 | } 22 | 23 | 24 | module.exports = isStream 25 | module.exports.isReadable = isReadable 26 | module.exports.isWritable = isWritable 27 | module.exports.isDuplex = isDuplex 28 | -------------------------------------------------------------------------------- /node_modules/jsbn/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store -------------------------------------------------------------------------------- /node_modules/jsbn/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/jsbn/example.js: -------------------------------------------------------------------------------- 1 | var BigInteger = require('./'); 2 | var a = new BigInteger('91823918239182398123'); 3 | console.log(a.bitLength()); -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | extends: eslint:recommended 2 | env: 3 | node: true 4 | browser: true 5 | rules: 6 | block-scoped-var: 2 7 | complexity: [2, 13] 8 | curly: [2, multi-or-nest, consistent] 9 | dot-location: [2, property] 10 | dot-notation: 2 11 | indent: [2, 2, SwitchCase: 1] 12 | linebreak-style: [2, unix] 13 | new-cap: 2 14 | no-console: [2, allow: [warn, error]] 15 | no-else-return: 2 16 | no-eq-null: 2 17 | no-fallthrough: 2 18 | no-invalid-this: 2 19 | no-return-assign: 2 20 | no-shadow: 1 21 | no-trailing-spaces: 2 22 | no-use-before-define: [2, nofunc] 23 | quotes: [2, single, avoid-escape] 24 | semi: [2, always] 25 | strict: [2, global] 26 | valid-jsdoc: [2, requireReturn: false] 27 | no-control-regex: 0 28 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "7" 6 | - "8" 7 | after_script: 8 | - coveralls < coverage/lcov.info 9 | -------------------------------------------------------------------------------- /node_modules/json-schema-traverse/spec/.eslintrc.yml: -------------------------------------------------------------------------------- 1 | parserOptions: 2 | ecmaVersion: 6 3 | globals: 4 | beforeEach: false 5 | describe: false 6 | it: false 7 | -------------------------------------------------------------------------------- /node_modules/json-schema/README.md: -------------------------------------------------------------------------------- 1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator). 2 | 3 | Code is licensed under the AFL or BSD license as part of the Persevere 4 | project which is administered under the Dojo foundation, 5 | and all contributions require a Dojo CLA. -------------------------------------------------------------------------------- /node_modules/json-schema/draft-00/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-00/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-00/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-00/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "method" : { 16 | "type" : "string", 17 | "default" : "GET", 18 | "optional" : true 19 | }, 20 | 21 | "enctype" : { 22 | "type" : "string", 23 | "requires" : "method", 24 | "optional" : true 25 | }, 26 | 27 | "properties" : { 28 | "type" : "object", 29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"}, 30 | "optional" : true 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-01/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-01/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-01/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-01/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "method" : { 16 | "type" : "string", 17 | "default" : "GET", 18 | "optional" : true 19 | }, 20 | 21 | "enctype" : { 22 | "type" : "string", 23 | "requires" : "method", 24 | "optional" : true 25 | }, 26 | 27 | "properties" : { 28 | "type" : "object", 29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-01/hyper-schema#"}, 30 | "optional" : true 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-02/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-02/json-ref#", 4 | 5 | "items" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{$ref}", 11 | "rel" : "full" 12 | }, 13 | 14 | { 15 | "href" : "{$schema}", 16 | "rel" : "describedby" 17 | }, 18 | 19 | { 20 | "href" : "{id}", 21 | "rel" : "self" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-02/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-02/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string" 9 | }, 10 | 11 | "rel" : { 12 | "type" : "string" 13 | }, 14 | 15 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, 16 | 17 | "method" : { 18 | "type" : "string", 19 | "default" : "GET", 20 | "optional" : true 21 | }, 22 | 23 | "enctype" : { 24 | "type" : "string", 25 | "requires" : "method", 26 | "optional" : true 27 | }, 28 | 29 | "properties" : { 30 | "type" : "object", 31 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, 32 | "optional" : true 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/examples/address: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard", 3 | "type" : "object", 4 | "properties" : { 5 | "post-office-box" : { "type" : "string" }, 6 | "extended-address" : { "type" : "string" }, 7 | "street-address" : { "type":"string" }, 8 | "locality" : { "type" : "string", "required" : true }, 9 | "region" : { "type" : "string", "required" : true }, 10 | "postal-code" : { "type" : "string" }, 11 | "country-name" : { "type" : "string", "required" : true } 12 | }, 13 | "dependencies" : { 14 | "post-office-box" : "street-address", 15 | "extended-address" : "street-address", 16 | "street-address" : "region", 17 | "locality" : "region", 18 | "region" : "country-name" 19 | } 20 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/examples/geo: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "A geographical coordinate", 3 | "type" : "object", 4 | "properties" : { 5 | "latitude" : { "type" : "number" }, 6 | "longitude" : { "type" : "number" } 7 | } 8 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/json-ref: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-03/json-ref#", 4 | 5 | "additionalItems" : {"$ref" : "#"}, 6 | "additionalProperties" : {"$ref" : "#"}, 7 | 8 | "links" : [ 9 | { 10 | "href" : "{id}", 11 | "rel" : "self" 12 | }, 13 | 14 | { 15 | "href" : "{$ref}", 16 | "rel" : "full" 17 | }, 18 | 19 | { 20 | "href" : "{$schema}", 21 | "rel" : "describedby" 22 | } 23 | ], 24 | 25 | "fragmentResolution" : "dot-delimited" 26 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-03/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-03/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "href" : { 8 | "type" : "string", 9 | "required" : true, 10 | "format" : "link-description-object-template" 11 | }, 12 | 13 | "rel" : { 14 | "type" : "string", 15 | "required" : true 16 | }, 17 | 18 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}, 19 | 20 | "method" : { 21 | "type" : "string", 22 | "default" : "GET" 23 | }, 24 | 25 | "enctype" : { 26 | "type" : "string", 27 | "requires" : "method" 28 | }, 29 | 30 | "properties" : { 31 | "type" : "object", 32 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"} 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /node_modules/json-schema/draft-04/links: -------------------------------------------------------------------------------- 1 | { 2 | "$schema" : "http://json-schema.org/draft-04/hyper-schema#", 3 | "id" : "http://json-schema.org/draft-04/links#", 4 | "type" : "object", 5 | 6 | "properties" : { 7 | "rel" : { 8 | "type" : "string" 9 | }, 10 | 11 | "href" : { 12 | "type" : "string" 13 | }, 14 | 15 | "template" : { 16 | "type" : "string" 17 | }, 18 | 19 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}, 20 | 21 | "method" : { 22 | "type" : "string", 23 | "default" : "GET" 24 | }, 25 | 26 | "enctype" : { 27 | "type" : "string" 28 | }, 29 | 30 | "properties" : { 31 | "type" : "object", 32 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"} 33 | } 34 | }, 35 | 36 | "required" : ["rel", "href"], 37 | 38 | "dependencies" : { 39 | "enctype" : "method" 40 | } 41 | } -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/.npmignore: -------------------------------------------------------------------------------- 1 | /*.tgz 2 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## Unreleased 2 | - Fixes stringify to only take ancestors into account when checking 3 | circularity. 4 | It previously assumed every visited object was circular which led to [false 5 | positives][issue9]. 6 | Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago. 7 | - Fixes calling the `replacer` function in the proper context (`thisArg`). 8 | - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`). 9 | - Speeds serializing by a factor of 10 | Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching 11 | only the ancestors for a circular references speeds up things considerably. 12 | 13 | [must]: https://github.com/moll/js-must 14 | [issue9]: https://github.com/isaacs/json-stringify-safe/issues/9 15 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/Makefile: -------------------------------------------------------------------------------- 1 | NODE_OPTS = 2 | TEST_OPTS = 3 | 4 | love: 5 | @echo "Feel like makin' love." 6 | 7 | test: 8 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS) 9 | 10 | spec: 11 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS) 12 | 13 | autotest: 14 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS) 15 | 16 | autospec: 17 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS) 18 | 19 | pack: 20 | @file=$$(npm pack); echo "$$file"; tar tf "$$file" 21 | 22 | publish: 23 | npm publish 24 | 25 | tag: 26 | git tag "v$$(node -e 'console.log(require("./package").version)')" 27 | 28 | clean: 29 | rm -f *.tgz 30 | npm prune --production 31 | 32 | .PHONY: love 33 | .PHONY: test spec autotest autospec 34 | .PHONY: pack publish tag 35 | .PHONY: clean 36 | -------------------------------------------------------------------------------- /node_modules/json-stringify-safe/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --require must 3 | -------------------------------------------------------------------------------- /node_modules/jsprim/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new 4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user 5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md). 6 | This repo does not use GitHub pull requests. 7 | 8 | See the [Joyent Engineering 9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general 10 | best practices expected in this repository. 11 | 12 | Contributions should be "make prepush" clean. The "prepush" target runs the 13 | "check" target, which requires these separate tools: 14 | 15 | * https://github.com/davepacheco/jsstyle 16 | * https://github.com/davepacheco/javascriptlint 17 | 18 | If you're changing something non-trivial or user-facing, you may want to submit 19 | an issue first. 20 | -------------------------------------------------------------------------------- /node_modules/lodash.get/README.md: -------------------------------------------------------------------------------- 1 | # lodash.get v4.4.2 2 | 3 | The [lodash](https://lodash.com/) method `_.get` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.get 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var get = require('lodash.get'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#get) or [package source](https://github.com/lodash/lodash/blob/4.4.2-npm-packages/lodash.get) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.set/README.md: -------------------------------------------------------------------------------- 1 | # lodash.set v4.3.2 2 | 3 | The [lodash](https://lodash.com/) method `_.set` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.set 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var set = require('lodash.set'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#set) or [package source](https://github.com/lodash/lodash/blob/4.3.2-npm-packages/lodash.set) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/lodash.uniq/README.md: -------------------------------------------------------------------------------- 1 | # lodash.uniq v4.5.0 2 | 3 | The [lodash](https://lodash.com/) method `_.uniq` exported as a [Node.js](https://nodejs.org/) module. 4 | 5 | ## Installation 6 | 7 | Using npm: 8 | ```bash 9 | $ {sudo -H} npm i -g npm 10 | $ npm i --save lodash.uniq 11 | ``` 12 | 13 | In Node.js: 14 | ```js 15 | var uniq = require('lodash.uniq'); 16 | ``` 17 | 18 | See the [documentation](https://lodash.com/docs#uniq) or [package source](https://github.com/lodash/lodash/blob/4.5.0-npm-packages/lodash.uniq) for more details. 19 | -------------------------------------------------------------------------------- /node_modules/macos-release/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const os = require('os'); 3 | 4 | const nameMap = new Map([ 5 | [19, 'Catalina'], 6 | [18, 'Mojave'], 7 | [17, 'High Sierra'], 8 | [16, 'Sierra'], 9 | [15, 'El Capitan'], 10 | [14, 'Yosemite'], 11 | [13, 'Mavericks'], 12 | [12, 'Mountain Lion'], 13 | [11, 'Lion'], 14 | [10, 'Snow Leopard'], 15 | [9, 'Leopard'], 16 | [8, 'Tiger'], 17 | [7, 'Panther'], 18 | [6, 'Jaguar'], 19 | [5, 'Puma'] 20 | ]); 21 | 22 | const macosRelease = release => { 23 | release = Number((release || os.release()).split('.')[0]); 24 | return { 25 | name: nameMap.get(release), 26 | version: '10.' + (release - 4) 27 | }; 28 | }; 29 | 30 | module.exports = macosRelease; 31 | // TODO: remove this in the next major version 32 | module.exports.default = macosRelease; 33 | -------------------------------------------------------------------------------- /node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * MIT Licensed 5 | */ 6 | 7 | /** 8 | * Module exports. 9 | */ 10 | 11 | module.exports = require('./db.json') 12 | -------------------------------------------------------------------------------- /node_modules/nice-try/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). 6 | 7 | ## [1.0.5] - 2018-08-25 8 | 9 | ### Changed 10 | 11 | - Removed `prepublish` script from `package.json` 12 | 13 | ## [1.0.4] - 2017-08-08 14 | 15 | ### New 16 | 17 | - Added a changelog 18 | 19 | ### Changed 20 | 21 | - Ignore `yarn.lock` and `package-lock.json` files -------------------------------------------------------------------------------- /node_modules/nice-try/src/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | /** 4 | * Tries to execute a function and discards any error that occurs. 5 | * @param {Function} fn - Function that might or might not throw an error. 6 | * @returns {?*} Return-value of the function when no error occurred. 7 | */ 8 | module.exports = function(fn) { 9 | 10 | try { return fn() } catch (e) {} 11 | 12 | } -------------------------------------------------------------------------------- /node_modules/node-fetch/browser.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // ref: https://github.com/tc39/proposal-global 4 | var getGlobal = function () { 5 | // the only reliable means to get the global object is 6 | // `Function('return this')()` 7 | // However, this causes CSP violations in Chrome apps. 8 | if (typeof self !== 'undefined') { return self; } 9 | if (typeof window !== 'undefined') { return window; } 10 | if (typeof global !== 'undefined') { return global; } 11 | throw new Error('unable to locate global object'); 12 | } 13 | 14 | var global = getGlobal(); 15 | 16 | module.exports = exports = global.fetch; 17 | 18 | // Needed for TypeScript and Webpack. 19 | exports.default = global.fetch.bind(global); 20 | 21 | exports.Headers = global.Headers; 22 | exports.Request = global.Request; 23 | exports.Response = global.Response; -------------------------------------------------------------------------------- /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 | 6 | ## Supported Method Signatures 7 | 8 | - HMAC-SHA1 9 | - HMAC-SHA256 10 | - RSA-SHA1 11 | - PLAINTEXT -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | 6 | # Trigger a push build on master and greenkeeper branches + PRs build on every branches 7 | # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147) 8 | branches: 9 | only: 10 | - master 11 | - /^greenkeeper.*$/ 12 | 13 | branches: 14 | except: 15 | - /^v\d+\.\d+\.\d+$/ 16 | 17 | jobs: 18 | include: 19 | - stage: test 20 | node_js: 6 21 | - node_js: 8 22 | install: npm ci 23 | - node_js: 10 24 | install: npm ci 25 | - node_js: lts/* 26 | script: npm run coverage:upload 27 | - stage: release 28 | env: semantic-release 29 | node_js: lts/* 30 | install: npm ci 31 | script: npm run semantic-release 32 | 33 | stages: 34 | - test 35 | - name: release 36 | if: branch = master AND type IN (push) 37 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/index.js: -------------------------------------------------------------------------------- 1 | module.exports = paginationMethodsPlugin 2 | 3 | function paginationMethodsPlugin (octokit) { 4 | octokit.getFirstPage = require('./lib/get-first-page').bind(null, octokit) 5 | octokit.getLastPage = require('./lib/get-last-page').bind(null, octokit) 6 | octokit.getNextPage = require('./lib/get-next-page').bind(null, octokit) 7 | octokit.getPreviousPage = require('./lib/get-previous-page').bind(null, octokit) 8 | octokit.hasFirstPage = require('./lib/has-first-page') 9 | octokit.hasLastPage = require('./lib/has-last-page') 10 | octokit.hasNextPage = require('./lib/has-next-page') 11 | octokit.hasPreviousPage = require('./lib/has-previous-page') 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/deprecate.js: -------------------------------------------------------------------------------- 1 | module.exports = deprecate 2 | 3 | const loggedMessages = {} 4 | 5 | function deprecate (message) { 6 | if (loggedMessages[message]) { 7 | return 8 | } 9 | 10 | console.warn(`DEPRECATED (@octokit/rest): ${message}`) 11 | loggedMessages[message] = 1 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/get-first-page.js: -------------------------------------------------------------------------------- 1 | module.exports = getFirstPage 2 | 3 | const getPage = require('./get-page') 4 | 5 | function getFirstPage (octokit, link, headers) { 6 | return getPage(octokit, link, 'first', headers) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/get-last-page.js: -------------------------------------------------------------------------------- 1 | module.exports = getLastPage 2 | 3 | const getPage = require('./get-page') 4 | 5 | function getLastPage (octokit, link, headers) { 6 | return getPage(octokit, link, 'last', headers) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/get-next-page.js: -------------------------------------------------------------------------------- 1 | module.exports = getNextPage 2 | 3 | const getPage = require('./get-page') 4 | 5 | function getNextPage (octokit, link, headers) { 6 | return getPage(octokit, link, 'next', headers) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/get-page-links.js: -------------------------------------------------------------------------------- 1 | module.exports = getPageLinks 2 | 3 | function getPageLinks (link) { 4 | link = link.link || link.headers.link || '' 5 | 6 | const links = {} 7 | 8 | // link format: 9 | // '; rel="next", ; rel="last"' 10 | link.replace(/<([^>]*)>;\s*rel="([\w]*)"/g, (m, uri, type) => { 11 | links[type] = uri 12 | }) 13 | 14 | return links 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/get-previous-page.js: -------------------------------------------------------------------------------- 1 | module.exports = getPreviousPage 2 | 3 | const getPage = require('./get-page') 4 | 5 | function getPreviousPage (octokit, link, headers) { 6 | return getPage(octokit, link, 'prev', headers) 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/has-first-page.js: -------------------------------------------------------------------------------- 1 | module.exports = hasFirstPage 2 | 3 | const deprecate = require('./deprecate') 4 | const getPageLinks = require('./get-page-links') 5 | 6 | function hasFirstPage (link) { 7 | deprecate(`octokit.hasFirstPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) 8 | return getPageLinks(link).first 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/has-last-page.js: -------------------------------------------------------------------------------- 1 | module.exports = hasLastPage 2 | 3 | const deprecate = require('./deprecate') 4 | const getPageLinks = require('./get-page-links') 5 | 6 | function hasLastPage (link) { 7 | deprecate(`octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) 8 | return getPageLinks(link).last 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/has-next-page.js: -------------------------------------------------------------------------------- 1 | module.exports = hasNextPage 2 | 3 | const deprecate = require('./deprecate') 4 | const getPageLinks = require('./get-page-links') 5 | 6 | function hasNextPage (link) { 7 | deprecate(`octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) 8 | return getPageLinks(link).next 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/has-previous-page.js: -------------------------------------------------------------------------------- 1 | module.exports = hasPreviousPage 2 | 3 | const deprecate = require('./deprecate') 4 | const getPageLinks = require('./get-page-links') 5 | 6 | function hasPreviousPage (link) { 7 | deprecate(`octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`) 8 | return getPageLinks(link).prev 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/octokit-pagination-methods/lib/http-error.js: -------------------------------------------------------------------------------- 1 | module.exports = class HttpError extends Error { 2 | constructor (message, code, headers) { 3 | super(message) 4 | 5 | // Maintains proper stack trace (only available on V8) 6 | /* istanbul ignore next */ 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor) 9 | } 10 | 11 | this.name = 'HttpError' 12 | this.code = code 13 | this.headers = headers 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/os-name/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | /** 4 | Get the name of the current operating system. 5 | 6 | By default, the name of the current operating system is returned. 7 | 8 | @param platform - Custom platform name. 9 | @param release - Custom release name. 10 | 11 | @example 12 | ``` 13 | import * as os fron 'os'; 14 | import osName = require('os-name'); 15 | 16 | // On a macOS Sierra system 17 | 18 | osName(); 19 | //=> 'macOS Sierra' 20 | 21 | osName(os.platform(), os.release()); 22 | //=> 'macOS Sierra' 23 | 24 | osName('darwin', '14.0.0'); 25 | //=> 'OS X Yosemite' 26 | 27 | osName('linux', '3.13.0-24-generic'); 28 | //=> 'Linux 3.13' 29 | 30 | osName('win32', '6.3.9600'); 31 | //=> 'Windows 8.1' 32 | ``` 33 | */ 34 | declare function osName(): string; 35 | declare function osName(platform: NodeJS.Platform, release: string): string; 36 | 37 | export = osName; 38 | -------------------------------------------------------------------------------- /node_modules/p-finally/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = (promise, onFinally) => { 3 | onFinally = onFinally || (() => {}); 4 | 5 | return promise.then( 6 | val => new Promise(resolve => { 7 | resolve(onFinally()); 8 | }).then(() => val), 9 | err => new Promise(resolve => { 10 | resolve(onFinally()); 11 | }).then(() => { 12 | throw err; 13 | }) 14 | ); 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/path-key/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = opts => { 3 | opts = opts || {}; 4 | 5 | const env = opts.env || process.env; 6 | const platform = opts.platform || process.platform; 7 | 8 | if (platform !== 'win32') { 9 | return 'PATH'; 10 | } 11 | 12 | return Object.keys(env).find(x => x.toUpperCase() === 'PATH') || 'Path'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/performance-now/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /node_modules/performance-now/.tm_properties: -------------------------------------------------------------------------------- 1 | excludeDirectories = "{.git,node_modules}" 2 | excludeInFolderSearch = "{excludeDirectories,lib}" 3 | 4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}" 5 | 6 | [ attr.untitled ] 7 | fileType = 'source.coffee' -------------------------------------------------------------------------------- /node_modules/performance-now/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | - "6" 5 | - "4" 6 | - "0.12" 7 | -------------------------------------------------------------------------------- /node_modules/performance-now/src/index.d.ts: -------------------------------------------------------------------------------- 1 | // This file describes the package to typescript. 2 | 3 | /** 4 | * Returns the number of milliseconds since the page was loaded (if browser) 5 | * or the node process was started. 6 | */ 7 | declare function now(): number; 8 | export = now; 9 | -------------------------------------------------------------------------------- /node_modules/performance-now/src/performance-now.coffee: -------------------------------------------------------------------------------- 1 | if performance? and performance.now 2 | module.exports = -> performance.now() 3 | else if process? and process.hrtime 4 | module.exports = -> (getNanoSeconds() - nodeLoadTime) / 1e6 5 | hrtime = process.hrtime 6 | getNanoSeconds = -> 7 | hr = hrtime() 8 | hr[0] * 1e9 + hr[1] 9 | moduleLoadTime = getNanoSeconds() 10 | upTime = process.uptime() * 1e9 11 | nodeLoadTime = moduleLoadTime - upTime 12 | else if Date.now 13 | module.exports = -> Date.now() - loadTime 14 | loadTime = Date.now() 15 | else 16 | module.exports = -> new Date().getTime() - loadTime 17 | loadTime = new Date().getTime() 18 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --require coffee-script/register 2 | --compilers coffee:coffee-script/register 3 | --reporter spec -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/delayed-call.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 350 and below 600. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | delay = require "call-delayed" 10 | now = require "../../lib/performance-now" 11 | delay 250, -> console.log now().toFixed 3 12 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/delayed-require.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 350 and below 600. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | delay = require "call-delayed" 10 | delay 250, -> 11 | now = require "../../lib/performance-now" 12 | console.log now().toFixed 3 13 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/difference.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | # Expected output is above 0.005 and below 0.07. 4 | 5 | now = require('../../lib/performance-now') 6 | console.log -(now() - now()).toFixed 3 7 | -------------------------------------------------------------------------------- /node_modules/performance-now/test/scripts/initial-value.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ./node_modules/.bin/coffee 2 | 3 | ### 4 | Expected output is a number above 100 and below 350. 5 | The time reported is relative to the time the node.js process was started 6 | this is approximately at `(Date.now() process.uptime() * 1000)` 7 | ### 8 | 9 | now = require '../../lib/performance-now' 10 | console.log now().toFixed 3 11 | -------------------------------------------------------------------------------- /node_modules/pump/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | 5 | script: "npm test" 6 | -------------------------------------------------------------------------------- /node_modules/qs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 140 11 | 12 | [test/*] 13 | max_line_length = off 14 | 15 | [*.md] 16 | max_line_length = off 17 | 18 | [*.json] 19 | max_line_length = off 20 | 21 | [Makefile] 22 | max_line_length = off 23 | 24 | [CHANGELOG.md] 25 | indent_style = space 26 | indent_size = 2 27 | 28 | [LICENSE] 29 | indent_size = 2 30 | max_line_length = off 31 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": 0, 8 | "consistent-return": 1, 9 | "func-name-matching": 0, 10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], 11 | "indent": [2, 4], 12 | "max-params": [2, 12], 13 | "max-statements": [2, 45], 14 | "no-continue": 1, 15 | "no-magic-numbers": 0, 16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 17 | "operator-linebreak": [2, "before"], 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | module.exports = { 7 | 'default': 'RFC3986', 8 | formatters: { 9 | RFC1738: function (value) { 10 | return replace.call(value, percentTwenties, '+'); 11 | }, 12 | RFC3986: function (value) { 13 | return value; 14 | } 15 | }, 16 | RFC1738: 'RFC1738', 17 | RFC3986: 'RFC3986' 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/qs/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "consistent-return": 2, 6 | "max-lines": 0, 7 | "max-nested-callbacks": [2, 3], 8 | "max-statements": 0, 9 | "no-buffer-constructor": 0, 10 | "no-extend-native": 0, 11 | "no-magic-numbers": 0, 12 | "object-curly-newline": 0, 13 | "sort-keys": 0 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./parse'); 4 | 5 | require('./stringify'); 6 | 7 | require('./utils'); 8 | -------------------------------------------------------------------------------- /node_modules/semver/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # changes log 2 | 3 | ## 5.7 4 | 5 | * Add `minVersion` method 6 | 7 | ## 5.6 8 | 9 | * Move boolean `loose` param to an options object, with 10 | backwards-compatibility protection. 11 | * Add ability to opt out of special prerelease version handling with 12 | the `includePrerelease` option flag. 13 | 14 | ## 5.5 15 | 16 | * Add version coercion capabilities 17 | 18 | ## 5.4 19 | 20 | * Add intersection checking 21 | 22 | ## 5.3 23 | 24 | * Add `minSatisfying` method 25 | 26 | ## 5.2 27 | 28 | * Add `prerelease(v)` that returns prerelease components 29 | 30 | ## 5.1 31 | 32 | * Add Backus-Naur for ranges 33 | * Remove excessively cute inspection methods 34 | 35 | ## 5.0 36 | 37 | * Remove AMD/Browserified build artifacts 38 | * Fix ltr and gtr when using the `*` range 39 | * Fix for range `*` with a prerelease identifier 40 | -------------------------------------------------------------------------------- /node_modules/semver/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/semver/range.bnf: -------------------------------------------------------------------------------- 1 | range-set ::= range ( logical-or range ) * 2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) * 3 | range ::= hyphen | simple ( ' ' simple ) * | '' 4 | hyphen ::= partial ' - ' partial 5 | simple ::= primitive | partial | tilde | caret 6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial 7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? 8 | xr ::= 'x' | 'X' | '*' | nr 9 | nr ::= '0' | [1-9] ( [0-9] ) * 10 | tilde ::= '~' partial 11 | caret ::= '^' partial 12 | qualifier ::= ( '-' pre )? ( '+' build )? 13 | pre ::= parts 14 | build ::= parts 15 | parts ::= part ( '.' part ) * 16 | part ::= nr | [-0-9A-Za-z]+ 17 | -------------------------------------------------------------------------------- /node_modules/shebang-command/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var shebangRegex = require('shebang-regex'); 3 | 4 | module.exports = function (str) { 5 | var match = str.match(shebangRegex); 6 | 7 | if (!match) { 8 | return null; 9 | } 10 | 11 | var arr = match[0].replace(/#! ?/, '').split(' '); 12 | var bin = arr[0].split('/').pop(); 13 | var arg = arr[1]; 14 | 15 | return (bin === 'env' ? 16 | arg : 17 | bin + (arg ? ' ' + arg : '') 18 | ); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/shebang-command/readme.md: -------------------------------------------------------------------------------- 1 | # shebang-command [![Build Status](https://travis-ci.org/kevva/shebang-command.svg?branch=master)](https://travis-ci.org/kevva/shebang-command) 2 | 3 | > Get the command from a shebang 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save shebang-command 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const shebangCommand = require('shebang-command'); 17 | 18 | shebangCommand('#!/usr/bin/env node'); 19 | //=> 'node' 20 | 21 | shebangCommand('#!/bin/bash'); 22 | //=> 'bash' 23 | ``` 24 | 25 | 26 | ## API 27 | 28 | ### shebangCommand(string) 29 | 30 | #### string 31 | 32 | Type: `string` 33 | 34 | String containing a shebang. 35 | 36 | 37 | ## License 38 | 39 | MIT © [Kevin Martensson](http://github.com/kevva) 40 | -------------------------------------------------------------------------------- /node_modules/shebang-regex/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = /^#!.*/; 3 | -------------------------------------------------------------------------------- /node_modules/shebang-regex/readme.md: -------------------------------------------------------------------------------- 1 | # shebang-regex [![Build Status](https://travis-ci.org/sindresorhus/shebang-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/shebang-regex) 2 | 3 | > Regular expression for matching a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save shebang-regex 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | var shebangRegex = require('shebang-regex'); 17 | var str = '#!/usr/bin/env node\nconsole.log("unicorns");'; 18 | 19 | shebangRegex.test(str); 20 | //=> true 21 | 22 | shebangRegex.exec(str)[0]; 23 | //=> '#!/usr/bin/env node' 24 | ``` 25 | 26 | 27 | ## License 28 | 29 | MIT © [Sindre Sorhus](http://sindresorhus.com) 30 | -------------------------------------------------------------------------------- /node_modules/signal-exit/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2015, Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software 6 | for any purpose with or without fee is hereby granted, provided 7 | that the above copyright notice and this permission notice 8 | appear in all copies. 9 | 10 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES 12 | OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE 13 | LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES 14 | OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 15 | WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 16 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /node_modules/strip-eof/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = function (x) { 3 | var lf = typeof x === 'string' ? '\n' : '\n'.charCodeAt(); 4 | var cr = typeof x === 'string' ? '\r' : '\r'.charCodeAt(); 5 | 6 | if (x[x.length - 1] === lf) { 7 | x = x.slice(0, x.length - 1); 8 | } 9 | 10 | if (x[x.length - 1] === cr) { 11 | x = x.slice(0, x.length - 1); 12 | } 13 | 14 | return x; 15 | }; 16 | -------------------------------------------------------------------------------- /node_modules/strip-eof/readme.md: -------------------------------------------------------------------------------- 1 | # strip-eof [![Build Status](https://travis-ci.org/sindresorhus/strip-eof.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-eof) 2 | 3 | > Strip the [End-Of-File](https://en.wikipedia.org/wiki/End-of-file) (EOF) character from a string/buffer 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save strip-eof 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const stripEof = require('strip-eof'); 17 | 18 | stripEof('foo\nbar\n\n'); 19 | //=> 'foo\nbar\n' 20 | 21 | stripEof(new Buffer('foo\nbar\n\n')).toString(); 22 | //=> 'foo\nbar\n' 23 | ``` 24 | 25 | 26 | ## License 27 | 28 | MIT © [Sindre Sorhus](http://sindresorhus.com) 29 | -------------------------------------------------------------------------------- /node_modules/tough-cookie/lib/version.js: -------------------------------------------------------------------------------- 1 | // generated by genversion 2 | module.exports = '2.5.0' 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /node_modules/tweetnacl/.npmignore: -------------------------------------------------------------------------------- 1 | .eslintrc 2 | .travis.yml 3 | bower.json 4 | test 5 | -------------------------------------------------------------------------------- /node_modules/unique-string/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const cryptoRandomString = require('crypto-random-string'); 3 | 4 | module.exports = () => cryptoRandomString(32); 5 | -------------------------------------------------------------------------------- /node_modules/unique-string/readme.md: -------------------------------------------------------------------------------- 1 | # unique-string [![Build Status](https://travis-ci.org/sindresorhus/unique-string.svg?branch=master)](https://travis-ci.org/sindresorhus/unique-string) 2 | 3 | > Generate a unique random string 4 | 5 | 6 | ## Install 7 | 8 | ``` 9 | $ npm install --save unique-string 10 | ``` 11 | 12 | 13 | ## Usage 14 | 15 | ```js 16 | const uniqueString = require('unique-string'); 17 | 18 | uniqueString(); 19 | //=> 'b4de2a49c8ffa3fbee04446f045483b2' 20 | ``` 21 | 22 | 23 | ## API 24 | 25 | ### uniqueString() 26 | 27 | Returns a 32 character unique string. Matches the length of MD5, which is [unique enough](http://stackoverflow.com/a/2444336/64949) for non-crypto purposes. 28 | 29 | 30 | ## License 31 | 32 | MIT © [Sindre Sorhus](https://sindresorhus.com) 33 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/LICENSE.md: -------------------------------------------------------------------------------- 1 | # [ISC License](https://spdx.org/licenses/ISC) 2 | 3 | Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } 6 | 7 | var osName = _interopDefault(require('os-name')); 8 | 9 | function getUserAgent() { 10 | try { 11 | return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; 12 | } catch (error) { 13 | if (/wmic os get Caption/.test(error.message)) { 14 | return "Windows "; 15 | } 16 | 17 | throw error; 18 | } 19 | } 20 | 21 | exports.getUserAgent = getUserAgent; 22 | //# sourceMappingURL=index.js.map 23 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/node.js"],"sourcesContent":["import osName from \"os-name\";\nexport function getUserAgent() {\n try {\n return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`;\n }\n catch (error) {\n if (/wmic os get Caption/.test(error.message)) {\n return \"Windows \";\n }\n throw error;\n }\n}\n"],"names":["getUserAgent","process","version","substr","osName","arch","error","test","message"],"mappings":";;;;;;;;AACO,SAASA,YAAT,GAAwB;MACvB;WACQ,WAAUC,OAAO,CAACC,OAAR,CAAgBC,MAAhB,CAAuB,CAAvB,CAA0B,KAAIC,MAAM,EAAG,KAAIH,OAAO,CAACI,IAAK,GAA1E;GADJ,CAGA,OAAOC,KAAP,EAAc;QACN,sBAAsBC,IAAtB,CAA2BD,KAAK,CAACE,OAAjC,CAAJ,EAA+C;aACpC,gCAAP;;;UAEEF,KAAN;;;;;;"} -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-src/browser.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | return navigator.userAgent; 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export { getUserAgent } from "./node"; 2 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-src/node.js: -------------------------------------------------------------------------------- 1 | import osName from "os-name"; 2 | export function getUserAgent() { 3 | try { 4 | return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; 5 | } 6 | catch (error) { 7 | if (/wmic os get Caption/.test(error.message)) { 8 | return "Windows "; 9 | } 10 | throw error; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-types/browser.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export { getUserAgent } from "./node"; 2 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-types/node.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | return navigator.userAgent; 3 | } 4 | 5 | export { getUserAgent }; 6 | //# sourceMappingURL=index.js.map 7 | -------------------------------------------------------------------------------- /node_modules/universal-user-agent/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/browser.js"],"sourcesContent":["export function getUserAgent() {\n return navigator.userAgent;\n}\n"],"names":[],"mappings":"AAAO,SAAS,YAAY,GAAG;IAC3B,OAAO,SAAS,CAAC,SAAS,CAAC;CAC9B;;;;"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./uri"; 2 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.js: -------------------------------------------------------------------------------- 1 | import { SCHEMES } from "./uri"; 2 | import http from "./schemes/http"; 3 | SCHEMES[http.scheme] = http; 4 | import https from "./schemes/https"; 5 | SCHEMES[https.scheme] = https; 6 | import mailto from "./schemes/mailto"; 7 | SCHEMES[mailto.scheme] = mailto; 8 | import urn from "./schemes/urn"; 9 | SCHEMES[urn.scheme] = urn; 10 | import uuid from "./schemes/urn-uuid"; 11 | SCHEMES[uuid.scheme] = uuid; 12 | export * from "./uri"; 13 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AAE9B,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAEhC,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAE1B,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,cAAc,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.d.ts: -------------------------------------------------------------------------------- 1 | import { URIRegExps } from "./uri"; 2 | declare const _default: URIRegExps; 3 | export default _default; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.js: -------------------------------------------------------------------------------- 1 | import { buildExps } from "./regexps-uri"; 2 | export default buildExps(true); 3 | //# sourceMappingURL=regexps-iri.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-iri.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"regexps-iri.js","sourceRoot":"","sources":["../../src/regexps-iri.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAe,SAAS,CAAC,IAAI,CAAC,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/regexps-uri.d.ts: -------------------------------------------------------------------------------- 1 | import { URIRegExps } from "./uri"; 2 | export declare function buildExps(isIRI: boolean): URIRegExps; 3 | declare const _default: URIRegExps; 4 | export default _default; 5 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/http.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/http.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/schemes/http.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,MAAM;IAEf,UAAU,EAAG,IAAI;IAEjB,KAAK,EAAG,UAAU,UAAwB,EAAE,OAAkB;QAC7D,qBAAqB;QACrB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,6BAA6B,CAAC;SACrE;QAED,OAAO,UAAU,CAAC;IACnB,CAAC;IAED,SAAS,EAAG,UAAU,UAAwB,EAAE,OAAkB;QACjE,4BAA4B;QAC5B,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,IAAI,KAAK,EAAE,EAAE;YACnH,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;SAC5B;QAED,0BAA0B;QAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,IAAI,GAAG,GAAG,CAAC;SACtB;QAED,mDAAmD;QACnD,oEAAoE;QACpE,wBAAwB;QAExB,OAAO,UAAU,CAAC;IACnB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler } from "../uri"; 2 | declare const handler: URISchemeHandler; 3 | export default handler; 4 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.js: -------------------------------------------------------------------------------- 1 | import http from "./http"; 2 | const handler = { 3 | scheme: "https", 4 | domainHost: http.domainHost, 5 | parse: http.parse, 6 | serialize: http.serialize 7 | }; 8 | export default handler; 9 | //# sourceMappingURL=https.js.map -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/https.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"https.js","sourceRoot":"","sources":["../../../src/schemes/https.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,OAAO;IAChB,UAAU,EAAG,IAAI,CAAC,UAAU;IAC5B,KAAK,EAAG,IAAI,CAAC,KAAK;IAClB,SAAS,EAAG,IAAI,CAAC,SAAS;CAC1B,CAAA;AAED,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/mailto.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents } from "../uri"; 2 | export interface MailtoHeaders { 3 | [hfname: string]: string; 4 | } 5 | export interface MailtoComponents extends URIComponents { 6 | to: Array; 7 | headers?: MailtoHeaders; 8 | subject?: string; 9 | body?: string; 10 | } 11 | declare const handler: URISchemeHandler; 12 | export default handler; 13 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIOptions } from "../uri"; 2 | import { URNComponents } from "./urn"; 3 | export interface UUIDComponents extends URNComponents { 4 | uuid?: string; 5 | } 6 | declare const handler: URISchemeHandler; 7 | export default handler; 8 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"urn-uuid.js","sourceRoot":"","sources":["../../../src/schemes/urn-uuid.ts"],"names":[],"mappings":"AAQA,MAAM,IAAI,GAAG,0DAA0D,CAAC;AACxE,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAExC,UAAU;AACV,MAAM,OAAO,GAA+D;IAC3E,MAAM,EAAG,UAAU;IAEnB,KAAK,EAAG,UAAU,aAA2B,EAAE,OAAkB;QAChE,MAAM,cAAc,GAAG,aAA+B,CAAC;QACvD,cAAc,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC;QACzC,cAAc,CAAC,GAAG,GAAG,SAAS,CAAC;QAE/B,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE;YACpF,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,IAAI,oBAAoB,CAAC;SACpE;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,SAAS,EAAG,UAAU,cAA6B,EAAE,OAAkB;QACtE,MAAM,aAAa,GAAG,cAA+B,CAAC;QACtD,gBAAgB;QAChB,aAAa,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9D,OAAO,aAAa,CAAC;IACtB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/schemes/urn.d.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri"; 2 | export interface URNComponents extends URIComponents { 3 | nid?: string; 4 | nss?: string; 5 | } 6 | export interface URNOptions extends URIOptions { 7 | nid?: string; 8 | } 9 | declare const handler: URISchemeHandler; 10 | export default handler; 11 | -------------------------------------------------------------------------------- /node_modules/uri-js/dist/esnext/util.d.ts: -------------------------------------------------------------------------------- 1 | export declare function merge(...sets: Array): string; 2 | export declare function subexp(str: string): string; 3 | export declare function typeOf(o: any): string; 4 | export declare function toUpperCase(str: string): string; 5 | export declare function toArray(obj: any): Array; 6 | export declare function assign(target: object, source: any): any; 7 | -------------------------------------------------------------------------------- /node_modules/uri-js/rollup.config.js: -------------------------------------------------------------------------------- 1 | import resolve from 'rollup-plugin-node-resolve'; 2 | import babel from 'rollup-plugin-babel'; 3 | const packageJson = require('./package.json'); 4 | 5 | export default { 6 | entry : "dist/esnext/index.js", 7 | format : "umd", 8 | moduleName : "URI", 9 | plugins: [ 10 | resolve({ 11 | module: true, 12 | jsnext: true, 13 | preferBuiltins: false 14 | }), 15 | 16 | babel({ 17 | "presets": [ 18 | ["latest", { 19 | "es2015": { 20 | "modules": false 21 | } 22 | }] 23 | ], 24 | "plugins": ["external-helpers"], 25 | "externalHelpers": false 26 | } 27 | ) 28 | ], 29 | dest : "dist/es5/uri.all.js", 30 | sourceMap: true, 31 | banner: "/** @license URI.js v" + packageJson.version + " (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */" 32 | } 33 | -------------------------------------------------------------------------------- /node_modules/uri-js/src/index.ts: -------------------------------------------------------------------------------- 1 | import { SCHEMES } from "./uri"; 2 | 3 | import http from "./schemes/http"; 4 | SCHEMES[http.scheme] = http; 5 | 6 | import https from "./schemes/https"; 7 | SCHEMES[https.scheme] = https; 8 | 9 | import mailto from "./schemes/mailto"; 10 | SCHEMES[mailto.scheme] = mailto; 11 | 12 | import urn from "./schemes/urn"; 13 | SCHEMES[urn.scheme] = urn; 14 | 15 | import uuid from "./schemes/urn-uuid"; 16 | SCHEMES[uuid.scheme] = uuid; 17 | 18 | export * from "./uri"; 19 | -------------------------------------------------------------------------------- /node_modules/uri-js/src/punycode.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'punycode' { 2 | function ucs2decode(string:string):Array; 3 | function ucs2encode(array:Array):string; 4 | function decode(string:string):string; 5 | function encode(string:string):string; 6 | function toASCII(string:string):string; 7 | function toUnicode(string:string):string; 8 | 9 | interface Punycode { 10 | 'version': '2.2.0'; 11 | 'ucs2': { 12 | 'decode': typeof ucs2decode; 13 | 'encode': typeof ucs2encode; 14 | }, 15 | 'decode': typeof decode; 16 | 'encode': typeof encode; 17 | 'toASCII': typeof toASCII; 18 | 'toUnicode': typeof toUnicode; 19 | } 20 | 21 | const punycode:Punycode; 22 | 23 | export default punycode; 24 | } 25 | -------------------------------------------------------------------------------- /node_modules/uri-js/src/regexps-iri.ts: -------------------------------------------------------------------------------- 1 | import { URIRegExps } from "./uri"; 2 | import { buildExps } from "./regexps-uri"; 3 | 4 | export default buildExps(true); 5 | -------------------------------------------------------------------------------- /node_modules/uri-js/src/schemes/https.ts: -------------------------------------------------------------------------------- 1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri"; 2 | import http from "./http"; 3 | 4 | const handler:URISchemeHandler = { 5 | scheme : "https", 6 | domainHost : http.domainHost, 7 | parse : http.parse, 8 | serialize : http.serialize 9 | } 10 | 11 | export default handler; -------------------------------------------------------------------------------- /node_modules/uri-js/tests/test-es5-min.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |

URI.js Test Suite

12 |

13 |
14 |

15 |
    16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/uri-js/tests/test-es5.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |

    URI.js Test Suite

    12 |

    13 |
    14 |

    15 |
      16 | 17 | 18 | -------------------------------------------------------------------------------- /node_modules/uri-js/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "es2015", 4 | "target": "esnext", 5 | "noImplicitAny": true, 6 | "sourceMap": true, 7 | "alwaysStrict": true, 8 | "declaration": true, 9 | "experimentalDecorators": true, 10 | "forceConsistentCasingInFileNames": true, 11 | "importHelpers": true, 12 | "noImplicitReturns": true, 13 | "noImplicitThis": true, 14 | "outDir": "dist/esnext", 15 | "strictNullChecks": true 16 | }, 17 | "include": [ 18 | "src/**/*" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/uuid/AUTHORS: -------------------------------------------------------------------------------- 1 | Robert Kieffer 2 | Christoph Tavan 3 | AJ ONeal 4 | Vincent Voyer 5 | Roman Shtylman 6 | -------------------------------------------------------------------------------- /node_modules/uuid/index.js: -------------------------------------------------------------------------------- 1 | var v1 = require('./v1'); 2 | var v4 = require('./v4'); 3 | 4 | var uuid = v4; 5 | uuid.v1 = v1; 6 | uuid.v4 = v4; 7 | 8 | module.exports = uuid; 9 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/bytesToUuid.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Convert array of 16 byte values to UUID string format of the form: 3 | * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 4 | */ 5 | var byteToHex = []; 6 | for (var i = 0; i < 256; ++i) { 7 | byteToHex[i] = (i + 0x100).toString(16).substr(1); 8 | } 9 | 10 | function bytesToUuid(buf, offset) { 11 | var i = offset || 0; 12 | var bth = byteToHex; 13 | // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 14 | return ([ 15 | bth[buf[i++]], bth[buf[i++]], 16 | bth[buf[i++]], bth[buf[i++]], '-', 17 | bth[buf[i++]], bth[buf[i++]], '-', 18 | bth[buf[i++]], bth[buf[i++]], '-', 19 | bth[buf[i++]], bth[buf[i++]], '-', 20 | bth[buf[i++]], bth[buf[i++]], 21 | bth[buf[i++]], bth[buf[i++]], 22 | bth[buf[i++]], bth[buf[i++]] 23 | ]).join(''); 24 | } 25 | 26 | module.exports = bytesToUuid; 27 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/md5.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crypto = require('crypto'); 4 | 5 | function md5(bytes) { 6 | if (typeof Buffer.from === 'function') { 7 | // Modern Buffer API 8 | if (Array.isArray(bytes)) { 9 | bytes = Buffer.from(bytes); 10 | } else if (typeof bytes === 'string') { 11 | bytes = Buffer.from(bytes, 'utf8'); 12 | } 13 | } else { 14 | // Pre-v4 Buffer API 15 | if (Array.isArray(bytes)) { 16 | bytes = new Buffer(bytes); 17 | } else if (typeof bytes === 'string') { 18 | bytes = new Buffer(bytes, 'utf8'); 19 | } 20 | } 21 | 22 | return crypto.createHash('md5').update(bytes).digest(); 23 | } 24 | 25 | module.exports = md5; 26 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/rng.js: -------------------------------------------------------------------------------- 1 | // Unique ID creation requires a high quality random # generator. In node.js 2 | // this is pretty straight-forward - we use the crypto API. 3 | 4 | var crypto = require('crypto'); 5 | 6 | module.exports = function nodeRNG() { 7 | return crypto.randomBytes(16); 8 | }; 9 | -------------------------------------------------------------------------------- /node_modules/uuid/lib/sha1.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var crypto = require('crypto'); 4 | 5 | function sha1(bytes) { 6 | if (typeof Buffer.from === 'function') { 7 | // Modern Buffer API 8 | if (Array.isArray(bytes)) { 9 | bytes = Buffer.from(bytes); 10 | } else if (typeof bytes === 'string') { 11 | bytes = Buffer.from(bytes, 'utf8'); 12 | } 13 | } else { 14 | // Pre-v4 Buffer API 15 | if (Array.isArray(bytes)) { 16 | bytes = new Buffer(bytes); 17 | } else if (typeof bytes === 'string') { 18 | bytes = new Buffer(bytes, 'utf8'); 19 | } 20 | } 21 | 22 | return crypto.createHash('sha1').update(bytes).digest(); 23 | } 24 | 25 | module.exports = sha1; 26 | -------------------------------------------------------------------------------- /node_modules/uuid/v3.js: -------------------------------------------------------------------------------- 1 | var v35 = require('./lib/v35.js'); 2 | var md5 = require('./lib/md5'); 3 | 4 | module.exports = v35('v3', 0x30, md5); -------------------------------------------------------------------------------- /node_modules/uuid/v4.js: -------------------------------------------------------------------------------- 1 | var rng = require('./lib/rng'); 2 | var bytesToUuid = require('./lib/bytesToUuid'); 3 | 4 | function v4(options, buf, offset) { 5 | var i = buf && offset || 0; 6 | 7 | if (typeof(options) == 'string') { 8 | buf = options === 'binary' ? new Array(16) : null; 9 | options = null; 10 | } 11 | options = options || {}; 12 | 13 | var rnds = options.random || (options.rng || rng)(); 14 | 15 | // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 16 | rnds[6] = (rnds[6] & 0x0f) | 0x40; 17 | rnds[8] = (rnds[8] & 0x3f) | 0x80; 18 | 19 | // Copy bytes to buffer, if provided 20 | if (buf) { 21 | for (var ii = 0; ii < 16; ++ii) { 22 | buf[i + ii] = rnds[ii]; 23 | } 24 | } 25 | 26 | return buf || bytesToUuid(rnds); 27 | } 28 | 29 | module.exports = v4; 30 | -------------------------------------------------------------------------------- /node_modules/uuid/v5.js: -------------------------------------------------------------------------------- 1 | var v35 = require('./lib/v35.js'); 2 | var sha1 = require('./lib/sha1'); 3 | module.exports = v35('v5', 0x50, sha1); 4 | -------------------------------------------------------------------------------- /node_modules/verror/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | .gitmodules 3 | deps 4 | examples 5 | experiments 6 | jsl.node.conf 7 | Makefile 8 | Makefile.targ 9 | test 10 | -------------------------------------------------------------------------------- /node_modules/verror/CHANGES.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## Not yet released 4 | 5 | None yet. 6 | 7 | ## v1.10.0 8 | 9 | * #49 want convenience functions for MultiErrors 10 | 11 | ## v1.9.0 12 | 13 | * #47 could use VError.hasCauseWithName() 14 | 15 | ## v1.8.1 16 | 17 | * #39 captureStackTrace lost when inheriting from WError 18 | 19 | ## v1.8.0 20 | 21 | * #23 Preserve original stack trace(s) 22 | 23 | ## v1.7.0 24 | 25 | * #10 better support for extra properties on Errors 26 | * #11 make it easy to find causes of a particular kind 27 | * #29 No documentation on how to Install this package 28 | * #36 elide development-only files from npm package 29 | -------------------------------------------------------------------------------- /node_modules/verror/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | This repository uses [cr.joyent.us](https://cr.joyent.us) (Gerrit) for new 4 | changes. Anyone can submit changes. To get started, see the [cr.joyent.us user 5 | guide](https://github.com/joyent/joyent-gerrit/blob/master/docs/user/README.md). 6 | This repo does not use GitHub pull requests. 7 | 8 | See the [Joyent Engineering 9 | Guidelines](https://github.com/joyent/eng/blob/master/docs/index.md) for general 10 | best practices expected in this repository. 11 | 12 | Contributions should be "make prepush" clean. The "prepush" target runs the 13 | "check" target, which requires these separate tools: 14 | 15 | * https://github.com/davepacheco/jsstyle 16 | * https://github.com/davepacheco/javascriptlint 17 | 18 | If you're changing something non-trivial or user-facing, you may want to submit 19 | an issue first. 20 | -------------------------------------------------------------------------------- /node_modules/which/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/wrappy/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /node_modules/write-file-atomic/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 2.4.3 2 | 3 | * Ignore errors raised by `fs.closeSync` when cleaning up after a write 4 | error. 5 | 6 | # 2.4.2 7 | 8 | * A pair of patches to fix some fd leaks. We would leak fds with sync use 9 | when errors occured and with async use any time fsync was not in use. (#34) 10 | 11 | # 2.4.1 12 | 13 | * Fix a bug where `signal-exit` instances would be leaked. This was fixed when addressing #35. 14 | 15 | # 2.4.0 16 | 17 | ## Features 18 | 19 | * Allow chown and mode options to be set to false to disable the defaulting behavior. (#20) 20 | * Support passing encoding strings in options slot for compat with Node.js API. (#31) 21 | * Add support for running inside of worker threads (#37) 22 | 23 | ## Fixes 24 | 25 | * Remove unneeded call when returning success (#36) 26 | -------------------------------------------------------------------------------- /node_modules/write-file-atomic/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Rebecca Turner 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 6 | 7 | -------------------------------------------------------------------------------- /node_modules/xdg-basedir/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | const os = require('os'); 3 | const path = require('path'); 4 | 5 | const home = os.homedir(); 6 | const env = process.env; 7 | 8 | exports.data = env.XDG_DATA_HOME || 9 | (home ? path.join(home, '.local', 'share') : null); 10 | 11 | exports.config = env.XDG_CONFIG_HOME || 12 | (home ? path.join(home, '.config') : null); 13 | 14 | exports.cache = env.XDG_CACHE_HOME || (home ? path.join(home, '.cache') : null); 15 | 16 | exports.runtime = env.XDG_RUNTIME_DIR || null; 17 | 18 | exports.dataDirs = (env.XDG_DATA_DIRS || '/usr/local/share/:/usr/share/').split(':'); 19 | 20 | if (exports.data) { 21 | exports.dataDirs.unshift(exports.data); 22 | } 23 | 24 | exports.configDirs = (env.XDG_CONFIG_DIRS || '/etc/xdg').split(':'); 25 | 26 | if (exports.config) { 27 | exports.configDirs.unshift(exports.config); 28 | } 29 | -------------------------------------------------------------------------------- /node_modules/xml2js/lib/bom.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | "use strict"; 4 | exports.stripBOM = function(str) { 5 | if (str[0] === '\uFEFF') { 6 | return str.substring(1); 7 | } else { 8 | return str; 9 | } 10 | }; 11 | 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /node_modules/xml2js/lib/processors.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | "use strict"; 4 | var prefixMatch; 5 | 6 | prefixMatch = new RegExp(/(?!xmlns)^.*:/); 7 | 8 | exports.normalize = function(str) { 9 | return str.toLowerCase(); 10 | }; 11 | 12 | exports.firstCharLowerCase = function(str) { 13 | return str.charAt(0).toLowerCase() + str.slice(1); 14 | }; 15 | 16 | exports.stripPrefix = function(str) { 17 | return str.replace(prefixMatch, ''); 18 | }; 19 | 20 | exports.parseNumbers = function(str) { 21 | if (!isNaN(str)) { 22 | str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str); 23 | } 24 | return str; 25 | }; 26 | 27 | exports.parseBooleans = function(str) { 28 | if (/^(?:true|false)$/i.test(str)) { 29 | str = str.toLowerCase() === 'true'; 30 | } 31 | return str; 32 | }; 33 | 34 | }).call(this); 35 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/appveyor.yml: -------------------------------------------------------------------------------- 1 | environment: 2 | matrix: 3 | - nodejs_version: "4" 4 | - nodejs_version: "5" 5 | - nodejs_version: "6" 6 | - nodejs_version: "8" 7 | - nodejs_version: "10" 8 | - nodejs_version: "" # latest 9 | 10 | install: 11 | - ps: "Install-Product node $env:nodejs_version" 12 | - "npm install" 13 | 14 | test_script: 15 | - "node --version" 16 | - "npm --version" 17 | - "npm test" 18 | 19 | build: off 20 | 21 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/Derivation.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | module.exports = { 4 | Restriction: 1, 5 | Extension: 2, 6 | Union: 4, 7 | List: 8 8 | }; 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/DocumentPosition.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | module.exports = { 4 | Disconnected: 1, 5 | Preceding: 2, 6 | Following: 4, 7 | Contains: 8, 8 | ContainedBy: 16, 9 | ImplementationSpecific: 32 10 | }; 11 | 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/NodeType.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | module.exports = { 4 | Element: 1, 5 | Attribute: 2, 6 | Text: 3, 7 | CData: 4, 8 | EntityReference: 5, 9 | EntityDeclaration: 6, 10 | ProcessingInstruction: 7, 11 | Comment: 8, 12 | Document: 9, 13 | DocType: 10, 14 | DocumentFragment: 11, 15 | NotationDeclaration: 12, 16 | Declaration: 201, 17 | Raw: 202, 18 | AttributeDeclaration: 203, 19 | ElementDeclaration: 204, 20 | Dummy: 205 21 | }; 22 | 23 | }).call(this); 24 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/OperationType.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | module.exports = { 4 | Clones: 1, 5 | Imported: 2, 6 | Deleted: 3, 7 | Renamed: 4, 8 | Adopted: 5 9 | }; 10 | 11 | }).call(this); 12 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/WriterState.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | module.exports = { 4 | None: 0, 5 | OpenTag: 1, 6 | InsideTag: 2, 7 | CloseTag: 3 8 | }; 9 | 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | var XMLDOMErrorHandler; 4 | 5 | module.exports = XMLDOMErrorHandler = (function() { 6 | function XMLDOMErrorHandler() {} 7 | 8 | XMLDOMErrorHandler.prototype.handleError = function(error) { 9 | throw new Error(error); 10 | }; 11 | 12 | return XMLDOMErrorHandler; 13 | 14 | })(); 15 | 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/XMLDOMStringList.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | var XMLDOMStringList; 4 | 5 | module.exports = XMLDOMStringList = (function() { 6 | function XMLDOMStringList(arr) { 7 | this.arr = arr || []; 8 | } 9 | 10 | Object.defineProperty(XMLDOMStringList.prototype, 'length', { 11 | get: function() { 12 | return this.arr.length; 13 | } 14 | }); 15 | 16 | XMLDOMStringList.prototype.item = function(index) { 17 | return this.arr[index] || null; 18 | }; 19 | 20 | XMLDOMStringList.prototype.contains = function(str) { 21 | return this.arr.indexOf(str) !== -1; 22 | }; 23 | 24 | return XMLDOMStringList; 25 | 26 | })(); 27 | 28 | }).call(this); 29 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/XMLNodeList.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | var XMLNodeList; 4 | 5 | module.exports = XMLNodeList = (function() { 6 | function XMLNodeList(nodes) { 7 | this.nodes = nodes; 8 | } 9 | 10 | Object.defineProperty(XMLNodeList.prototype, 'length', { 11 | get: function() { 12 | return this.nodes.length || 0; 13 | } 14 | }); 15 | 16 | XMLNodeList.prototype.clone = function() { 17 | return this.nodes = null; 18 | }; 19 | 20 | XMLNodeList.prototype.item = function(index) { 21 | return this.nodes[index] || null; 22 | }; 23 | 24 | return XMLNodeList; 25 | 26 | })(); 27 | 28 | }).call(this); 29 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/XMLTypeInfo.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | var Derivation, XMLTypeInfo; 4 | 5 | Derivation = require('./Derivation'); 6 | 7 | module.exports = XMLTypeInfo = (function() { 8 | function XMLTypeInfo(typeName, typeNamespace) { 9 | this.typeName = typeName; 10 | this.typeNamespace = typeNamespace; 11 | } 12 | 13 | XMLTypeInfo.prototype.isDerivedFrom = function(typeNamespaceArg, typeNameArg, derivationMethod) { 14 | throw new Error("This DOM method is not implemented."); 15 | }; 16 | 17 | return XMLTypeInfo; 18 | 19 | })(); 20 | 21 | }).call(this); 22 | -------------------------------------------------------------------------------- /node_modules/xmlbuilder/lib/XMLUserDataHandler.js: -------------------------------------------------------------------------------- 1 | // Generated by CoffeeScript 1.12.7 2 | (function() { 3 | var OperationType, XMLUserDataHandler; 4 | 5 | OperationType = require('./OperationType'); 6 | 7 | module.exports = XMLUserDataHandler = (function() { 8 | function XMLUserDataHandler() {} 9 | 10 | XMLUserDataHandler.prototype.handle = function(operation, key, data, src, dst) {}; 11 | 12 | return XMLUserDataHandler; 13 | 14 | })(); 15 | 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cos-action", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "keywords": [], 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "@actions/core": "^1.2.6", 14 | "@actions/github": "^2.1.0", 15 | "cos-nodejs-sdk-v5": "^2.5.14" 16 | } 17 | } 18 | --------------------------------------------------------------------------------