├── .github └── workflows │ ├── ci.yml │ ├── on-release.yml │ ├── publish.yml │ └── test.yml ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── action.yml ├── action ├── README.md ├── deps.js ├── index.js ├── node_modules │ ├── .bin │ │ ├── node-which │ │ └── uuid │ ├── .package-lock.json │ ├── @actions │ │ ├── core │ │ │ ├── LICENSE.md │ │ │ ├── README.md │ │ │ ├── lib │ │ │ │ ├── command.d.ts │ │ │ │ ├── command.js │ │ │ │ ├── command.js.map │ │ │ │ ├── core.d.ts │ │ │ │ ├── core.js │ │ │ │ ├── core.js.map │ │ │ │ ├── file-command.d.ts │ │ │ │ ├── file-command.js │ │ │ │ ├── file-command.js.map │ │ │ │ ├── oidc-utils.d.ts │ │ │ │ ├── oidc-utils.js │ │ │ │ ├── oidc-utils.js.map │ │ │ │ ├── path-utils.d.ts │ │ │ │ ├── path-utils.js │ │ │ │ ├── path-utils.js.map │ │ │ │ ├── summary.d.ts │ │ │ │ ├── summary.js │ │ │ │ ├── summary.js.map │ │ │ │ ├── utils.d.ts │ │ │ │ ├── utils.js │ │ │ │ └── utils.js.map │ │ │ └── package.json │ │ ├── github │ │ │ ├── LICENSE.md │ │ │ ├── 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 │ │ │ │ ├── internal │ │ │ │ │ ├── utils.d.ts │ │ │ │ │ ├── utils.js │ │ │ │ │ └── utils.js.map │ │ │ │ ├── utils.d.ts │ │ │ │ ├── utils.js │ │ │ │ └── utils.js.map │ │ │ └── package.json │ │ └── http-client │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── lib │ │ │ ├── auth.d.ts │ │ │ ├── auth.js │ │ │ ├── auth.js.map │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.map │ │ │ ├── interfaces.d.ts │ │ │ ├── interfaces.js │ │ │ ├── interfaces.js.map │ │ │ ├── proxy.d.ts │ │ │ ├── proxy.js │ │ │ └── proxy.js.map │ │ │ └── package.json │ ├── @deno │ │ ├── shim-deno-test │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ │ ├── definitions.d.ts │ │ │ │ ├── definitions.js │ │ │ │ ├── deno.types.gen.d.ts │ │ │ │ ├── deno.types.gen.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── test.d.ts │ │ │ │ └── test.js │ │ │ └── package.json │ │ └── shim-deno │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist │ │ │ ├── index.cjs │ │ │ ├── index.d.cts │ │ │ ├── index.d.mts │ │ │ ├── index.mjs │ │ │ ├── test-internals.cjs │ │ │ ├── test-internals.d.cts │ │ │ ├── test-internals.d.mts │ │ │ └── test-internals.mjs │ │ │ └── package.json │ ├── @fastify │ │ └── busboy │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── deps │ │ │ ├── dicer │ │ │ │ ├── LICENSE │ │ │ │ └── lib │ │ │ │ │ ├── Dicer.js │ │ │ │ │ ├── HeaderParser.js │ │ │ │ │ ├── PartStream.js │ │ │ │ │ └── dicer.d.ts │ │ │ └── streamsearch │ │ │ │ └── sbmh.js │ │ │ ├── lib │ │ │ ├── main.d.ts │ │ │ ├── main.js │ │ │ ├── types │ │ │ │ ├── multipart.js │ │ │ │ └── urlencoded.js │ │ │ └── utils │ │ │ │ ├── Decoder.js │ │ │ │ ├── basename.js │ │ │ │ ├── decodeText.js │ │ │ │ ├── getLimit.js │ │ │ │ └── parseParams.js │ │ │ └── package.json │ ├── @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 │ │ ├── core │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── dist-src │ │ │ │ ├── index.js │ │ │ │ ├── types.js │ │ │ │ └── version.js │ │ │ ├── dist-types │ │ │ │ ├── index.d.ts │ │ │ │ ├── types.d.ts │ │ │ │ └── version.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 │ │ │ │ │ ├── remove-undefined-properties.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 │ │ │ │ │ ├── remove-undefined-properties.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 │ │ ├── openapi-types │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── types.d.ts │ │ ├── plugin-paginate-rest │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ │ ├── index.js │ │ │ │ └── index.js.map │ │ │ ├── dist-src │ │ │ │ ├── compose-paginate.js │ │ │ │ ├── generated │ │ │ │ │ └── paginating-endpoints.js │ │ │ │ ├── index.js │ │ │ │ ├── iterator.js │ │ │ │ ├── normalize-paginated-list-response.js │ │ │ │ ├── paginate.js │ │ │ │ ├── paginating-endpoints.js │ │ │ │ ├── types.js │ │ │ │ └── version.js │ │ │ ├── dist-types │ │ │ │ ├── compose-paginate.d.ts │ │ │ │ ├── generated │ │ │ │ │ └── paginating-endpoints.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── iterator.d.ts │ │ │ │ ├── normalize-paginated-list-response.d.ts │ │ │ │ ├── paginate.d.ts │ │ │ │ ├── paginating-endpoints.d.ts │ │ │ │ ├── types.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 │ │ │ │ ├── endpoints-to-methods.js │ │ │ │ ├── generated │ │ │ │ │ ├── endpoints.js │ │ │ │ │ ├── method-types.js │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ ├── index.js │ │ │ │ ├── types.js │ │ │ │ └── version.js │ │ │ ├── dist-types │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ ├── generated │ │ │ │ │ ├── endpoints.d.ts │ │ │ │ │ ├── method-types.d.ts │ │ │ │ │ └── parameters-and-response-types.d.ts │ │ │ │ ├── index.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 │ │ └── types │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ │ ├── dist-src │ │ │ ├── AuthInterface.js │ │ │ ├── EndpointDefaults.js │ │ │ ├── EndpointInterface.js │ │ │ ├── EndpointOptions.js │ │ │ ├── Fetch.js │ │ │ ├── GetResponseTypeFromEndpointMethod.js │ │ │ ├── OctokitResponse.js │ │ │ ├── RequestError.js │ │ │ ├── RequestHeaders.js │ │ │ ├── RequestInterface.js │ │ │ ├── RequestMethod.js │ │ │ ├── RequestOptions.js │ │ │ ├── RequestParameters.js │ │ │ ├── RequestRequestOptions.js │ │ │ ├── ResponseHeaders.js │ │ │ ├── Route.js │ │ │ ├── Signal.js │ │ │ ├── StrategyInterface.js │ │ │ ├── Url.js │ │ │ ├── VERSION.js │ │ │ ├── generated │ │ │ │ └── Endpoints.js │ │ │ └── index.js │ │ │ ├── dist-types │ │ │ ├── AuthInterface.d.ts │ │ │ ├── EndpointDefaults.d.ts │ │ │ ├── EndpointInterface.d.ts │ │ │ ├── EndpointOptions.d.ts │ │ │ ├── Fetch.d.ts │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ ├── OctokitResponse.d.ts │ │ │ ├── RequestError.d.ts │ │ │ ├── RequestHeaders.d.ts │ │ │ ├── RequestInterface.d.ts │ │ │ ├── RequestMethod.d.ts │ │ │ ├── RequestOptions.d.ts │ │ │ ├── RequestParameters.d.ts │ │ │ ├── RequestRequestOptions.d.ts │ │ │ ├── ResponseHeaders.d.ts │ │ │ ├── Route.d.ts │ │ │ ├── Signal.d.ts │ │ │ ├── StrategyInterface.d.ts │ │ │ ├── Url.d.ts │ │ │ ├── VERSION.d.ts │ │ │ ├── generated │ │ │ │ └── Endpoints.d.ts │ │ │ └── index.d.ts │ │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ │ └── package.json │ ├── before-after-hook │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── lib │ │ │ ├── add.js │ │ │ ├── register.js │ │ │ └── remove.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 │ ├── fetch-blob │ │ ├── LICENSE │ │ ├── README.md │ │ ├── file.d.ts │ │ ├── file.js │ │ ├── from.d.ts │ │ ├── from.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── package.json │ │ └── streams.cjs │ ├── formdata-polyfill │ │ ├── FormData.js │ │ ├── LICENSE │ │ ├── README.md │ │ ├── esm.min.d.ts │ │ ├── esm.min.js │ │ ├── formdata-to-blob.js │ │ ├── formdata.min.js │ │ └── package.json │ ├── is-plain-object │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── is-plain-object.js │ │ │ └── is-plain-object.mjs │ │ ├── is-plain-object.d.ts │ │ └── package.json │ ├── isexe │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── cjs │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.d.ts.map │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── options.d.ts │ │ │ │ ├── options.d.ts.map │ │ │ │ ├── options.js │ │ │ │ ├── options.js.map │ │ │ │ ├── package.json │ │ │ │ ├── posix.d.ts │ │ │ │ ├── posix.d.ts.map │ │ │ │ ├── posix.js │ │ │ │ ├── posix.js.map │ │ │ │ ├── win32.d.ts │ │ │ │ ├── win32.d.ts.map │ │ │ │ ├── win32.js │ │ │ │ └── win32.js.map │ │ │ └── mjs │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.d.ts.map │ │ │ │ ├── index.js │ │ │ │ ├── index.js.map │ │ │ │ ├── options.d.ts │ │ │ │ ├── options.d.ts.map │ │ │ │ ├── options.js │ │ │ │ ├── options.js.map │ │ │ │ ├── package.json │ │ │ │ ├── posix.d.ts │ │ │ │ ├── posix.d.ts.map │ │ │ │ ├── posix.js │ │ │ │ ├── posix.js.map │ │ │ │ ├── win32.d.ts │ │ │ │ ├── win32.d.ts.map │ │ │ │ ├── win32.js │ │ │ │ └── win32.js.map │ │ └── package.json │ ├── node-domexception │ │ ├── .history │ │ │ ├── README_20210527203617.md │ │ │ ├── README_20210527212714.md │ │ │ ├── README_20210527213345.md │ │ │ ├── README_20210527213411.md │ │ │ ├── README_20210527213803.md │ │ │ ├── README_20210527214323.md │ │ │ ├── README_20210527214408.md │ │ │ ├── index_20210527203842.js │ │ │ ├── index_20210527203947.js │ │ │ ├── index_20210527204259.js │ │ │ ├── index_20210527204418.js │ │ │ ├── index_20210527204756.js │ │ │ ├── index_20210527204833.js │ │ │ ├── index_20210527211208.js │ │ │ ├── index_20210527211248.js │ │ │ ├── index_20210527212722.js │ │ │ ├── index_20210527212731.js │ │ │ ├── index_20210527212746.js │ │ │ ├── index_20210527212900.js │ │ │ ├── index_20210527213022.js │ │ │ ├── index_20210527213822.js │ │ │ ├── index_20210527213843.js │ │ │ ├── index_20210527213852.js │ │ │ ├── index_20210527213910.js │ │ │ ├── index_20210527214034.js │ │ │ ├── index_20210527214643.js │ │ │ ├── index_20210527214654.js │ │ │ ├── index_20210527214700.js │ │ │ ├── package_20210527203733.json │ │ │ ├── package_20210527203825.json │ │ │ ├── package_20210527204621.json │ │ │ ├── package_20210527204913.json │ │ │ ├── package_20210527204925.json │ │ │ ├── package_20210527205145.json │ │ │ ├── package_20210527205156.json │ │ │ ├── test_20210527205603.js │ │ │ ├── test_20210527205957.js │ │ │ └── test_20210527210021.js │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ └── package.json │ ├── node-fetch │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── browser.js │ │ ├── lib │ │ │ ├── index.es.js │ │ │ ├── index.js │ │ │ └── index.mjs │ │ └── package.json │ ├── once │ │ ├── LICENSE │ │ ├── README.md │ │ ├── once.js │ │ └── package.json │ ├── tr46 │ │ ├── .npmignore │ │ ├── index.js │ │ ├── lib │ │ │ ├── .gitkeep │ │ │ └── mappingTable.json │ │ └── 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 │ ├── undici │ │ ├── LICENSE │ │ ├── README.md │ │ ├── docs │ │ │ ├── api │ │ │ │ ├── Agent.md │ │ │ │ ├── BalancedPool.md │ │ │ │ ├── CacheStorage.md │ │ │ │ ├── Client.md │ │ │ │ ├── Connector.md │ │ │ │ ├── ContentType.md │ │ │ │ ├── Cookies.md │ │ │ │ ├── DiagnosticsChannel.md │ │ │ │ ├── DispatchInterceptor.md │ │ │ │ ├── Dispatcher.md │ │ │ │ ├── Errors.md │ │ │ │ ├── Fetch.md │ │ │ │ ├── MockAgent.md │ │ │ │ ├── MockClient.md │ │ │ │ ├── MockErrors.md │ │ │ │ ├── MockPool.md │ │ │ │ ├── Pool.md │ │ │ │ ├── PoolStats.md │ │ │ │ ├── ProxyAgent.md │ │ │ │ ├── RetryHandler.md │ │ │ │ ├── WebSocket.md │ │ │ │ └── api-lifecycle.md │ │ │ ├── assets │ │ │ │ └── lifecycle-diagram.png │ │ │ └── best-practices │ │ │ │ ├── client-certificate.md │ │ │ │ ├── mocking-request.md │ │ │ │ ├── proxy.md │ │ │ │ └── writing-tests.md │ │ ├── index-fetch.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── lib │ │ │ ├── agent.js │ │ │ ├── api │ │ │ │ ├── abort-signal.js │ │ │ │ ├── api-connect.js │ │ │ │ ├── api-pipeline.js │ │ │ │ ├── api-request.js │ │ │ │ ├── api-stream.js │ │ │ │ ├── api-upgrade.js │ │ │ │ ├── index.js │ │ │ │ ├── readable.js │ │ │ │ └── util.js │ │ │ ├── balanced-pool.js │ │ │ ├── cache │ │ │ │ ├── cache.js │ │ │ │ ├── cachestorage.js │ │ │ │ ├── symbols.js │ │ │ │ └── util.js │ │ │ ├── client.js │ │ │ ├── compat │ │ │ │ └── dispatcher-weakref.js │ │ │ ├── cookies │ │ │ │ ├── constants.js │ │ │ │ ├── index.js │ │ │ │ ├── parse.js │ │ │ │ └── util.js │ │ │ ├── core │ │ │ │ ├── connect.js │ │ │ │ ├── constants.js │ │ │ │ ├── errors.js │ │ │ │ ├── request.js │ │ │ │ ├── symbols.js │ │ │ │ └── util.js │ │ │ ├── dispatcher-base.js │ │ │ ├── dispatcher.js │ │ │ ├── fetch │ │ │ │ ├── LICENSE │ │ │ │ ├── body.js │ │ │ │ ├── constants.js │ │ │ │ ├── dataURL.js │ │ │ │ ├── file.js │ │ │ │ ├── formdata.js │ │ │ │ ├── global.js │ │ │ │ ├── headers.js │ │ │ │ ├── index.js │ │ │ │ ├── request.js │ │ │ │ ├── response.js │ │ │ │ ├── symbols.js │ │ │ │ ├── util.js │ │ │ │ └── webidl.js │ │ │ ├── fileapi │ │ │ │ ├── encoding.js │ │ │ │ ├── filereader.js │ │ │ │ ├── progressevent.js │ │ │ │ ├── symbols.js │ │ │ │ └── util.js │ │ │ ├── global.js │ │ │ ├── handler │ │ │ │ ├── DecoratorHandler.js │ │ │ │ ├── RedirectHandler.js │ │ │ │ └── RetryHandler.js │ │ │ ├── interceptor │ │ │ │ └── redirectInterceptor.js │ │ │ ├── llhttp │ │ │ │ ├── constants.d.ts │ │ │ │ ├── constants.js │ │ │ │ ├── constants.js.map │ │ │ │ ├── llhttp-wasm.js │ │ │ │ ├── llhttp.wasm │ │ │ │ ├── llhttp_simd-wasm.js │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ ├── utils.d.ts │ │ │ │ ├── utils.js │ │ │ │ ├── utils.js.map │ │ │ │ └── wasm_build_env.txt │ │ │ ├── mock │ │ │ │ ├── mock-agent.js │ │ │ │ ├── mock-client.js │ │ │ │ ├── mock-errors.js │ │ │ │ ├── mock-interceptor.js │ │ │ │ ├── mock-pool.js │ │ │ │ ├── mock-symbols.js │ │ │ │ ├── mock-utils.js │ │ │ │ ├── pending-interceptors-formatter.js │ │ │ │ └── pluralizer.js │ │ │ ├── node │ │ │ │ └── fixed-queue.js │ │ │ ├── pool-base.js │ │ │ ├── pool-stats.js │ │ │ ├── pool.js │ │ │ ├── proxy-agent.js │ │ │ ├── timers.js │ │ │ └── websocket │ │ │ │ ├── connection.js │ │ │ │ ├── constants.js │ │ │ │ ├── events.js │ │ │ │ ├── frame.js │ │ │ │ ├── receiver.js │ │ │ │ ├── symbols.js │ │ │ │ ├── util.js │ │ │ │ └── websocket.js │ │ ├── package.json │ │ └── types │ │ │ ├── README.md │ │ │ ├── agent.d.ts │ │ │ ├── api.d.ts │ │ │ ├── balanced-pool.d.ts │ │ │ ├── cache.d.ts │ │ │ ├── client.d.ts │ │ │ ├── connector.d.ts │ │ │ ├── content-type.d.ts │ │ │ ├── cookies.d.ts │ │ │ ├── diagnostics-channel.d.ts │ │ │ ├── dispatcher.d.ts │ │ │ ├── errors.d.ts │ │ │ ├── fetch.d.ts │ │ │ ├── file.d.ts │ │ │ ├── filereader.d.ts │ │ │ ├── formdata.d.ts │ │ │ ├── global-dispatcher.d.ts │ │ │ ├── global-origin.d.ts │ │ │ ├── handlers.d.ts │ │ │ ├── header.d.ts │ │ │ ├── index.d.ts │ │ │ ├── interceptors.d.ts │ │ │ ├── mock-agent.d.ts │ │ │ ├── mock-client.d.ts │ │ │ ├── mock-errors.d.ts │ │ │ ├── mock-interceptor.d.ts │ │ │ ├── mock-pool.d.ts │ │ │ ├── patch.d.ts │ │ │ ├── pool-stats.d.ts │ │ │ ├── pool.d.ts │ │ │ ├── proxy-agent.d.ts │ │ │ ├── readable.d.ts │ │ │ ├── retry-handler.d.ts │ │ │ ├── webidl.d.ts │ │ │ └── websocket.d.ts │ ├── universal-user-agent │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-src │ │ │ └── index.js │ │ ├── dist-types │ │ │ └── index.d.ts │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ └── package.json │ ├── uuid │ │ ├── CHANGELOG.md │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── dist │ │ │ ├── bin │ │ │ │ └── uuid │ │ │ ├── esm-browser │ │ │ │ ├── index.js │ │ │ │ ├── md5.js │ │ │ │ ├── nil.js │ │ │ │ ├── parse.js │ │ │ │ ├── regex.js │ │ │ │ ├── rng.js │ │ │ │ ├── sha1.js │ │ │ │ ├── stringify.js │ │ │ │ ├── v1.js │ │ │ │ ├── v3.js │ │ │ │ ├── v35.js │ │ │ │ ├── v4.js │ │ │ │ ├── v5.js │ │ │ │ ├── validate.js │ │ │ │ └── version.js │ │ │ ├── esm-node │ │ │ │ ├── index.js │ │ │ │ ├── md5.js │ │ │ │ ├── nil.js │ │ │ │ ├── parse.js │ │ │ │ ├── regex.js │ │ │ │ ├── rng.js │ │ │ │ ├── sha1.js │ │ │ │ ├── stringify.js │ │ │ │ ├── v1.js │ │ │ │ ├── v3.js │ │ │ │ ├── v35.js │ │ │ │ ├── v4.js │ │ │ │ ├── v5.js │ │ │ │ ├── validate.js │ │ │ │ └── version.js │ │ │ ├── index.js │ │ │ ├── md5-browser.js │ │ │ ├── md5.js │ │ │ ├── nil.js │ │ │ ├── parse.js │ │ │ ├── regex.js │ │ │ ├── rng-browser.js │ │ │ ├── rng.js │ │ │ ├── sha1-browser.js │ │ │ ├── sha1.js │ │ │ ├── stringify.js │ │ │ ├── umd │ │ │ │ ├── uuid.min.js │ │ │ │ ├── uuidNIL.min.js │ │ │ │ ├── uuidParse.min.js │ │ │ │ ├── uuidStringify.min.js │ │ │ │ ├── uuidValidate.min.js │ │ │ │ ├── uuidVersion.min.js │ │ │ │ ├── uuidv1.min.js │ │ │ │ ├── uuidv3.min.js │ │ │ │ ├── uuidv4.min.js │ │ │ │ └── uuidv5.min.js │ │ │ ├── uuid-bin.js │ │ │ ├── v1.js │ │ │ ├── v3.js │ │ │ ├── v35.js │ │ │ ├── v4.js │ │ │ ├── v5.js │ │ │ ├── validate.js │ │ │ └── version.js │ │ ├── package.json │ │ └── wrapper.mjs │ ├── web-streams-polyfill │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ │ ├── polyfill.es2018.js │ │ │ ├── polyfill.es2018.js.map │ │ │ ├── polyfill.es2018.min.js │ │ │ ├── polyfill.es2018.min.js.map │ │ │ ├── polyfill.es2018.mjs │ │ │ ├── polyfill.es2018.mjs.map │ │ │ ├── polyfill.es6.js │ │ │ ├── polyfill.es6.js.map │ │ │ ├── polyfill.es6.min.js │ │ │ ├── polyfill.es6.min.js.map │ │ │ ├── polyfill.es6.mjs │ │ │ ├── polyfill.es6.mjs.map │ │ │ ├── polyfill.js │ │ │ ├── polyfill.js.map │ │ │ ├── polyfill.min.js │ │ │ ├── polyfill.min.js.map │ │ │ ├── polyfill.mjs │ │ │ ├── polyfill.mjs.map │ │ │ ├── ponyfill.es2018.js │ │ │ ├── ponyfill.es2018.js.map │ │ │ ├── ponyfill.es2018.mjs │ │ │ ├── ponyfill.es2018.mjs.map │ │ │ ├── ponyfill.es6.js │ │ │ ├── ponyfill.es6.js.map │ │ │ ├── ponyfill.es6.mjs │ │ │ ├── ponyfill.es6.mjs.map │ │ │ ├── ponyfill.js │ │ │ ├── ponyfill.js.map │ │ │ ├── ponyfill.mjs │ │ │ ├── ponyfill.mjs.map │ │ │ └── types │ │ │ │ ├── polyfill.d.ts │ │ │ │ ├── ts3.6 │ │ │ │ └── polyfill.d.ts │ │ │ │ └── tsdoc-metadata.json │ │ ├── es2018 │ │ │ └── package.json │ │ ├── es6 │ │ │ └── package.json │ │ ├── package.json │ │ └── ponyfill │ │ │ ├── es2018 │ │ │ └── package.json │ │ │ ├── es6 │ │ │ └── package.json │ │ │ └── package.json │ ├── webidl-conversions │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── lib │ │ │ └── index.js │ │ └── package.json │ ├── whatwg-url │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── lib │ │ │ ├── URL-impl.js │ │ │ ├── URL.js │ │ │ ├── public-api.js │ │ │ ├── url-state-machine.js │ │ │ └── utils.js │ │ └── package.json │ ├── which │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bin │ │ │ └── which.js │ │ ├── lib │ │ │ └── index.js │ │ └── package.json │ └── wrappy │ │ ├── LICENSE │ │ ├── README.md │ │ ├── package.json │ │ └── wrappy.js ├── package-lock.json ├── package.json ├── shim.js └── tests │ ├── README.md │ ├── always_exclude_node_modules │ ├── main.ts │ └── node_modules │ │ ├── import_bomb1 │ │ └── import_bomb2 │ ├── hello.ts │ ├── import_bomb1 │ ├── import_bomb2 │ ├── import_map.json │ └── include_exclude.ts ├── deno.jsonc ├── deno.lock ├── deployctl.ts ├── examples ├── README.md ├── fresh │ ├── README.md │ ├── components │ │ └── Button.tsx │ ├── deno.json │ ├── dev.ts │ ├── fresh.config.ts │ ├── fresh.gen.ts │ ├── islands │ │ └── Counter.tsx │ ├── main.ts │ ├── routes │ │ ├── _404.tsx │ │ ├── _app.tsx │ │ ├── api │ │ │ └── joke.ts │ │ ├── greet │ │ │ └── [name].tsx │ │ └── index.tsx │ ├── static │ │ ├── favicon.ico │ │ └── logo.svg │ └── twind.config.ts ├── hello-world │ ├── deno.json │ └── main.ts └── link-shortener │ ├── deno.json │ └── main.ts ├── src ├── args.ts ├── config_file.ts ├── config_inference.ts ├── error.ts ├── error_test.ts ├── subcommands │ ├── api.ts │ ├── deploy.ts │ ├── deployments.ts │ ├── logs.ts │ ├── logs_test.ts │ ├── projects.ts │ ├── top.ts │ └── upgrade.ts ├── utils │ ├── access_token.ts │ ├── api.ts │ ├── api_types.ts │ ├── crons.ts │ ├── entrypoint.ts │ ├── env_vars.ts │ ├── hashing_encoding.ts │ ├── info.ts │ ├── manifest.ts │ ├── manifest_test.ts │ ├── manifest_testdata │ │ ├── complex │ │ │ ├── a.txt │ │ │ ├── inner1 │ │ │ │ └── b.txt │ │ │ └── inner2 │ │ │ │ └── b.txt │ │ ├── single_file │ │ │ └── a.txt │ │ └── two_levels │ │ │ ├── a.txt │ │ │ └── inner │ │ │ └── b.txt │ ├── mod.ts │ ├── organization.ts │ ├── spinner.ts │ ├── time.ts │ ├── time_test.ts │ ├── token_storage.ts │ └── token_storage │ │ ├── darwin.ts │ │ ├── fs.ts │ │ └── memory.ts └── version.ts ├── tests ├── config_file_test │ ├── config.json │ ├── config_file_test.ts │ └── config_with_include.json ├── env_vars_test │ ├── .another-env │ ├── .env │ ├── .overlapping-env │ └── env_vars_test.ts ├── help_test.ts └── utils.ts └── tools ├── bundle.ts └── version_match.ts /.github/workflows/on-release.yml: -------------------------------------------------------------------------------- 1 | name: Check on release 2 | 3 | on: 4 | release: 5 | types: [created] 6 | 7 | jobs: 8 | check-on-release: 9 | runs-on: [ubuntu-latest] 10 | 11 | steps: 12 | - name: Setup repo 13 | uses: actions/checkout@v3 14 | 15 | - name: Setup Deno 16 | uses: denoland/setup-deno@v1 17 | 18 | - name: check version match 19 | run: deno task version-match 20 | env: 21 | RELEASE_TAG: ${{ github.event.release.tag_name }} 22 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: Publish 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | publish: 10 | runs-on: ubuntu-latest 11 | permissions: 12 | contents: read 13 | id-token: write # The OIDC ID token is used for authentication with JSR. 14 | steps: 15 | - uses: actions/checkout@v4 16 | - run: npx jsr publish 17 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "deno.enable": true, 3 | "deno.lint": true, 4 | "[javascript]": { 5 | "editor.defaultFormatter": "denoland.vscode-deno" 6 | }, 7 | "[javascriptreact]": { 8 | "editor.defaultFormatter": "denoland.vscode-deno" 9 | }, 10 | "[typescript]": { 11 | "editor.defaultFormatter": "denoland.vscode-deno" 12 | }, 13 | "[typescriptreact]": { 14 | "editor.defaultFormatter": "denoland.vscode-deno" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /action/node_modules/.bin/node-which: -------------------------------------------------------------------------------- 1 | ../which/bin/which.js -------------------------------------------------------------------------------- /action/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | ../uuid/dist/bin/uuid -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 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: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueFileCommand(command: string, message: any): void; 2 | export declare function prepareKeyValueMessage(key: string, value: any): string; 3 | -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/path-utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /action/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /action/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 | job: string; 14 | runNumber: number; 15 | runId: number; 16 | apiUrl: string; 17 | serverUrl: string; 18 | graphqlUrl: string; 19 | /** 20 | * Hydrate the context from the environment 21 | */ 22 | constructor(); 23 | get issue(): { 24 | owner: string; 25 | repo: string; 26 | number: number; 27 | }; 28 | get repo(): { 29 | owner: string; 30 | repo: string; 31 | }; 32 | } 33 | -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/github.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { GitHub } from './utils'; 3 | import { OctokitOptions, OctokitPlugin } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | /** 6 | * Returns a hydrated octokit ready to use for GitHub Actions 7 | * 8 | * @param token the repo PAT or GITHUB_TOKEN 9 | * @param options other options to set 10 | */ 11 | export declare function getOctokit(token: string, options?: OctokitOptions, ...additionalPlugins: OctokitPlugin[]): InstanceType; 12 | -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/github.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB,EACxB,GAAG,iBAAkC;IAErC,MAAM,iBAAiB,GAAG,cAAM,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAC7D,OAAO,IAAI,iBAAiB,CAAC,yBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,CAAC;AAPD,gCAOC"} -------------------------------------------------------------------------------- /action/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 | comment?: { 37 | id: number; 38 | [key: string]: any; 39 | }; 40 | } 41 | -------------------------------------------------------------------------------- /action/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 -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/internal/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as http from 'http'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; 5 | export declare function getProxyAgent(destinationUrl: string): http.Agent; 6 | export declare function getApiBaseUrl(): string; 7 | -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/internal/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/internal/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAAkD;AAGlD,SAAgB,aAAa,CAC3B,KAAa,EACb,OAAuB;IAEvB,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAA;KAC5D;SAAM,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,EAAE;QAChC,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAA;KAC5E;IAED,OAAO,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,KAAK,EAAE,CAAA;AAC3E,CAAC;AAXD,sCAWC;AAED,SAAgB,aAAa,CAAC,cAAsB;IAClD,MAAM,EAAE,GAAG,IAAI,UAAU,CAAC,UAAU,EAAE,CAAA;IACtC,OAAO,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAA;AACpC,CAAC;AAHD,sCAGC;AAED,SAAgB,aAAa;IAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wBAAwB,CAAA;AAClE,CAAC;AAFD,sCAEC"} -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { Octokit } from '@octokit/core'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | export declare const defaults: OctokitOptions; 6 | export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor; 9 | /** 10 | * Convience function to correctly format Octokit Options to pass into the constructor. 11 | * 12 | * @param token the repo PAT or GITHUB_TOKEN 13 | * @param options other options to set 14 | */ 15 | export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; 16 | -------------------------------------------------------------------------------- /action/node_modules/@actions/github/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACxB,QAAA,QAAQ,GAAmB;IACtC,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,gBAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} -------------------------------------------------------------------------------- /action/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /action/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /action/node_modules/@actions/http-client/lib/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/README.md: -------------------------------------------------------------------------------- 1 | # @deno/shim-deno-test 2 | 3 | Subset of [@deno/shim-deno](https://www.npmjs.com/package/@deno/shim-deno) for 4 | only `Deno.test`. 5 | 6 | ```ts 7 | import { Deno, test, testDefinitions } from "@deno/shim-deno-test"; 8 | 9 | Deno.test("some test", () => { 10 | // test here 11 | }); 12 | 13 | // or 14 | test("some other test", () => { 15 | // test here 16 | }); 17 | 18 | // read from testDefinitions here 19 | testDefinitions.length === 2; 20 | ``` 21 | 22 | ## Note - Not a Test Runner 23 | 24 | This shim is not a test runner. It simply collects tests into the 25 | `testDefinitions` array. The idea is that you run a module that does `Deno.test` 26 | calls and then you splice out the test definitions from `testDefinitions` (ex. 27 | `const definitions = testDefinitions.splice(0, testDefinitions.length)`) and 28 | provide those to a test runner. 29 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/dist/definitions.d.ts: -------------------------------------------------------------------------------- 1 | import type { TestDefinition } from "./deno.types.gen.js"; 2 | /** Reference to the array that `Deno.test` calls insert their definition into. */ 3 | export declare const testDefinitions: TestDefinition[]; 4 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/dist/definitions.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.testDefinitions = void 0; 4 | /** Reference to the array that `Deno.test` calls insert their definition into. */ 5 | exports.testDefinitions = []; 6 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/dist/deno.types.gen.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | export * as Deno from "./test.js"; 2 | export * from "./test.js"; 3 | export { testDefinitions } from "./definitions.js"; 4 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/dist/test.d.ts: -------------------------------------------------------------------------------- 1 | import * as Deno from "./deno.types.gen.js"; 2 | export type { TestContext, TestDefinition, TestStepDefinition, } from "./deno.types.gen.js"; 3 | export declare const test: typeof Deno.test; 4 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@deno/shim-deno-test", 3 | "version": "0.5.0", 4 | "description": "Deno.test only shim.", 5 | "main": "dist/index.js", 6 | "types": "dist/index.d.ts", 7 | "scripts": { 8 | "build": "npm run generate-deno-types && tsc", 9 | "generate-deno-types": "deno run --allow-read --allow-write=. ./scripts/generateDenoTypes.ts", 10 | "test": "echo 'tested by shim-deno package.'" 11 | }, 12 | "files": [ 13 | "dist" 14 | ], 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/denoland/node_deno_shims.git" 18 | }, 19 | "keywords": [ 20 | "shim", 21 | "deno", 22 | "test", 23 | "node.js" 24 | ], 25 | "author": "The Deno authors", 26 | "license": "MIT", 27 | "bugs": { 28 | "url": "https://github.com/denoland/node_deno_shims/issues" 29 | }, 30 | "homepage": "https://github.com/denoland/node_deno_shims#readme", 31 | "devDependencies": { 32 | "typescript": "^5.2.2" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno/dist/test-internals.cjs: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.testDefinitions = void 0; 4 | var shim_deno_test_1 = require("@deno/shim-deno-test"); 5 | Object.defineProperty(exports, "testDefinitions", { enumerable: true, get: function () { return shim_deno_test_1.testDefinitions; } }); 6 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno/dist/test-internals.d.cts: -------------------------------------------------------------------------------- 1 | export { testDefinitions } from "@deno/shim-deno-test"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno/dist/test-internals.d.mts: -------------------------------------------------------------------------------- 1 | export { testDefinitions } from "@deno/shim-deno-test"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@deno/shim-deno/dist/test-internals.mjs: -------------------------------------------------------------------------------- 1 | export { testDefinitions } from "@deno/shim-deno-test"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const inherits = require('node:util').inherits 4 | const ReadableStream = require('node:stream').Readable 5 | 6 | function PartStream (opts) { 7 | ReadableStream.call(this, opts) 8 | } 9 | inherits(PartStream, ReadableStream) 10 | 11 | PartStream.prototype._read = function (n) {} 12 | 13 | module.exports = PartStream 14 | -------------------------------------------------------------------------------- /action/node_modules/@fastify/busboy/lib/utils/basename.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function basename (path) { 4 | if (typeof path !== 'string') { return '' } 5 | for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var 6 | switch (path.charCodeAt(i)) { 7 | case 0x2F: // '/' 8 | case 0x5C: // '\' 9 | path = path.slice(i + 1) 10 | return (path === '..' || path === '.' ? '' : path) 11 | } 12 | } 13 | return (path === '..' || path === '.' ? '' : path) 14 | } 15 | -------------------------------------------------------------------------------- /action/node_modules/@fastify/busboy/lib/utils/getLimit.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function getLimit (limits, name, defaultLimit) { 4 | if ( 5 | !limits || 6 | limits[name] === undefined || 7 | limits[name] === null 8 | ) { return defaultLimit } 9 | 10 | if ( 11 | typeof limits[name] !== 'number' || 12 | isNaN(limits[name]) 13 | ) { throw new TypeError('Limit ' + name + ' is not a valid number') } 14 | 15 | return limits[name] 16 | } 17 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/auth-token/dist-src/auth.js: -------------------------------------------------------------------------------- 1 | const REGEX_IS_INSTALLATION_LEGACY = /^v1\./; 2 | const REGEX_IS_INSTALLATION = /^ghs_/; 3 | const REGEX_IS_USER_TO_SERVER = /^ghu_/; 4 | export async function auth(token) { 5 | const isApp = token.split(/\./).length === 3; 6 | const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || 7 | REGEX_IS_INSTALLATION.test(token); 8 | const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); 9 | const tokenType = isApp 10 | ? "app" 11 | : isInstallation 12 | ? "installation" 13 | : isUserToServer 14 | ? "user-to-server" 15 | : "oauth"; 16 | return { 17 | type: "token", 18 | token: token, 19 | tokenType, 20 | }; 21 | } 22 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/auth-token/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/core/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "3.6.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "3.6.0"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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=" + parameters.q.split("+").map(encodeURIComponent).join("+")); 13 | } 14 | return `${name}=${encodeURIComponent(parameters[name])}`; 15 | }) 16 | .join("&")); 17 | } 18 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js: -------------------------------------------------------------------------------- 1 | export function removeUndefinedProperties(obj) { 2 | for (const key in obj) { 3 | if (obj[key] === undefined) { 4 | delete obj[key]; 5 | } 6 | } 7 | return obj; 8 | } 9 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "6.0.12"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts: -------------------------------------------------------------------------------- 1 | export declare function removeUndefinedProperties(obj: any): any; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "6.0.12"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/graphql/dist-src/error.js: -------------------------------------------------------------------------------- 1 | function _buildMessageForResponseErrors(data) { 2 | return (`Request failed due to following response errors:\n` + 3 | data.errors.map((e) => ` - ${e.message}`).join("\n")); 4 | } 5 | export class GraphqlResponseError extends Error { 6 | constructor(request, headers, response) { 7 | super(_buildMessageForResponseErrors(response)); 8 | this.request = request; 9 | this.headers = headers; 10 | this.response = response; 11 | this.name = "GraphqlResponseError"; 12 | // Expose the errors and response data in their shorthand properties. 13 | this.errors = response.errors; 14 | this.data = response.data; 15 | // Maintains proper stack trace (only available on V8) 16 | /* istanbul ignore next */ 17 | if (Error.captureStackTrace) { 18 | Error.captureStackTrace(this, this.constructor); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /action/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 { GraphqlResponseError } from "./error"; 13 | export function withCustomRequest(customRequest) { 14 | return withDefaults(customRequest, { 15 | method: "POST", 16 | url: "/graphql", 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/graphql/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "4.8.0"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "@octokit/types"; 2 | import { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; 3 | declare type ServerResponseData = Required>; 4 | export declare class GraphqlResponseError extends Error { 5 | readonly request: GraphQlEndpointOptions; 6 | readonly headers: ResponseHeaders; 7 | readonly response: ServerResponseData; 8 | name: string; 9 | readonly errors: GraphQlQueryResponse["errors"]; 10 | readonly data: ResponseData; 11 | constructor(request: GraphQlEndpointOptions, headers: ResponseHeaders, response: ServerResponseData); 12 | } 13 | export {}; 14 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 { GraphQlQueryResponseData } from "./types"; 4 | export { GraphqlResponseError } from "./error"; 5 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 6 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "4.8.0"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/openapi-types/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2020 Gregor Martynus 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /action/node_modules/@octokit/openapi-types/README.md: -------------------------------------------------------------------------------- 1 | # @octokit/openapi-types 2 | 3 | > Generated TypeScript definitions based on GitHub's OpenAPI spec 4 | 5 | This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/) 6 | 7 | ## Usage 8 | 9 | ```ts 10 | import { components } from "@octokit/openapi-types"; 11 | 12 | type Repository = components["schemas"]["full-repository"]; 13 | ``` 14 | 15 | ## License 16 | 17 | [MIT](LICENSE) 18 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/openapi-types/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@octokit/openapi-types", 3 | "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/octokit/openapi-types.ts.git", 7 | "directory": "packages/openapi-types" 8 | }, 9 | "publishConfig": { 10 | "access": "public" 11 | }, 12 | "version": "11.2.0", 13 | "main": "", 14 | "types": "types.d.ts", 15 | "author": "Gregor Martynus (https://twitter.com/gr2m)", 16 | "license": "MIT", 17 | "octokit": { 18 | "openapi-version": "5.9.0" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js: -------------------------------------------------------------------------------- 1 | import { paginate } from "./paginate"; 2 | import { iterator } from "./iterator"; 3 | export const composePaginateRest = Object.assign(paginate, { 4 | iterator, 5 | }); 6 | -------------------------------------------------------------------------------- /action/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 | export { composePaginateRest } from "./compose-paginate"; 5 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; 6 | /** 7 | * @param octokit Octokit instance 8 | * @param options Options passed to Octokit constructor 9 | */ 10 | export function paginateRest(octokit) { 11 | return { 12 | paginate: Object.assign(paginate.bind(null, octokit), { 13 | iterator: iterator.bind(null, octokit), 14 | }), 15 | }; 16 | } 17 | paginateRest.VERSION = VERSION; 18 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | import { paginatingEndpoints, } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export function isPaginatingEndpoint(arg) { 4 | if (typeof arg === "string") { 5 | return paginatingEndpoints.includes(arg); 6 | } 7 | else { 8 | return false; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "2.17.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { ComposePaginateInterface } from "./types"; 2 | export declare const composePaginateRest: ComposePaginateInterface; 3 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { PaginateInterface } from "./types"; 3 | export { PaginateInterface } from "./types"; 4 | export { PaginatingEndpoints } from "./types"; 5 | export { composePaginateRest } from "./compose-paginate"; 6 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; 7 | /** 8 | * @param octokit Octokit instance 9 | * @param options Options passed to Octokit constructor 10 | */ 11 | export declare function paginateRest(octokit: Octokit): { 12 | paginate: PaginateInterface; 13 | }; 14 | export declare namespace paginateRest { 15 | var VERSION: string; 16 | } 17 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { RequestInterface, RequestParameters, Route } from "./types"; 3 | export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { 4 | [Symbol.asyncIterator]: () => { 5 | next(): Promise<{ 6 | done: boolean; 7 | value?: undefined; 8 | } | { 9 | value: import("@octokit/types/dist-types/OctokitResponse").OctokitResponse; 10 | done?: undefined; 11 | } | { 12 | value: { 13 | status: number; 14 | headers: {}; 15 | data: never[]; 16 | }; 17 | done?: undefined; 18 | }>; 19 | }; 20 | }; 21 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise>; 4 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { PaginatingEndpoints } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; 4 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "2.17.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import ENDPOINTS from "./generated/endpoints"; 2 | import { VERSION } from "./version"; 3 | import { endpointsToMethods } from "./endpoints-to-methods"; 4 | export function restEndpointMethods(octokit) { 5 | const api = endpointsToMethods(octokit, ENDPOINTS); 6 | return { 7 | rest: api, 8 | }; 9 | } 10 | restEndpointMethods.VERSION = VERSION; 11 | export function legacyRestEndpointMethods(octokit) { 12 | const api = endpointsToMethods(octokit, ENDPOINTS); 13 | return { 14 | ...api, 15 | rest: api, 16 | }; 17 | } 18 | legacyRestEndpointMethods.VERSION = VERSION; 19 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.13.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | import { EndpointsDefaultsAndDecorations } from "./types"; 3 | import { RestEndpointMethods } from "./generated/method-types"; 4 | export declare function endpointsToMethods(octokit: Octokit, endpointsMap: EndpointsDefaultsAndDecorations): RestEndpointMethods; 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { EndpointsDefaultsAndDecorations } from "../types"; 2 | declare const Endpoints: EndpointsDefaultsAndDecorations; 3 | export default Endpoints; 4 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Octokit } from "@octokit/core"; 2 | export { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; 3 | import { Api } from "./types"; 4 | export declare function restEndpointMethods(octokit: Octokit): Api; 5 | export declare namespace restEndpointMethods { 6 | var VERSION: string; 7 | } 8 | export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api; 9 | export declare namespace legacyRestEndpointMethods { 10 | var VERSION: string; 11 | } 12 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { Route, RequestParameters } from "@octokit/types"; 2 | import { RestEndpointMethods } from "./generated/method-types"; 3 | export declare type Api = { 4 | rest: RestEndpointMethods; 5 | }; 6 | export declare type EndpointDecorations = { 7 | mapToData?: string; 8 | deprecated?: string; 9 | renamed?: [string, string]; 10 | renamedParameters?: { 11 | [name: string]: string; 12 | }; 13 | }; 14 | export declare type EndpointsDefaultsAndDecorations = { 15 | [scope: string]: { 16 | [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; 17 | }; 18 | }; 19 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.13.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request-error/dist-src/types.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; 2 | export declare type RequestErrorOptions = { 3 | /** @deprecated set `response` instead */ 4 | headers?: ResponseHeaders; 5 | request: RequestOptions; 6 | } | { 7 | response: OctokitResponse; 8 | request: RequestOptions; 9 | }; 10 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "5.6.3"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import fetchWrapper from "./fetch-wrapper"; 2 | export default function withDefaults(oldEndpoint, newDefaults) { 3 | const endpoint = oldEndpoint.defaults(newDefaults); 4 | const newApi = function (route, parameters) { 5 | const endpointOptions = endpoint.merge(route, parameters); 6 | if (!endpointOptions.request || !endpointOptions.request.hook) { 7 | return fetchWrapper(endpoint.parse(endpointOptions)); 8 | } 9 | const request = (route, parameters) => { 10 | return fetchWrapper(endpoint.parse(endpoint.merge(route, parameters))); 11 | }; 12 | Object.assign(request, { 13 | endpoint, 14 | defaults: withDefaults.bind(null, endpoint), 15 | }); 16 | return endpointOptions.request.hook(request, endpointOptions); 17 | }; 18 | return Object.assign(newApi, { 19 | endpoint, 20 | defaults: withDefaults.bind(null, endpoint), 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /action/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?: "error" | "follow" | "manual"; 4 | }): Promise<{ 5 | status: number; 6 | url: string; 7 | headers: { 8 | [header: string]: string; 9 | }; 10 | data: any; 11 | }>; 12 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.6.3"; 2 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | const VERSION = "6.34.0"; 6 | 7 | exports.VERSION = VERSION; 8 | //# sourceMappingURL=index.js.map 9 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":["VERSION"],"mappings":";;;;MAAaA,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/AuthInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/EndpointDefaults.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/EndpointInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/EndpointOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/Fetch.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/GetResponseTypeFromEndpointMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/OctokitResponse.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestError.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestMethod.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestParameters.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/RequestRequestOptions.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/ResponseHeaders.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/Route.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/Signal.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/StrategyInterface.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/Url.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/VERSION.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "6.34.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/generated/Endpoints.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-src/index.js: -------------------------------------------------------------------------------- 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 "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | import { Url } from "./Url"; 5 | /** 6 | * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters 7 | * as well as the method property. 8 | */ 9 | export declare type EndpointDefaults = RequestParameters & { 10 | baseUrl: Url; 11 | method: RequestMethod; 12 | url?: Url; 13 | headers: RequestHeaders & { 14 | accept: string; 15 | "user-agent": string; 16 | }; 17 | mediaType: { 18 | format: string; 19 | previews: string[]; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestMethod } from "./RequestMethod"; 2 | import { Url } from "./Url"; 3 | import { RequestParameters } from "./RequestParameters"; 4 | export declare type EndpointOptions = RequestParameters & { 5 | method: RequestMethod; 6 | url: Url; 7 | }; 8 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/Fetch.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export declare type Fetch = any; 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts: -------------------------------------------------------------------------------- 1 | declare type Unwrap = T extends Promise ? U : T; 2 | declare type AnyFunction = (...args: any[]) => any; 3 | export declare type GetResponseTypeFromEndpointMethod = Unwrap>; 4 | export declare type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; 5 | export {}; 6 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts: -------------------------------------------------------------------------------- 1 | import { ResponseHeaders } from "./ResponseHeaders"; 2 | import { Url } from "./Url"; 3 | export declare type OctokitResponse = { 4 | headers: ResponseHeaders; 5 | /** 6 | * http response code 7 | */ 8 | status: S; 9 | /** 10 | * URL of response after all redirects 11 | */ 12 | url: Url; 13 | /** 14 | * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference 15 | */ 16 | data: T; 17 | }; 18 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/RequestError.d.ts: -------------------------------------------------------------------------------- 1 | export declare type RequestError = { 2 | name: string; 3 | status: number; 4 | documentation_url: string; 5 | errors?: Array<{ 6 | resource: string; 7 | code: string; 8 | field: string; 9 | message?: string; 10 | }>; 11 | }; 12 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare 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 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/RequestMethod.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export declare type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/RequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import { RequestHeaders } from "./RequestHeaders"; 2 | import { RequestMethod } from "./RequestMethod"; 3 | import { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import { Url } from "./Url"; 5 | /** 6 | * Generic request options as they are returned by the `endpoint()` method 7 | */ 8 | export declare type RequestOptions = { 9 | method: RequestMethod; 10 | url: Url; 11 | headers: RequestHeaders; 12 | body?: any; 13 | request?: RequestRequestOptions; 14 | }; 15 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export declare 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 | [header: string]: string | number | undefined; 20 | }; 21 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/Route.d.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 declare type Route = string; 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/Signal.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export declare type Signal = any; 7 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts: -------------------------------------------------------------------------------- 1 | import { AuthInterface } from "./AuthInterface"; 2 | export interface StrategyInterface { 3 | (...args: StrategyOptions): AuthInterface; 4 | } 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/Url.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/{org}'`, `https://example.com/foo/bar` 3 | */ 4 | export declare type Url = string; 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "6.34.0"; 2 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-types/index.d.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 "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-web/index.js: -------------------------------------------------------------------------------- 1 | const VERSION = "6.34.0"; 2 | 3 | export { VERSION }; 4 | //# sourceMappingURL=index.js.map 5 | -------------------------------------------------------------------------------- /action/node_modules/@octokit/types/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/VERSION.js"],"sourcesContent":["export const VERSION = \"0.0.0-development\";\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"} -------------------------------------------------------------------------------- /action/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().then(function () { 19 | if (!state.registry[name]) { 20 | return method(options); 21 | } 22 | 23 | return state.registry[name].reduce(function (method, registered) { 24 | return registered.hook.bind(null, method, options); 25 | }, method)(); 26 | }); 27 | } 28 | -------------------------------------------------------------------------------- /action/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) { 10 | return registered.orig; 11 | }) 12 | .indexOf(method); 13 | 14 | if (index === -1) { 15 | return; 16 | } 17 | 18 | state.registry[name].splice(index, 1); 19 | } 20 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | } -------------------------------------------------------------------------------- /action/node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/deprecation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "deprecation", 3 | "description": "Log a deprecation message with stack", 4 | "version": "2.3.1", 5 | "license": "ISC", 6 | "files": [ 7 | "dist-*/", 8 | "bin/" 9 | ], 10 | "esnext": "dist-src/index.js", 11 | "main": "dist-node/index.js", 12 | "module": "dist-web/index.js", 13 | "types": "dist-types/index.d.ts", 14 | "pika": true, 15 | "sideEffects": false, 16 | "keywords": [ 17 | "deprecate", 18 | "deprecated", 19 | "deprecation" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "https://github.com/gr2m/deprecation.git" 24 | }, 25 | "dependencies": {}, 26 | "devDependencies": { 27 | "@pika/pack": "^0.3.7", 28 | "@pika/plugin-build-node": "^0.4.0", 29 | "@pika/plugin-build-types": "^0.4.0", 30 | "@pika/plugin-build-web": "^0.4.0", 31 | "@pika/plugin-standard-pkg": "^0.4.0", 32 | "semantic-release": "^15.13.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /action/node_modules/fetch-blob/file.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {typeof globalThis.File} */ export const File: typeof globalThis.File; 2 | export default File; 3 | -------------------------------------------------------------------------------- /action/node_modules/fetch-blob/from.d.ts: -------------------------------------------------------------------------------- 1 | export default blobFromSync; 2 | /** 3 | * @param {string} path filepath on the disk 4 | * @param {string} [type] mimetype to use 5 | */ 6 | export function blobFromSync(path: string, type?: string): Blob; 7 | import File from "./file.js"; 8 | import Blob from "./index.js"; 9 | /** 10 | * @param {string} path filepath on the disk 11 | * @param {string} [type] mimetype to use 12 | * @returns {Promise} 13 | */ 14 | export function blobFrom(path: string, type?: string): Promise; 15 | /** 16 | * @param {string} path filepath on the disk 17 | * @param {string} [type] mimetype to use 18 | * @returns {Promise} 19 | */ 20 | export function fileFrom(path: string, type?: string): Promise; 21 | /** 22 | * @param {string} path filepath on the disk 23 | * @param {string} [type] mimetype to use 24 | */ 25 | export function fileFromSync(path: string, type?: string): File; 26 | export { File, Blob }; 27 | -------------------------------------------------------------------------------- /action/node_modules/fetch-blob/index.d.ts: -------------------------------------------------------------------------------- 1 | /** @type {typeof globalThis.Blob} */ 2 | export const Blob: typeof globalThis.Blob; 3 | export default Blob; 4 | -------------------------------------------------------------------------------- /action/node_modules/formdata-polyfill/esm.min.d.ts: -------------------------------------------------------------------------------- 1 | export declare const FormData: { 2 | new (): FormData; 3 | prototype: FormData; 4 | }; 5 | export declare function formDataToBlob(formData: FormData): Blob; 6 | -------------------------------------------------------------------------------- /action/node_modules/is-plain-object/dist/is-plain-object.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | /*! 6 | * is-plain-object 7 | * 8 | * Copyright (c) 2014-2017, Jon Schlinkert. 9 | * Released under the MIT License. 10 | */ 11 | 12 | function isObject(o) { 13 | return Object.prototype.toString.call(o) === '[object Object]'; 14 | } 15 | 16 | function isPlainObject(o) { 17 | var ctor,prot; 18 | 19 | if (isObject(o) === false) return false; 20 | 21 | // If has modified constructor 22 | ctor = o.constructor; 23 | if (ctor === undefined) return true; 24 | 25 | // If has modified prototype 26 | prot = ctor.prototype; 27 | if (isObject(prot) === false) return false; 28 | 29 | // If constructor does not have an Object-specific method 30 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 31 | return false; 32 | } 33 | 34 | // Most likely a plain Object 35 | return true; 36 | } 37 | 38 | exports.isPlainObject = isPlainObject; 39 | -------------------------------------------------------------------------------- /action/node_modules/is-plain-object/dist/is-plain-object.mjs: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-plain-object 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | function isObject(o) { 9 | return Object.prototype.toString.call(o) === '[object Object]'; 10 | } 11 | 12 | function isPlainObject(o) { 13 | var ctor,prot; 14 | 15 | if (isObject(o) === false) return false; 16 | 17 | // If has modified constructor 18 | ctor = o.constructor; 19 | if (ctor === undefined) return true; 20 | 21 | // If has modified prototype 22 | prot = ctor.prototype; 23 | if (isObject(prot) === false) return false; 24 | 25 | // If constructor does not have an Object-specific method 26 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 27 | return false; 28 | } 29 | 30 | // Most likely a plain Object 31 | return true; 32 | } 33 | 34 | export { isPlainObject }; 35 | -------------------------------------------------------------------------------- /action/node_modules/is-plain-object/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export function isPlainObject(o: any): boolean; 2 | -------------------------------------------------------------------------------- /action/node_modules/isexe/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) 2016-2022 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 | -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as posix from './posix.js'; 2 | import * as win32 from './win32.js'; 3 | export * from './options.js'; 4 | export { win32, posix }; 5 | /** 6 | * Determine whether a path is executable on the current platform. 7 | */ 8 | export declare const isexe: (path: string, options?: import("./options.js").IsexeOptions) => Promise; 9 | /** 10 | * Synchronously determine whether a path is executable on the 11 | * current platform. 12 | */ 13 | export declare const sync: (path: string, options?: import("./options.js").IsexeOptions) => boolean; 14 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAKvB;;GAEG;AACH,eAAO,MAAM,KAAK,mFAAa,CAAA;AAC/B;;;GAGG;AACH,eAAO,MAAM,IAAI,0EAAY,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAmC;AAGnB,sBAAK;AAFrB,kDAAmC;AAE1B,sBAAK;AADd,+CAA4B;AAG5B,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,OAAO,CAAC,QAAQ,CAAA;AACtE,MAAM,IAAI,GAAG,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;AAEjD;;GAEG;AACU,QAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;AAC/B;;;GAGG;AACU,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,CAAA","sourcesContent":["import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n"]} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/options.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/options.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=options.js.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"","sourcesContent":["export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n"]} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/posix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the Posix implementation of isexe, which uses the file 3 | * mode and uid/gid values. 4 | * 5 | * @module 6 | */ 7 | import { IsexeOptions } from './options'; 8 | /** 9 | * Determine whether a path is executable according to the mode and 10 | * current (or specified) user and group IDs. 11 | */ 12 | export declare const isexe: (path: string, options?: IsexeOptions) => Promise; 13 | /** 14 | * Synchronously determine whether a path is executable according to 15 | * the mode and current (or specified) user and group IDs. 16 | */ 17 | export declare const sync: (path: string, options?: IsexeOptions) => boolean; 18 | //# sourceMappingURL=posix.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/posix.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"posix.d.ts","sourceRoot":"","sources":["../../src/posix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,KAAK,SACV,MAAM,YACH,YAAY,KACpB,QAAQ,OAAO,CASjB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,SACT,MAAM,YACH,YAAY,KACpB,OASF,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/win32.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the Windows implementation of isexe, which uses the file 3 | * extension and PATHEXT setting. 4 | * 5 | * @module 6 | */ 7 | import { IsexeOptions } from './options'; 8 | /** 9 | * Determine whether a path is executable based on the file extension 10 | * and PATHEXT environment variable (or specified pathExt option) 11 | */ 12 | export declare const isexe: (path: string, options?: IsexeOptions) => Promise; 13 | /** 14 | * Synchronously determine whether a path is executable based on the file 15 | * extension and PATHEXT environment variable (or specified pathExt option) 16 | */ 17 | export declare const sync: (path: string, options?: IsexeOptions) => boolean; 18 | //# sourceMappingURL=win32.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/cjs/win32.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"win32.d.ts","sourceRoot":"","sources":["../../src/win32.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,KAAK,SACV,MAAM,YACH,YAAY,KACpB,QAAQ,OAAO,CASjB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,SACT,MAAM,YACH,YAAY,KACpB,OASF,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/index.d.ts: -------------------------------------------------------------------------------- 1 | import * as posix from './posix.js'; 2 | import * as win32 from './win32.js'; 3 | export * from './options.js'; 4 | export { win32, posix }; 5 | /** 6 | * Determine whether a path is executable on the current platform. 7 | */ 8 | export declare const isexe: (path: string, options?: import("./options.js").IsexeOptions) => Promise; 9 | /** 10 | * Synchronously determine whether a path is executable on the 11 | * current platform. 12 | */ 13 | export declare const sync: (path: string, options?: import("./options.js").IsexeOptions) => boolean; 14 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAKvB;;GAEG;AACH,eAAO,MAAM,KAAK,mFAAa,CAAA;AAC/B;;;GAGG;AACH,eAAO,MAAM,IAAI,0EAAY,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/index.js: -------------------------------------------------------------------------------- 1 | import * as posix from './posix.js'; 2 | import * as win32 from './win32.js'; 3 | export * from './options.js'; 4 | export { win32, posix }; 5 | const platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform; 6 | const impl = platform === 'win32' ? win32 : posix; 7 | /** 8 | * Determine whether a path is executable on the current platform. 9 | */ 10 | export const isexe = impl.isexe; 11 | /** 12 | * Synchronously determine whether a path is executable on the 13 | * current platform. 14 | */ 15 | export const sync = impl.sync; 16 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAEvB,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,OAAO,CAAC,QAAQ,CAAA;AACtE,MAAM,IAAI,GAAG,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;AAEjD;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;AAC/B;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAA","sourcesContent":["import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n"]} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/options.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/options.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=options.js.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/options.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"","sourcesContent":["export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n"]} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module" 3 | } 4 | -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/posix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the Posix implementation of isexe, which uses the file 3 | * mode and uid/gid values. 4 | * 5 | * @module 6 | */ 7 | import { IsexeOptions } from './options'; 8 | /** 9 | * Determine whether a path is executable according to the mode and 10 | * current (or specified) user and group IDs. 11 | */ 12 | export declare const isexe: (path: string, options?: IsexeOptions) => Promise; 13 | /** 14 | * Synchronously determine whether a path is executable according to 15 | * the mode and current (or specified) user and group IDs. 16 | */ 17 | export declare const sync: (path: string, options?: IsexeOptions) => boolean; 18 | //# sourceMappingURL=posix.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/posix.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"posix.d.ts","sourceRoot":"","sources":["../../src/posix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,KAAK,SACV,MAAM,YACH,YAAY,KACpB,QAAQ,OAAO,CASjB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,SACT,MAAM,YACH,YAAY,KACpB,OASF,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/win32.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is the Windows implementation of isexe, which uses the file 3 | * extension and PATHEXT setting. 4 | * 5 | * @module 6 | */ 7 | import { IsexeOptions } from './options'; 8 | /** 9 | * Determine whether a path is executable based on the file extension 10 | * and PATHEXT environment variable (or specified pathExt option) 11 | */ 12 | export declare const isexe: (path: string, options?: IsexeOptions) => Promise; 13 | /** 14 | * Synchronously determine whether a path is executable based on the file 15 | * extension and PATHEXT environment variable (or specified pathExt option) 16 | */ 17 | export declare const sync: (path: string, options?: IsexeOptions) => boolean; 18 | //# sourceMappingURL=win32.d.ts.map -------------------------------------------------------------------------------- /action/node_modules/isexe/dist/mjs/win32.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"win32.d.ts","sourceRoot":"","sources":["../../src/win32.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC;;;GAGG;AACH,eAAO,MAAM,KAAK,SACV,MAAM,YACH,YAAY,KACpB,QAAQ,OAAO,CASjB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,SACT,MAAM,YACH,YAAY,KACpB,OASF,CAAA"} -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/README_20210527203617.md: -------------------------------------------------------------------------------- 1 | # node-domexception 2 | An implementation of the DOMException class from NodeJS 3 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527203842.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/node-domexception/.history/index_20210527203842.js -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527203947.js: -------------------------------------------------------------------------------- 1 | const { MessageChannel } = require('worker_threads') 2 | 3 | if (!globalThis.DOMException) { 4 | const port = new MessageChannel().port1 5 | const ab = new ArrayBuffer() 6 | try { port.postMessage(ab, [ab, ab]) } 7 | catch (err) { globalThis.DOMException = err.constructor } 8 | } 9 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527204259.js: -------------------------------------------------------------------------------- 1 | if (!globalThis.DOMException) { 2 | const { MessageChannel } = require('worker_threads') 3 | const port = new MessageChannel().port1 4 | const ab = new ArrayBuffer() 5 | try { port.postMessage(ab, [ab, ab]) } 6 | catch (err) { globalThis.DOMException = err.constructor } 7 | } 8 | 9 | module.exports 10 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527204418.js: -------------------------------------------------------------------------------- 1 | if (!globalThis.DOMException) { 2 | const { MessageChannel } = require('worker_threads') 3 | const port = new MessageChannel().port1 4 | const ab = new ArrayBuffer() 5 | try { port.postMessage(ab, [ab, ab]) } 6 | catch (err) { globalThis.DOMException = err.constructor } 7 | } 8 | 9 | module.exports = globalThis.DOMException 10 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527204756.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads') 5 | const port = new MessageChannel().port1 6 | const ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { globalThis.DOMException = err.constructor } 9 | } 10 | 11 | module.exports = globalThis.DOMException 12 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527204833.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads') 5 | const port = new MessageChannel().port1 6 | const ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { globalThis.DOMException = err.constructor } 9 | } 10 | 11 | module.exports = globalThis.DOMException 12 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527211208.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | var { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | err.constructor.name === 'DOMException' && ( 10 | globalThis.DOMException = err.constructor 11 | ) 12 | } 13 | } 14 | 15 | module.exports = globalThis.DOMException 16 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527211248.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | err.constructor.name === 'DOMException' && ( 10 | globalThis.DOMException = err.constructor 11 | ) 12 | } 13 | } 14 | 15 | module.exports = globalThis.DOMException 16 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527212722.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | err.constructor.name === 'DOMException' && ( 10 | globalThis.DOMException = err.constructor 11 | ) 12 | } 13 | } 14 | 15 | module.exports = globalThis.DOMException 16 | 17 | const e1 = new DOMException("Something went wrong", "BadThingsError"); 18 | console.assert(e1.name === "BadThingsError"); 19 | console.assert(e1.code === 0); 20 | 21 | const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError"); 22 | console.assert(e2.name === "NoModificationAllowedError"); 23 | console.assert(e2.code === 7); 24 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527212731.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | err.constructor.name === 'DOMException' && ( 10 | globalThis.DOMException = err.constructor 11 | ) 12 | } 13 | } 14 | 15 | module.exports = globalThis.DOMException 16 | 17 | const e1 = new DOMException("Something went wrong", "BadThingsError"); 18 | console.assert(e1.name === "BadThingsError"); 19 | console.assert(e1.code === 0); 20 | 21 | const e2 = new DOMException("Another exciting error message", "NoModificationAllowedError"); 22 | console.assert(e2.name === "NoModificationAllowedError"); 23 | console.assert(e2.code === 2); 24 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527212746.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | err.constructor.name === 'DOMException' && ( 10 | globalThis.DOMException = err.constructor 11 | ) 12 | } 13 | } 14 | 15 | module.exports = globalThis.DOMException 16 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527212900.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | console.log(err.code) 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527213022.js: -------------------------------------------------------------------------------- 1 | /*! blob-to-buffer. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | console.log(err.code, err.name, err.message) 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527213822.js: -------------------------------------------------------------------------------- 1 | /*! node-DOMException. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | const { MessageChannel } = require('worker_threads'), 5 | port = new MessageChannel().port1, 6 | ab = new ArrayBuffer() 7 | try { port.postMessage(ab, [ab, ab]) } 8 | catch (err) { 9 | console.log(err.code, err.name, err.message) 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527213843.js: -------------------------------------------------------------------------------- 1 | /*! node-DOMException. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | catch (err) { 10 | console.log(err.code, err.name, err.message) 11 | err.constructor.name === 'DOMException' && ( 12 | globalThis.DOMException = err.constructor 13 | ) 14 | } 15 | } 16 | 17 | module.exports = globalThis.DOMException 18 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527213852.js: -------------------------------------------------------------------------------- 1 | /*! node-DOMException. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | } catch (err) { 10 | console.log(err.code, err.name, err.message) 11 | err.constructor.name === 'DOMException' && ( 12 | globalThis.DOMException = err.constructor 13 | ) 14 | } 15 | } 16 | 17 | module.exports = globalThis.DOMException 18 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527213910.js: -------------------------------------------------------------------------------- 1 | /*! node-DOMException. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | } catch (err) { 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527214034.js: -------------------------------------------------------------------------------- 1 | /*! node-domexception. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | } catch (err) { 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/index_20210527214700.js: -------------------------------------------------------------------------------- 1 | /*! node-domexception. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | } catch (err) { 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527203733.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 12 | }, 13 | "author": "", 14 | "license": "ISC", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme" 19 | } 20 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527203825.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "author": "Jimmy Wärting", 11 | "license": "MIT", 12 | "bugs": { 13 | "url": "https://github.com/jimmywarting/node-domexception/issues" 14 | }, 15 | "homepage": "https://github.com/jimmywarting/node-domexception#readme" 16 | } 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527204621.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme" 19 | } 20 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527204913.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme", 19 | "funding": [ 20 | { 21 | "type": "github", 22 | "url": "https://github.com/sponsors/jimmywarting" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527204925.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme", 19 | "funding": [ 20 | { 21 | "type": "github", 22 | "url": "https://github.com/sponsors/jimmywarting" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527205145.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme", 19 | "funding": [ 20 | { 21 | "type": "github", 22 | "url": "https://github.com/sponsors/jimmywarting" 23 | }, 24 | { 25 | "type": "github", 26 | "url": "https://paypal.me/jimmywarting" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/package_20210527205156.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme", 19 | "funding": [ 20 | { 21 | "type": "github", 22 | "url": "https://github.com/sponsors/jimmywarting" 23 | }, 24 | { 25 | "type": "github", 26 | "url": "https://paypal.me/jimmywarting" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/test_20210527205603.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/node-domexception/.history/test_20210527205603.js -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/test_20210527205957.js: -------------------------------------------------------------------------------- 1 | require('./index.js') 2 | 3 | console.log(DOMException.INDEX_SIZE_ERR) 4 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/.history/test_20210527210021.js: -------------------------------------------------------------------------------- 1 | const e = require('./index.js') 2 | 3 | console.log(e.INDEX_SIZE_ERR) 4 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/index.js: -------------------------------------------------------------------------------- 1 | /*! node-domexception. MIT License. Jimmy Wärting */ 2 | 3 | if (!globalThis.DOMException) { 4 | try { 5 | const { MessageChannel } = require('worker_threads'), 6 | port = new MessageChannel().port1, 7 | ab = new ArrayBuffer() 8 | port.postMessage(ab, [ab, ab]) 9 | } catch (err) { 10 | err.constructor.name === 'DOMException' && ( 11 | globalThis.DOMException = err.constructor 12 | ) 13 | } 14 | } 15 | 16 | module.exports = globalThis.DOMException 17 | -------------------------------------------------------------------------------- /action/node_modules/node-domexception/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-domexception", 3 | "version": "1.0.0", 4 | "description": "An implementation of the DOMException class from NodeJS", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "git+https://github.com/jimmywarting/node-domexception.git" 9 | }, 10 | "engines": { 11 | "node": ">=10.5.0" 12 | }, 13 | "author": "Jimmy Wärting", 14 | "license": "MIT", 15 | "bugs": { 16 | "url": "https://github.com/jimmywarting/node-domexception/issues" 17 | }, 18 | "homepage": "https://github.com/jimmywarting/node-domexception#readme", 19 | "funding": [ 20 | { 21 | "type": "github", 22 | "url": "https://github.com/sponsors/jimmywarting" 23 | }, 24 | { 25 | "type": "github", 26 | "url": "https://paypal.me/jimmywarting" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /action/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 | if (global.fetch) { 20 | exports.default = global.fetch.bind(global); 21 | } 22 | 23 | exports.Headers = global.Headers; 24 | exports.Request = global.Request; 25 | exports.Response = global.Response; -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/once/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "once", 3 | "version": "1.4.0", 4 | "description": "Run a function exactly one time", 5 | "main": "once.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "dependencies": { 10 | "wrappy": "1" 11 | }, 12 | "devDependencies": { 13 | "tap": "^7.0.1" 14 | }, 15 | "scripts": { 16 | "test": "tap test/*.js" 17 | }, 18 | "files": [ 19 | "once.js" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "git://github.com/isaacs/once" 24 | }, 25 | "keywords": [ 26 | "once", 27 | "function", 28 | "one", 29 | "single" 30 | ], 31 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 32 | "license": "ISC" 33 | } 34 | -------------------------------------------------------------------------------- /action/node_modules/tr46/.npmignore: -------------------------------------------------------------------------------- 1 | scripts/ 2 | test/ 3 | 4 | !lib/mapping_table.json 5 | -------------------------------------------------------------------------------- /action/node_modules/tr46/lib/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/tr46/lib/.gitkeep -------------------------------------------------------------------------------- /action/node_modules/tr46/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tr46", 3 | "version": "0.0.3", 4 | "description": "An implementation of the Unicode TR46 spec", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "mocha", 8 | "pretest": "node scripts/getLatestUnicodeTests.js", 9 | "prepublish": "node scripts/generateMappingTable.js" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/Sebmaster/tr46.js.git" 14 | }, 15 | "keywords": [ 16 | "unicode", 17 | "tr46", 18 | "url", 19 | "whatwg" 20 | ], 21 | "author": "Sebastian Mayr ", 22 | "license": "MIT", 23 | "bugs": { 24 | "url": "https://github.com/Sebmaster/tr46.js/issues" 25 | }, 26 | "homepage": "https://github.com/Sebmaster/tr46.js#readme", 27 | "devDependencies": { 28 | "mocha": "^2.2.5", 29 | "request": "^2.57.0" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /action/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /action/node_modules/undici/docs/api/MockErrors.md: -------------------------------------------------------------------------------- 1 | # MockErrors 2 | 3 | Undici exposes a variety of mock error objects that you can use to enhance your mock error handling. 4 | You can find all the mock error objects inside the `mockErrors` key. 5 | 6 | ```js 7 | import { mockErrors } from 'undici' 8 | ``` 9 | 10 | | Mock Error | Mock Error Codes | Description | 11 | | --------------------- | ------------------------------- | ---------------------------------------------------------- | 12 | | `MockNotMatchedError` | `UND_MOCK_ERR_MOCK_NOT_MATCHED` | The request does not match any registered mock dispatches. | 13 | -------------------------------------------------------------------------------- /action/node_modules/undici/docs/api/PoolStats.md: -------------------------------------------------------------------------------- 1 | # Class: PoolStats 2 | 3 | Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md). 4 | 5 | ## `new PoolStats(pool)` 6 | 7 | Arguments: 8 | 9 | * **pool** `Pool` - Pool or BalancedPool from which to return stats. 10 | 11 | ## Instance Properties 12 | 13 | ### `PoolStats.connected` 14 | 15 | Number of open socket connections in this pool. 16 | 17 | ### `PoolStats.free` 18 | 19 | Number of open socket connections in this pool that do not have an active request. 20 | 21 | ### `PoolStats.pending` 22 | 23 | Number of pending requests across all clients in this pool. 24 | 25 | ### `PoolStats.queued` 26 | 27 | Number of queued requests across all clients in this pool. 28 | 29 | ### `PoolStats.running` 30 | 31 | Number of currently active requests across all clients in this pool. 32 | 33 | ### `PoolStats.size` 34 | 35 | Number of active, pending, or queued requests across all clients in this pool. 36 | -------------------------------------------------------------------------------- /action/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /action/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /action/node_modules/undici/index-fetch.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fetchImpl = require('./lib/fetch').fetch 4 | 5 | module.exports.fetch = function fetch (resource, init = undefined) { 6 | return fetchImpl(resource, init).catch((err) => { 7 | Error.captureStackTrace(err, this) 8 | throw err 9 | }) 10 | } 11 | module.exports.FormData = require('./lib/fetch/formdata').FormData 12 | module.exports.Headers = require('./lib/fetch/headers').Headers 13 | module.exports.Response = require('./lib/fetch/response').Response 14 | module.exports.Request = require('./lib/fetch/request').Request 15 | module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket 16 | -------------------------------------------------------------------------------- /action/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/api/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports.request = require('./api-request') 4 | module.exports.stream = require('./api-stream') 5 | module.exports.pipeline = require('./api-pipeline') 6 | module.exports.upgrade = require('./api-upgrade') 7 | module.exports.connect = require('./api-connect') 8 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: require('../core/symbols').kConstruct 5 | } 6 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/cookies/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size 4 | const maxAttributeValueSize = 1024 5 | 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size 7 | const maxNameValuePairSize = 4096 8 | 9 | module.exports = { 10 | maxAttributeValueSize, 11 | maxNameValuePairSize 12 | } 13 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/dispatcher.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const EventEmitter = require('events') 4 | 5 | class Dispatcher extends EventEmitter { 6 | dispatch () { 7 | throw new Error('not implemented') 8 | } 9 | 10 | close () { 11 | throw new Error('not implemented') 12 | } 13 | 14 | destroy () { 15 | throw new Error('not implemented') 16 | } 17 | } 18 | 19 | module.exports = Dispatcher 20 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/fetch/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // In case of breaking changes, increase the version 4 | // number to avoid conflicts. 5 | const globalOrigin = Symbol.for('undici.globalOrigin.1') 6 | 7 | function getGlobalOrigin () { 8 | return globalThis[globalOrigin] 9 | } 10 | 11 | function setGlobalOrigin (newOrigin) { 12 | if (newOrigin === undefined) { 13 | Object.defineProperty(globalThis, globalOrigin, { 14 | value: undefined, 15 | writable: true, 16 | enumerable: false, 17 | configurable: false 18 | }) 19 | 20 | return 21 | } 22 | 23 | const parsedURL = new URL(newOrigin) 24 | 25 | if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') { 26 | throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`) 27 | } 28 | 29 | Object.defineProperty(globalThis, globalOrigin, { 30 | value: parsedURL, 31 | writable: true, 32 | enumerable: false, 33 | configurable: false 34 | }) 35 | } 36 | 37 | module.exports = { 38 | getGlobalOrigin, 39 | setGlobalOrigin 40 | } 41 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/fetch/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kUrl: Symbol('url'), 5 | kHeaders: Symbol('headers'), 6 | kSignal: Symbol('signal'), 7 | kState: Symbol('state'), 8 | kGuard: Symbol('guard'), 9 | kRealm: Symbol('realm') 10 | } 11 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/fileapi/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kState: Symbol('FileReader state'), 5 | kResult: Symbol('FileReader result'), 6 | kError: Symbol('FileReader error'), 7 | kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), 8 | kEvents: Symbol('FileReader events'), 9 | kAborted: Symbol('FileReader aborted') 10 | } 11 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // We include a version number for the Dispatcher API. In case of breaking changes, 4 | // this version number must be increased to avoid conflicts. 5 | const globalDispatcher = Symbol.for('undici.globalDispatcher.1') 6 | const { InvalidArgumentError } = require('./core/errors') 7 | const Agent = require('./agent') 8 | 9 | if (getGlobalDispatcher() === undefined) { 10 | setGlobalDispatcher(new Agent()) 11 | } 12 | 13 | function setGlobalDispatcher (agent) { 14 | if (!agent || typeof agent.dispatch !== 'function') { 15 | throw new InvalidArgumentError('Argument agent must implement Agent') 16 | } 17 | Object.defineProperty(globalThis, globalDispatcher, { 18 | value: agent, 19 | writable: true, 20 | enumerable: false, 21 | configurable: false 22 | }) 23 | } 24 | 25 | function getGlobalDispatcher () { 26 | return globalThis[globalDispatcher] 27 | } 28 | 29 | module.exports = { 30 | setGlobalDispatcher, 31 | getGlobalDispatcher 32 | } 33 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface IEnumMap { 2 | [key: string]: number; 3 | } 4 | export declare function enumToMap(obj: any): IEnumMap; 5 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.enumToMap = void 0; 4 | function enumToMap(obj) { 5 | const res = {}; 6 | Object.keys(obj).forEach((key) => { 7 | const value = obj[key]; 8 | if (typeof value === 'number') { 9 | res[key] = value; 10 | } 11 | }); 12 | return res; 13 | } 14 | exports.enumToMap = enumToMap; 15 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/llhttp/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,SAAS,CAAC,GAAQ;IAChC,MAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAXD,8BAWC"} -------------------------------------------------------------------------------- /action/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/mock/mock-errors.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { UndiciError } = require('../core/errors') 4 | 5 | class MockNotMatchedError extends UndiciError { 6 | constructor (message) { 7 | super(message) 8 | Error.captureStackTrace(this, MockNotMatchedError) 9 | this.name = 'MockNotMatchedError' 10 | this.message = message || 'The request does not match any registered mock dispatches' 11 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 12 | } 13 | } 14 | 15 | module.exports = { 16 | MockNotMatchedError 17 | } 18 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/mock/pluralizer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const singulars = { 4 | pronoun: 'it', 5 | is: 'is', 6 | was: 'was', 7 | this: 'this' 8 | } 9 | 10 | const plurals = { 11 | pronoun: 'they', 12 | is: 'are', 13 | was: 'were', 14 | this: 'these' 15 | } 16 | 17 | module.exports = class Pluralizer { 18 | constructor (singular, plural) { 19 | this.singular = singular 20 | this.plural = plural 21 | } 22 | 23 | pluralize (count) { 24 | const one = count === 1 25 | const keys = one ? singulars : plurals 26 | const noun = one ? this.singular : this.plural 27 | return { ...keys, count, noun } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/pool-stats.js: -------------------------------------------------------------------------------- 1 | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols') 2 | const kPool = Symbol('pool') 3 | 4 | class PoolStats { 5 | constructor (pool) { 6 | this[kPool] = pool 7 | } 8 | 9 | get connected () { 10 | return this[kPool][kConnected] 11 | } 12 | 13 | get free () { 14 | return this[kPool][kFree] 15 | } 16 | 17 | get pending () { 18 | return this[kPool][kPending] 19 | } 20 | 21 | get queued () { 22 | return this[kPool][kQueued] 23 | } 24 | 25 | get running () { 26 | return this[kPool][kRunning] 27 | } 28 | 29 | get size () { 30 | return this[kPool][kSize] 31 | } 32 | } 33 | 34 | module.exports = PoolStats 35 | -------------------------------------------------------------------------------- /action/node_modules/undici/lib/websocket/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kWebSocketURL: Symbol('url'), 5 | kReadyState: Symbol('ready state'), 6 | kController: Symbol('controller'), 7 | kResponse: Symbol('response'), 8 | kBinaryType: Symbol('binary type'), 9 | kSentClose: Symbol('sent close'), 10 | kReceivedClose: Symbol('received close'), 11 | kByteParser: Symbol('byte parser') 12 | } 13 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | declare class BalancedPool extends Dispatcher { 8 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 9 | 10 | addUpstream(upstream: string | URL): BalancedPool; 11 | removeUpstream(upstream: string | URL): BalancedPool; 12 | upstreams: Array; 13 | 14 | /** `true` after `pool.close()` has been called. */ 15 | closed: boolean; 16 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 17 | destroyed: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /action/node_modules/undici/types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ 4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) 5 | } 6 | 7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ 8 | constructor (handler: Dispatcher.DispatchHandlers) 9 | } 10 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | type RedirectInterceptorOpts = { maxRedirections?: number } 4 | 5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor 6 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /action/node_modules/undici/types/proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import buildConnector from './connector'; 3 | import Client from './client' 4 | import Dispatcher from './dispatcher' 5 | import { IncomingHttpHeaders } from './header' 6 | import Pool from './pool' 7 | 8 | export default ProxyAgent 9 | 10 | declare class ProxyAgent extends Dispatcher { 11 | constructor(options: ProxyAgent.Options | string) 12 | 13 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 14 | close(): Promise; 15 | } 16 | 17 | declare namespace ProxyAgent { 18 | export interface Options extends Agent.Options { 19 | uri: string; 20 | /** 21 | * @deprecated use opts.token 22 | */ 23 | auth?: string; 24 | token?: string; 25 | headers?: IncomingHttpHeaders; 26 | requestTls?: buildConnector.BuildOptions; 27 | proxyTls?: buildConnector.BuildOptions; 28 | clientFactory?(origin: URL, opts: object): Dispatcher; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function getUserAgent() { 6 | if (typeof navigator === "object" && "userAgent" in navigator) { 7 | return navigator.userAgent; 8 | } 9 | 10 | if (typeof process === "object" && "version" in process) { 11 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 12 | } 13 | 14 | return ""; 15 | } 16 | 17 | exports.getUserAgent = getUserAgent; 18 | //# sourceMappingURL=index.js.map 19 | -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":["getUserAgent","navigator","userAgent","process","version","substr","platform","arch"],"mappings":";;;;AAAO,SAASA,YAAT,GAAwB;AAC3B,MAAI,OAAOC,SAAP,KAAqB,QAArB,IAAiC,eAAeA,SAApD,EAA+D;AAC3D,WAAOA,SAAS,CAACC,SAAjB;AACH;;AACD,MAAI,OAAOC,OAAP,KAAmB,QAAnB,IAA+B,aAAaA,OAAhD,EAAyD;AACrD,WAAQ,WAAUA,OAAO,CAACC,OAAR,CAAgBC,MAAhB,CAAuB,CAAvB,CAA0B,KAAIF,OAAO,CAACG,QAAS,KAAIH,OAAO,CAACI,IAAK,GAAlF;AACH;;AACD,SAAO,4BAAP;AACH;;;;"} -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | 11 | export { getUserAgent }; 12 | //# sourceMappingURL=index.js.map 13 | -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":[],"mappings":"AAAO,SAAS,YAAY,GAAG;AAC/B,IAAI,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,WAAW,IAAI,SAAS,EAAE;AACnE,QAAQ,OAAO,SAAS,CAAC,SAAS,CAAC;AACnC,KAAK;AACL,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,SAAS,IAAI,OAAO,EAAE;AAC7D,QAAQ,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,KAAK;AACL,IAAI,OAAO,4BAA4B,CAAC;AACxC;;;;"} -------------------------------------------------------------------------------- /action/node_modules/universal-user-agent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "universal-user-agent", 3 | "description": "Get a user agent string in both browser and node", 4 | "version": "6.0.0", 5 | "license": "ISC", 6 | "files": [ 7 | "dist-*/", 8 | "bin/" 9 | ], 10 | "pika": true, 11 | "sideEffects": false, 12 | "keywords": [], 13 | "repository": "https://github.com/gr2m/universal-user-agent.git", 14 | "dependencies": {}, 15 | "devDependencies": { 16 | "@gr2m/pika-plugin-build-web": "^0.6.0-issue-84.1", 17 | "@pika/pack": "^0.5.0", 18 | "@pika/plugin-build-node": "^0.9.1", 19 | "@pika/plugin-ts-standard-pkg": "^0.9.1", 20 | "@types/jest": "^25.1.0", 21 | "jest": "^24.9.0", 22 | "prettier": "^2.0.0", 23 | "semantic-release": "^17.0.5", 24 | "ts-jest": "^26.0.0", 25 | "typescript": "^3.6.2" 26 | }, 27 | "source": "dist-src/index.js", 28 | "types": "dist-types/index.d.ts", 29 | "main": "dist-node/index.js", 30 | "module": "dist-web/index.js" 31 | } 32 | -------------------------------------------------------------------------------- /action/node_modules/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library! 4 | 5 | ## Testing 6 | 7 | ```shell 8 | npm test 9 | ``` 10 | 11 | ## Releasing 12 | 13 | Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version): 14 | 15 | ```shell 16 | npm run release -- --dry-run # verify output manually 17 | npm run release # follow the instructions from the output of this command 18 | ``` 19 | -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/bin/uuid: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('../uuid-bin'); 3 | -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | var v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (var i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | var v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-browser/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/md5.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function md5(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('md5').update(bytes).digest(); 11 | } 12 | 13 | export default md5; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/rng.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 3 | 4 | let poolPtr = rnds8Pool.length; 5 | export default function rng() { 6 | if (poolPtr > rnds8Pool.length - 16) { 7 | crypto.randomFillSync(rnds8Pool); 8 | poolPtr = 0; 9 | } 10 | 11 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 12 | } -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/sha1.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function sha1(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('sha1').update(bytes).digest(); 11 | } 12 | 13 | export default sha1; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | const v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (let i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | const v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/esm-node/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/md5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function md5(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('md5').update(bytes).digest(); 20 | } 21 | 22 | var _default = md5; 23 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/nil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = '00000000-0000-0000-0000-000000000000'; 8 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/regex.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; 8 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/rng.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = rng; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 13 | 14 | let poolPtr = rnds8Pool.length; 15 | 16 | function rng() { 17 | if (poolPtr > rnds8Pool.length - 16) { 18 | _crypto.default.randomFillSync(rnds8Pool); 19 | 20 | poolPtr = 0; 21 | } 22 | 23 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 24 | } -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/sha1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function sha1(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('sha1').update(bytes).digest(); 20 | } 21 | 22 | var _default = sha1; 23 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/umd/uuidNIL.min.js: -------------------------------------------------------------------------------- 1 | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidNIL=n()}(this,(function(){"use strict";return"00000000-0000-0000-0000-000000000000"})); -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/umd/uuidParse.min.js: -------------------------------------------------------------------------------- 1 | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidParse=n()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(n){if(!function(n){return"string"==typeof n&&e.test(n)}(n))throw TypeError("Invalid UUID");var t,i=new Uint8Array(16);return i[0]=(t=parseInt(n.slice(0,8),16))>>>24,i[1]=t>>>16&255,i[2]=t>>>8&255,i[3]=255&t,i[4]=(t=parseInt(n.slice(9,13),16))>>>8,i[5]=255&t,i[6]=(t=parseInt(n.slice(14,18),16))>>>8,i[7]=255&t,i[8]=(t=parseInt(n.slice(19,23),16))>>>8,i[9]=255&t,i[10]=(t=parseInt(n.slice(24,36),16))/1099511627776&255,i[11]=t/4294967296&255,i[12]=t>>>24&255,i[13]=t>>>16&255,i[14]=t>>>8&255,i[15]=255&t,i}})); -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/umd/uuidStringify.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidStringify=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(t){return"string"==typeof t&&e.test(t)}for(var i=[],n=0;n<256;++n)i.push((n+256).toString(16).substr(1));return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]).toLowerCase();if(!t(f))throw TypeError("Stringified UUID is invalid");return f}})); -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/umd/uuidValidate.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidValidate=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){return"string"==typeof t&&e.test(t)}})); -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/umd/uuidVersion.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidVersion=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){if(!function(t){return"string"==typeof t&&e.test(t)}(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}})); -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/v3.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _md = _interopRequireDefault(require("./md5.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v3 = (0, _v.default)('v3', 0x30, _md.default); 15 | var _default = v3; 16 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/v4.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _rng = _interopRequireDefault(require("./rng.js")); 9 | 10 | var _stringify = _interopRequireDefault(require("./stringify.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function v4(options, buf, offset) { 15 | options = options || {}; 16 | 17 | const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 18 | 19 | 20 | rnds[6] = rnds[6] & 0x0f | 0x40; 21 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 22 | 23 | if (buf) { 24 | offset = offset || 0; 25 | 26 | for (let i = 0; i < 16; ++i) { 27 | buf[offset + i] = rnds[i]; 28 | } 29 | 30 | return buf; 31 | } 32 | 33 | return (0, _stringify.default)(rnds); 34 | } 35 | 36 | var _default = v4; 37 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/v5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _sha = _interopRequireDefault(require("./sha1.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v5 = (0, _v.default)('v5', 0x50, _sha.default); 15 | var _default = v5; 16 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/validate.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _regex = _interopRequireDefault(require("./regex.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function validate(uuid) { 13 | return typeof uuid === 'string' && _regex.default.test(uuid); 14 | } 15 | 16 | var _default = validate; 17 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/dist/version.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _validate = _interopRequireDefault(require("./validate.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function version(uuid) { 13 | if (!(0, _validate.default)(uuid)) { 14 | throw TypeError('Invalid UUID'); 15 | } 16 | 17 | return parseInt(uuid.substr(14, 1), 16); 18 | } 19 | 20 | var _default = version; 21 | exports.default = _default; -------------------------------------------------------------------------------- /action/node_modules/uuid/wrapper.mjs: -------------------------------------------------------------------------------- 1 | import uuid from './dist/index.js'; 2 | export const v1 = uuid.v1; 3 | export const v3 = uuid.v3; 4 | export const v4 = uuid.v4; 5 | export const v5 = uuid.v5; 6 | export const NIL = uuid.NIL; 7 | export const version = uuid.version; 8 | export const validate = uuid.validate; 9 | export const stringify = uuid.stringify; 10 | export const parse = uuid.parse; 11 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json: -------------------------------------------------------------------------------- 1 | // This file is read by tools that parse documentation comments conforming to the TSDoc standard. 2 | // It should be published with your NPM package. It should not be tracked by Git. 3 | { 4 | "tsdocVersion": "0.12", 5 | "toolPackages": [ 6 | { 7 | "packageName": "@microsoft/api-extractor", 8 | "packageVersion": "7.13.4" 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/es2018/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web-streams-polyfill-es2018", 3 | "main": "../dist/polyfill.es2018", 4 | "browser": "../dist/polyfill.es2018.min.js", 5 | "module": "../dist/polyfill.es2018.mjs", 6 | "types": "../dist/types/polyfill.d.ts" 7 | } 8 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/es6/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web-streams-polyfill-es6", 3 | "main": "../dist/polyfill.es6", 4 | "browser": "../dist/polyfill.es6.min.js", 5 | "module": "../dist/polyfill.es6.mjs", 6 | "types": "../dist/types/polyfill.d.ts" 7 | } 8 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/ponyfill/es2018/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web-streams-ponyfill-es2018", 3 | "main": "../../dist/ponyfill.es2018", 4 | "module": "../../dist/ponyfill.es2018.mjs", 5 | "types": "../../dist/types/polyfill.d.ts" 6 | } 7 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/ponyfill/es6/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web-streams-ponyfill-es6", 3 | "main": "../../dist/ponyfill.es6", 4 | "module": "../../dist/ponyfill.es6.mjs", 5 | "types": "../../dist/types/polyfill.d.ts" 6 | } 7 | -------------------------------------------------------------------------------- /action/node_modules/web-streams-polyfill/ponyfill/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web-streams-ponyfill", 3 | "main": "../dist/ponyfill", 4 | "module": "../dist/ponyfill.mjs", 5 | "types": "../dist/types/polyfill.d.ts" 6 | } 7 | -------------------------------------------------------------------------------- /action/node_modules/webidl-conversions/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webidl-conversions", 3 | "version": "3.0.1", 4 | "description": "Implements the WebIDL algorithms for converting to and from JavaScript values", 5 | "main": "lib/index.js", 6 | "scripts": { 7 | "test": "mocha test/*.js" 8 | }, 9 | "repository": "jsdom/webidl-conversions", 10 | "keywords": [ 11 | "webidl", 12 | "web", 13 | "types" 14 | ], 15 | "files": [ 16 | "lib/" 17 | ], 18 | "author": "Domenic Denicola (https://domenic.me/)", 19 | "license": "BSD-2-Clause", 20 | "devDependencies": { 21 | "mocha": "^1.21.4" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /action/node_modules/whatwg-url/lib/public-api.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.URL = require("./URL").interface; 4 | exports.serializeURL = require("./url-state-machine").serializeURL; 5 | exports.serializeURLOrigin = require("./url-state-machine").serializeURLOrigin; 6 | exports.basicURLParse = require("./url-state-machine").basicURLParse; 7 | exports.setTheUsername = require("./url-state-machine").setTheUsername; 8 | exports.setThePassword = require("./url-state-machine").setThePassword; 9 | exports.serializeHost = require("./url-state-machine").serializeHost; 10 | exports.serializeInteger = require("./url-state-machine").serializeInteger; 11 | exports.parseURL = require("./url-state-machine").parseURL; 12 | -------------------------------------------------------------------------------- /action/node_modules/whatwg-url/lib/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports.mixin = function mixin(target, source) { 4 | const keys = Object.getOwnPropertyNames(source); 5 | for (let i = 0; i < keys.length; ++i) { 6 | Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); 7 | } 8 | }; 9 | 10 | module.exports.wrapperSymbol = Symbol("wrapper"); 11 | module.exports.implSymbol = Symbol("impl"); 12 | 13 | module.exports.wrapperForImpl = function (impl) { 14 | return impl[module.exports.wrapperSymbol]; 15 | }; 16 | 17 | module.exports.implForWrapper = function (wrapper) { 18 | return wrapper[module.exports.implSymbol]; 19 | }; 20 | 21 | -------------------------------------------------------------------------------- /action/node_modules/whatwg-url/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "whatwg-url", 3 | "version": "5.0.0", 4 | "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", 5 | "main": "lib/public-api.js", 6 | "files": [ 7 | "lib/" 8 | ], 9 | "author": "Sebastian Mayr ", 10 | "license": "MIT", 11 | "repository": "jsdom/whatwg-url", 12 | "dependencies": { 13 | "tr46": "~0.0.3", 14 | "webidl-conversions": "^3.0.0" 15 | }, 16 | "devDependencies": { 17 | "eslint": "^2.6.0", 18 | "istanbul": "~0.4.3", 19 | "mocha": "^2.2.4", 20 | "recast": "~0.10.29", 21 | "request": "^2.55.0", 22 | "webidl2js": "^3.0.2" 23 | }, 24 | "scripts": { 25 | "build": "node scripts/transform.js && node scripts/convert-idl.js", 26 | "coverage": "istanbul cover node_modules/mocha/bin/_mocha", 27 | "lint": "eslint .", 28 | "prepublish": "npm run build", 29 | "pretest": "node scripts/get-latest-platform-tests.js && npm run build", 30 | "test": "mocha" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/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 | -------------------------------------------------------------------------------- /action/node_modules/wrappy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wrappy", 3 | "version": "1.0.2", 4 | "description": "Callback wrapping utility", 5 | "main": "wrappy.js", 6 | "files": [ 7 | "wrappy.js" 8 | ], 9 | "directories": { 10 | "test": "test" 11 | }, 12 | "dependencies": {}, 13 | "devDependencies": { 14 | "tap": "^2.3.1" 15 | }, 16 | "scripts": { 17 | "test": "tap --coverage test/*.js" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/npm/wrappy" 22 | }, 23 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 24 | "license": "ISC", 25 | "bugs": { 26 | "url": "https://github.com/npm/wrappy/issues" 27 | }, 28 | "homepage": "https://github.com/npm/wrappy" 29 | } 30 | -------------------------------------------------------------------------------- /action/node_modules/wrappy/wrappy.js: -------------------------------------------------------------------------------- 1 | // Returns a wrapper function that returns a wrapped callback 2 | // The wrapper function should do some stuff, and return a 3 | // presumably different callback function. 4 | // This makes sure that own properties are retained, so that 5 | // decorations and such are not lost along the way. 6 | module.exports = wrappy 7 | function wrappy (fn, cb) { 8 | if (fn && cb) return wrappy(fn)(cb) 9 | 10 | if (typeof fn !== 'function') 11 | throw new TypeError('need wrapper function') 12 | 13 | Object.keys(fn).forEach(function (k) { 14 | wrapper[k] = fn[k] 15 | }) 16 | 17 | return wrapper 18 | 19 | function wrapper() { 20 | var args = new Array(arguments.length) 21 | for (var i = 0; i < args.length; i++) { 22 | args[i] = arguments[i] 23 | } 24 | var ret = fn.apply(this, args) 25 | var cb = args[args.length-1] 26 | if (typeof ret === 'function' && ret !== cb) { 27 | Object.keys(cb).forEach(function (k) { 28 | ret[k] = cb[k] 29 | }) 30 | } 31 | return ret 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /action/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "module", 3 | "dependencies": { 4 | "@actions/core": "^1.10.0", 5 | "@actions/github": "^5.1.1", 6 | "@deno/shim-deno": "^0.19.2", 7 | "formdata-polyfill": "^4.0.10", 8 | "undici": "^5.11.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /action/shim.js: -------------------------------------------------------------------------------- 1 | import { fetch as realfetch } from "undici"; 2 | import { Deno } from "@deno/shim-deno"; 3 | import { TransformStream } from "stream/web"; 4 | import { FormData, formDataToBlob } from "formdata-polyfill/esm.min.js"; 5 | import Blob from "fetch-blob"; 6 | 7 | function fetch(url, init) { 8 | if (init.body instanceof FormData) { 9 | init.body = formDataToBlob(init.body, Blob); 10 | } 11 | return realfetch(url, init); 12 | } 13 | 14 | globalThis.fetch = fetch; 15 | globalThis.Deno = Deno; 16 | globalThis.TransformStream = TransformStream; 17 | globalThis.FormData = FormData; 18 | globalThis.Blob = Blob; 19 | -------------------------------------------------------------------------------- /action/tests/README.md: -------------------------------------------------------------------------------- 1 | These test modules are deployed by the 2 | [test GHA](../../.github/workflows/test.yml). Assertions are performed as 3 | deployment errors. 4 | -------------------------------------------------------------------------------- /action/tests/always_exclude_node_modules/main.ts: -------------------------------------------------------------------------------- 1 | try { 2 | await Deno.lstat(new URL(import.meta.resolve("./node_modules/import_bomb1"))); 3 | throw new Error("BOOM!"); 4 | } catch (e) { 5 | if (!(e instanceof Deno.errors.NotFound)) { 6 | throw e; 7 | } 8 | } 9 | try { 10 | await Deno.lstat(new URL(import.meta.resolve("./node_modules/import_bomb2"))); 11 | throw new Error("BOOM!"); 12 | } catch (e) { 13 | if (!(e instanceof Deno.errors.NotFound)) { 14 | throw e; 15 | } 16 | } 17 | Deno.serve(() => new Response("Hello World")); 18 | -------------------------------------------------------------------------------- /action/tests/always_exclude_node_modules/node_modules/import_bomb1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/tests/always_exclude_node_modules/node_modules/import_bomb1 -------------------------------------------------------------------------------- /action/tests/always_exclude_node_modules/node_modules/import_bomb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/tests/always_exclude_node_modules/node_modules/import_bomb2 -------------------------------------------------------------------------------- /action/tests/hello.ts: -------------------------------------------------------------------------------- 1 | import { serve } from "std/http/server.ts"; 2 | 3 | async function handler(_req: Request) { 4 | const text = await Deno.readTextFile(new URL(import.meta.url)); 5 | return new Response(text, { 6 | headers: { "content-type": "text/plain; charset=utf8" }, 7 | }); 8 | } 9 | 10 | console.log("Listening on http://localhost:8000"); 11 | serve(handler); 12 | -------------------------------------------------------------------------------- /action/tests/import_bomb1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/tests/import_bomb1 -------------------------------------------------------------------------------- /action/tests/import_bomb2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/action/tests/import_bomb2 -------------------------------------------------------------------------------- /action/tests/import_map.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": { 3 | "std/": "https://deno.land/std@0.128.0/" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /action/tests/include_exclude.ts: -------------------------------------------------------------------------------- 1 | try { 2 | await Deno.lstat(new URL(import.meta.resolve("./import_bomb1"))); 3 | throw new Error("BOOM!"); 4 | } catch (e) { 5 | if (!(e instanceof Deno.errors.NotFound)) { 6 | throw e; 7 | } 8 | } 9 | try { 10 | await Deno.lstat(new URL(import.meta.resolve("./import_bomb2"))); 11 | throw new Error("BOOM!"); 12 | } catch (e) { 13 | if (!(e instanceof Deno.errors.NotFound)) { 14 | throw e; 15 | } 16 | } 17 | Deno.serve(() => new Response("Hello World")); 18 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | # Examples 2 | 3 | - [Hello-World](./hello-world/) 4 | - [Link Shortener](./link-shortener/) 5 | - [Fresh Hello-World](./fresh/) 6 | 7 | Make sure to visit the 8 | [Deno Deploy docs](https://docs.deno.com/deploy/tutorials) which has an 9 | extensive section of tutorials about how to build different use cases. 10 | -------------------------------------------------------------------------------- /examples/fresh/README.md: -------------------------------------------------------------------------------- 1 | # Fresh project 2 | 3 | Your new Fresh project is ready to go. You can follow the Fresh "Getting 4 | Started" guide here: https://fresh.deno.dev/docs/getting-started 5 | 6 | ### Usage 7 | 8 | Make sure to install Deno: https://deno.land/manual/getting_started/installation 9 | 10 | Then start the project: 11 | 12 | ``` 13 | deno task start 14 | ``` 15 | 16 | This will watch the project directory and restart as necessary. 17 | -------------------------------------------------------------------------------- /examples/fresh/components/Button.tsx: -------------------------------------------------------------------------------- 1 | import type { JSX } from "preact"; 2 | import { IS_BROWSER } from "$fresh/runtime.ts"; 3 | 4 | export function Button(props: JSX.HTMLAttributes) { 5 | return ( 6 | 12 |

