Skip to content

Conversation

@pvditto
Copy link
Contributor

@pvditto pvditto commented Dec 11, 2025

Summary

Resolves three security vulnerabilities identified by Dependabot:

Changes

  • Added yarn resolutions for cipher-base (^1.0.5), sha.js (^2.4.12), and glob (^7.2.3)
  • Downgraded rimraf devDependency from 6.1.2 → 3.0.2 to maintain compatibility with glob 7.x
    • Rimraf 6.x requires glob 11+ or 13+, which are incompatible with Karma 6.4.4
    • Rimraf 3.x uses glob 7.x, which is compatible with all our dependencies

Test Plan

  • Verified yarn install completes successfully
  • Ran yarn build - build completed successfully
  • Ran yarn test - all 49 tests passed
  • Ran yarn docs:generate - documentation generated successfully
  • Verified yarn why cipher-base shows version 1.0.7
  • Verified yarn why sha.js shows version 2.4.12
  • Verified yarn why glob shows version 7.2.3 (safe from CVE-2025-64756)

- 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
@pvditto pvditto marked this pull request as ready for review December 11, 2025 18:23
@pvditto pvditto self-assigned this Dec 11, 2025
@pvditto pvditto merged commit 84218d1 into master Dec 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants