Upgrade octokit to v4.1.2
This commit is contained in:
parent
dbbcbe019d
commit
c1745a9831
1214 changed files with 160765 additions and 0 deletions
13
node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/index.js
generated
vendored
Normal file
13
node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { parseRequest } from "./parse-request.js";
|
||||
import { sendResponse } from "./send-response.js";
|
||||
import { handleRequest } from "../handle-request.js";
|
||||
function createWebWorkerHandler(app, options = {}) {
|
||||
return async function(request) {
|
||||
const octokitRequest = await parseRequest(request);
|
||||
const octokitResponse = await handleRequest(app, options, octokitRequest);
|
||||
return octokitResponse ? sendResponse(octokitResponse) : void 0;
|
||||
};
|
||||
}
|
||||
export {
|
||||
createWebWorkerHandler
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue