Repository navigation
Fix dependency vulnerabilities, update rnx-kit, and remove legacy tooling - #4430
Merged
Jason Morse (JasonVMo) merged 1 commit intoNov 2, 2026
Merged
Conversation
Update rnx-kit tools, backport age-blocked security fixes, and remove depcheck and unused build dependencies. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
Bundle size reportTree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.
The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail. |
Saad Najmi (Saadnajmi)
approved these changes
Nov 2, 2026
Jason Morse (JasonVMo)
deleted the
jasonmo-microsoft-dependency-security-cleanup
branch
November 2, 2026 21:33
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.
Platforms Impacted
Description of changes
Remediate active dependency vulnerabilities and refresh repository tooling without weakening the seven-day package-age gate.
body-parserpaths to 1.20.9 and 2.4.0 (GHSA-27r3-jxmh-p828).references/agents/repository/dependency-security.md. Glob's public entries use the patched unbundled modules rather than bypassing fixes through its prebuilt bundle.furn.depcheckthrough the existing constraints. Knip remains the supported dependency checker.bundlesizecommand/configuration; the existingyarn bundle-sizeworkflow remains supported. Remove unused direct chalk, find-up, rimraf, tools-packages, and tools-typescript dependencies, obsolete version fallbacks, and the unused find-up-based helper. Retain active publishing/tooling dependencies rather than replacing them speculatively.The npm graph shrinks from 1,780 to 1,745 locators. All 28 newly selected npm versions were checked against the exact age cutoff 2026-10-26T19:46:08.913Z.
Audit caveat: the recursive version audit still exits 1 with four advisory groups for the locally patched Joi, glob, minimatch, and deepmerge versions. This is not a clean version audit; nothing is excluded or suppressed. Minimatch 3.1.5 is also included in the advisory's broad version range, but has neither affected preprocessing method; the regression suite verifies that fact and its callable API. Fixed Joi/glob/minimatch releases are still inside the age gate, and deepmerge has no published fixed release. Dependabot may continue to report original versions until compatible published fixes replace the backports.
Verification
yarn workspace @fluentui-react-native/scripts build- passed.yarn workspace @fluentui-react-native/scripts test- passed, 62 tests including security regressions.yarn workspace @fluentui-react-native/scripts lint- passed.yarn workspace @fluentui-react-native/bundle-size build- passed.yarn workspace @fluentui-react-native/bundle-size test- passed, 15 tests.yarn build- passed.yarn lint-repo- passed after resolving catalog/formatting issues.yarn check-agent-instructions- passed.yarn dedupe --check- passed, no candidates.yarn install --immutable --mode=skip-build- passed.yarn clean-lage-cache- passed; thenyarn lage buildci --concurrency 4initially failed on the new filesystem catalog entry and vendored-plugin formatting. After correcting both, the same command passed: 165 successful tasks, 11 freshly cached/skipped tasks, no failures.yarn change:check- passed after committing the changeset.yarn workspace legacy-mobile bundle:ios- passed.yarn workspace legacy-mobile bundle:android- passed.yarn workspace @fluentui-react-native/agentic-components-storybook storybook bundle --macos- passed, bundle only.yarn workspace @fluentui-react-native/agentic-components-storybook storybook bundle --windows- passed, bundle only.yarn workspace @fluentui-react-native/agentic-components-storybook storybook bundle --win32- passed, bundle only.yarn npm audit --all --recursive --json --no-deprecations- exits 1 for the four explained advisory groups above; both body-parser findings are gone.Pull request checklist
This PR has considered (when applicable):