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 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).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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-name
dependency by @koddsson in Removeget-func-name
dependency #1416deep-eql
to latest version by @koddsson in updatedeep-eql
to latest version #1542type-detect
as a simple function by @koddsson in Inlinetype-detect
as a simple function #1544assertion-error
to it's latest major version! by @koddsson in Updateassertion-error
to it's latest major version! #1543New Contributors
Full Changelog: 4.3.1...v5.0.0
Beta Was this translation helpful? Give feedback.
All reactions