Skip to content

Commit 1305e9d

Browse files
authored
chore(deps): bump mermaid to 11.16.1 and js-yaml to 4.3.1 to clear open Dependabot alerts (#6375)
1 parent e6a17b0 commit 1305e9d

4 files changed

Lines changed: 27 additions & 51 deletions

File tree

apps/sim/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@
181181
"isolated-vm": "6.1.2",
182182
"jose": "6.0.11",
183183
"js-tiktoken": "1.0.21",
184-
"js-yaml": "4.3.0",
184+
"js-yaml": "4.3.1",
185185
"jsdom": "^26.0.0",
186186
"jszip": "3.10.1",
187187
"lib0": "0.2.117",
188188
"lru-cache": "11.3.6",
189189
"mammoth": "^1.9.0",
190-
"mermaid": "11.15.0",
190+
"mermaid": "11.16.1",
191191
"micromatch": "4.0.8",
192192
"monaco-editor": "0.55.1",
193193
"mongodb": "6.19.0",

bun.lock

Lines changed: 14 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,48 +5,16 @@ exact = true
55
minimumReleaseAge = 604800
66
# @typescript/native-preview stays excluded permanently: it only publishes nightly
77
# dev builds, so every version is structurally younger than any age gate.
8-
# The exactly pinned Pi 0.80.10 packages were vetted for the cloud-review SDK
9-
# migration; they age out of the gate on 2026-07-24 — drop these four entries then.
10-
# next@16.2.12, @next/env@16.2.12 and the @next/swc-* binaries carry the July 2026 security
11-
# advisories (SSRF, cache confusion, DoS, middleware bypass — GHSA-89xv-2m56-2m9x et al.,
12-
# fixed in 16.2.11) plus the TypeScript 7 support backport (vercel/next.js#95831) that
13-
# 16.2.11 lacks — this repo resolves typescript to 7.x, and on 16.2.11 `next build`'s
14-
# type-check step can die with a silent SIGSEGV because the legacy TS JS API is gone in TS7.
15-
# Published 2026-07-25, they age out of the gate on 2026-08-01 — drop these entries then,
16-
# and re-date this note on any further bump rather than deleting the entries early: removing
17-
# them while the pinned version is still inside the 7-day window blocks the bump outright.
18-
# The swc binaries ship in lockstep with next and
19-
# MUST be excluded alongside it: they are next's platform-gated optionalDependencies, so
20-
# gating them out leaves them absent from bun.lock entirely, and `bun install
21-
# --frozen-lockfile` then installs no compiler at all — next falls back to downloading one
22-
# at build time, which fails in CI.
23-
# @anthropic-ai/sdk is exactly pinned to 0.114.0, vetted for the agent-events
24-
# streaming work (adaptive thinking display types + transform-json-schema);
25-
# published 2026-07-23, it ages out of the gate on 2026-07-30 — drop this entry then.
26-
# @e2b/code-interpreter (2.7.0, published 2026-07-23) and its `e2b` dependency
27-
# (2.36.1, published 2026-07-27) carry the fix for Pi's Create PR runs dying mid-stream
28-
# with "protocol error: received unsupported compressed output": e2b 2.36.0 moved envd's
29-
# Connect transport off the 2.0.0-rc.3 connect-web and onto undici 8 for Node >= 22.19.0,
30-
# which is this app's engine floor. Only these two are excluded — the rest of the chain
31-
# (@connectrpc/connect{,-web} 2.1.2, @bufbuild/protobuf 2.13.0, undici 8.8.0) already
32-
# clears the gate, and `tar` resolves to 7.5.21, which satisfies e2b's ^7.5.19 without
33-
# an exception. They age out on 2026-07-30 and 2026-08-03 — drop both entries then.
34-
minimumReleaseAgeExcludes = [
35-
"@typescript/native-preview",
36-
"@earendil-works/pi-agent-core",
37-
"@earendil-works/pi-ai",
38-
"@earendil-works/pi-coding-agent",
39-
"@earendil-works/pi-tui",
40-
"next",
41-
"@next/env",
42-
"@next/swc-darwin-arm64",
43-
"@next/swc-darwin-x64",
44-
"@next/swc-linux-arm64-gnu",
45-
"@next/swc-linux-x64-gnu",
46-
"@anthropic-ai/sdk",
47-
"@e2b/code-interpreter",
48-
"e2b",
49-
]
8+
# mermaid 11.16.1 (published 2026-08-04) clears five open Dependabot advisories that
9+
# 11.15.0 carries: architecture-diagram and config-API prototype pollution, radar and
10+
# XY-chart DoS, and CSS injection into siblings of the diagram. It is inside the 7-day
11+
# window and cannot be installed without an exception; it ages out on 2026-08-11 — drop
12+
# the entry then, and re-date this note on any further bump rather than deleting the entry
13+
# early, because removing it while the pinned version is still inside the window blocks the
14+
# bump outright. js-yaml 4.3.1 (published 2026-07-31) carries the CVE-2026-59870 !!omap
15+
# quadratic-CPU fix, which was never backported to the 4.3.0 line; it ages out on 2026-08-07,
16+
# so that entry can go on the next touch of this file.
17+
minimumReleaseAgeExcludes = ["@typescript/native-preview", "mermaid", "js-yaml"]
5018

5119
[run]
5220
env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"drizzle-orm": "^0.45.2",
9393
"postgres": "^3.4.5",
9494
"minimatch": "^10.2.5",
95-
"mermaid": "11.15.0",
95+
"mermaid": "11.16.1",
9696
"zod": "4.3.6",
9797
"e2b": "^2.36.1"
9898
},

0 commit comments

Comments
 (0)