Skip to content

Commit

Permalink
chore(deps-dev): bump chai from 4.3.4 to 5.0.0 (#1796)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump chai from 4.3.4 to 5.0.0

Bumps [chai](https://github.com/chaijs/chai) from 4.3.4 to 5.0.0.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](chaijs/chai@v4.3.4...v5.0.0)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* use forked version of chai-as-promised for chai 5 compatibility

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denis Ah-Kang <[email protected]>
  • Loading branch information
dependabot[bot] and deniak authored Jan 17, 2024
1 parent 6766284 commit 82f041c
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 65 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"pubruleschecker",
"rdquo",
"rectrack",
"rvagg",
"RSCND",
"secno",
"secnos",
Expand Down
104 changes: 47 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"superagent": "8.1.2"
},
"devDependencies": {
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"chai": "5.0.0",
"@rvagg/chai-as-promised": "8.0.1",
"cspell": "8.0.0",
"eslint": "8.26.0",
"eslint-config-airbnb-base": "15.0.0",
Expand Down
7 changes: 4 additions & 3 deletions test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
// Native packages:
// External packages:
// eslint-disable-next-line node/no-unpublished-import
import chai, { expect } from 'chai';
// eslint-disable-next-line node/no-unpublished-import
import chaiAsPromised from 'chai-as-promised';
import * as chai from 'chai';
// eslint-disable-next-line
import chaiAsPromised from '@rvagg/chai-as-promised';
import express from 'express';
import http from 'http';
import superagent from 'superagent';
import { setUp } from '../lib/api.js';
import { importJSON } from '../lib/util.js';
// Internal packages:
const meta = importJSON('../package.json', import.meta.url);
const { expect } = chai;

// Settings:
const DEFAULT_PORT = 8000;
Expand Down
6 changes: 3 additions & 3 deletions test/l10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
// Native packages:
// External packages:
// eslint-disable-next-line node/no-unpublished-import
import chai from 'chai';
// eslint-disable-next-line node/no-unpublished-import
import chaiAsPromised from 'chai-as-promised';
import * as chai from 'chai';
// eslint-disable-next-line
import chaiAsPromised from '@rvagg/chai-as-promised';
import fs from 'fs';
import * as l10n from '../lib/l10n-en_GB.js';
import { importJSON } from '../lib/util.js';
Expand Down

0 comments on commit 82f041c

Please sign in to comment.