Update checked-in dependencies
This commit is contained in:
parent
c9f0d30a86
commit
95d52b7807
647 changed files with 498055 additions and 3880 deletions
11
node_modules/@octokit/webhooks/dist-src/middleware/web/get-missing-headers.js
generated
vendored
Normal file
11
node_modules/@octokit/webhooks/dist-src/middleware/web/get-missing-headers.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const WEBHOOK_HEADERS = [
|
||||
"x-github-event",
|
||||
"x-hub-signature-256",
|
||||
"x-github-delivery"
|
||||
];
|
||||
function getMissingHeaders(request) {
|
||||
return WEBHOOK_HEADERS.filter((header) => !request.headers.has(header));
|
||||
}
|
||||
export {
|
||||
getMissingHeaders
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue