jfairley / github-slack-bot

Slack bot to notify you of Github pull request activity
MIT License
2 stars 3 forks source link

fix(deps): update dependency @octokit/rest to v16.15.0 #122

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
@​octokit/rest dependencies minor 16.8.1 -> 16.15.0 source

Release Notes

octokit/rest.js ### [`v16.15.0`](https://togithub.com/octokit/rest.js/releases/v16.15.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.14.1...v16.15.0) ##### Bug Fixes - `name` parameter no longer required for `octokit.repos.createHook()` ([6e53694](https://togithub.com/octokit/rest.js/commit/6e53694)) ##### Features - `sort` and `direction` parameters for `octokit.repos.listForOrg()` ([2f9f5df](https://togithub.com/octokit/rest.js/commit/2f9f5df)) ### [`v16.14.1`](https://togithub.com/octokit/rest.js/releases/v16.14.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.14.0...v16.14.1) ##### Bug Fixes - **typescript:** reference esnext.asynciterable ([#​1229](https://togithub.com/octokit/rest.js/issues/1229)) ([101a246](https://togithub.com/octokit/rest.js/commit/101a246)) ### [`v16.14.0`](https://togithub.com/octokit/rest.js/releases/v16.14.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.13.4...v16.14.0) ##### Features - custom logging ([#​1205](https://togithub.com/octokit/rest.js/issues/1205)) This release adds 4 new methods 1. `octokit.log.debug()` 2. `octokit.log.info()` 3. `octokit.log.warn()` 4. `octokit.log.error()` They can be configured using the `log` client option. By default, `octokit.log.debug()` and `octokit.log.info()` are no-ops, while the other two call `console.warn()` and `console.error()` respectively. This can be used for debugging. The simplest way is to set the `log` option to `console` ```js const octokit = require("@​octokit/rest")({ log: console }) console.request("/") ``` This will log request { method: "GET", baseUrl: "https://api.github.com", headers: { accept: "application/vnd.github.v3+json", "user-agent": "octokit.js/0.0.0-semantically-released Node.js/10.15.0 (macOS Mojave; x64)" }, request: {}, url: "/" } GET / - 200 in 514ms If you like to support a configurable log level, we recommend using the [console-log-level](https://togithub.com/watson/console-log-level) module ```js const octokit = require("@​octokit/rest")({ log: require("console-log-level")({ level: "info" }) }) console.request("/") ``` This will only log GET / - 200 in 514ms ### [`v16.13.4`](https://togithub.com/octokit/rest.js/releases/v16.13.4) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.13.3...v16.13.4) ##### Bug Fixes - **typescript:** auth.client_id, auth.client_secret → auth.clientId, auth.clientSecret ([#​1227](https://togithub.com/octokit/rest.js/issues/1227)) ([1ac39cd](https://togithub.com/octokit/rest.js/commit/1ac39cd)) ### [`v16.13.3`](https://togithub.com/octokit/rest.js/releases/v16.13.3) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.13.2...v16.13.3) ##### Bug Fixes - **typescript:** accept `{ auth: () => }` constructor option ([0e11699](https://togithub.com/octokit/rest.js/commit/0e11699)) ### [`v16.13.2`](https://togithub.com/octokit/rest.js/releases/v16.13.2) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.13.1...v16.13.2) ##### Bug Fixes - **typescript:** two-factor authentication is on2fa() not on2Fa() ([#​1222](https://togithub.com/octokit/rest.js/issues/1222)) ([28a6f32](https://togithub.com/octokit/rest.js/commit/28a6f32)) ### [`v16.13.1`](https://togithub.com/octokit/rest.js/releases/v16.13.1) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.13.0...v16.13.1) ##### Bug Fixes - **typescript:** update typings with new options for constructor ([2b73d01](https://togithub.com/octokit/rest.js/commit/2b73d01)) ### [`v16.13.0`](https://togithub.com/octokit/rest.js/releases/v16.13.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.12.0...v16.13.0) ##### Features - "auth" constructor options ([45a4836](https://togithub.com/octokit/rest.js/commit/45a4836)) ### [`v16.12.0`](https://togithub.com/octokit/rest.js/releases/v16.12.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.11.0...v16.12.0) ##### Features - userAgent, previews and request options ([8cf0d4d](https://togithub.com/octokit/rest.js/commit/8cf0d4d)) In preparation for v17, instead of ```js const octokit = new Octokit({ headers: { accept: 'application/vnd.github.jean-grey-preview+json,application/vnd.github.symmetra-preview+json', 'user-agent': 'octokit/rest.js v1.2.3' // v1.2.3 will be current version }, timeout: 0, agent: undefined }) ``` the new options will be ```js const octokit = new Octokit({ userAgent: 'myapp v1.2.3', previews: [ 'jean-grey-preview', 'symmetra-preview' ], request: { timeout: 0, agent: undefined } }) ``` The old options will continue to work, but will be deprecated. The `baseUrl` option will remain the same. ### [`v16.11.0`](https://togithub.com/octokit/rest.js/releases/v16.11.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.10.0...v16.11.0) ##### Bug Fixes - handle invalid otp for 2FA ([d29ec5a](https://togithub.com/octokit/rest.js/commit/d29ec5a)) ##### Features - Resolve requsets with `response.url` ([9517b47](https://togithub.com/octokit/rest.js/commit/9517b47)) ### [`v16.10.0`](https://togithub.com/octokit/rest.js/releases/v16.10.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.9.0...v16.10.0) ##### Features - two-factor authentication ([fb38885](https://togithub.com/octokit/rest.js/commit/fb38885)) ### [`v16.9.0`](https://togithub.com/octokit/rest.js/releases/v16.9.0) [Compare Source](https://togithub.com/octokit/rest.js/compare/v16.8.1...v16.9.0) ##### Features - `octokit.oauthAuthorizations.getOrCreateAuthorizationForAppAndFingerprint()` - `octokit.oauthAuthorizations.getOrCreateAuthorizationForAppFingerprint()` is now deprecated ([fe4d9fb](https://togithub.com/octokit/rest.js/commit/fe4d9fb)) - `octokit.repos.updateReview({owner,repo,number,review_id,body})` ([6527b32](https://togithub.com/octokit/rest.js/commit/6527b32)) - `octokit.search.issuesAndPullRequests()` - `octokit.search.issues()` is now deprecated ([a8e392a](https://togithub.com/octokit/rest.js/commit/a8e392a)) ##### Bug Fixes - `octokit.projects.update()` - invalid `public` parameter replaced with `private` ([fecabe5](https://togithub.com/octokit/rest.js/commit/fecabe5)) - `octokit.search.repos()` - `sort` parameter now accepts `'help-wanted-issues'` ([d528c50](https://togithub.com/octokit/rest.js/commit/d528c50))

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot. View repository job log here.