From b494c01965df8073f16816e48bc9cb52dfa16f9f Mon Sep 17 00:00:00 2001 From: Prokop Simek Date: Tue, 4 Feb 2020 10:00:03 +0100 Subject: [PATCH] fix(services): deprecation notice removed --- package.json | 2 +- src/services/git/GitHubService.ts | 2 +- yarn.lock | 24 +++++++++++++++++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2bfc63021..257564f6b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "@commitlint/config-conventional": "8.3.4", "@commitlint/lint": "8.3.5", - "@octokit/rest": "16.43.0", + "@octokit/rest": "16.43.1", "@types/eslint": "6.1.7", "@types/js-yaml": "3.12.2", "@types/qs": "6.9.0", diff --git a/src/services/git/GitHubService.ts b/src/services/git/GitHubService.ts index 08ecc96e3..ebbd7d979 100644 --- a/src/services/git/GitHubService.ts +++ b/src/services/git/GitHubService.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/camelcase */ -import Octokit from '@octokit/rest'; +import { Octokit } from '@octokit/rest'; import Debug from 'debug'; import { inject, injectable } from 'inversify'; import { inspect, isArray } from 'util'; diff --git a/yarn.lock b/yarn.lock index cf3cf9ae4..a8e6de87f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -620,7 +620,29 @@ once "^1.4.0" universal-user-agent "^4.0.0" -"@octokit/rest@16.43.0", "@octokit/rest@^16.27.0": +"@octokit/rest@16.43.1": + version "16.43.1" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.1.tgz#3b11e7d1b1ac2bbeeb23b08a17df0b20947eda6b" + integrity sha512-gfFKwRT/wFxq5qlNjnW2dh+qh74XgTQ2B179UX5K1HYCluioWj8Ndbgqw2PVqa1NnVJkGHp2ovMpVn/DImlmkw== + dependencies: + "@octokit/auth-token" "^2.4.0" + "@octokit/plugin-paginate-rest" "^1.1.1" + "@octokit/plugin-request-log" "^1.0.0" + "@octokit/plugin-rest-endpoint-methods" "2.4.0" + "@octokit/request" "^5.2.0" + "@octokit/request-error" "^1.0.2" + atob-lite "^2.0.0" + before-after-hook "^2.0.0" + btoa-lite "^1.0.0" + deprecation "^2.0.0" + lodash.get "^4.4.2" + lodash.set "^4.3.2" + lodash.uniq "^4.5.0" + octokit-pagination-methods "^1.1.0" + once "^1.4.0" + universal-user-agent "^4.0.0" + +"@octokit/rest@^16.27.0": version "16.43.0" resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.0.tgz#519ac030b5c3604afde6550720ff56513aee32aa" integrity sha512-u+OwrTxHuppVcssGmwCmb4jgPNzsRseJ2rS5PrZk2ASC+WkaF5Q7wu8zVtJ4OA24jK6aRymlwA2uwL36NU9nAA==