Upgrade octokit to v4.1.2
This commit is contained in:
parent
dbbcbe019d
commit
c1745a9831
1214 changed files with 160765 additions and 0 deletions
16
node_modules/@octokit/oauth-methods/dist-src/get-web-flow-authorization-url.js
generated
vendored
Normal file
16
node_modules/@octokit/oauth-methods/dist-src/get-web-flow-authorization-url.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { oauthAuthorizationUrl } from "@octokit/oauth-authorization-url";
|
||||
import { request as defaultRequest } from "@octokit/request";
|
||||
import { requestToOAuthBaseUrl } from "./utils.js";
|
||||
function getWebFlowAuthorizationUrl({
|
||||
request = defaultRequest,
|
||||
...options
|
||||
}) {
|
||||
const baseUrl = requestToOAuthBaseUrl(request);
|
||||
return oauthAuthorizationUrl({
|
||||
...options,
|
||||
baseUrl
|
||||
});
|
||||
}
|
||||
export {
|
||||
getWebFlowAuthorizationUrl
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue