Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

chore(deps): dedup marked to one v18 via pnpm override

Sergey Kozyrenkofb1c15926f49
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 2274eab5..6fdf7570 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -4,6 +4,9 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
+overrides:
+ marked: ^18.0.5
+
importers:
.:
@@ -4143,11 +4146,6 @@ packages:
resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}
- resolution: {integrity: sha512-gB0gkNafnonOw0obSTEGZTT86IuhILt2Wfx0mWH/1Au83kybTayroZ/V6nS25mN7u8ASy+5fMhgB3XPNrOZdmA==}
- engines: {node: '>= 20'}
- hasBin: true
-
resolution: {integrity: sha512-S6GcvALHg6K4ohtu4E7x0a1AqhAjp6cV8KhLSyN9qVapnzJkusVBxZRcIU9AeYsbe6P1hKDusSbEOzGyyuce6w==}
engines: {node: '>= 20'}
@@ -7682,7 +7680,7 @@ snapshots:
dependencies:
'@tiptap/core': 3.27.1(@tiptap/[email protected])
'@tiptap/pm': 3.27.1
- marked: 17.0.6
+ marked: 18.0.5
'@tiptap/[email protected]':
dependencies:
@@ -9699,8 +9697,6 @@ snapshots:
-
diff --git a/frontend/pnpm-workspace.yaml b/frontend/pnpm-workspace.yaml
index 99cceb00..2c7adb5a 100644
--- a/frontend/pnpm-workspace.yaml
+++ b/frontend/pnpm-workspace.yaml
@@ -1,3 +1,5 @@
+overrides:
+ marked: ^18.0.5
allowBuilds:
'@swc/core': true
esbuild: true
diff --git a/frontend/src/components/shared/editor-markdown.ts b/frontend/src/components/shared/editor-markdown.ts
index 4d0ab889..028772b7 100644
--- a/frontend/src/components/shared/editor-markdown.ts
+++ b/frontend/src/components/shared/editor-markdown.ts
@@ -73,9 +73,9 @@ export const MarkdownTable = Table.extend({
},
});
-// The `as never` bridges a transitive version skew: @tiptap/markdown's `marked` option is typed against
-// its own marked@17 while our direct dep is marked@18; the instance is runtime-compatible (corpus-verified).
+// `new Marked()` is a Marked instance, but the `marked` option is typed as the default singleton (which
+// carries extra statics like getDefaults); the cast bridges that structural gap.
export const createMarkdownLayer = () => [
- Markdown.configure({ marked: createFaithfulMarked() as never }),
+ Markdown.configure({ marked: createFaithfulMarked() as unknown as typeof import('marked').marked }),
FaithfulMarkdownText,
];