hexojs / hexo-generator-index

Index generator plugin for Hexo.
MIT License
51 stars 44 forks source link

Update mocha requirement from ^5.2.0 to ^6.0.0 #27

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on mocha to permit the latest version.

Release notes *Sourced from [mocha's releases](https://github.com/mochajs/mocha/releases).* > ## v6.0.0 > # 6.0.0 / 2019-02-18 > > ## :boom: Breaking Changes > > - [#3149](https://github-redirect.dependabot.com/mochajs/mocha/issues/3149): **Drop Node.js v4.x support** ([**[@​outsideris](https://github.com/outsideris)**](https://github.com/outsideris)) > - [#3556](https://github-redirect.dependabot.com/mochajs/mocha/issues/3556): Changes to command-line options ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)): > - `--grep` and `--fgrep` are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring `--grep` > - `--compilers` is no longer supported; attempting to use will cause Mocha to fail with a link to more information > - `-d` is no longer an alias for `--debug`; `-d` is currently ignored > - [#3275](https://github-redirect.dependabot.com/mochajs/mocha/issues/3275): `--watch-extensions` no longer implies `js`; it must be explicitly added ([**[@​TheDancingCode](https://github.com/TheDancingCode)**](https://github.com/TheDancingCode)) > - [#2908](https://github-redirect.dependabot.com/mochajs/mocha/issues/2908): `tap` reporter emits error messages ([**[@​chrmod](https://github.com/chrmod)**](https://github.com/chrmod)) > - [#2819](https://github-redirect.dependabot.com/mochajs/mocha/issues/2819): When conditionally skipping in a `before` hook, subsequent `before` hooks _and_ tests in nested suites are now skipped ([**[@​bannmoore](https://github.com/bannmoore)**](https://github.com/bannmoore)) > - [#627](https://github-redirect.dependabot.com/mochajs/mocha/issues/627): Emit filepath in "timeout exceeded" exceptions where applicable ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3556](https://github-redirect.dependabot.com/mochajs/mocha/issues/3556): `lib/template.html` has moved to `lib/browser/template.html` ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#2576](https://github-redirect.dependabot.com/mochajs/mocha/issues/2576): An exception is now thrown if Mocha fails to parse or find a `mocha.opts` at a user-specified path ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > - [#3458](https://github-redirect.dependabot.com/mochajs/mocha/issues/3458): Instantiating a `Base`-extending reporter without a `Runner` parameter will throw an exception ([**[@​craigtaub](https://github.com/craigtaub)**](https://github.com/craigtaub)) > - [#3125](https://github-redirect.dependabot.com/mochajs/mocha/issues/3125): For consumers of Mocha's programmatic API, all exceptions thrown from Mocha now have a `code` property (and some will have additional metadata). Some `Error` messages have changed. **Please use the `code` property to check `Error` types instead of the `message` property**; these descriptions will be localized in the future. ([**[@​craigtaub](https://github.com/craigtaub)**](https://github.com/craigtaub)) > > ## :fax: Deprecations > > These are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha: > > - `-gc` users should use `--gc-global` instead > - Consumers of the function exported by `bin/options` should now use the `loadMochaOpts` or `loadOptions` (preferred) functions exported by the `lib/cli/options` module > > Regarding the `Mocha` class constructor (from `lib/mocha`): > > - Use property `color: false` instead of `useColors: false` > - Use property `timeout: false` instead of `enableTimeouts: false` > > All of the above deprecations were introduced by [#3556](https://github-redirect.dependabot.com/mochajs/mocha/issues/3556). > > `mocha.opts` is now considered "legacy"; please prefer RC file or `package.json` over `mocha.opts`. > > ## :tada: Enhancements > > - [#3726](https://github-redirect.dependabot.com/mochajs/mocha/issues/3726): Add ability to unload files from `require` cache ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > > Enhancements introduced in [#3556](https://github-redirect.dependabot.com/mochajs/mocha/issues/3556): > > - Mocha now supports "RC" files in JS, JSON, YAML, or `package.json`-based (using `mocha` property) format > - `.mocharc.js`, `.mocharc.json`, `.mocharc.yaml` or `.mocharc.yml` are valid "rc" file names and will be automatically loaded > - Use `--config /path/to/rc/file` to specify an explicit path > - Use `--package /path/to/package.json` to specify an explicit `package.json` to read the `mocha` prop from > - Use `--no-config` or `--no-package` to completely disable loading of configuration via RC file and `package.json`, respectively > - Configurations are merged as applicable using the priority list: > 1. Command-line arguments > 1. RC file > 1. `package.json` > ... (truncated)
Changelog *Sourced from [mocha's changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md).* > # 6.0.0 / 2019-02-18 > > ## :tada: Enhancements > > - [#3726](https://github-redirect.dependabot.com/mochajs/mocha/issues/3726): Add ability to unload files from `require` cache ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > > ## :bug: Fixes > > - [#3737](https://github-redirect.dependabot.com/mochajs/mocha/issues/3737): Fix falsy values from options globals ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > - [#3707](https://github-redirect.dependabot.com/mochajs/mocha/issues/3707): Fix encapsulation issues for `Suite#_onlyTests` and `Suite#_onlySuites` ([**[@​vkarpov15](https://github.com/vkarpov15)**](https://github.com/vkarpov15)) > - [#3711](https://github-redirect.dependabot.com/mochajs/mocha/issues/3711): Fix diagnostic messages dealing with plurality and markup of output ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > - [#3723](https://github-redirect.dependabot.com/mochajs/mocha/issues/3723): Fix "reporter-option" to allow comma-separated options ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3722](https://github-redirect.dependabot.com/mochajs/mocha/issues/3722): Fix code quality and performance of `lookupFiles` and `files` ([**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck)) > - [#3650](https://github-redirect.dependabot.com/mochajs/mocha/issues/3650), [#3654](https://github-redirect.dependabot.com/mochajs/mocha/issues/3654): Fix noisy error message when no files found ([**[@​craigtaub](https://github.com/craigtaub)**](https://github.com/craigtaub)) > - [#3632](https://github-redirect.dependabot.com/mochajs/mocha/issues/3632): Tests having an empty title are no longer confused with the "root" suite ([**[@​juergba](https://github.com/juergba)**](https://github.com/juergba)) > - [#3666](https://github-redirect.dependabot.com/mochajs/mocha/issues/3666): Fix missing error codes ([**[@​vkarpov15](https://github.com/vkarpov15)**](https://github.com/vkarpov15)) > - [#3684](https://github-redirect.dependabot.com/mochajs/mocha/issues/3684): Fix exiting problem in Node.js v11.7.0+ ([**[@​addaleax](https://github.com/addaleax)**](https://github.com/addaleax)) > - [#3691](https://github-redirect.dependabot.com/mochajs/mocha/issues/3691): Fix `--delay` (and other boolean options) not working in all cases ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3692](https://github-redirect.dependabot.com/mochajs/mocha/issues/3692): Fix invalid command-line argument usage not causing actual errors ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3698](https://github-redirect.dependabot.com/mochajs/mocha/issues/3698), [#3699](https://github-redirect.dependabot.com/mochajs/mocha/issues/3699): Fix debug-related Node.js options not working in all cases ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3700](https://github-redirect.dependabot.com/mochajs/mocha/issues/3700): Growl notifications now show the correct number of tests run ([**[@​outsideris](https://github.com/outsideris)**](https://github.com/outsideris)) > - [#3686](https://github-redirect.dependabot.com/mochajs/mocha/issues/3686): Avoid potential ReDoS when diffing large objects ([**[@​cyjake](https://github.com/cyjake)**](https://github.com/cyjake)) > - [#3715](https://github-redirect.dependabot.com/mochajs/mocha/issues/3715): Fix incorrect order of emitted events when used programmatically ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3706](https://github-redirect.dependabot.com/mochajs/mocha/issues/3706): Fix regression wherein `--reporter-option`/`--reporter-options` did not support comma-separated key/value pairs ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > > ## :book: Documentation > > - [#3652](https://github-redirect.dependabot.com/mochajs/mocha/issues/3652): Switch from Jekyll to Eleventy ([**[@​Munter](https://github.com/Munter)**](https://github.com/Munter)) > > ## :nut_and_bolt: Other > > - [#3677](https://github-redirect.dependabot.com/mochajs/mocha/issues/3677): Add error objects for createUnsupportedError and createInvalidExceptionError ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > - [#3733](https://github-redirect.dependabot.com/mochajs/mocha/issues/3733): Removed unnecessary processing in post-processing hook ([**[@​wanseob](https://github.com/wanseob)**](https://github.com/wanseob)) > - [#3730](https://github-redirect.dependabot.com/mochajs/mocha/issues/3730): Update nyc to latest version ([**[@​coreyfarrell](https://github.com/coreyfarrell)**](https://github.com/coreyfarrell)) > - [#3648](https://github-redirect.dependabot.com/mochajs/mocha/issues/3648), [#3680](https://github-redirect.dependabot.com/mochajs/mocha/issues/3680): Fixes to support latest versions of [unexpected](https://npm.im/unexpected) and [unexpected-sinon](https://npm.im/unexpected-sinon) ([**[@​sunesimonsen](https://github.com/sunesimonsen)**](https://github.com/sunesimonsen)) > - [#3638](https://github-redirect.dependabot.com/mochajs/mocha/issues/3638): Add meta tag to site ([**[@​MartijnCuppens](https://github.com/MartijnCuppens)**](https://github.com/MartijnCuppens)) > - [#3653](https://github-redirect.dependabot.com/mochajs/mocha/issues/3653): Fix parts of test suite failing to run on Windows ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > > # 6.0.0-1 / 2019-01-02 > > ## :bug: Fixes > > - Fix missing `mocharc.json` in published package ([**[@​boneskull](https://github.com/boneskull)**](https://github.com/boneskull)) > > # 6.0.0-0 / 2019-01-01 > > **Documentation for this release can be found at [next.mochajs.org](https://next.mochajs.org)**! > > Welcome [**[@​plroebuck](https://github.com/plroebuck)**](https://github.com/plroebuck), [**[@​craigtaub](https://github.com/craigtaub)**](https://github.com/craigtaub), & [**[@​markowsiak](https://github.com/markowsiak)**](https://github.com/markowsiak) to the team! > > ... (truncated)
Commits - [`42303e2`](https://github.com/mochajs/mocha/commit/42303e2acba217af554294b1174ee53b5627cc33) Release v6.0.0 - [`a553ca7`](https://github.com/mochajs/mocha/commit/a553ca70287f407abd4a82180e4a1155b8730756) punctuation updates for changelog v6.0.0 - [`c710792`](https://github.com/mochajs/mocha/commit/c7107926b3a546960e841b0339bf4a3b85170c4c) grammar updates for changelog v6.0.0 - [`9f9293a`](https://github.com/mochajs/mocha/commit/9f9293a0db44ce41e1bd9cc38d68e3d7a1010f41) update changelog for v6.0.0 - [`a540eb0`](https://github.com/mochajs/mocha/commit/a540eb06f23135db563a6b2bd2e0b3b51583fde7) remove "projects" section from MAINTAINERS.md [ci skip] - [`52b5c42`](https://github.com/mochajs/mocha/commit/52b5c42c3dda8c386735969642843bd1129a4562) Uppercased JSON reporter name in `describe` title ([#3739](https://github-redirect.dependabot.com/mochajs/mocha/issues/3739)) - [`82307fb`](https://github.com/mochajs/mocha/commit/82307fbf9bfa7cd72042facd1d42fb108257100c) Fix `.globals` to remove falsy values ([#3737](https://github-redirect.dependabot.com/mochajs/mocha/issues/3737)) - [`56dc28e`](https://github.com/mochajs/mocha/commit/56dc28e62f63903632d5fe4169b52cb2cdb5f7ea) Remove unnecessary post-processing code having no effect; closes [#3708](https://github-redirect.dependabot.com/mochajs/mocha/issues/3708) ([#3733](https://github-redirect.dependabot.com/mochajs/mocha/issues/3733)) - [`16b4281`](https://github.com/mochajs/mocha/commit/16b4281b6e86d93e959a37f830a349c0542d968a) Documentation updates ([#3728](https://github-redirect.dependabot.com/mochajs/mocha/issues/3728)) - [`5d9d3eb`](https://github.com/mochajs/mocha/commit/5d9d3eb665825ea69435388f5776150f40c844be) Update nyc - Additional commits viewable in [compare view](https://github.com/mochajs/mocha/compare/v5.2.0...v6.0.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #28.