Skip to content

Commit 5528263

Browse files
committed
fix: resolve security vulnerabilities in cipher-base, sha.js, and glob
- Add yarn resolutions for cipher-base (^1.0.5) to fix CVE-2025-9287 - Add yarn resolutions for sha.js (^2.4.12) to fix CVE-2025-9288 - Pin glob to 7.2.3 via yarn resolutions to prevent CVE-2025-64756 - Downgrade rimraf from 6.1.2 to 3.0.2 for compatibility with glob 7.x Closes https://github.com/getditto/react-ditto/security/dependabot/179 Closes https://github.com/getditto/react-ditto/security/dependabot/180 Closes https://github.com/getditto/react-ditto/security/dependabot/191
1 parent df5cb70 commit 5528263

File tree

2 files changed

+24
-189
lines changed

2 files changed

+24
-189
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
"react-dom": ">=16.0.0"
4141
},
4242
"resolutions": {
43-
"tar-fs": "3.1.1"
43+
"tar-fs": "3.1.1",
44+
"cipher-base": "^1.0.5",
45+
"sha.js": "^2.4.12",
46+
"glob": "^7.2.3"
4447
},
4548
"devDependencies": {
4649
"@dittolive/ditto": "^4.0.0",
@@ -82,7 +85,7 @@
8285
"react": "^18.0.0",
8386
"react-dom": "^18.0.0",
8487
"react-test-renderer": "^18.0.0",
85-
"rimraf": "^6.0.1",
88+
"rimraf": "^3.0.2",
8689
"sinon": "^17.0.1",
8790
"sinon-chai": "^3.7.0",
8891
"typedoc": "^0.25.13",

0 commit comments

Comments
 (0)