Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(deps): dedupe transitive dompurify to 3.4.13 via pnpm catalog

Danny0746b698031e
diff --git a/frontend/package.json b/frontend/package.json
index 394491d402..c0a7d1a2b3 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -49,7 +49,7 @@
"crypto-js": "^4.2.0",
"d3-shape": "^3.2.0",
"dayjs": "1.11.21",
- "dompurify": "3.4.13",
+ "dompurify": "catalog:",
"downloadjs": "1.4.7",
"elkjs": "^0.12.0",
"emittery": "^2.0.0",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index bc187e33a3..79974758ce 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -4,6 +4,9 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
+overrides:
+ dompurify: 3.4.13
+
pnpmfileChecksum: sha256-D+Oiltjq0mI5+T73et/+VdZYEDWjB/193i1+mwbpq0Y=
importers:
@@ -2702,9 +2705,6 @@ packages:
resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==}
- resolution: {integrity: sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==}
-
resolution: {integrity: sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==}
@@ -5302,7 +5302,7 @@ snapshots:
'@codingame/monaco-vscode-quickaccess-service-override': 36.0.0
'@vscode/diff': 0.0.2-7
'@vscode/iconv-lite-umd': 0.7.1
- dompurify: 3.4.12
+ dompurify: 3.4.13
jschardet: 3.1.4
marked: 14.0.0
@@ -6813,10 +6813,6 @@ snapshots:
- optionalDependencies:
- '@types/trusted-types': 2.0.7
-
optionalDependencies:
'@types/trusted-types': 2.0.7
diff --git a/frontend/pnpm-workspace.yaml b/frontend/pnpm-workspace.yaml
index d5fe8f59c9..f99ad5e555 100644
--- a/frontend/pnpm-workspace.yaml
+++ b/frontend/pnpm-workspace.yaml
@@ -2,6 +2,17 @@ peerDependencyRules:
allowedVersions:
typescript: '6'
+catalog:
+ dompurify: 3.4.13
+
+overrides:
+ # `@codingame/monaco-vscode-api` pins an exact dompurify version that lags
+ # behind security patches (GHSA-55q2-fjhq-7xh7, fixed in 3.4.13), shipping a
+ # second vulnerable copy in the Monaco bundle. The override forces every
+ # transitive copy to the catalog version, which the direct dependency also
+ # references, so the two can't drift apart again.
+ dompurify: 'catalog:'
+
allowBuilds:
# code-inspector-plugin v2 adds an optional "terminal mode" backed by the
# node-pty native module (optionalDependency of @code-inspector/core).