From b44ea753fb9405432bc9fea84726fae365bf4cd8 Mon Sep 17 00:00:00 2001 From: Michael Lavina Date: Sat, 23 May 2020 18:32:23 -0400 Subject: [PATCH] fix(deps): upgrade octokit/enterprise-rest to v6 (#2464) Co-authored-by: Michael A. Lavina --- package-lock.json | 8 ++++---- utils/github-client/__tests__/github-client.test.js | 2 +- utils/github-client/package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index cd9e15750c..f88d1f62bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -998,7 +998,7 @@ "version": "file:utils/github-client", "requires": { "@lerna/child-process": "file:core/child-process", - "@octokit/plugin-enterprise-rest": "^3.6.1", + "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^16.28.4", "git-url-parse": "^11.1.2", "npmlog": "^4.1.2" @@ -1427,9 +1427,9 @@ } }, "@octokit/plugin-enterprise-rest": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz", - "integrity": "sha512-3wF5eueS5OHQYuAEudkpN+xVeUsg8vYEMMenEzLphUZ7PRZ8OJtDcsreL3ad9zxXmBbaFWzLmFcdob5CLyZftA==" + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", + "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==" }, "@octokit/request": { "version": "5.3.1", diff --git a/utils/github-client/__tests__/github-client.test.js b/utils/github-client/__tests__/github-client.test.js index 2cf9a60517..f6ceb23d1d 100644 --- a/utils/github-client/__tests__/github-client.test.js +++ b/utils/github-client/__tests__/github-client.test.js @@ -32,7 +32,7 @@ describe("createGitHubClient", () => { it("initializes GHE plugin when GHE_VERSION env var is set", () => { process.env.GH_TOKEN = "TOKEN"; - process.env.GHE_VERSION = "2.14"; + process.env.GHE_VERSION = "2.18"; createGitHubClient(); diff --git a/utils/github-client/package.json b/utils/github-client/package.json index d2b667dba8..fd5c47f3fc 100644 --- a/utils/github-client/package.json +++ b/utils/github-client/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "@lerna/child-process": "file:../../core/child-process", - "@octokit/plugin-enterprise-rest": "^3.6.1", + "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^16.28.4", "git-url-parse": "^11.1.2", "npmlog": "^4.1.2"