Skip to content

fix(deps): remediate advisories and refresh Windows 0.81 - #4506

Merged
Jason Morse (JasonVMo) merged 1 commit into
mainfrom
user/jasonvmo/security-dependency-refresh
Nov 16, 2026
Merged

Jason Morse (JasonVMo) merged 1 commit into
mainfrom
user/jasonvmo/security-dependency-refresh

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Fix nine dependency advisories and refresh compatible packages without changing the React Native 0.81 / React 19.1 platform baseline.

  • Upgrade react-native-windows from 0.81.35 to 0.81.38, the newest seven-day-eligible 0.81 patch at the session cutoff. Its CLI 0.81.11 includes lazy PowerShell discovery, so remove the superseded CLI 0.81.8 resolution and patch.
  • Upgrade @hono/node-server to 2.1.6 and hono to 4.13.17 in the MCP SDK dependency graph, fixing two node-server and five Hono advisories.
  • Upgrade the existing narrow basic-ftp resolution to 6.2.6 and all fast-xml-parser paths to 5.12.0, fixing MLSD inherited-key handling and quadratic stop-node scanning.
  • Refresh @fluentui/react-native-icons to 2.0.345, regexpu-core to 6.5.4, and semver within each existing major. Remove the obsolete icons @types/react-native ignore resolution and deduplicate XML tooling.
  • Add installed-package regressions for FTP parsing, bounded XML parsing, Hono hyperlink-auditing CSRF protection, and non-Windows CLI loading. Document the remediations and add an empty maintenance changeset.

The recursive audit falls from 12 advisories to 3. The remaining reports are the existing, regression-tested Yarn backports for deepmerge (GHSA-gcqx-w48m-w2h4), glob (GHSA-3g3m-2fjr-6pw4), and minimatch 9/10 (GHSA-g3hv-75wg-m249). Their protections and glob's unbundled entry-point routing are retained. The audit is not clean; no advisory is excluded or suppressed, and no high/critical finding remains.

The seven-day age gate is unchanged. Publication timestamps for all 19 newly selected npm versions were checked against 2026-11-09 17:51:33.340 UTC. RNW 0.81.40 and npm latest 0.85.2 were published November 13 and are too young; the broader 0.85 platform migration is intentionally deferred.

Overlaps the dependency selections in #4487, #4489, #4486, #4471, #4503, and #4505.

Verification

Command Result
yarn workspace @fluentui-react-native/scripts format --check Passed
yarn workspace @fluentui-react-native/scripts test Passed: 80 tests, including all carried security-backport regressions
yarn lint-lockfile Passed
yarn lint-repo Passed: constraints, alignment, Knip, lockfile lint, formatting
yarn change:check Passed
yarn build Passed: full TypeScript project-reference graph
yarn dedupe --strategy highest and yarn dedupe --check Passed: no remaining candidates
yarn install --immutable --mode=skip-build Passed; existing peer-dependency warnings remain
yarn npm audit --all --recursive --json --no-deprecations Exit 1: only the three documented, already-backported advisory groups above; nine new advisories removed
npm publication-time comparison for every added lockfile npm locator Passed: 19/19 satisfy the exact seven-day cutoff
yarn storybook bundle --windows --reporter json in apps/storybook Passed
yarn storybook bundle --win32 --reporter json in apps/storybook Passed
yarn storybook bundle --macos --reporter json in apps/storybook Passed
yarn workspace @fluentui-react-native/tester bundle Passed: macOS and Windows
yarn workspace legacy-mobile bundle Passed: Android and iOS
yarn clean-lage-cache then yarn lage buildci --concurrency 4 Passed: 178 successful tasks, 0 skipped, 0 failed
Native builds and runtime/UIA/AX qualification Not run locally; Windows native build/runtime is unsupported on this macOS host. JavaScript bundles and tests are not native qualification.
Before After
12 audit advisories; RNW 0.81.35; locally patched CLI 0.81.8 3 explained existing backport reports; RNW 0.81.38; published CLI 0.81.11

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

Upgrade age-eligible security fixes and compatible tooling, move RNW to 0.81.38, and retire the upstream-fixed Windows CLI patch. Preserve and verify existing security backports.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 445c62f9-2720-4c70-bf23-d8876009c78f
@JasonVMo Jason Morse (JasonVMo) added the Type: Dependencies Pull requests that update a dependency file label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 79 (+1) 80 (+1) 72.92k (-702b) 72.85k (-702b)
components-catalog 228 (+1) 229 (+1) 229.66k (+349b) 229.59k (+349b)
design-themed-root 55 (+4) 56 (+4) 56.26k (+998b) 56.18k (+998b)
design-color-lib 6 (+0) 6 (+0) 6.27k (+0b) 6.27k (+0b)
design-theme-state-legacy-source 49 (+1) 50 (+1) 52.96k (-841b) 52.89k (-841b)
design-legacy-theme 42 (+0) 42 (+0) 39.11k (+0b) 42.91k (+0b)
design-legacy-theme-from-flex 58 (+4) 58 (+4) 60.70k (+824b) 64.51k (+822b)
design-fluent-light-theme 7 (+0) 7 (+0) 18.74k (+0b) 22.59k (+0b)
design-fluent-theme 35 (+0) 35 (+0) 27.46k (+4b) 31.25k (-1b)
design-fluent-hc-theme 32 (+0) 32 (+0) 27.34k (+0b) 31.13k (+0b)
design-flex-theme 29 (-4) 29 (-4) 14.30k (-9.07k) 14.29k (-9.07k)
design-flex-cool-theme 26 (New) 26 (New) 12.51k (New) 12.50k (New)
design-flex-warm-theme 26 (-7) 26 (-7) 12.28k (-11.15k) 12.27k (-11.15k)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

@microsoft-github-policy-service microsoft-github-policy-service Bot added the AutoMerge 🔁 Automatically merge when PR requirements met label Nov 16, 2026
@JasonVMo
Jason Morse (JasonVMo) enabled auto-merge (squash) November 16, 2026 18:15
@JasonVMo
Jason Morse (JasonVMo) merged commit a7af2b4 into main Nov 16, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge 🔁 Automatically merge when PR requirements met Type: Dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants