Skip to content

Commit 7b14b4f

Browse files
authored
chore: update msw to 2.4.8 (#17167)
- Fixes a transitive vuln in path-to-regexp
1 parent 40de51b commit 7b14b4f

File tree

3 files changed

+122
-89
lines changed

3 files changed

+122
-89
lines changed

site/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
},
2828
],
2929
},
30-
testEnvironment: "jsdom",
30+
testEnvironment: "jest-fixed-jsdom",
3131
testEnvironmentOptions: {
3232
customExportConditions: [""],
3333
},

site/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"storybook": "STORYBOOK=true storybook dev -p 6006",
2525
"storybook:build": "storybook build",
2626
"storybook:ci": "storybook build --test",
27-
"test": "jest --selectProjects test",
27+
"test": "jest",
2828
"test:ci": "jest --selectProjects test --silent",
2929
"test:coverage": "jest --selectProjects test --collectCoverage",
3030
"test:watch": "jest --selectProjects test --watch",
@@ -170,10 +170,11 @@
170170
"jest": "29.7.0",
171171
"jest-canvas-mock": "2.5.2",
172172
"jest-environment-jsdom": "29.5.0",
173+
"jest-fixed-jsdom": "0.0.9",
173174
"jest-location-mock": "2.0.0",
174175
"jest-websocket-mock": "2.5.0",
175176
"jest_workaround": "0.1.14",
176-
"msw": "2.4.3",
177+
"msw": "2.4.8",
177178
"postcss": "8.5.1",
178179
"protobufjs": "7.4.0",
179180
"rxjs": "7.8.1",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy