Repository navigation
Update flatted to 3.4.4 - #78
Merged
Merged
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
expensify-chore-bot
Bot
requested review from
NicolasBonet
and removed request for
a team
November 25, 2026 10:36
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
NicolasBonet
approved these changes
Nov 25, 2026
Contributor
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.
Explanation of Change
Updates
flattedto3.4.4in both lockfiles (2.0.2and3.2.7→3.4.4inpackage-lock.json;3.2.7→3.4.4inexample/package-lock.json). This closes all three openflattedDependabot alerts:parse(), fixed in3.4.2) — alerts 251 (package-lock.json) and 115 (example/package-lock.json).parse(), fixed in3.4.0) — alert 114 (example/package-lock.json).flatted@3.4.4was published on July 30, 2026, so it satisfies the repo'smin-release-age=7requirement.eslint-config-expensifydepends oneslint@6→flat-cache@2.0.1(flatted@^2.0.0), while top-leveleslint@8depends onflat-cache@3.0.4(flatted@^3.1.0). Adds"flatted": "^3.4.2"tooverridesinpackage.json, deduplicating both to3.4.4. Also merges the duplicate"overrides"keys currently inpackage.jsoninto a single block soexternal-editor.tmp(0.2.7) andlodash(^4.18.1) are both preserved.flattedis dev-only (used by ESLint's cache) and does not ship in the library.react-scripts→eslint→file-entry-cache→flat-cache@3.0.4(flatted@^3.1.0) depends onflatted, which already allows3.4.4, so this is a lockfile-only change (npm update flatted --package-lock-only).Fixed Issues
$ https://github.com/Expensify/Expensify/issues/707735
AI Tests
npm ciin the root and inexample/on Node 26.12.1 / npm 11.20.0.npm ls flatted --allresolves onlyflatted@3.4.4in both root andexample/.npm ls tmp lodash flatted --allin the root confirmstmp@0.2.7andlodash@4.18.1overrides remain intact.npm audit --jsonreports noflattedvulnerabilities in either root orexample/.npm test,npm run lint,npm run lint -- --cachetwice (exercisingflat-cache/flatted), andnpm run buildin the root — all pass.flat-cache@2.0.1andflat-cache@3.0.4round-trip cyclic objects withflatted@3.4.4, and that both the prototype-pollution and deep-recursion PoCs are mitigated.Tests
npm ci.npm ls flatted --alland confirm every entry resolves to3.4.4.npm test,npm run lint,npm run lint -- --cachetwice, andnpm run build, and confirm they pass.example/, runnpm ci.npm ls flatted --alland confirm every entry resolves to3.4.4.QA
NA