webhooks.js icon indicating copy to clipboard operation
webhooks.js copied to clipboard

GitHub webhook events toolset for Node.js

Results 48 webhooks.js issues
Sort by recently updated
recently updated
newest added

Resolves #930 I would like to have the middleware separated from the handler to use it in probot. Resolves #ISSUE_NUMBER ---- ### Before the change? * ### After the change?...

### Describe the need If we support serverless in the middleware, we can promote probot to be serverless compatible... well maybe after some minor changes in probot. From the discussion...

Type: Maintenance

### Describe the need I think there is a significant performance loss happening in this module. Lets say we run the webhook middleware not in a cloud function. We get...

Type: Maintenance
Type: Breaking change

### Describe the need The current `verifyAndReceive` function assumes that there is exactly one secret in use at any time: https://github.com/octokit/webhooks.js/blob/d6286fa324b65716c12ce03efe338faf0e9d2338/src/verify-and-receive.ts#L10-L11 which frustrates secret rotation, which can be a requirement...

Type: Feature
Status: Up for grabs

### Describe the need I need a little wrapper around `createNodeMiddleware` and for that use case, it would be nice if the `MiddlewareOptions` type were exported explicitly from the main...

Type: Feature
Status: Up for grabs
hacktoberfest

# Description Wrap all the logic of `scripts/build.mjs` in an in-house ESBuild plugin. The idea would be to publish our ESBuild Octokit plugin and centralize the changes we want to...

Type: Maintenance

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [esbuild](https://togithub.com/evanw/esbuild) | [`^0.21.0` -> `^0.22.0`](https://renovatebot.com/diffs/npm/esbuild/0.21.5/0.22.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Type: Maintenance

### Describe the need The project's tsconfig targets `es2023` and the stated node support is (at least?) [node>16](https://github.com/octokit/webhooks.js/releases/tag/v12.0.0), but it still takes a dependency on [aggregate-error](https://www.npmjs.com/package/aggregate-error), which is made redundant...

Type: Maintenance
Status: Needs info

### Describe the need Currently, octokit only supports creating middleware for Node.js , but there are times when I want to use octokit in an environment other than Node.js ....

Type: Feature

### What happened? I tried to call `verifyAndReceive` with `name`=`request.headers["x-github-event"]`, and got a type error because the header's type is `string`, but `verifyAndReceive` expects `WebhookEventName`, which isn't even exported from...

Type: Bug