From 42ca272f03dc39a08249179a370a24432fc7e23a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Mar 2021 17:01:10 -0700 Subject: [PATCH] fix(deps): update dependency @octokit/plugin-rest-endpoint-methods to v5 (#2058) --- package-lock.json | 6 +++--- package.json | 2 +- src/index.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 17e96176..179a70b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1716,9 +1716,9 @@ "integrity": "sha512-4RFU4li238jMJAzLgAwkBAw+4Loile5haQMQr+uhFq27BmyJXcXSKvoQKqh0agsZEiUlW6iSv3FAgvmGkur7OQ==" }, "@octokit/plugin-rest-endpoint-methods": { - "version": "4.15.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.15.0.tgz", - "integrity": "sha512-1AF9GM/Ywk8ukUM5seDRj286GdFpdfsHeOrOPBV2rVtRN7MQNzRIcw8W5sb4JPerjQ0WcRRwAwQyufg64BxJkA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.0.0.tgz", + "integrity": "sha512-Jc7CLNUueIshXT+HWt6T+M0sySPjF32mSFQAK7UfAg8qGeRI6OM1GSBxDLwbXjkqy2NVdnqCedJcP1nC785JYg==", "requires": { "@octokit/types": "^6.13.0", "deprecation": "^2.3.1" diff --git a/package.json b/package.json index 7ef63c71..ca2d1026 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@octokit/core": "^3.2.3", "@octokit/plugin-paginate-rest": "^2.6.2", "@octokit/plugin-request-log": "^1.0.2", - "@octokit/plugin-rest-endpoint-methods": "4.15.0" + "@octokit/plugin-rest-endpoint-methods": "5.0.0" }, "devDependencies": { "@octokit/auth": "^3.0.1", diff --git a/src/index.ts b/src/index.ts index 3eb6d25e..46e74fb8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,14 @@ import { Octokit as Core } from "@octokit/core"; import { requestLog } from "@octokit/plugin-request-log"; import { paginateRest } from "@octokit/plugin-paginate-rest"; -import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; +import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; export { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; import { VERSION } from "./version"; export const Octokit = Core.plugin( requestLog, - restEndpointMethods, + legacyRestEndpointMethods, paginateRest ).defaults({ userAgent: `octokit-rest.js/${VERSION}`,