Bump direct dependencies, catalog pins, and security overrides to the latest versions the toolchain accepts, and refresh the lockfile. Retarget the @codemirror/view patch to 6.44.2 and the Mermaid patch to 12.4.0. Keep Prettier at 2.8.8 and TypeScript at 6.0.3. @typescript-eslint still requires typescript < 6.1.0. Follow Vite 8.4's dev.sourcemap.css option.
13 lines
541 B
Diff
13 lines
541 B
Diff
diff --git a/dist/chunks/mermaid.core/chunk-ND7LMLKX.mjs b/dist/chunks/mermaid.core/chunk-ND7LMLKX.mjs
|
|
--- a/dist/chunks/mermaid.core/chunk-ND7LMLKX.mjs
|
|
+++ b/dist/chunks/mermaid.core/chunk-ND7LMLKX.mjs
|
|
@@ -685,7 +685,7 @@
|
|
div.attr("class", "labelBkg");
|
|
}
|
|
const bbox = await fastdom_default2.measure(() => div.node().getBoundingClientRect());
|
|
- if (bbox.width === width) {
|
|
+ if (bbox.width >= width - 1) {
|
|
div.style("display", "table");
|
|
div.style("white-space", "break-spaces");
|
|
div.style("width", width + "px");
|