Skip to content

Commit

Permalink
Frontend: upgrade to Chai 5.x
Browse files Browse the repository at this point in the history
- Upgrade: Chai 4.5 => 5.1
- Upgrade: chai-as-promised 7.1 => 8.0

Also:
- Upgrade: @types/chai, @types/chai-as-promised
- Update: @babel/cli
  • Loading branch information
gusthoff committed Nov 2, 2024
1 parent f1c7385 commit 9e53934
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 94 deletions.
10 changes: 5 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"whatwg-fetch": "^3.6.20"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/ace": "0.0.52",
"@types/chai": "^4.3.17",
"@types/chai-as-promised": "^7.1.8",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/chai-dom": "^1.11.3",
"@types/file-saver": "^2.0.7",
"@types/js-cookie": "^3.0.6",
Expand All @@ -36,8 +36,8 @@
"amd-loader": "^0.0.8",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.1.3",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.0",
"chai-dom": "^1.12.0",
"chunks-2-json-webpack-plugin": "^1.0.4",
"clean-webpack-plugin": "^4.0.0",
Expand Down
151 changes: 62 additions & 89 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ __metadata:
languageName: node
linkType: hard

"@babel/cli@npm:^7.24.8":
version: 7.24.8
resolution: "@babel/cli@npm:7.24.8"
"@babel/cli@npm:^7.25.9":
version: 7.25.9
resolution: "@babel/cli@npm:7.25.9"
dependencies:
"@jridgewell/trace-mapping": "npm:^0.3.25"
"@nicolo-ribaudo/chokidar-2": "npm:2.1.8-no-fsevents.3"
chokidar: "npm:^3.4.0"
chokidar: "npm:^3.6.0"
commander: "npm:^6.2.0"
convert-source-map: "npm:^2.0.0"
fs-readdir-recursive: "npm:^1.1.0"
Expand All @@ -45,7 +45,7 @@ __metadata:
bin:
babel: ./bin/babel.js
babel-external-helpers: ./bin/babel-external-helpers.js
checksum: 10c0/b7f464ccb00db60aed63d71e980df823900d20c740bc2d9eb36c3abd4b3e2402cc438818382344085ef6603aeea2e6ee19af8f0ecb934966eccf077b87af7c7c
checksum: 10c0/2e8228c3715e220fa902888c643ce1a89c4ee90be3d9f7a31218d5bb2500456e0cef12cb90fd5877ab3e5a4498df8f27670425d346422a3eb52052fd3184d520
languageName: node
linkType: hard

Expand Down Expand Up @@ -2659,12 +2659,12 @@ __metadata:
languageName: node
linkType: hard

"@types/chai-as-promised@npm:^7.1.8":
version: 7.1.8
resolution: "@types/chai-as-promised@npm:7.1.8"
"@types/chai-as-promised@npm:^8.0.1":
version: 8.0.1
resolution: "@types/chai-as-promised@npm:8.0.1"
dependencies:
"@types/chai": "npm:*"
checksum: 10c0/c0a19cffe8d3f406b2cb9ba17f5f0efe318b14f27896d807b3199cc2231c16a4b5b6c464fdf2a939214de481de58cffd46c240539d3d4ece18659277d71ccc23
checksum: 10c0/706edb801e8327a09a78f00629f3ae92ec567465338c0114f1586f84daf26911ca05979ec8d5b62f857e7b5a9163c7aaf2f4415903e0ff57b3bfc47785088dd5
languageName: node
linkType: hard

Expand All @@ -2684,10 +2684,12 @@ __metadata:
languageName: node
linkType: hard

