Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@octokit/webhooks-definitions

Package Overview
Dependencies
Maintainers
2
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/webhooks-definitions - npm Package Compare versions

Comparing version 3.36.1 to 3.37.0

3

package.json
{
"name": "@octokit/webhooks-definitions",
"version": "3.36.1",
"version": "3.37.0",
"description": "machine-readable, always up-to-date GitHub Webhooks specifications",

@@ -34,3 +34,2 @@ "keywords": [],

"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^9.0.6",
"@octokit/request": "^5.0.0",

@@ -37,0 +36,0 @@ "@types/cheerio": "^0.22.23",

@@ -262,4 +262,13 @@ # Octokit Webhooks

```typescript
import { IssuesOpenedEvent } from "@octokit/webhooks-definitions/schema";
import {
WebhookEvent,
IssuesOpenedEvent,
} from "@octokit/webhooks-definitions/schema";
const handleWebhookEvent = (event: WebhookEvent) => {
if ("action" in event && event.action === "completed") {
console.log(`${event.sender.login} completed something!`);
}
};
const handleIssuesOpenedEvent = (event: IssuesOpenedEvent) => {

@@ -266,0 +275,0 @@ console.log(

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc