Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(deps): lift read-yaml-file to 2.x to clear js-yaml CVE-2026-53550 (#3221) (#3889)

AK4789437e6006
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 539aefc1f4..344cedb689 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -23,7 +23,8 @@ overrides:
esbuild: '>=0.28.1'
'@babel/core': ^7.29.6
hono: ^4.12.25
- read-yaml-file>js-yaml: ^3.15.0
+ read-yaml-file: ^2.1.0
+ read-yaml-file>js-yaml: ^4.2.0
'@changesets/parse>js-yaml': '>=4.2.0'
importers:
@@ -3684,9 +3685,6 @@ packages:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
- resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
-
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -4677,8 +4675,8 @@ packages:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
- resolution: {integrity: sha512-ttBQIIQPDeLjpPOohtUdXuXUVoA2uIB6fEH9HyJ7234s5mBJ5wTx20njxplLZQgLaOfpmPQA7X2t5AX6tIPbog==}
+ resolution: {integrity: sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==}
hasBin: true
@@ -5357,9 +5355,9 @@ packages:
resolution: {integrity: sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==}
- engines: {node: '>=6'}
+ resolution: {integrity: sha512-UkRNRIwnhG+y7hpqnycCL/xbTk7+ia9VuVTC0S+zVbwd65DI9eUpRMfsWIGrCWxTU/mi+JW8cHQCrv+zfCbEPQ==}
+ engines: {node: '>=10.13'}
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
@@ -5562,9 +5560,6 @@ packages:
resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==}
- resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
-
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
@@ -5620,6 +5615,10 @@ packages:
resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==}
+ engines: {node: '>=8'}
+
resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
engines: {node: '>=8'}
@@ -7476,7 +7475,7 @@ snapshots:
'@manypkg/find-root': 1.1.0
fs-extra: 8.1.0
globby: 11.1.0
- read-yaml-file: 1.1.0
+ read-yaml-file: 2.1.0
dependencies:
@@ -8998,10 +8997,6 @@ snapshots:
picomatch: 2.3.2
optional: true
- dependencies:
- sprintf-js: 1.0.3
-
@@ -10034,10 +10029,9 @@ snapshots:
dependencies:
- argparse: 1.0.10
- esprima: 4.0.1
+ argparse: 2.0.1
dependencies:
@@ -10697,12 +10691,10 @@ snapshots:
dependencies:
- graceful-fs: 4.2.11
- js-yaml: 3.15.0
- pify: 4.0.1
- strip-bom: 3.0.0
+ js-yaml: 4.3.0
+ strip-bom: 4.0.0
dependencies:
@@ -11003,8 +10995,6 @@ snapshots:
cross-spawn: 7.0.6
signal-exit: 4.1.0
-
@@ -11064,6 +11054,8 @@ snapshots:
+
dependencies:
min-indent: 1.0.1
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index e8fbb7ccb4..26e1016488 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -45,7 +45,14 @@ overrides:
esbuild: '>=0.28.1'
'@babel/core': ^7.29.6
hono: ^4.12.25
- read-yaml-file>js-yaml: ^3.15.0
+ # read-yaml-file 1.x is hard-wired to js-yaml 3.x (`safeLoad`), which has no
+ # fix for CVE-2026-53550 — patched only in js-yaml 4.2.0. Overriding js-yaml
+ # alone breaks it (4.x renamed safeLoad -> load), so lift the package instead:
+ # read-yaml-file 2.x calls `load` and depends on js-yaml ^4. Its only consumer
+ # is @manypkg/get-packages, and 2.x keeps the same CJS surface (default export
+ # + .sync). The floor below then holds that chain on the patched 4.x line.
+ read-yaml-file: ^2.1.0
+ read-yaml-file>js-yaml: ^4.2.0
'@changesets/parse>js-yaml': '>=4.2.0'
# pnpm 11 replaced the onlyBuiltDependencies allowlist with an allowBuilds map