Skip to content

Commit

Permalink
fix(deps): update dependency @octokit/plugin-rest-endpoint-methods to…
Browse files Browse the repository at this point in the history
… v5 (#2058)
  • Loading branch information
renovate[bot] authored Mar 27, 2021
1 parent f40c7ab commit 42ca272
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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}`,
Expand Down

0 comments on commit 42ca272

Please sign in to comment.