Update dependency chai to v4.3.6
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| chai (source) | minor | 4.0.2 -> 4.3.6 |
Release Notes
chaijs/chai
v4.3.6
Update loupe to 2.3.1
v4.3.5
- build chaijs
fca5bb1 - build(deps-dev): bump codecov from 3.1.0 to 3.7.1 (#1446)
747eb4e - fix package.json exports
022c2fa - fix: package.json - deprecation warning on exports field (#1400)
5276af6 - feat: use chaijs/loupe for inspection (#1401) (#1407)
c8a4e00
v4.3.4
This fixes broken inspect behavior with bigints (#1321) (#1383) thanks @vapier
v4.3.3
This reintroduces Assertion as an export in the mjs file. See https://github.com/chaijs/chai/pull/1378 & https://github.com/chaijs/chai/issues/1375
v4.3.2
This fixes a regression in IE11. See https://github.com/chaijs/chai/pull/1380 & https://github.com/chaijs/chai/issues/1379
v4.3.1
This releases fixed an engine incompatibility with 4.3.0
The 4.x.x series of releases will be compatible with Node 4.0. Please report any errors found in Node 4 as bugs, and they will be fixed.
The 5.x.x series, when released, will drop support for Node 4.0
This fix also ensures pathval is updated to 1.1.1 to fix CVE-2020-7751
v4.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) 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. 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 utilmethod calledgetOperator`.
Thanks to all the amazing people that contributed to this release.
New Features
- Allow
contain.oneOfto take an array of possible values (@voliva) - Adding operator attribute to assertion error (#1257) (@rpgeeganage)
- The
closeToerror message will now inform the user when adeltais required (@eouw0o83hf)
Docs
- Add contains flag to oneOf documentation (@voliva)
Tests
- Make sure that
useProxyconfig is checked inoverwriteProperty(@vieiralucas) - Add tests for
contain.oneOf(@voliva )
Chores
- Update mocha to version 6.1.4
- Add node v10 and v12 to ci (@vieiralucas)
- Drop support for node v4, v6 and v9 (@vieiralucas)
- Fix sauce config for headless chrome (@meeber)
- Update dev dependencies (@meeber)
- Removed phantomjs dependency (#1204)
v4.2.0
This is a minor release. Thank you to all of our contributors and users!
New Features
- feat(assertions): add 'still' language chain (#1194; @ScottRudiger)
- .lengthOf for Maps and Sets (#1110, #1131; @asbish)
- feat: Add the assert.fail([message]) interface (#1116, #1117; @s-leroux)
Bug Fixes
- fix: remove Chai frames from
.deep.equalstack (#1124; @meeber) - add 'catch' keyword to proxyExcludedKeys (#1050, #1101; @generalandrew)
- property assertion should only accept strings if nested (#1043, #1044; @solodynamo)
- fix: Make tests pass with
--use_strict(#1034, #1040; @shvaikalesh)
Performance
- perf: Optimize proxify and stringDistance (#1098; @sophiebits)
- fix: Avoid repeated String#slice calls in stringDistance (#1095; @bmeurer)
Style
- Fix typos and remove trailing whitespaces (#1042; @simonewebdesign)
- Remove unnecessary code (#1049; @abetomo)
- Fix variable declaration (#1048; @abetomo)
Tests
- test(assert): increase coverage (#1084, #1085; @brutalcrozt)
- test: stop modifying globals in Proxy tests (#1144; @meeber)
Docs
- Fix unbalanced quotes in assert.notInclude example (#1200; @haykam821)
- docs: fix bad
.stringexample (#1156, #1157; @meeber) - fixed package npm url (#1151; @wadie)
- Spelling (#1145; @jsoref)
- docs: corrected spelling (#1141; @Powell-v2)
- docs: fix wrong
.propertychaining examples (https://github.com/chaijs/chai/issues/193#issuecomment-360334369, #1130; @meeber) - docs: improve throws examples (#1113; @ColinEberhardt)
- Fix typos (#1107; @tbroadley)
- docs: correct
.okdescription (#1047; @shvaikalesh)
Chores
- chore: update package-lock.json (#1198; @meeber)
- Update mocha to the latest version (#1127)
- chore: update dependencies (#1157; @meeber)
- Update browserify to the latest version (#1135)
- chore: update Node versions in Travis config (#1126; @meeber)
- chore: remove Opera from Sauce config (#1125; @meeber)
- chore: update dependencies (#1118; @meeber)
- chore: update dependencies (#1074; @meeber)
- Chore: change coverage service (coverall to codecov) (#927, #1073; @brutalcrozt)
- chore: add package-lock.json (#1013; @meeber)
v4.1.2
This release fixes a bug when running in certain environments, and includes a few minor documentation fixes.
Bug Fixes
- fix: update
deep-eqlto version 3.0.0 (#1020) - fix: replace code causing breakage under strict CSP (#1032; @Alhadis)
Docs
- docs: add missing assert parameters (#1017, #1023; @Hpauric)
- docs: update year in license file (#1025; @yanca018)
v4.1.1
This release includes a few bug and documentation fixes.
Bug Fixes
- fix:
.instanceofto allow DOM interfaces in IE11 (#1000, #1008; @meeber) - fix:
.includeto work with all objects (#1009, #1012; @meeber)
Docs
- fix: correct hasAnyKeys comment error (#1014; @zenHeart)
- docs: re-indent hasAnyKeys code (#1016; @keithamus)
v4.1.0
This release includes one new feature and a few bug fixes.
New Features
- Add ES6 collection support to include() (#970, #994; @shvaikalesh)
Bug Fixes
- Allow dates for isBelow and isAbove assertions (#980, #990; @v1adko)
- fix: check target's type in
.propertyassertion (#992; @meeber)
Chores
- Add a missing var keyword found by lgtm.com (#988; @samlanning)
- refactor:
expectTypesto accessssfiflag (#993; @meeber) - Create CODEOWNERS (#1004; @keithamus)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.