Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @types/mocha (#6)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped) | devDependencies | major | [`^5.2.7` -> `^7.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/5.2.7/7.0.2) | | [mocha](https://mochajs.org/) ([source](https://github.com/mochajs/mocha)) | devDependencies | major | [`^6.1.4` -> `^7.0.0`](https://renovatebot.com/diffs/npm/mocha/6.2.2/7.1.0) | --- ### Release Notes <details> <summary>mochajs/mocha</summary> ### [`v7.1.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#​710--2020-02-26) [Compare Source](https://github.com/mochajs/mocha/compare/v7.0.1...v7.1.0) #### 🎉 Enhancements [#​4038](https://github.com/mochajs/mocha/issues/4038): Add Node.js native ESM support ([**@​giltayar**](https://github.com/giltayar)) Mocha supports writing your test files as ES modules: - Node.js only v12.11.0 and above - Node.js below v13.2.0, you must set `--experimental-modules` option - current limitations: please check our [documentation](https://mochajs.org/#nodejs-native-esm-support) - for programmatic usage: see [API: loadFilesAsync()](https://mochajs.org/api/mocha#loadFilesAsync) **Note:** Node.JS native [ECMAScript Modules](https://nodejs.org/api/esm.html) implementation has status: **Stability: 1 - Experimental** #### 🐛 Fixes - [#​4181](https://github.com/mochajs/mocha/issues/4181): Programmatic API cannot access retried test objects ([**@​juergba**](https://github.com/juergba)) - [#​4174](https://github.com/mochajs/mocha/issues/4174): Browser: fix `allowUncaught` option ([**@​juergba**](https://github.com/juergba)) #### 📖 Documentation - [#​4058](https://github.com/mochajs/mocha/issues/4058): Manage author list in AUTHORS instead of `package.json` ([**@​outsideris**](https://github.com/outsideris)) #### 🔩 Other - [#​4138](https://github.com/mochajs/mocha/issues/4138): Upgrade ESLint v6.8 ([**@​kaicataldo**](https://github.com/kaicataldo)) ### [`v7.0.1`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#​701--2020-01-25) [Compare Source](https://github.com/mochajs/mocha/compare/v7.0.0...v7.0.1) #### 🐛 Fixes - [#​4165](https://github.com/mochajs/mocha/issues/4165): Fix exception when skipping tests programmatically ([**@​juergba**](https://github.com/juergba)) - [#​4153](https://github.com/mochajs/mocha/issues/4153): Restore backwards compatibility for `reporterOptions` ([**@​holm**](https://github.com/holm)) - [#​4150](https://github.com/mochajs/mocha/issues/4150): Fix recovery of an open test upon uncaught exception ([**@​juergba**](https://github.com/juergba)) - [#​4147](https://github.com/mochajs/mocha/issues/4147): Fix regression of leaking uncaught exception handler ([**@​juergba**](https://github.com/juergba)) #### 📖 Documentation - [#​4146](https://github.com/mochajs/mocha/issues/4146): Update copyright & trademark notices per OJSF ([**@​boneskull**](https://github.com/boneskull)) - [#​4140](https://github.com/mochajs/mocha/issues/4140): Fix broken links ([**@​KyoungWan**](https://github.com/KyoungWan)) #### 🔩 Other - [#​4133](https://github.com/mochajs/mocha/issues/4133): Print more descriptive error message ([**@​Zirak**](https://github.com/Zirak)) ### [`v7.0.0`](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#​700--2020-01-05) [Compare Source](https://github.com/mochajs/mocha/compare/v6.2.2...v7.0.0) #### 💥 Breaking Changes - [#​3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@​mojosoeun**](https://github.com/mojosoeun)) - [#​3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@​juergba**](https://github.com/juergba)) - [#​3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@​ParkSB**](https://github.com/ParkSB)): - `--list-interfaces` replaces `--interfaces` - `--list-reporters` replaces `--reporters` - Hook pattern of `this.skip()` ([**@​juergba**](https://github.com/juergba)): - [#​3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed - [#​3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed - [#​4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks - [#​3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@​juergba**](https://github.com/juergba)) - [#​4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@​juergba**](https://github.com/juergba)) - [#​4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@​juergba**](https://github.com/juergba)) #### 🎉 Enhancements - [#​3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@​geigerzaehler**](https://github.com/geigerzaehler)): - adds command-line options `--watch-files` and `--watch-ignore` - removes `--watch-extensions` - [#​3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@​broofa**](https://github.com/broofa)) #### 📠 Deprecations These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha: - [#​3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@​juergba**](https://github.com/juergba)) #### 🐛 Fixes - [#​4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@​juergba**](https://github.com/juergba)) - [#​4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@​juergba**](https://github.com/juergba)) - [#​4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@​rgroothuijsen**](https://github.com/rgroothuijsen)) - [#​4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@​juergba**](https://github.com/juergba)) #### 🔍 Coverage - [#​4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@​juergba**](https://github.com/juergba)) #### 📖 Documentation - [#​4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@​SaeromB**](https://github.com/SaeromB)) - [#​4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@​khg0712**](https://github.com/khg0712)) - [#​4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@​jgehrcke**](https://github.com/jgehrcke)) - [#​4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@​pzrq**](https://github.com/pzrq)) - [#​4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@​boneskull**](https://github.com/boneskull)) - [#​4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@​HyunSangHan**](https://github.com/HyunSangHan)) - [#​4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@​HyunSangHan**](https://github.com/HyunSangHan)) - [#​3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@​outsideris**](https://github.com/outsideris)) #### 🔩 Other - [#​4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@​kylef**](https://github.com/kylef)) - [#​4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@​SheetJSDev**](https://github.com/SheetJSDev)) - [#​4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@​Munter**](https://github.com/Munter)) - [#​4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@​soobing**](https://github.com/soobing)) </details> --- ### Renovate configuration :date: **Schedule**: "after 9am and before 3pm" (UTC). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/nodejs-service-directory).
- Loading branch information