Security: Fix Dependabot alerts in DevExtreme repository#32856
Security: Fix Dependabot alerts in DevExtreme repository#32856Raushen wants to merge 1 commit intoDevExpress:26_1from
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the monorepo’s dependency resolution to address Dependabot security alerts by adding/adjusting pnpm.overrides at the workspace root and regenerating the root lockfile so vulnerable transitive versions are no longer selected.
Changes:
- Expanded root
pnpm.overridesto force patched versions oftar,underscore,hono,@hono/node-server,express-rate-limit, andimmutable. - Updated root
pnpm-lock.yamlto reflect the newly resolved versions (e.g.,tar,underscore,hono,express-rate-limit,ip-address,immutable).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Adds new root-level pnpm.overrides entries to force patched dependency versions. |
| pnpm-lock.yaml | Regenerates lockfile to pick up the overridden/patched package versions. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
| "tar@<=7.5.9": "^7.5.10", | ||
| "underscore@<=1.13.7": "^1.13.8", |
There was a problem hiding this comment.
Root overrides now cover tar<=7.5.9, but the workspace package packages/sbom still has its own pnpm.overrides and lockfile that keep tar@7.5.9 (see packages/sbom/pnpm-lock.yaml). If Dependabot is scanning all workspace lockfiles, this PR may not clear the tar alert until packages/sbom/package.json override and its lockfile are updated/regenerated as well.
| "hono@<4.12.4": "^4.12.4", | ||
| "@hono/node-server@<1.19.10": "^1.19.10", | ||
| "express-rate-limit@>=8.2.0 <8.2.2": "^8.2.2", | ||
| "immutable@>=5.0.0 <5.1.5": "^5.1.5", |
There was a problem hiding this comment.
The new root override forces immutable to 5.1.5+, but packages/devextreme-themebuilder/package.json still declares immutable: "5.1.4". Root pnpm overrides won’t apply to consumers installing devextreme-themebuilder directly, and this can also cause lockfile drift on future installs. Consider updating the package’s declared dependency to 5.1.5+ (and then regenerating the lockfile) instead of relying solely on the workspace override.
No description provided.