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

@octokit/webhooks

Package Overview
Dependencies
Maintainers
4
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/webhooks - npm Package Compare versions

Comparing version 11.0.0-beta.5 to 11.0.0-beta.6

3

dist-node/index.js

@@ -196,3 +196,4 @@ 'use strict';

try {
JSON.parse(data); // check if data is valid JSON
// Call JSON.parse() only to check if the payload is valid JSON
JSON.parse(data);
resolve(data);

@@ -199,0 +200,0 @@ } catch (error) {

@@ -16,3 +16,4 @@ // @ts-ignore to address #245

try {
JSON.parse(data); // check if data is valid JSON
// Call JSON.parse() only to check if the payload is valid JSON
JSON.parse(data);
resolve(data);

@@ -19,0 +20,0 @@ }

@@ -448,3 +448,4 @@ import AggregateError from 'aggregate-error';

try {
JSON.parse(data); // check if data is valid JSON
// Call JSON.parse() only to check if the payload is valid JSON
JSON.parse(data);
resolve(data);

@@ -451,0 +452,0 @@ }

{
"name": "@octokit/webhooks",
"description": "GitHub webhook events toolset for Node.js",
"version": "11.0.0-beta.5",
"version": "11.0.0-beta.6",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

@@ -702,2 +702,4 @@ # @octokit/webhooks

**⚠️ Caution ⚠️**: Webhooks Types are expected to be used with the [`strictNullChecks` option](https://www.typescriptlang.org/tsconfig#strictNullChecks) enabled in your `tsconfig`. If you don't have this option enabled, there's the possibility that you get `never` as the inferred type in some use cases. See [octokit/webhooks#395](https://github.com/octokit/webhooks/issues/395) for details.
### `EmitterWebhookEventName`

@@ -704,0 +706,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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