Commit graph

1573 commits

Author SHA1 Message Date
Kristján Oddsson
6a19308a7d 4.5.0 2024-07-25 14:23:40 +02:00
Kristján Oddsson
1a36d354a5
Update type detect (#1631)
* update `type-detect`

* recompile chai.js
2024-07-25 12:36:19 +01:00
James Garbutt
f4b2fbc9dc
fix: removes ?? for node compat (#1574)
We shipped syntax which is beyond our `engine` constraint. `??` is
available in node 14 but 4.x is node 4 and above, while 5.x is node 12
and above.

This just dumbs it back down to `||` for now at least.

Fixes #1573
2024-01-12 14:13:18 +00:00
Kristján Oddsson
6ef28248b9
bump version 2024-01-05 14:19:29 +01:00
Quentin Barbe
fb5fd85ba1
Allow deepEqual fonction to be configured globally (#1553) 2024-01-05 14:13:06 +01:00
Keith Cirkel
744a16e1cc
4.3.10 2023-09-28 10:50:14 +01:00
Keith Cirkel
0ccd823cb3
upgrade all dependencies (#1540) 2023-09-28 09:16:59 +01:00
Keith Cirkel
923d0a48fc
4.3.9 2023-09-27 10:24:45 +01:00
Keith Cirkel
1a0f887271
make 2023-09-27 10:24:39 +01:00
Keith Cirkel
a141e5739a
upgrade deps 2023-09-27 10:24:30 +01:00
Keith Cirkel
d9ff2c6d3e
4.3.8 2023-08-24 12:44:03 +01:00
Keith Cirkel
8d3205b27e
build 2023-08-24 12:43:55 +01:00
Mark de Dios
b351dc0944
Fix: update exports.version to current version (#1534)
* Change exports.version in lib/chai to 4.3.7

* Update lib/chai/exports.version to 4.3.8
2023-08-24 12:40:14 +01:00
Matheus Rodrigues
1a8247f30d
Update CONTRIBUTING.md (#1521) 2023-05-30 19:58:50 +01:00
scarf
3a8c49a707
docs: specify return type of objDisplay (#1490)
previously it was incorrectly labeled as `objDisplay(obj: object): void` in `@types/chai`.
2022-12-05 11:20:08 +00:00
Mavaddat Javid
b455124097
test: fix typo in test.js (#1459) 2022-11-12 12:30:59 +00:00
dependabot[bot]
98f4233756
build(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#1488)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 11:13:46 +00:00
Andre Meyering
acd16e0033
chore: 4.x.x: Fix link to commit logs on GitHub (#1487)
* 4.x.x: Fix link to commit logs on GitHub

As there is no `master` branch, the link returned a 404.

* Update History.md

Co-authored-by: Andre Meyering <info@andremeyering.de>

Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2022-11-09 16:19:42 +00:00
Keith Cirkel
3c947a7f33
build 2022-11-07 16:36:49 +00:00
Keith Cirkel
775f509584
4.3.7 2022-11-07 16:35:55 +00:00
Scott Newcomer
8e780b44f3
fix: deep-eql bump package to support symbols comparison (#1483) 2022-11-07 16:25:03 +00:00
Keith Cirkel
529b8b527b
4.3.6 2022-01-26 13:10:41 +00:00
Keith Cirkel
e4d7f2e9c2
build chaijs 2022-01-26 13:10:32 +00:00
Keith Cirkel
d88684efe5
fix: use loupe@^2.3.1 2022-01-26 13:09:57 +00:00
Keith Cirkel
99e36a83bb
4.3.5 2022-01-25 14:46:29 +00:00
Keith Cirkel
fca5bb1153
build chaijs 2022-01-25 14:45:51 +00:00
dependabot[bot]
747eb4ec5f
build(deps-dev): bump codecov from 3.1.0 to 3.7.1 (#1446)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.1.0 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.1.0...v3.7.1)

---
updated-dependencies:
- dependency-name: codecov
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 14:42:40 +00:00
Keith Cirkel
022c2faefc
fix package.json exports 2022-01-25 14:42:22 +00:00
Mimi
5276af683c
fix: package.json - deprecation warning on exports field (#1400) 2022-01-25 14:35:29 +00:00
Pascal Corpet
c8a4e00c51
feat: use chaijs/loupe for inspection (#1401) (#1407)
Fix #1228
2021-07-08 09:52:49 +01:00
Keith Cirkel
ab41ed86cc
4.3.4 2021-03-12 16:50:35 +00:00
Mike Frysinger
5b607a144e
fix: support inspecting bigints (#1321) (#1383) 2021-03-12 16:49:06 +00:00
Keith Cirkel
dc858a0353
chai@4.3.3 2021-03-03 18:20:49 +00:00
rbruckheimer
b0f50f6402
export chai.Assertion (#1378) 2021-03-03 18:20:22 +00:00
Keith Cirkel
3b9bc7f56d
chai@4.3.2 2021-03-03 18:17:46 +00:00
Lee Newson
71245a3e33
Fixed a regression that caused SyntaxErrors on IE 11
The changes made in #1334 incorrectly used an arrow function and as this isn't supported on IE 11 it causes a SyntaxError to be thrown when loading chai.
2021-03-03 18:16:18 +00:00
Keith Cirkel
8a24666156
chai@4.3.1 2021-03-02 18:18:54 +00:00
Keith Cirkel
9635906f89
chore: bump devdeps 2021-03-02 18:17:29 +00:00
Janne Kiiskilä
c8449d31db
fix: package.json - pathval to 1.1.1 (CVE-2020-7751) (#1377)
* package.json - pathval to 1.1.1 (CVE-2020-7751)

Update pathval to version 1.1.1 to include fix for CVE-2020-7751.

* package-lock - pathval v1.1.1 update

Update the package-lock as well, this one needs updating, too.
2021-03-02 18:12:04 +00:00
Kelly Selden
7bc01d6fc0
fix: bring min node version in line with still supported (#1374) 2021-02-05 17:06:53 +00:00
Jakub Vrána
61feee1f1f
docs: add non-nullable modifier to return type of functions never returning null (#1322) 2021-02-05 15:08:46 +00:00
Blake Regalia
de12e401bc
feat: add exists alias (#1227)
* feat(assertions): add 'exists' alias (#1225)

* docs(assertions): remove bad `exists` example

* test(assertions): add `exists` cases

* test(should): remove `exists` tests from should interface
2021-02-04 11:10:23 +00:00
Horie Issei
ad385b8481
docs: correct doesNotDecreaseBy name (#1285) (#1286)
Co-authored-by: Issei Horie <is2ei.horie@gmail.com>
2021-02-04 11:08:53 +00:00
Andrzej Bartosiński
4ce3ca83e5
feat: add extra aliases for 'most' and 'least' (#1319) 2021-02-04 11:08:17 +00:00
sportshead
77565f7c2c
feat: add also language chain (#1324)
* Add `also` language chain

This would be helpful, as the property doesn't clash with other methods.

* Add `also` to tests
2021-02-04 11:07:26 +00:00
Rens Groothuijsen
817284c01b
feat: add "deep" flag in oneOf (#1334) 2021-02-04 11:06:59 +00:00
Grigoriy
6c963d00ac
build: drop test for IE10 (#1353) 2021-02-04 11:04:28 +00:00
Wias Liaw
f5c19e93c8
docs: fix missing arguments in increasesButNotBy (#1361) 2021-02-04 11:03:59 +00:00
Daniel Venturini
6745d8c4f5
docs: fix JSDoc identation (#1355) 2021-02-04 11:01:40 +00:00
Keith Cirkel
39dd113f36
chai@4.3.0 2021-02-04 10:55:37 +00:00