We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40b320 commit 4ca68adCopy full SHA for 4ca68ad
lib/get-client.js
@@ -1,5 +1,5 @@
1
const url = require('url');
2
-const GitHubApi = require('github');
+const GitHubApi = require('@octokit/rest');
3
4
module.exports = (githubToken, githubUrl, githubApiPathPrefix) => {
5
const {port, protocol, hostname} = githubUrl ? url.parse(githubUrl) : {};
package.json
@@ -16,10 +16,10 @@
16
"Gregor Martynus (https://twitter.com/gr2m)"
17
],
18
"dependencies": {
19
+ "@octokit/rest": "^14.0.3",
20
"@semantic-release/error": "^2.1.0",
21
"debug": "^3.1.0",
22
"fs-extra": "^5.0.0",
- "github": "^13.0.0",
23
"globby": "^7.1.1",
24
"lodash": "^4.17.4",
25
"mime": "^2.0.3",
0 commit comments