Updated deps and put code in place to prepare for GitHub module API change
This commit is contained in:
parent
9f7904540b
commit
d2fb1926a5
2 changed files with 8 additions and 3 deletions
|
@ -30,6 +30,11 @@ String.prototype.escape = function() {
|
|||
let client;
|
||||
|
||||
if (typeof process.env.GITHUB_OAUTH_TOKEN !== "undefined") {
|
||||
// new octokit({
|
||||
// auth: `token ${process.env.GITHUB_OAUTH_TOKEN}`
|
||||
// });
|
||||
// https://github.com/octokit/rest.js/issues/1207
|
||||
|
||||
octokit.authenticate({
|
||||
type: "oauth",
|
||||
token: process.env.GITHUB_OAUTH_TOKEN
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"dependencies": {
|
||||
"@babel/polyfill": "^7.2.5",
|
||||
"@inc/fastify-ws": "^1.1.0",
|
||||
"@octokit/rest": "^16.13.0",
|
||||
"@octokit/rest": "^16.13.1",
|
||||
"@slack/client": "^4.8.0",
|
||||
"app-root-path": "^2.1.0",
|
||||
"async": "^2.6.1",
|
||||
|
@ -51,12 +51,12 @@
|
|||
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
||||
"@babel/plugin-syntax-import-meta": "7.2.0",
|
||||
"@babel/preset-env": "^7.3.0",
|
||||
"@babel/preset-env": "^7.3.1",
|
||||
"@babel/register": "^7.0.0",
|
||||
"@inc/eslint-config": "^1.1.2",
|
||||
"@inc/sasslint-config": "^1.1.2",
|
||||
"@lbry/color": "^1.1.0",
|
||||
"@lbry/components": "^1.8.0",
|
||||
"@lbry/components": "^1.8.1",
|
||||
"eslint": "^5.12.1",
|
||||
"husky": "^1.3.1",
|
||||
"nodemon": "^1.18.9",
|
||||
|
|
Loading…
Reference in a new issue