{props.count}

13 | 14 | 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /examples/fresh/main.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | /// 5 | /// 6 | 7 | import "$std/dotenv/load.ts"; 8 | 9 | import { start } from "$fresh/server.ts"; 10 | import manifest from "./fresh.gen.ts"; 11 | import config from "./fresh.config.ts"; 12 | 13 | await start(manifest, config); 14 | -------------------------------------------------------------------------------- /examples/fresh/routes/_404.tsx: -------------------------------------------------------------------------------- 1 | import { Head } from "$fresh/runtime.ts"; 2 | 3 | export default function Error404() { 4 | return ( 5 | <> 6 | 7 | 404 - Page not found 8 | 9 |
10 |
11 | the Fresh logo: a sliced lemon dripping with juice 18 |

404 - Page not found

19 |

20 | The page you were looking for doesn't exist. 21 |

22 | Go back home 23 |
24 |
25 | 26 | ); 27 | } 28 | -------------------------------------------------------------------------------- /examples/fresh/routes/_app.tsx: -------------------------------------------------------------------------------- 1 | import type { AppProps } from "$fresh/server.ts"; 2 | 3 | export default function App({ Component }: AppProps) { 4 | return ( 5 | 6 | 7 | 8 | 9 | fresh-site 10 | 11 | 12 | 13 | 14 | 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /examples/fresh/routes/greet/[name].tsx: -------------------------------------------------------------------------------- 1 | import type { PageProps } from "$fresh/server.ts"; 2 | 3 | export default function Greet(props: PageProps) { 4 | return
Hello {props.params.name}
; 5 | } 6 | -------------------------------------------------------------------------------- /examples/fresh/routes/index.tsx: -------------------------------------------------------------------------------- 1 | import { useSignal } from "@preact/signals"; 2 | import Counter from "../islands/Counter.tsx"; 3 | 4 | export default function Home() { 5 | const count = useSignal(3); 6 | return ( 7 |
8 |
9 | the Fresh logo: a sliced lemon dripping with juice 16 |

Welcome to Fresh

17 |

18 | Try updating this message in the 19 | ./routes/index.tsx file, and refresh. 20 |

21 | 22 |
23 |
24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /examples/fresh/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deployctl/f22dab2012fb00fcc1aae4973ff78aa2ea3ac983/examples/fresh/static/favicon.ico -------------------------------------------------------------------------------- /examples/fresh/static/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/fresh/twind.config.ts: -------------------------------------------------------------------------------- 1 | import type { Options } from "$fresh/plugins/twind.ts"; 2 | 3 | export default { 4 | selfURL: import.meta.url, 5 | } as Options; 6 | -------------------------------------------------------------------------------- /examples/hello-world/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "deploy": { 3 | "exclude": [], 4 | "include": [], 5 | "entrypoint": "main.ts" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /examples/hello-world/main.ts: -------------------------------------------------------------------------------- 1 | Deno.serve((_req) => new Response("Hello World")); 2 | -------------------------------------------------------------------------------- /examples/link-shortener/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "deploy": { 3 | "exclude": [], 4 | "include": [], 5 | "entrypoint": "main.ts" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /examples/link-shortener/main.ts: -------------------------------------------------------------------------------- 1 | const kv = await Deno.openKv(); 2 | 3 | Deno.serve(async (request: Request) => { 4 | // Create short links 5 | if (request.method == "POST") { 6 | const body = await request.text(); 7 | const { slug, url } = JSON.parse(body); 8 | const result = await kv.set(["links", slug], url); 9 | return new Response(JSON.stringify(result)); 10 | } 11 | 12 | // Redirect short links 13 | const slug = request.url.split("/").pop() || ""; 14 | const url = (await kv.get(["links", slug])).value as string; 15 | if (url) { 16 | return Response.redirect(url, 301); 17 | } else { 18 | const m = !slug ? "Please provide a slug." : `Slug "${slug}" not found`; 19 | return new Response(m, { status: 404 }); 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /src/utils/env_vars.ts: -------------------------------------------------------------------------------- 1 | import * as dotenv from "@std/dotenv"; 2 | import type { Args } from "../args.ts"; 3 | 4 | /** 5 | * Obtain the env variables provided by the user with the --env and --env-file options. 6 | * 7 | * Both --env and --env-file options can be used multiple times. In case of conflict, the last 8 | * option takes precedence. Env vars set with --env always takes precedence over envs in env files. 9 | */ 10 | export async function envVarsFromArgs( 11 | args: Args, 12 | ): Promise | null> { 13 | const fileEnvs = (await Promise.all( 14 | args["env-file"].map((envFile) => 15 | dotenv.load({ ...envFile ? { envPath: envFile } : {} }) 16 | ), 17 | )).reduce((a, b) => Object.assign(a, b), {}); 18 | const standaloneEnvs = dotenv.parse(args.env.join("\n")); 19 | const envVars = { 20 | ...fileEnvs, 21 | ...standaloneEnvs, 22 | }; 23 | return Object.keys(envVars).length > 0 ? envVars : null; 24 | } 25 | -------------------------------------------------------------------------------- /src/utils/hashing_encoding.ts: -------------------------------------------------------------------------------- 1 | export function base64url(binary: Uint8Array): string { 2 | const binaryString = Array.from(binary).map((b) => String.fromCharCode(b)) 3 | .join(""); 4 | const output = btoa(binaryString); 5 | const urlSafeOutput = output 6 | .replaceAll("=", "") 7 | .replaceAll("+", "-") 8 | .replaceAll("/", "_"); 9 | return urlSafeOutput; 10 | } 11 | 12 | export async function sha256(randomString: string): Promise { 13 | return new Uint8Array( 14 | await crypto.subtle.digest( 15 | "SHA-256", 16 | new TextEncoder().encode(randomString), 17 | ), 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /src/utils/info.ts: -------------------------------------------------------------------------------- 1 | import { join } from "@std/path/join"; 2 | import { getVersions } from "../subcommands/upgrade.ts"; 3 | 4 | export function getConfigPaths() { 5 | const homeDir = Deno.build.os == "windows" 6 | ? Deno.env.get("USERPROFILE")! 7 | : Deno.env.get("HOME")!; 8 | const configDir = join(homeDir, ".deno", "deployctl"); 9 | 10 | return { 11 | configDir, 12 | updatePath: join(configDir, "update.json"), 13 | credentialsPath: join(configDir, "credentials.json"), 14 | }; 15 | } 16 | 17 | export async function fetchReleases() { 18 | try { 19 | const { latest } = await getVersions(); 20 | const updateInfo = { lastFetched: Date.now(), latest }; 21 | const { updatePath, configDir } = getConfigPaths(); 22 | await Deno.mkdir(configDir, { recursive: true }); 23 | await Deno.writeFile( 24 | updatePath, 25 | new TextEncoder().encode(JSON.stringify(updateInfo, null, 2)), 26 | ); 27 | } catch (_) { 28 | // We will try again later when the fetch isn't successful, 29 | // so we shouldn't report errors. 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/complex/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/complex/inner1/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/complex/inner2/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/single_file/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/two_levels/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /src/utils/manifest_testdata/two_levels/inner/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /src/utils/mod.ts: -------------------------------------------------------------------------------- 1 | // Export functions used by `action/index.js` 2 | export { parseEntrypoint } from "./entrypoint.ts"; 3 | export { API, APIError } from "./api.ts"; 4 | export { convertPatternToRegExp, walk } from "./manifest.ts"; 5 | export { fromFileUrl, resolve } from "@std/path"; 6 | -------------------------------------------------------------------------------- /src/utils/organization.ts: -------------------------------------------------------------------------------- 1 | import { error } from "../error.ts"; 2 | import type { API } from "./api.ts"; 3 | import type { Organization } from "./api_types.ts"; 4 | import { interruptSpinner, wait } from "./spinner.ts"; 5 | 6 | export default { 7 | getByNameOrCreate: async ( 8 | api: API, 9 | name: string, 10 | ): Promise => { 11 | const interruptedSpinner = interruptSpinner(); 12 | let org; 13 | try { 14 | let spinner = wait( 15 | `You have specified the organization ${name}. Fetching details...`, 16 | ).start(); 17 | org = await api.getOrganizationByName(name); 18 | if (!org) { 19 | spinner.stop(); 20 | spinner = wait( 21 | `Organization '${name}' not found. Creating...`, 22 | ).start(); 23 | org = await api.createOrganization(name); 24 | spinner.succeed(`Created new organization '${org!.name}'.`); 25 | } else { 26 | spinner.stop(); 27 | } 28 | } catch (e) { 29 | error(e); 30 | } 31 | interruptedSpinner.resume(); 32 | return org; 33 | }, 34 | }; 35 | -------------------------------------------------------------------------------- /src/utils/spinner.ts: -------------------------------------------------------------------------------- 1 | import { 2 | type Spinner, 3 | type SpinnerOptions, 4 | wait as innerWait, 5 | } from "@denosaurs/wait"; 6 | 7 | let current: Spinner | null = null; 8 | 9 | export function wait(param: string | SpinnerOptions) { 10 | if (typeof param === "string") { 11 | param = { text: param }; 12 | } 13 | param.interceptConsole = false; 14 | current = innerWait({ stream: Deno.stderr, ...param }); 15 | return current; 16 | } 17 | 18 | export function interruptSpinner(): Interrupt { 19 | current?.stop(); 20 | const interrupt = new Interrupt(current); 21 | current = null; 22 | return interrupt; 23 | } 24 | 25 | export class Interrupt { 26 | #spinner: Spinner | null; 27 | constructor(spinner: Spinner | null) { 28 | this.#spinner = spinner; 29 | } 30 | resume() { 31 | current = this.#spinner; 32 | this.#spinner?.start(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/utils/token_storage/memory.ts: -------------------------------------------------------------------------------- 1 | let TOKEN: string | null; 2 | 3 | export function get(): Promise { 4 | return Promise.resolve(TOKEN); 5 | } 6 | 7 | export function store(token: string): Promise { 8 | TOKEN = token; 9 | return Promise.resolve(); 10 | } 11 | 12 | export function remove(): Promise { 13 | TOKEN = null; 14 | return Promise.resolve(); 15 | } 16 | -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.13.1"; 2 | 3 | // Make sure to keep this in sync with the "old" version in `ci.yml` 4 | // Also don't forget to update README.md. 5 | export const MINIMUM_DENO_VERSION = "1.46.0"; 6 | -------------------------------------------------------------------------------- /tests/config_file_test/config.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/config_file_test/config_with_include.json: -------------------------------------------------------------------------------- 1 | { 2 | "deploy": { 3 | "include": ["**"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/env_vars_test/.another-env: -------------------------------------------------------------------------------- 1 | BAR=bar -------------------------------------------------------------------------------- /tests/env_vars_test/.env: -------------------------------------------------------------------------------- 1 | FOO=foo -------------------------------------------------------------------------------- /tests/env_vars_test/.overlapping-env: -------------------------------------------------------------------------------- 1 | FOO=last -------------------------------------------------------------------------------- /tools/bundle.ts: -------------------------------------------------------------------------------- 1 | // Copyright 2024 Deno Land Inc. All rights reserved. MIT license. 2 | 3 | import { bundle, type ImportMap } from "@deno/emit"; 4 | import { resolve } from "@std/path/resolve"; 5 | import { parse as parseJsonc } from "@std/jsonc"; 6 | 7 | const entrypoint = Deno.args[0]; 8 | const resolvedPath = resolve(Deno.cwd(), entrypoint); 9 | 10 | const configPath = resolve(Deno.cwd(), "deno.jsonc"); 11 | const config = await Deno.readTextFile(configPath); 12 | const result = await bundle(resolvedPath, { 13 | importMap: parseJsonc(config) as ImportMap, 14 | }); 15 | console.log(`// deno-fmt-ignore-file 16 | // deno-lint-ignore-file 17 | // This code was bundled using \`deno task build-action\` and it's not recommended to edit it manually 18 | `); 19 | console.log(result.code); 20 | -------------------------------------------------------------------------------- /tools/version_match.ts: -------------------------------------------------------------------------------- 1 | // Copyright 2023 Deno Land Inc. All rights reserved. MIT license. 2 | 3 | // This script ensures that version specifier defined in `src/version.ts` 4 | // matches the released tag version. 5 | // Intended to run when a draft release is created on GitHub. 6 | 7 | import { VERSION } from "../src/version.ts"; 8 | import { assertEquals } from "@std/assert/assert_equals"; 9 | 10 | const releaseTagVersion = Deno.env.get("RELEASE_TAG")!; 11 | assertEquals(VERSION, releaseTagVersion); 12 | --------------------------------------------------------------------------------