Skip to content

Commit

Permalink
Bump chai from 4.2.0 to 4.3.0 (#1115)
Browse files Browse the repository at this point in the history
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/chaijs/chai/releases">chai's releases</a>.</em></p>
<blockquote>
<h2>4.3.0 / 2021-02-04</h2>
<p>This is a minor release.</p>
<p>Not many changes have got in since the last release but this one contains a very important change (<a href="https://github-redirect.dependabot.com/chaijs/chai/issues/1257">#1257</a>) which will allow <code>jest</code> users to get better diffs. From this release onwards, <code>jest</code> users will be able to see which operator was used in their diffs. <a href="https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message">The <code>operator</code> is a property of the <code>AssertionError</code> thrown when assertions fail</a>. This flag indicates what kind of comparison was made.</p>
<p>This is also an important change for plugin maintainers. Plugin maintainers will now have access to the <code>operator</code> <code>flag, which they can have access to through an </code>util<code>method called</code>getOperator`.</p>
<p>Thanks to all the amazing people that contributed to this release.</p>
<h1>New Features</h1>
<ul>
<li>Allow <code>contain.oneOf</code> to take an array of possible values (<a href="https://github.com/voliva"><code>@voliva</code></a>)</li>
<li>Adding operator attribute to assertion error (<a href="https://github-redirect.dependabot.com/chaijs/chai/issues/1257">#1257</a>) (<a href="https://github.com/rpgeeganage"><code>@rpgeeganage</code></a>)</li>
<li>The <code>closeTo</code> error message will now inform the user when a <code>delta</code> is required (<a href="https://github.com/eouw0o83hf"><code>@eouw0o83hf</code></a>)</li>
</ul>
<h1>Docs</h1>
<ul>
<li>Add contains flag to oneOf documentation (<a href="https://github.com/voliva"><code>@voliva</code></a>)</li>
</ul>
<h1>Tests</h1>
<ul>
<li>Make sure that <code>useProxy</code> config is checked in <code>overwriteProperty</code> (<a href="https://github.com/vieiralucas"><code>@vieiralucas</code></a>)</li>
<li>Add tests for <code>contain.oneOf</code> (<a href="https://github.com/voliva"><code>@voliva</code></a> )</li>
</ul>
<h1>Chores</h1>
<ul>
<li>Update mocha to version 6.1.4</li>
<li>Add node v10 and v12 to ci (<a href="https://github.com/vieiralucas"><code>@vieiralucas</code></a>)</li>
<li>Drop support for node v4, v6 and v9 (<a href="https://github.com/vieiralucas"><code>@vieiralucas</code></a>)</li>
<li>Fix sauce config for headless chrome (<a href="https://github.com/meeber"><code>@meeber</code></a>)</li>
<li>Update dev dependencies (<a href="https://github.com/meeber"><code>@meeber</code></a>)</li>
<li>Removed phantomjs dependency (<a href="https://github-redirect.dependabot.com/chaijs/chai/issues/1204">#1204</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/chaijs/chai/commit/8ae00a0f8b353b13f115959198ac9128ddfcd5b9"><code>8ae00a0</code></a> [email protected]</li>
<li><a href="https://github.com/chaijs/chai/commit/03913cbaa18c262d46a3b2bf0b21c3991bfe7658"><code>03913cb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/chaijs/chai/issues/1242">#1242</a> from voliva/contains-oneOf</li>
<li><a href="https://github.com/chaijs/chai/commit/9d2f6dc989813012a47dc2da8a05b7049c1c59cb"><code>9d2f6dc</code></a> docs(oneOf): Add contains flag to oneOf documentation</li>
<li><a href="https://github.com/chaijs/chai/commit/7eaf684b1a8c2e081fa01d91e0655ba988849301"><code>7eaf684</code></a> feat(oneOf): expect(value).to.contain.oneOf([])</li>
<li><a href="https://github.com/chaijs/chai/commit/8dc92d870a1e88a1f8fa70fabfb423c9f0709e1c"><code>8dc92d8</code></a> Adding operator attribute to assertion error (<a href="https://github-redirect.dependabot.com/chaijs/chai/issues/1257">#1257</a>)</li>
<li><a href="https://github.com/chaijs/chai/commit/195834108e11f1a5b784f87556b40cd37cefb7de"><code>1958341</code></a> chore(package): update lockfile package-lock.json</li>
<li><a href="https://github.com/chaijs/chai/commit/7bb36a461080ef04dbd5868705ca7d92946c85d7"><code>7bb36a4</code></a> chore(package): update mocha to version 6.1.4</li>
<li><a href="https://github.com/chaijs/chai/commit/42509fac016182ddde8b4edf9ff3ff1ce285cebf"><code>42509fa</code></a> test: make sure that useProxy config is checked in overwriteProperty</li>
<li><a href="https://github.com/chaijs/chai/commit/18d84948f470db629cce66059d60e6cff2ef850f"><code>18d8494</code></a> chore: add node v10 and v12 to ci</li>
<li><a href="https://github.com/chaijs/chai/commit/6740969bc8e8aaf0a4f87e62b439ab43dc7aa35b"><code>6740969</code></a> chore: drop support for node v4, v6 and v9</li>
<li>Additional commits viewable in <a href="https://github.com/chaijs/chai/compare/4.2.0...4.3.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~chai">chai</a>, a new releaser for chai since your current version.</p>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=chai&package-manager=npm_and_yarn&previous-version=4.2.0&new-version=4.3.0)](https://dependabot.com/compatibility-score/?dependency-name=chai&package-manager=npm_and_yarn&previous-version=4.2.0&new-version=4.3.0)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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)
- 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)



</details>
  • Loading branch information
dependabot-preview[bot] authored Feb 5, 2021
1 parent 8232e1f commit 6d84e94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.10.1",
"bignumber.js": "^9.0.1",
"chai": "^4.2.0",
"chai": "^4.3.0",
"coveralls": "^3.1.0",
"dotenv": "^8.2.0",
"eslint": "^7.15.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2454,10 +2454,10 @@ cbor@^5.1.0:
bignumber.js "^9.0.0"
nofilter "^1.0.4"

chai@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5"
integrity sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==
chai@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/chai/-/chai-4.3.0.tgz#5523a5faf7f819c8a92480d70a8cccbadacfc25f"
integrity sha512-/BFd2J30EcOwmdOgXvVsmM48l0Br0nmZPlO0uOW4XKh6kpsUumRXBgPV+IlaqFaqr9cYbeoZAM1Npx0i4A+aiA==
dependencies:
assertion-error "^1.1.0"
check-error "^1.0.2"
Expand Down

0 comments on commit 6d84e94

Please sign in to comment.