You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chai is now bundled into a single file. The lib/*.js files are no longer present, and so any code that imports those files directly will need to change. The only file that can be imported now is ./index.js.
Mostly internal changes but @SuperchupuDev realised the package.json engines field was out of date, so it has been updated to reflect that v5.0.0 onwards only supports Node >=18.
build(deps): bump serialize-javascript and mocha by @dependabot in #1673
build(deps-dev): bump esbuild from 0.19.10 to 0.25.0 by @dependabot in #1671
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.3.6→6.2.2Release Notes
chaijs/chai (chai)
v6.2.2Compare Source
What's Changed
New Contributors
Full Changelog: chaijs/chai@v6.2.1...v6.2.2
v6.2.1Compare Source
What's Changed
New Contributors
Full Changelog: chaijs/chai@v6.2.0...v6.2.1
v6.2.0Compare Source
What's Changed
Full Changelog: chaijs/chai@v6.1.0...v6.2.0
v6.1.0Compare Source
What's Changed
Adds an event emitter for hooking into method/property creation in #1693
Full Changelog: chaijs/chai@v6.0.2...v6.1.0
v6.0.1Compare Source
What's Changed
Full Changelog: chaijs/chai@v6.0.0...v6.0.1
v6.0.0Compare Source
BREAKING CHANGES
Chai is now bundled into a single file. The
lib/*.jsfiles are no longer present, and so any code that imports those files directly will need to change. The only file that can be imported now is./index.js.What's Changed
Full Changelog: chaijs/chai@v5.3.2...v6.0.0
v5.3.3Compare Source
What's Changed
Full Changelog: chaijs/chai@v5.3.2...v5.3.3
v5.3.2Compare Source
Reverts the removal of the bundled version of chai in 5.3.1
What's Changed
Full Changelog: chaijs/chai@v5.3.1...v5.3.2
v5.3.1Compare Source
What's Changed
Full Changelog: chaijs/chai@v5.3.0...v5.3.1
v5.3.0Compare Source
What's Changed
mainto point at chai directly by @43081j in #1696Full Changelog: chaijs/chai@v5.2.2...v5.3.0
v5.2.2Compare Source
What's Changed
filesfor publishing by @43081j in #1695Full Changelog: chaijs/chai@v5.2.1...v5.2.2
v5.2.1Compare Source
What's Changed
Mostly internal changes but @SuperchupuDev realised the package.json
enginesfield was out of date, so it has been updated to reflect that v5.0.0 onwards only supports Node >=18.no-varrule and fix violations by @koddsson in #1675New Contributors
Full Changelog: chaijs/chai@v5.2.0...v5.2.1
v5.2.0Compare Source
What's Changed
chai-subsetand added assert-based negation to containSubset by @BreadInvasion in #1664New Contributors
Full Changelog: chaijs/chai@v5.1.2...v5.2.0
v5.1.2Compare Source
What's Changed
Full Changelog: chaijs/chai@v5.1.1...v5.1.2
v5.1.1Compare Source
What's Changed
toThrowby @43081j in #1609New Contributors
Full Changelog: chaijs/chai@v5.1.0...v5.1.1
v5.1.0Compare Source
What's Changed
iterableassertion by @koddsson in #1592New Contributors
Full Changelog: chaijs/chai@v5.0.3...v5.1.0
v5.0.3Compare Source
Fix bad v5.0.2 publish.
Full Changelog: chaijs/chai@v5.0.2...v5.0.3
v5.0.2Compare Source
What's Changed
bump-cliby @koddsson in #1559??for node compat (5.x) by @43081j in #1576loupeto latest version by @koddsson in #1579Full Changelog: chaijs/chai@v5.0.1...v5.0.2
v5.0.0Compare Source
BREAKING CHANGES
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-namedependency by @koddsson in #1416deep-eqlto latest version by @koddsson in #1542type-detectas a simple function by @koddsson in #1544assertion-errorto it's latest major version! by @koddsson in #1543New Contributors
Full Changelog: chaijs/chai@4.3.1...v5.0.0
v4.5.0Compare Source
1a36d35What's Changed
Full Changelog: chaijs/chai@v4.4.1...v4.5.0
v4.4.1Compare Source
What's Changed
??for node compat by @43081j in #1574Full Changelog: chaijs/chai@v4.4.0...v4.4.1
v4.4.0Compare Source
What's Changed
Full Changelog: chaijs/chai@v4.3.10...v4.4.0
v4.3.10Compare Source
This release simply bumps all dependencies to their latest non-breaking versions.
What's Changed
Full Changelog: chaijs/chai@v4.3.9...v4.3.10
v4.3.9Compare 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: chaijs/chai@v4.3.8...v4.3.9
v4.3.8Compare Source
What's Changed
New Contributors
Full Changelog: chaijs/chai@v4.3.7...v4.3.8
v4.3.7Compare Source
What's Changed
Full Changelog: chaijs/chai@v4.3.6...v4.3.7
Configuration
📅 Schedule: (in timezone Asia/Calcutta)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.