chore(deps): flatted overrides for vulnerability#295
Conversation
There was a problem hiding this comment.
marketing-site AI Review: 🟢 Completed
Reunite Bot has reviewed your changes and found 1 potential issue(s).
Note
Medium Risk
Running npm audit fix blanket-upgraded multiple nested dependencies, including core build tools (vite, esbuild). While this resolves security vulnerabilities, updating build tools and 0.x dependencies (such as esbuild 0.25.x to 0.27.x) carries a potential risk of introducing subtle dev-server or build regressions. A quick check of the build output and dev environment is recommended.
Overview
Resolves a Dependabot security alert for the flatted package by bumping it from 3.3.3 to 3.4.2 via npm audit fix.
As a side effect of the audit fix, several other transitive dependencies were updated in package-lock.json, most notably:
vite(hoisted and bumped from7.1.12to7.3.2)esbuildand@esbuild/*(0.25.10->0.27.7)lodash(4.17.23->4.18.1)follow-redirects(1.15.11->1.16.0)@xmldom/xmldom(0.8.10->0.8.13)postcss(8.5.6->8.5.12)
No application code or package.json configurations were modified.
| "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", | ||
| "version": "3.4.2", | ||
| "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", | ||
| "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", |
There was a problem hiding this comment.
The flatted package was correctly updated to 3.4.2 via npm audit fix, resolving vulnerabilities without needing overrides. However, significant transitive updates like esbuild (0.25 to 0.27) and vite pose risks and should be tested carefully.
What/Why/How?
Update
flattedvulnerabilities https://github.com/Redocly/website/security/dependabot/70Run
npm audit fixReference
Testing
Screenshots (optional)
Check yourself
Security