Snyk has created this PR to upgrade chai from 4.5.0 to 5.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
⚠️ **Warning:** This PR contains major version upgrade(s), and may be a breaking change.
- The recommended version is **9 versions** ahead of your current version.
- The recommended version was released on **3 months ago**.
Release notes Package name: chai
Chai now only supports EcmaScript Modules (ESM). This means your tests will need to either have import {...} from 'chai' or import('chai'). require('chai') will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls.
Dropped support for Internet Explorer.
Dropped support for NodeJS < 18.
Minimum supported browsers are now Firefox 100, Safari 14.1, Chrome 100, Edge 100. Support for browsers prior to these versions is "best effort" (bug reports on older browsers will be assessed individually and may be marked as wontfix).
What's Changed
feat: use chaijs/loupe for inspection by @ pcorpet in #1401
</li>
<li>
<b>5.0.0-rc.0</b> - <a href="https://github.com/chaijs/chai/releases/tag/v5.0.0-rc.0">2023-12-06</a></br><p>The first Release Candidate of chai@v5 is here!</p>
We've put out a few alpha versions and tested them out in various projects with good success. This RC includes all those changes plus any fixes that we've discovered since then.
Please try it out in your projects and let us know if you run into any issues so we can make fixes before version 5!
Thanks for using Chai 🙏🏻
What's Changed
feat: use chaijs/loupe for inspection by @ pcorpet in #1401
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade chai from 4.5.0 to 5.1.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.⚠️ **Warning:** This PR contains major version upgrade(s), and may be a breaking change. - The recommended version is **9 versions** ahead of your current version. - The recommended version was released on **3 months ago**.
Release notes
Package name: chai
What's Changed
toThrow
by @ 43081j in #1609New Contributors
Full Changelog: v5.1.0...v5.1.1
What's Changed
iterable
assertion by @ koddsson in #1592New Contributors
Full Changelog: v5.0.3...v5.1.0
Fix bad v5.0.2 publish.
Full Changelog: v5.0.2...v5.0.3
bump-cli
by @ koddsson in #1559??
for node compat (5.x) by @ 43081j in #1576loupe
to latest version by @ koddsson in #1579Full Changelog: v5.0.1...v5.0.2
import {...} from 'chai'
orimport('chai')
.require('chai')
will cause failures in nodejs. If you're using ESM and seeing failures, it may be due to a bundler or transpiler which is incorrectly converting import statements into require calls.What's Changed
get-func-name
dependency by @ koddsson in #1416deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543New Contributors
Full Changelog: 4.3.1...v5.0.0
We've put out a few alpha versions and tested them out in various projects with good success. This RC includes all those changes plus any fixes that we've discovered since then.
Please try it out in your projects and let us know if you run into any issues so we can make fixes before version 5!
Thanks for using Chai 🙏🏻
What's Changed
get-func-name
dependency by @ koddsson in #1416deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543New Contributors
Full Changelog: v4.3.10...v5.0.0-rc.0
deep-eql
to latest version by @ koddsson in #1542type-detect
as a simple function by @ koddsson in #1544assertion-error
to it's latest major version! by @ koddsson in #1543Full Changelog: v5.0.0-alpha.1...v5.0.0-alpha.2
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: