Skip to content

Commit

Permalink
chore(deps): update dependency mocha to v9 (#4)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mocha](https://mochajs.org/) ([source](https://togithub.com/mochajs/mocha)) | [`^8.1.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/mocha/8.4.0/9.0.2) | [![age](https://badges.renovateapi.com/packages/npm/mocha/9.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mocha/9.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mocha/9.0.2/compatibility-slim/8.4.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mocha/9.0.2/confidence-slim/8.4.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@types/mocha](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^8.2.2` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/8.2.3/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.0.0/compatibility-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.0.0/confidence-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mochajs/mocha</summary>

### [`v9.0.2`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;902--2021-07-03)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v9.0.1...v9.0.2)

#### 🐛 Fixes

-   [#&#8203;4668](https://togithub.com/mochajs/mocha/issues/4668): ESM: make `--require <dir>` work with new `import`-first loading ([**@&#8203;giltayar**](https://togithub.com/giltayar))

#### 🔩 Other

-   [#&#8203;4674](https://togithub.com/mochajs/mocha/issues/4674): Update production dependencies ([**@&#8203;juergba**](https://togithub.com/juergba))

### [`v9.0.1`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;901--2021-06-18)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v9.0.0...v9.0.1)

#### 🔩 Other

-   [#&#8203;4657](https://togithub.com/mochajs/mocha/issues/4657): Browser: add separate bundle for modern browsers ([**@&#8203;juergba**](https://togithub.com/juergba))

We added a separate browser bundle `mocha-es2018.js` in javascript ES2018, as we skipped the transpilation down to ES5. This is an **experimental step towards freezing Mocha's support of IE11**.

-   [#&#8203;4653](https://togithub.com/mochajs/mocha/issues/4653): ESM: proper version check in `hasStableEsmImplementation` ([**@&#8203;alexander-fenster**](https://togithub.com/alexander-fenster))

### [`v9.0.0`](https://togithub.com/mochajs/mocha/blob/master/CHANGELOG.md#&#8203;900--2021-06-07)

[Compare Source](https://togithub.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

#### 💥 Breaking Changes

-   [#&#8203;4633](https://togithub.com/mochajs/mocha/issues/4633): **Drop Node.js v10.x support** ([**@&#8203;juergba**](https://togithub.com/juergba))

-   [#&#8203;4635](https://togithub.com/mochajs/mocha/issues/4635): `import`-first loading of test files ([**@&#8203;giltayar**](https://togithub.com/giltayar))

**Mocha is going ESM-first!** This means that it will now use ESM `import(test_file)` to load the test files, instead of the CommonJS `require(test_file)`. This is not a problem, as `import` can also load most files that `require` does. In the rare cases where this fails, it will fallback to `require(...)`. This ESM-first approach is the next step in Mocha's ESM migration, and allows ESM loaders to load and transform the test file.

-   [#&#8203;4636](https://togithub.com/mochajs/mocha/issues/4636): Remove deprecated `utils.lookupFiles()` ([**@&#8203;juergba**](https://togithub.com/juergba))

-   [#&#8203;4638](https://togithub.com/mochajs/mocha/issues/4638): Limit the size of `actual`/`expected` for `diff` generation ([**@&#8203;juergba**](https://togithub.com/juergba))

-   [#&#8203;4389](https://togithub.com/mochajs/mocha/issues/4389): Refactoring: Consuming log-symbols alternate to code for win32 in reporters/base ([**@&#8203;MoonSupport**](https://togithub.com/MoonSupport))

#### 🎉 Enhancements

-   [#&#8203;4640](https://togithub.com/mochajs/mocha/issues/4640): Add new option `--dry-run` ([**@&#8203;juergba**](https://togithub.com/juergba))

#### 🐛 Fixes

-   [#&#8203;4128](https://togithub.com/mochajs/mocha/issues/4128): Fix: control stringification of error message ([**@&#8203;syeutyu**](https://togithub.com/syeutyu))

#### 🔩 Other

-   [#&#8203;4646](https://togithub.com/mochajs/mocha/issues/4646): Deprecate `Runner(suite: Suite, delay: boolean)` signature ([**@&#8203;juergba**](https://togithub.com/juergba))
-   [#&#8203;4643](https://togithub.com/mochajs/mocha/issues/4643): Update production dependencies ([**@&#8203;juergba**](https://togithub.com/juergba))

</details>

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

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

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- 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#github/googleapis/nodejs-filestore).
  • Loading branch information
renovate-bot authored Jul 22, 2021
1 parent d21c4b7 commit 257e553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-filestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"google-gax": "^2.19.0"
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.44",
"@types/sinon": "^10.0.0",
"c8": "^7.7.2",
Expand All @@ -51,7 +51,7 @@
"jsdoc-fresh": "^1.0.2",
"jsdoc-region-tag": "^1.0.6",
"linkinator": "^2.13.6",
"mocha": "^8.4.0",
"mocha": "^9.0.0",
"null-loader": "^4.0.1",
"pack-n-play": "^1.0.0-2",
"sinon": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-filestore/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"c8": "^7.3.0",
"mocha": "^8.1.1"
"mocha": "^9.0.0"
}
}

0 comments on commit 257e553

Please sign in to comment.