Repository navigation
fix(deps): resolve patched undici and source-map-js in the consumer UI lockfile - #22
Merged
Merged
Conversation
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
ecv
approved these changes
Nov 5, 2026
ecv
left a comment
Contributor
There was a problem hiding this comment.
Approve.
Lockfile-only security bumps in the consumer UI: undici 7.29.1 to 7.30.1 and source-map-js 1.2.1 to 1.2.2, both dev-only and both published, forced through an overrides block because @module-federation/dts-plugin pins undici exactly. The ci / Build and test job installs and builds ui/consumer with the overrides and passes.
- Both are patch or minor moves within the same major, and only build tooling loads them; the served bundle and
serve.tsdon't.
Follow-ups:
- Drop the
overridesentries once@module-federation/dts-pluginandpostcssresolve the patched versions on their own, or they will hold these packages back from later majors. license/clais pending because the authoring app has not signed; the merge needs that settled.
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.
The consumer UI build installs two packages at versions that open security advisories cover, so the repository keeps showing vulnerability alerts against its lockfile. The automated dependency bot cannot change a package that only the lockfile holds, so a person has to move it by hand. After this change the build resolves the patched releases for both packages and the alerts close.
Detection evidence
Affected:
int_17ad4b457001o98datdn4tkmWhy this fix
The consumer UI lockfile resolved undici 7.29.1 and source-map-js 1.2.1. Six open alerts cover those two versions, and a patched release exists for each. Both packages reach the tree only through build tooling, so the deployed plugin never runs them. Two override entries move each copy to its patched release inside the same major version, and no other package in the tree moved.
Fix walkthrough
Watch the fix explained (1:24). Recorded for commit
590ffae3dc436ebb24893ebbbe79f28c8b8211bb.Out of scope
Production impact
Consumer UI lockfile keeps only a build-time dependency change
The repository node
datum-cloud/interconnecthas no recordeddeploys_toedge, and the deploymentinterconnect-consumer-ui-pluginis not yet indexed because thedatum-cloud-prodandinfrastructure-control-plane-stagingaccounts are still syncing, so I could not read its production traffic. The change moves two build-tooling packages inside their existing major versions; the production server imports only Node builtins, the run image copies onlydist/and the server file, and the built bundle holds no reference to either package.Checked and not affected (1)
interconnectObservability
npm run buildoutput in the CI job forui/consumershows the plugin bundle compiling, which is the build step these packages belong to.ui/consumer/package-lock.jsonis the signal that shows the fix landed; it clears when the resolved versions move past each advisory range.Polylane assessed this pull request at
590ffae.Causal chain
2 files changed (+10/-6)
ui/consumer/package-lock.json: modified, +6/-6ui/consumer/package.json: modified, +4/-0Generated by Polylane. You can ask follow-ups by mentioning @polylane in a comment.