Repository navigation
fix(security): bump prosemirror-view and source-map-js past high advisories - #34810
Conversation
…sories prosemirror-view < 1.42.3 runs attacker JavaScript from pasted HTML (GHSA-c8x8-7fp4-3x9w). The UI pinned it to 1.28.2 through resolutions, below the ^1.41.4 / ^1.42.3 that tiptap 2.27 itself asks for. Move the pin to 1.42.6, and prosemirror-model to 1.25.12 because view 1.42.x requires model ^1.25.8. Both stay pinned so tiptap keeps one instance. source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q) in both UI lockfiles. Co-Authored-By: Claude Opus 5.5 <[email protected]>
❌ 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 · The editor’s runtime dependencies jump several minor versions, changing rich-text behavior. Bumps OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
🔴 Playwright Results — workflow failedValidated commit ✅ 0 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky ⚙️ No test failures. This run failed in CI infrastructure or reporting (see Pipeline and setup failures), not because of your changes — no test action needed from you. Pipeline and setup failures (6)
Performance⚪ Performance metrics unavailable; see the CI and reporting failures above.
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|



Describe your changes:
Closes the three open high Dependabot alerts that have a patch: #752 (
prosemirror-view), #754 and #750 (source-map-js).prosemirror-viewopenmetadata-ui)prosemirror-model^1.25.8)source-map-jsopenmetadata-ui,openmetadata-ui-core-components)Why the prosemirror pins move rather than go away.
resolutionspinnedprosemirror-viewto 1.28.2. That is below the^1.41.4/^1.42.3range tiptap 2.27 asks for, so tiptap was already running on an older view than it supports. Both pins stay, so tiptap still gets a single prosemirror instance. Only their versions change.Supersedes Dependabot #34737 and #34734. They cover
source-map-jsonly and fail CI.How I tested
yarn install --frozen-lockfilepasses for both UIs. The lockfile diff only touches the three packages.node_moduleshas one copy each ofprosemirror-view(1.42.6) andprosemirror-model(1.25.12).tsc --noEmitonopenmetadata-uireports exactly the same errors with the old and the new prosemirror versions. The upgrade adds no type errors.Type of change:
Checklist:
🤖 Generated with Claude Code