Skip to content

Commit cd9acea

Browse files
authored
Fix vitest and axios vulnerabilities (#187)
Addresses: GHSA-9crc-q9x8-hgqq
1 parent 9b14743 commit cd9acea

4 files changed

Lines changed: 176 additions & 132 deletions

File tree

.changeset/afraid-coats-find.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@itwin/changed-elements-react": patch
3+
---
4+
5+
Fix vitest and axios vulnerabilities

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
},
2323
"dependencies": {
2424
"@changesets/cli": "^2.27.11",
25+
"@changesets/types": "6.0.0",
2526
"@types/node": "^18.11.9",
26-
"@changesets/types":"6.0.0",
2727
"@typescript-eslint/eslint-plugin": "^7.4.0",
2828
"@typescript-eslint/parser": "^7.4.0",
2929
"eslint": "^8.57.0",
@@ -32,5 +32,13 @@
3232
"npm-run-all": "^4.1.5",
3333
"ts-node": "^10.9.1",
3434
"typescript": "~5.5.4"
35+
},
36+
"pnpm": {
37+
"overrides": {
38+
"dompurify@<3.2.4": ">=3.2.4",
39+
"esbuild@<=0.24.2": ">=0.25.0",
40+
"axios@<1.8.2": ">=1.8.2",
41+
"@babel/runtime@<7.26.10": ">=7.26.10"
42+
}
3543
}
3644
}

packages/changed-elements-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"redux": "^4.1.0",
7070
"typescript": "~5.5.4",
7171
"vite": "^5.4.11",
72-
"vitest": "^2.1.1"
72+
"vitest": "^2.1.9"
7373
},
7474
"peerDependencies": {
7575
"@itwin/appui-abstract": "^4.10.6",

0 commit comments

Comments
 (0)