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

@octokit/plugin-enterprise-compatibility

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-enterprise-compatibility - npm Package Compare versions

Comparing version 1.2.12 to 1.3.0

4

dist-node/index.js

@@ -7,3 +7,3 @@ 'use strict';

const VERSION = "1.2.12";
const VERSION = "1.3.0";

@@ -22,3 +22,3 @@ function enterpriseCompatibility(octokit) {

if (!error.headers || !error.headers["x-github-enterprise-version"]) {
if (!error.response || !error.response.headers["x-github-enterprise-version"]) {
throw error;

@@ -25,0 +25,0 @@ }

@@ -15,3 +15,4 @@ import { RequestError } from "@octokit/request-error";

}
if (!error.headers || !error.headers["x-github-enterprise-version"]) {
if (!error.response ||
!error.response.headers["x-github-enterprise-version"]) {
throw error;

@@ -18,0 +19,0 @@ }

@@ -1,1 +0,1 @@

export const VERSION = "1.2.12";
export const VERSION = "1.3.0";

@@ -1,1 +0,1 @@

export declare const VERSION = "1.2.12";
export declare const VERSION = "1.3.0";
import { RequestError } from '@octokit/request-error';
const VERSION = "1.2.12";
const VERSION = "1.3.0";

@@ -17,3 +17,4 @@ function enterpriseCompatibility(octokit) {

}
if (!error.headers || !error.headers["x-github-enterprise-version"]) {
if (!error.response ||
!error.response.headers["x-github-enterprise-version"]) {
throw error;

@@ -20,0 +21,0 @@ }

{
"name": "@octokit/plugin-enterprise-compatibility",
"description": "Octokit plugin for improving GHE compatibility",
"version": "1.2.12",
"version": "1.3.0",
"license": "MIT",

@@ -22,3 +22,3 @@ "files": [

"dependencies": {
"@octokit/request-error": "^2.0.4",
"@octokit/request-error": "^2.1.0",
"@octokit/types": "^6.0.3"

@@ -25,0 +25,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