Repository navigation
fix(security): patch undici, fast-uri and serialize-javascript - #36199
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Code Review ✅ Approved🟡 Medium risk · Updating fast-uri changes no-base relative-reference normalization, which could alter UI schema resolution if such references are supplied; current schemas lack them. Patches undici, fast-uri, and serialize-javascript to fixed versions via resolutions and lockfile updates to close 10 Dependabot alerts, with no source file changes. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
❌ UI Checkstyle Failed❌ Bundle Runtime CheckA route chunk loads but one of its chunks still exports Fix locally (fast - only checks files changed in this branch): make ui-checkstyle-changed |
|



Describe your changes:
Part of open-metadata/openmetadata-collate#7792. Closes all 11 open Dependabot alerts with a patched version except
@tiptap/core#713, which needs a major upgrade. Every change is a patch bump inresolutions, a range, or the lockfile. No source files change.undiciopenmetadata-ui(dev tooling)undiciui-core-components(lock only; via jsdom, test environment)fast-uriopenmetadata-ui,ui-core-components(resolutions)serialize-javascriptopenmetadata-uiresolutionThis supersedes Dependabot's #36159, which bumps only
undiciinopenmetadata-ui.fast-uri runs in the browser, through Ajv validation of the JSON-schema forms. 3.1.9 changes one behavior that matters here. Without a base URI, a relative reference keeps its leading
../segments:normalize("../../type/entityReference.json")now returns the input, where 3.1.8 returnedtype/entityReference.json. Resolution against an absolute$idis unchanged. The schemas the UI hands to Ajv contain no relative$ref(src/jsonsandpublic/jsonshave none afterparse-schema), so the change does not reach them. Collate has compiled these same forms withfast-uri3.1.9 since openmetadata-collate#7626 (2.0, 2026-10-21) and #7805 (main, 2026-10-23).serialize-javascript. Its only consumer is
oidc-client, and none of the bundlesoidc-clientships (lib/oidc-client*.js) references it, so it never reaches the browser bundle. I pinned 7.1.4 rather than 7.1.3, because 7.1.4 also fixes methods that contain nested functions.Companion Collate PR: open-metadata/openmetadata-collate#7848 (
undici,serialize-javascript, andelectronincollate-desktop). Each repo resolves its ownnode_modules, so neither PR depends on the other to merge.Type of change:
High-level design:
N/A, small change.
Tests:
Use cases covered
Unit tests
openmetadata-uiwas regenerated withyarn install(yarn 1.22.22), and only the three target blocks change. Inui-core-components, yarn also split the unrelatedstring-width-cjs/strip-ansi-cjsalias entries, so I applied only thefast-uriandundiciblocks ontomain's lock. The undici 7.30.1 integrity matches npm's.yarn install --frozen-lockfilefrom an emptynode_modulespasses on both. The installs ran with--ignore-engines, because the newest node 22 on my machine is below the>=22.23.4engine; that changes no resolution.parse,normalize,serialize,resolveagainst three bases, andequal) over 20 URIs of the kinds Ajv handles:$schemaand$idURLs, OpenMetadata schema URLs,#/definitionspointers, relative refs, URNs,file:, IPv6, IDN, userinfo and ports. The only differences are the three no-base cases for../../type/entityReference.jsondescribed above.openmetadata-uiJest, Ajv and RJSF suites:FormBuilderV1.test.tsx,ConnectionConfigForm.schema-render.test.tsxandMcpApplicationConfiguration.test.tsxpass 49/49 on 3.1.9, the same as on 3.1.8.ui-core-components:vite buildpasses, and nofast-uricode is indist/.vitest run: 922 passed, 8 failed.components/application/tag/*›should render a tooltip trigger when tooltip is passedtests, which also fail onmain.autocomplete.test.tsx. That file passes 24/24 in 5 of 5 isolated runs. It is load-sensitive under the full suite, and was flaky the same way on unmodifiedmainon 2026-10-23.Backend integration tests
make java_affected: no Java tests are impacted.Playwright (UI) tests
Not run.
make playwright_affectedmapspackage.json/yarn.lockto the canary and smoke specs (an impact-map gap; the merge queue runs the full suite).undiciis dev and test tooling,serialize-javascriptnever reaches the bundle, and forfast-urithe one behavior change cannot reach the UI's dereferenced schemas (see above).Manual testing performed
N/A, no runtime code path changes.
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable regression was found.Summary
Updates dependency resolutions and lock entries without changing application code.
Acknowledged scope:
harsh-vadorexplicitly defers the@tiptap/corealert because it requires a major upgrade. The author also identifies the reported tooltip and autocomplete test failures as pre-existing.Reviews (1) · Last reviewed commit: "fix(security): patch undici, fast-uri an..." · Reviewed by Greptile