"@types/chai@npm:^4.3.17":
version: 4.3.17
resolution: "@types/chai@npm:4.3.17"
checksum: 10c0/322a74489cdfde9c301b593d086c539584924c4c92689a858e0930708895a5ab229c31c64ac26b137615ef3ffbff1866851c280c093e07b3d3de05983d3793e0
"@types/chai@npm:^5.0.1":
version: 5.0.1
resolution: "@types/chai@npm:5.0.1"
dependencies:
"@types/deep-eql": "npm:*"
checksum: 10c0/82cb718101d37698e35fb03e2a983a442303065bfcb9b9e8b50b49fdad2fa5759c14dabfa5cb4a4bfa5c6aff1f05377d6ab4310bae0cfbf7d3138f94c969f441
languageName: node
linkType: hard

Expand All @@ -2710,6 +2712,13 @@ __metadata:
languageName: node
linkType: hard

"@types/deep-eql@npm:*":
version: 4.0.2
resolution: "@types/deep-eql@npm:4.0.2"
checksum: 10c0/bf3f811843117900d7084b9d0c852da9a044d12eb40e6de73b552598a6843c21291a8a381b0532644574beecd5e3491c5ff3a0365ab86b15d59862c025384844
languageName: node
linkType: hard

"@types/eslint@npm:^8.56.10":
version: 8.56.10
resolution: "@types/eslint@npm:8.56.10"
Expand Down Expand Up @@ -3878,10 +3887,10 @@ __metadata:
languageName: node
linkType: hard

"assertion-error@npm:^1.1.0":
version: 1.1.0
resolution: "assertion-error@npm:1.1.0"
checksum: 10c0/25456b2aa333250f01143968e02e4884a34588a8538fbbf65c91a637f1dbfb8069249133cd2f4e530f10f624d206a664e7df30207830b659e9f5298b00a4099b
"assertion-error@npm:^2.0.1":
version: 2.0.1
resolution: "assertion-error@npm:2.0.1"
checksum: 10c0/bbbcb117ac6480138f8c93cf7f535614282dea9dc828f540cdece85e3c665e8f78958b96afac52f29ff883c72638e6a87d469ecc9fe5bc902df03ed24a55dba8
languageName: node
linkType: hard

Expand Down Expand Up @@ -4535,14 +4544,14 @@ __metadata:
languageName: node
linkType: hard

"chai-as-promised@npm:^7.1.2":
version: 7.1.2
resolution: "chai-as-promised@npm:7.1.2"
"chai-as-promised@npm:^8.0.0":
version: 8.0.0
resolution: "chai-as-promised@npm:8.0.0"
dependencies:
check-error: "npm:^1.0.2"
check-error: "npm:^2.0.0"
peerDependencies:
chai: ">= 2.1.2 < 6"
checksum: 10c0/ee20ed75296d8cbf828b2f3c9ad64627cee67b1a38b8e906ca59fe788fb6965ddb10f702ae66645ed88f15a905ade4f2d9f8540029e92e2d59b229c9f912273f
checksum: 10c0/60200ea9cdac24394a97e768edd7d0cd8962097a02e3e6158932c13f7e9d89489d20e6a2e540e80dbe845c71362e7a7a311672fd16a2eab4214a6952fd0db804
languageName: node
linkType: hard

Expand All @@ -4555,18 +4564,16 @@ __metadata:
languageName: node
linkType: hard

"chai@npm:^4.5.0":
version: 4.5.0
resolution: "chai@npm:4.5.0"
"chai@npm:^5.1.2":
version: 5.1.2
resolution: "chai@npm:5.1.2"
dependencies:
assertion-error: "npm:^1.1.0"
check-error: "npm:^1.0.3"
deep-eql: "npm:^4.1.3"
get-func-name: "npm:^2.0.2"
loupe: "npm:^2.3.6"
pathval: "npm:^1.1.1"
type-detect: "npm:^4.1.0"
checksum: 10c0/b8cb596bd1aece1aec659e41a6e479290c7d9bee5b3ad63d2898ad230064e5b47889a3bc367b20100a0853b62e026e2dc514acf25a3c9385f936aa3614d4ab4d
assertion-error: "npm:^2.0.1"
check-error: "npm:^2.1.1"
deep-eql: "npm:^5.0.1"
loupe: "npm:^3.1.0"
pathval: "npm:^2.0.0"
checksum: 10c0/6c04ff8495b6e535df9c1b062b6b094828454e9a3c9493393e55b2f4dbff7aa2a29a4645133cad160fb00a16196c4dc03dc9bb37e1f4ba9df3b5f50d7533a736
languageName: node
linkType: hard

