chaijs/chai
### [`v4.3.0`](https://togithub.com/chaijs/chai/releases/4.3.0)
[Compare Source](https://togithub.com/chaijs/chai/compare/4.2.0...4.3.0)
This is a minor release.
Not many changes have got in since the last release but this one contains a very important change ([#1257](https://togithub.com/chaijs/chai/issues/1257)) which will allow `jest` users to get better diffs. From this release onwards, `jest` users will be able to see which operator was used in their diffs. [The `operator` is a property of the `AssertionError` thrown when assertions fail](https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message). This flag indicates what kind of comparison was made.
This is also an important change for plugin maintainers. Plugin maintainers will now have access to the `operator` `flag, which they can have access to through an`util`method called`getOperator\`.
Thanks to all the amazing people that contributed to this release.
##### New Features
- Allow `contain.oneOf` to take an array of possible values ([@voliva](https://togithub.com/voliva))
- Adding operator attribute to assertion error ([#1257](https://togithub.com/chaijs/chai/issues/1257)) ([@rpgeeganage](https://togithub.com/rpgeeganage))
- The `closeTo` error message will now inform the user when a `delta` is required ([@eouw0o83hf](https://togithub.com/eouw0o83hf))
##### Docs
- Add contains flag to oneOf documentation ([@voliva](https://togithub.com/voliva))
##### Tests
- Make sure that `useProxy` config is checked in `overwriteProperty` ([@vieiralucas](https://togithub.com/vieiralucas))
- Add tests for `contain.oneOf` ([@voliva](https://togithub.com/voliva) )
##### Chores
- Update mocha to version 6.1.4
- Add node v10 and v12 to ci ([@vieiralucas](https://togithub.com/vieiralucas))
- Drop support for node v4, v6 and v9 ([@vieiralucas](https://togithub.com/vieiralucas))
- Fix sauce config for headless chrome ([@meeber](https://togithub.com/meeber))
- Update dev dependencies ([@meeber](https://togithub.com/meeber))
- Removed phantomjs dependency ([#1204](https://togithub.com/chaijs/chai/issues/1204))
Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^4.2.0
->^4.3.0
Release Notes
chaijs/chai
### [`v4.3.0`](https://togithub.com/chaijs/chai/releases/4.3.0) [Compare Source](https://togithub.com/chaijs/chai/compare/4.2.0...4.3.0) This is a minor release. Not many changes have got in since the last release but this one contains a very important change ([#1257](https://togithub.com/chaijs/chai/issues/1257)) which will allow `jest` users to get better diffs. From this release onwards, `jest` users will be able to see which operator was used in their diffs. [The `operator` is a property of the `AssertionError` thrown when assertions fail](https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message). This flag indicates what kind of comparison was made. This is also an important change for plugin maintainers. Plugin maintainers will now have access to the `operator` `flag, which they can have access to through an`util`method called`getOperator\`. Thanks to all the amazing people that contributed to this release. ##### New Features - Allow `contain.oneOf` to take an array of possible values ([@voliva](https://togithub.com/voliva)) - Adding operator attribute to assertion error ([#1257](https://togithub.com/chaijs/chai/issues/1257)) ([@rpgeeganage](https://togithub.com/rpgeeganage)) - The `closeTo` error message will now inform the user when a `delta` is required ([@eouw0o83hf](https://togithub.com/eouw0o83hf)) ##### Docs - Add contains flag to oneOf documentation ([@voliva](https://togithub.com/voliva)) ##### Tests - Make sure that `useProxy` config is checked in `overwriteProperty` ([@vieiralucas](https://togithub.com/vieiralucas)) - Add tests for `contain.oneOf` ([@voliva](https://togithub.com/voliva) ) ##### Chores - Update mocha to version 6.1.4 - Add node v10 and v12 to ci ([@vieiralucas](https://togithub.com/vieiralucas)) - Drop support for node v4, v6 and v9 ([@vieiralucas](https://togithub.com/vieiralucas)) - Fix sauce config for headless chrome ([@meeber](https://togithub.com/meeber)) - Update dev dependencies ([@meeber](https://togithub.com/meeber)) - Removed phantomjs dependency ([#1204](https://togithub.com/chaijs/chai/issues/1204))Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.