[agent] chore(deps): bump flatted to ^3.4.2 via overrides#689
Draft
github-actions[bot] wants to merge 2 commits intomainfrom
Draft
[agent] chore(deps): bump flatted to ^3.4.2 via overrides#689github-actions[bot] wants to merge 2 commits intomainfrom
github-actions[bot] wants to merge 2 commits intomainfrom
Conversation
Add npm overrides to force flatted >= 3.4.2, fixing prototype pollution vulnerability (GHSA-rf6f-7fwh-wjgh / CVE-2026-33228). flat-cache@3.x (the direct parent via eslint → file-entry-cache → flat-cache) has no 3.x release that pins flatted >= 3.4.2, so an overrides entry is used as the recommended fallback. Closes Dependabot alert #179. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
|
@copilot can you instead upgrade to latest eslint? |
- Remove flatted override from root package.json - Update eslint-config-devtools: replace @typescript-eslint/eslint-plugin+parser with typescript-eslint@8, bump eslint-plugin-mocha to v11, eslint-config-prettier to v10, add globals@16 - Rewrite configs/eslint-config-devtools/index.js to flat config format - Delete configs/eslint-config-devtools/common.js - Replace all .eslintrc.js files with eslint.config.js using flat config - Update devtools-connect package.json: remove semistandard/standard deps, add eslint-config-devtools - Bump eslint peer/dev dependency to ^9.0.0 across all packages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: nirinchev <2315687+nirinchev@users.noreply.github.com>
Contributor
Done in commit 130a0e9. Upgraded ESLint to
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes prototype pollution vulnerability in
flatted(GHSA-rf6f-7fwh-wjgh / CVE-2026-33228, severity high, CVSS v4: 8.9).What
Adds an
overridesentry in the rootpackage.jsonto forceflatted >= 3.4.2across the dependency tree.Why overrides
The dependency chain is:
flat-cache@3.x(the latest 3.x is 3.2.0) has no release that pinsflatted >= 3.4.2. Upgrading toflat-cache@6.xwould also require upgradingfile-entry-cacheto v11 andeslintto a compatible major — a much larger change. Usingoverridesis the appropriate fallback per the remediation policy when no direct-dependency bump resolves the advisory on a supported range.Alert