Expand Down Expand Up @@ -4621,12 +4628,10 @@ __metadata:
languageName: node
linkType: hard

"check-error@npm:^1.0.2, check-error@npm:^1.0.3":
version: 1.0.3
resolution: "check-error@npm:1.0.3"
dependencies:
get-func-name: "npm:^2.0.2"
checksum: 10c0/94aa37a7315c0e8a83d0112b5bfb5a8624f7f0f81057c73e4707729cdd8077166c6aefb3d8e2b92c63ee130d4a2ff94bad46d547e12f3238cc1d78342a973841
"check-error@npm:^2.0.0, check-error@npm:^2.1.1":
version: 2.1.1
resolution: "check-error@npm:2.1.1"
checksum: 10c0/979f13eccab306cf1785fa10941a590b4e7ea9916ea2a4f8c87f0316fc3eab07eabefb6e587424ef0f88cbcd3805791f172ea739863ca3d7ce2afc54641c7f0e
languageName: node
linkType: hard

Expand All @@ -4637,7 +4642,7 @@ __metadata:
languageName: node
linkType: hard

"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.4.0":
"chokidar@npm:>=3.0.0 <4.0.0":
version: 3.5.2
resolution: "chokidar@npm:3.5.2"
dependencies:
Expand Down Expand Up @@ -5491,12 +5496,10 @@ __metadata:
languageName: node
linkType: hard

"deep-eql@npm:^4.1.3":
version: 4.1.3
resolution: "deep-eql@npm:4.1.3"
dependencies:
type-detect: "npm:^4.0.0"
checksum: 10c0/ff34e8605d8253e1bf9fe48056e02c6f347b81d9b5df1c6650a1b0f6f847b4a86453b16dc226b34f853ef14b626e85d04e081b022e20b00cd7d54f079ce9bbdd
"deep-eql@npm:^5.0.1":
version: 5.0.2
resolution: "deep-eql@npm:5.0.2"
checksum: 10c0/7102cf3b7bb719c6b9c0db2e19bf0aa9318d141581befe8c7ce8ccd39af9eaa4346e5e05adef7f9bd7015da0f13a3a25dcfe306ef79dc8668aedbecb658dd247
languageName: node
linkType: hard

Expand Down Expand Up @@ -7138,20 +7141,6 @@ __metadata:
languageName: node
linkType: hard

"get-func-name@npm:^2.0.0":
version: 2.0.0
resolution: "get-func-name@npm:2.0.0"
checksum: 10c0/ed8791f7ba92cfd747259dff7ec8b6cc42734cebd031fb58c99a6e71d24d3532d84b46ad7806cafad6ad21784dd04ae1808a002d2b21001425e21f5f394c34e7
languageName: node
linkType: hard

"get-func-name@npm:^2.0.2":
version: 2.0.2
resolution: "get-func-name@npm:2.0.2"
checksum: 10c0/89830fd07623fa73429a711b9daecdb304386d237c71268007f788f113505ef1d4cc2d0b9680e072c5082490aec9df5d7758bf5ac6f1c37062855e8e3dc0b9df
languageName: node
linkType: hard

