Socket
Socket
Sign inDemoInstall

@octokit/plugin-enterprise-rest

Package Overview
Dependencies
0
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 6.0.0

ghe-2.19/all.js

2

package.json
{
"name": "@octokit/plugin-enterprise-rest",
"version": "5.0.0",
"version": "6.0.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public",

@@ -9,3 +9,3 @@ const { writeFileSync } = require("fs");

const GHE_VERSIONS = ["2.15", "2.16", "2.17", "2.18"];
const GHE_VERSIONS = ["2.16", "2.17", "2.18", "2.19"];
const newRoutes = {};

@@ -87,3 +87,3 @@

idName
].deprecated = `octokit.${scope}.${endpoint.renamed.before}() has been renamed to octokit.${scope}.${endpoint.renamed.after}() (${endpoint.renamed.date})`;
].deprecated = `octokit.${endpoint.renamed.before.scope}.${endpoint.renamed.before.id}() has been renamed to octokit.${endpoint.renamed.after.scope}.${endpoint.renamed.after.id}() (${endpoint.renamed.date})`;
}

@@ -90,0 +90,0 @@

@@ -7,2 +7,6 @@ const { writeFileSync } = require("fs");

if (!process.env.VERSION) {
throw new Error(`VERSION environment variable must be set`);
}
const QUERY = `

@@ -46,4 +50,10 @@ fragment endpointFields on Endpoint {

renamed {
before(format: CAMELCASE)
after(format: CAMELCASE)
before {
scope(format: CAMELCASE)
id(format: CAMELCASE)
}
after {
scope(format: CAMELCASE)
id(format: CAMELCASE)
}
date

@@ -54,13 +64,13 @@ note

{
ghe218: endpoints(ghe: GHE_218, filter: { isLegacy: false, isGithubCloudOnly: false }) {
query ($version: String) {
ghe219: endpoints(version: $version, ghe: GHE_219, filter: { isLegacy: false, isGithubCloudOnly: false }) {
...endpointFields
}
ghe217: endpoints(ghe: GHE_217, filter: { isLegacy: false, isGithubCloudOnly: false }) {
ghe218: endpoints(version: $version, ghe: GHE_218, filter: { isLegacy: false, isGithubCloudOnly: false }) {
...endpointFields
}
ghe216: endpoints(ghe: GHE_216, filter: { isLegacy: false, isGithubCloudOnly: false }) {
ghe217: endpoints(version: $version, ghe: GHE_217, filter: { isLegacy: false, isGithubCloudOnly: false }) {
...endpointFields
}
ghe215: endpoints(ghe: GHE_215, filter: { isLegacy: false, isGithubCloudOnly: false }) {
ghe216: endpoints(version: $version, ghe: GHE_216, filter: { isLegacy: false, isGithubCloudOnly: false }) {
...endpointFields

@@ -75,3 +85,4 @@ }

const results = await graphql(QUERY, {
url: "https://octokit-routes-graphql-server.now.sh/"
url: "https://octokit-routes-graphql-server.now.sh/",
version: process.env.VERSION
});

@@ -78,0 +89,0 @@

Sorry, the diff of this file is not supported yet

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

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

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc