Update dependency chai to v4.5.0 #9

Open
renovate wants to merge 1 commit from renovate/chai-4.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
chai (source) 4.2.0 → 4.5.0 age confidence
@types/chai (source) 4.2.17 → 4.3.20 age confidence

Release Notes

chaijs/chai (chai)

v4.5.0

Compare Source

What's Changed

Full Changelog: https://github.com/chaijs/chai/compare/v4.4.1...v4.5.0

v4.4.1

Compare Source

What's Changed

Full Changelog: https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1

v4.4.0

Compare Source

What's Changed

  • Allow deepEqual fonction to be configured globally (4.x.x branch) by @​forty in #​1553

Full Changelog: https://github.com/chaijs/chai/compare/v4.3.10...v4.4.0

v4.3.10

Compare Source

This release simply bumps all dependencies to their latest non-breaking versions.

What's Changed

Full Changelog: https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10

v4.3.9

Compare Source

Upgrade dependencies.

This release upgrades dependencies to address CVE-2023-43646 where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang.

Full Changelog: https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9

v4.3.8

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/chaijs/chai/compare/v4.3.7...v4.3.8

v4.3.7

Compare Source

What's Changed

Full Changelog: https://github.com/chaijs/chai/compare/v4.3.6...v4.3.7

v4.3.6

Compare Source

Update loupe to 2.3.1

v4.3.5

Compare Source

v4.3.4

Compare Source

This fixes broken inspect behavior with bigints (#​1321) (#​1383) thanks @​vapier

v4.3.3: / 2021-03-03

Compare Source

This reintroduces Assertion as an export in the mjs file. See #​1378 & #​1375

v4.3.2: / 2021-03-03

Compare Source

This fixes a regression in IE11. See #​1380 & #​1379

v4.3.1: / 2021-03-02

Compare Source

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: / 2021-02-04

Compare Source

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.oneOf to take an array of possible values (@​voliva)
  • Adding operator attribute to assertion error (#​1257) (@​rpgeeganage)
  • The closeTo error message will now inform the user when a delta is required (@​eouw0o83hf)

Docs

  • Add contains flag to oneOf documentation (@​voliva)

Tests

Chores


Configuration

📅 Schedule: (UTC)

  • 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [chai](http://chaijs.com) ([source](https://github.com/chaijs/chai)) | [`4.2.0` → `4.5.0`](https://renovatebot.com/diffs/npm/chai/4.2.0/4.5.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/chai/4.5.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chai/4.2.0/4.5.0?slim=true) | | [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai)) | [`4.2.17` → `4.3.20`](https://renovatebot.com/diffs/npm/@types%2fchai/4.2.17/4.3.20) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fchai/4.3.20?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fchai/4.2.17/4.3.20?slim=true) | --- ### Release Notes <details> <summary>chaijs/chai (chai)</summary> ### [`v4.5.0`](https://github.com/chaijs/chai/releases/tag/v4.5.0) [Compare Source](https://github.com/chaijs/chai/compare/v4.4.1...v4.5.0) - Update type detect ([#&#8203;1631](https://github.com/chaijs/chai/issues/1631)) [`1a36d35`](https://github.com/chaijs/chai/commit/1a36d35) #### What's Changed - Update type detect by [@&#8203;koddsson](https://github.com/koddsson) in [#&#8203;1631](https://github.com/chaijs/chai/pull/1631) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.4.1...v4.5.0> ### [`v4.4.1`](https://github.com/chaijs/chai/releases/tag/v4.4.1) [Compare Source](https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1) #### What's Changed - fix: removes `??` for node compat by [@&#8203;43081j](https://github.com/43081j) in [#&#8203;1574](https://github.com/chaijs/chai/pull/1574) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.4.0...v4.4.1> ### [`v4.4.0`](https://github.com/chaijs/chai/releases/tag/v4.4.0) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.10...v4.4.0) #### What's Changed - Allow deepEqual fonction to be configured globally (4.x.x branch) by [@&#8203;forty](https://github.com/forty) in [#&#8203;1553](https://github.com/chaijs/chai/pull/1553) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.3.10...v4.4.0> ### [`v4.3.10`](https://github.com/chaijs/chai/releases/tag/v4.3.10) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10) This release simply bumps all dependencies to their latest non-breaking versions. #### What's Changed - upgrade all dependencies by [@&#8203;keithamus](https://github.com/keithamus) in [#&#8203;1540](https://github.com/chaijs/chai/pull/1540) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.3.9...v4.3.10> ### [`v4.3.9`](https://github.com/chaijs/chai/releases/tag/v4.3.9) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9) Upgrade dependencies. This release upgrades dependencies to address **[CVE-2023-43646](https://www.cve.org/CVERecord?id=CVE-2023-43646)** where a large function name can cause "catastrophic backtracking" (aka ReDOS attack) which can cause the test suite to hang. **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.3.8...v4.3.9> ### [`v4.3.8`](https://github.com/chaijs/chai/releases/tag/v4.3.8) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.7...v4.3.8) #### What's Changed - 4.x.x: Fix link to commit logs on GitHub by [@&#8203;bugwelle](https://github.com/bugwelle) in [#&#8203;1487](https://github.com/chaijs/chai/pull/1487) - build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1488](https://github.com/chaijs/chai/pull/1488) - Small typo in test.js by [@&#8203;mavaddat](https://github.com/mavaddat) in [#&#8203;1459](https://github.com/chaijs/chai/pull/1459) - docs: specify return type of objDisplay by [@&#8203;scarf005](https://github.com/scarf005) in [#&#8203;1490](https://github.com/chaijs/chai/pull/1490) - Update CONTRIBUTING.md by [@&#8203;matheus-rodrigues00](https://github.com/matheus-rodrigues00) in [#&#8203;1521](https://github.com/chaijs/chai/pull/1521) - Fix: update exports.version to current version by [@&#8203;peanutenthusiast](https://github.com/peanutenthusiast) in [#&#8203;1534](https://github.com/chaijs/chai/pull/1534) #### New Contributors - [@&#8203;bugwelle](https://github.com/bugwelle) made their first contribution in [#&#8203;1487](https://github.com/chaijs/chai/pull/1487) - [@&#8203;mavaddat](https://github.com/mavaddat) made their first contribution in [#&#8203;1459](https://github.com/chaijs/chai/pull/1459) - [@&#8203;scarf005](https://github.com/scarf005) made their first contribution in [#&#8203;1490](https://github.com/chaijs/chai/pull/1490) - [@&#8203;matheus-rodrigues00](https://github.com/matheus-rodrigues00) made their first contribution in [#&#8203;1521](https://github.com/chaijs/chai/pull/1521) - [@&#8203;peanutenthusiast](https://github.com/peanutenthusiast) made their first contribution in [#&#8203;1534](https://github.com/chaijs/chai/pull/1534) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.3.7...v4.3.8> ### [`v4.3.7`](https://github.com/chaijs/chai/releases/tag/v4.3.7) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.6...v4.3.7) #### What's Changed - fix: deep-eql bump package to support symbols comparison by [@&#8203;snewcomer](https://github.com/snewcomer) in [#&#8203;1483](https://github.com/chaijs/chai/pull/1483) **Full Changelog**: <https://github.com/chaijs/chai/compare/v4.3.6...v4.3.7> ### [`v4.3.6`](https://github.com/chaijs/chai/releases/tag/v4.3.6) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.5...v4.3.6) Update loupe to 2.3.1 ### [`v4.3.5`](https://github.com/chaijs/chai/releases/tag/v4.3.5) [Compare Source](https://github.com/chaijs/chai/compare/v4.3.4...v4.3.5) - build chaijs [`fca5bb1`](https://github.com/chaijs/chai/commit/fca5bb1) - build(deps-dev): bump codecov from 3.1.0 to 3.7.1 ([#&#8203;1446](https://github.com/chaijs/chai/issues/1446)) [`747eb4e`](https://github.com/chaijs/chai/commit/747eb4e) - fix package.json exports [`022c2fa`](https://github.com/chaijs/chai/commit/022c2fa) - fix: package.json - deprecation warning on exports field ([#&#8203;1400](https://github.com/chaijs/chai/issues/1400)) [`5276af6`](https://github.com/chaijs/chai/commit/5276af6) - feat: use chaijs/loupe for inspection ([#&#8203;1401](https://github.com/chaijs/chai/issues/1401)) ([#&#8203;1407](https://github.com/chaijs/chai/issues/1407)) [`c8a4e00`](https://github.com/chaijs/chai/commit/c8a4e00) ### [`v4.3.4`](https://github.com/chaijs/chai/releases/tag/v4.3.4) [Compare Source](https://github.com/chaijs/chai/compare/4.3.3...v4.3.4) This fixes broken inspect behavior with bigints ([#&#8203;1321](https://github.com/chaijs/chai/issues/1321)) ([#&#8203;1383](https://github.com/chaijs/chai/issues/1383)) thanks [@&#8203;vapier](https://github.com/vapier) ### [`v4.3.3`](https://github.com/chaijs/chai/releases/tag/4.3.3): / 2021-03-03 [Compare Source](https://github.com/chaijs/chai/compare/4.3.2...4.3.3) This reintroduces `Assertion` as an export in the mjs file. See [#&#8203;1378](https://github.com/chaijs/chai/pull/1378) & [#&#8203;1375](https://github.com/chaijs/chai/issues/1375) ### [`v4.3.2`](https://github.com/chaijs/chai/releases/tag/4.3.2): / 2021-03-03 [Compare Source](https://github.com/chaijs/chai/compare/4.3.1...4.3.2) This fixes a regression in IE11. See [#&#8203;1380](https://github.com/chaijs/chai/pull/1380) & [#&#8203;1379](https://github.com/chaijs/chai/issues/1379) ### [`v4.3.1`](https://github.com/chaijs/chai/releases/tag/4.3.1): / 2021-03-02 [Compare Source](https://github.com/chaijs/chai/compare/4.3.0...4.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`](https://github.com/chaijs/chai/releases/tag/4.3.0): / 2021-02-04 [Compare Source](https://github.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 ([#&#8203;1257](https://github.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 ([@&#8203;voliva](https://github.com/voliva)) - Adding operator attribute to assertion error ([#&#8203;1257](https://github.com/chaijs/chai/issues/1257)) ([@&#8203;rpgeeganage](https://github.com/rpgeeganage)) - The `closeTo` error message will now inform the user when a `delta` is required ([@&#8203;eouw0o83hf](https://github.com/eouw0o83hf)) ### Docs - Add contains flag to oneOf documentation ([@&#8203;voliva](https://github.com/voliva)) ### Tests - Make sure that `useProxy` config is checked in `overwriteProperty` ([@&#8203;vieiralucas](https://github.com/vieiralucas)) - Add tests for `contain.oneOf` ([@&#8203;voliva](https://github.com/voliva) ) ### Chores - Update mocha to version 6.1.4 - Add node v10 and v12 to ci ([@&#8203;vieiralucas](https://github.com/vieiralucas)) - Drop support for node v4, v6 and v9 ([@&#8203;vieiralucas](https://github.com/vieiralucas)) - Fix sauce config for headless chrome ([@&#8203;meeber](https://github.com/meeber)) - Update dev dependencies ([@&#8203;meeber](https://github.com/meeber)) - Removed phantomjs dependency ([#&#8203;1204](https://github.com/chaijs/chai/issues/1204)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "renovate/chai-4.x-lockfile:renovate/chai-4.x-lockfile"
git switch "renovate/chai-4.x-lockfile"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "main"
git merge --no-ff "renovate/chai-4.x-lockfile"
git switch "renovate/chai-4.x-lockfile"
git rebase "main"
git switch "main"
git merge --ff-only "renovate/chai-4.x-lockfile"
git switch "renovate/chai-4.x-lockfile"
git rebase "main"
git switch "main"
git merge --no-ff "renovate/chai-4.x-lockfile"
git switch "main"
git merge --squash "renovate/chai-4.x-lockfile"
git switch "main"
git merge --ff-only "renovate/chai-4.x-lockfile"
git switch "main"
git merge "renovate/chai-4.x-lockfile"
git push origin "main"
Sign in to join this conversation.
No description provided.