"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.4":
version: 1.2.4
resolution: "get-intrinsic@npm:1.2.4"
Expand Down Expand Up @@ -8966,13 +8955,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "learn@workspace:."
dependencies:
"@babel/cli": "npm:^7.24.8"
"@babel/cli": "npm:^7.25.9"
"@babel/core": "npm:^7.25.2"
"@babel/preset-env": "npm:^7.25.4"
"@istanbuljs/nyc-config-typescript": "npm:^1.0.2"
"@types/ace": "npm:0.0.52"
"@types/chai": "npm:^4.3.17"
"@types/chai-as-promised": "npm:^7.1.8"
"@types/chai": "npm:^5.0.1"
"@types/chai-as-promised": "npm:^8.0.1"
"@types/chai-dom": "npm:^1.11.3"
"@types/file-saver": "npm:^2.0.7"
"@types/js-cookie": "npm:^3.0.6"
Expand All @@ -8987,8 +8976,8 @@ __metadata:
autoprefixer: "npm:^10.4.20"
babel-loader: "npm:^9.1.3"
brace: "npm:^0.11.1"
chai: "npm:^4.5.0"
chai-as-promised: "npm:^7.1.2"
chai: "npm:^5.1.2"
chai-as-promised: "npm:^8.0.0"
chai-dom: "npm:^1.12.0"
chunks-2-json-webpack-plugin: "npm:^1.0.4"
clean-webpack-plugin: "npm:^4.0.0"
Expand Down Expand Up @@ -9247,12 +9236,10 @@ __metadata:
languageName: node
linkType: hard

"loupe@npm:^2.3.6":
version: 2.3.6
resolution: "loupe@npm:2.3.6"
dependencies:
get-func-name: "npm:^2.0.0"
checksum: 10c0/a974841ce94ef2a35aac7144e7f9e789e3887f82286cd9ffe7ff00f2ac9d117481989948657465e2b0b102f23136d89ae0a18fd4a32d9015012cd64464453289
"loupe@npm:^3.1.0":
version: 3.1.2
resolution: "loupe@npm:3.1.2"
checksum: 10c0/b13c02e3ddd6a9d5f8bf84133b3242de556512d824dddeea71cce2dbd6579c8f4d672381c4e742d45cf4423d0701765b4a6e5fbc24701def16bc2b40f8daa96a
languageName: node
linkType: hard

Expand Down Expand Up @@ -11017,10 +11004,10 @@ __metadata:
languageName: node
linkType: hard

"pathval@npm:^1.1.1":
version: 1.1.1
resolution: "pathval@npm:1.1.1"
checksum: 10c0/f63e1bc1b33593cdf094ed6ff5c49c1c0dc5dc20a646ca9725cc7fe7cd9995002d51d5685b9b2ec6814342935748b711bafa840f84c0bb04e38ff40a335c94dc
"pathval@npm:^2.0.0":
version: 2.0.0
resolution: "pathval@npm:2.0.0"
checksum: 10c0/602e4ee347fba8a599115af2ccd8179836a63c925c23e04bd056d0674a64b39e3a081b643cc7bc0b84390517df2d800a46fcc5598d42c155fe4977095c2f77c5
languageName: node
linkType: hard

Expand Down Expand Up @@ -13885,20 +13872,6 @@ __metadata:
languageName: node
linkType: hard

"type-detect@npm:^4.0.0":
version: 4.0.8
resolution: "type-detect@npm:4.0.8"
checksum: 10c0/8fb9a51d3f365a7de84ab7f73b653534b61b622aa6800aecdb0f1095a4a646d3f5eb295322127b6573db7982afcd40ab492d038cf825a42093a58b1e1353e0bd
languageName: node
linkType: hard

"type-detect@npm:^4.1.0":
version: 4.1.0
resolution: "type-detect@npm:4.1.0"
checksum: 10c0/df8157ca3f5d311edc22885abc134e18ff8ffbc93d6a9848af5b682730ca6a5a44499259750197250479c5331a8a75b5537529df5ec410622041650a7f293e2a
languageName: node
linkType: hard

"type-fest@npm:^0.18.0":
version: 0.18.1
resolution: "type-fest@npm:0.18.1"
Expand Down

0 comments on commit 9e53934

Please sign in to comment.