Skip to content

Commit 9b1b073

Browse files
committed
chore(deps): bump js-yaml to 4.3.1 in sim-cli and drop the aged-out release-age waivers
js-yaml < 4.3.1 has quadratic CPU consumption in !!omap resolution (GHSA-5p4m-2wfm-xmqj / CVE-2026-59870). sim-cli builds with --packages=bundle, so its dev-scoped js-yaml is bundled into the published CLI. 4.3.1 is already what apps/sim pins, so this collapses sim-cli onto the hoisted copy. The minimumReleaseAge waivers for js-yaml and mermaid were temporary and have both aged past the 7-day window; leaving them behind would disable the supply-chain gate for those packages indefinitely.
1 parent 5d172b4 commit 9b1b073

3 files changed

Lines changed: 9 additions & 15 deletions

File tree

bun.lock

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ exact = true
44
# (blocks freshly published, potentially compromised releases).
55
minimumReleaseAge = 604800
66
# @typescript/native-preview stays excluded permanently: it only publishes nightly
7-
# dev builds, so every version is structurally younger than any age gate.
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"]
7+
# dev builds, so every version is structurally younger than any age gate. Every other
8+
# entry here is a temporary waiver for one pinned version that is still inside the
9+
# window, and must be dropped once that version ages out — an exclusion left behind
10+
# disables the gate for that package forever. Both prior waivers have aged out:
11+
# mermaid 11.16.1 (published 2026-08-04) on 2026-08-11, and js-yaml 4.3.1
12+
# (published 2026-07-31) on 2026-08-07.
13+
minimumReleaseAgeExcludes = ["@typescript/native-preview"]
1814

1915
[run]
2016
env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }

packages/sim-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@xterm/headless": "6.0.0",
5454
"chalk": "5.6.2",
5555
"commander": "^11.1.0",
56-
"js-yaml": "4.3.0",
56+
"js-yaml": "4.3.1",
5757
"typescript": "^7.0.2",
5858
"vitest": "^4.1.0"
5959
}

0 commit comments

Comments
 (0)