Skip to content

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

TypeScript

fix(deps): resolve dependabot alerts for next and js-yaml (#4653)

Cindy Zhang2e89616e4f4c
diff --git a/apps/example-nextjs-source/package.json b/apps/example-nextjs-source/package.json
index 1d0c354f8f..515ea5e05d 100644
--- a/apps/example-nextjs-source/package.json
+++ b/apps/example-nextjs-source/package.json
@@ -11,7 +11,7 @@
"@stylexjs/stylex": "^0.19.0",
"@astryxdesign/core": "*",
"@astryxdesign/theme-neutral": "*",
- "next": "^15.5.16",
+ "next": "^15.5.21",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
diff --git a/apps/example-nextjs-stylex/package.json b/apps/example-nextjs-stylex/package.json
index 07f8c0f368..bb9f178eb1 100644
--- a/apps/example-nextjs-stylex/package.json
+++ b/apps/example-nextjs-stylex/package.json
@@ -11,7 +11,7 @@
"@stylexjs/stylex": "^0.19.0",
"@astryxdesign/core": "*",
"@astryxdesign/theme-neutral": "*",
- "next": "^15.5.16",
+ "next": "^15.5.21",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
diff --git a/apps/example-nextjs-tailwind/package.json b/apps/example-nextjs-tailwind/package.json
index bb346fdd55..eff0e89a3b 100644
--- a/apps/example-nextjs-tailwind/package.json
+++ b/apps/example-nextjs-tailwind/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@astryxdesign/core": "*",
"@astryxdesign/theme-neutral": "*",
- "next": "^15.5.16",
+ "next": "^15.5.21",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
diff --git a/apps/example-nextjs/package.json b/apps/example-nextjs/package.json
index e31ff21f69..1941317e4a 100644
--- a/apps/example-nextjs/package.json
+++ b/apps/example-nextjs/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"@astryxdesign/core": "*",
"@astryxdesign/theme-neutral": "*",
- "next": "^15.5.16",
+ "next": "^15.5.21",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
diff --git a/apps/sandbox/package.json b/apps/sandbox/package.json
index 153609a3e5..c95b24734d 100644
--- a/apps/sandbox/package.json
+++ b/apps/sandbox/package.json
@@ -22,7 +22,7 @@
"@astryxdesign/lab": "*",
"@astryxdesign/theme-neutral": "*",
"@astryxdesign/theme-matcha": "*",
- "next": "^15.5.16",
+ "next": "^15.5.21",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"recharts": "^3.9.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d3fccde5ea..2d55c3e9d3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25,7 +25,7 @@ overrides:
hono: ^4.12.25
read-yaml-file: ^2.1.0
read-yaml-file>js-yaml: ^4.2.0
- '@changesets/parse>js-yaml': '>=4.2.0'
+ '@changesets/parse>js-yaml': ^4.2.0
fast-uri: ^3.1.4
brace-expansion: ^2.1.2
sharp: ^0.35.3
@@ -267,8 +267,8 @@ importers:
specifier: ^0.19.0
version: 0.19.0
next:
- specifier: ^15.5.16
+ specifier: ^15.5.21
react:
specifier: ^19.2.7
version: 19.2.7
@@ -2083,14 +2083,14 @@ packages:
'@emnapi/core': ^1.7.1
'@emnapi/runtime': ^1.7.1
- resolution: {integrity: sha512-dXh51Wvddf8daEyBXryZZEe1FdVxEWx9lgaTseLZUtC1XP/W8Wri+Z+VPOElHlByk23CyqHdc2oVByX7wsTWsw==}
+ resolution: {integrity: sha512-O5BlKb3KtsHkvO0gjjV66PuJnAgCtIEIzwkt50HRAHsQkU1t77eksIXSZV84/WMtZJjWrnDUPKHVRi0D62nSAA==}
resolution: {integrity: sha512-XqdVR0utAWMsVc1OIyO48D32vrdmC4/uAgI3Ds088YlOO4vfGKXXVyvkGFkOZkOK0xg7bNYNfJAarX4A0tYqGg==}
- resolution: {integrity: sha512-in0yXG7/pRBVjWeEl7f7ZZETpletSMFKXVS4GJgHENTPVrJFNJKPrYewa9rpZcvdjwFece5fZP0CK34G4PxowA==}
+ resolution: {integrity: sha512-/VISwtffSg8+fVvBbXdglsvruCsdbBC4dG25iU6xascKVqfQKsj/OtjGnOEkIS7pX5GB9e9/r5QprpicsGL3gw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -2101,8 +2101,8 @@ packages:
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-0hsFshdPnTzGJdDTHeHJ+XPUShOpnyp9pUFDwDhqctsA0Cd8NcIVGRPtptYhgYY9DjkKgCDRkXxmgRc+CgT5Wg==}
+ resolution: {integrity: sha512-NiA9ve8hbiuhG/Q17a2mZDRVxMTtg3rTOgjLnDaLlE+AEPAQlkkuKrfePEbeOrgYmX0U2KGX4EVEn09hXU5GlQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -2113,8 +2113,8 @@ packages:
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-DMvkoBtAABOzE6pMZRW/xNm7sKqql3wzzzZJ1R/d/rp4BCxv6LykouD3tHjGY8WdQqGpZs11t+R9AtjPxvvljw==}
+ resolution: {integrity: sha512-vAPa9vltW+UW/KWtjXeSUFgV3wb1x9d/BeyC6WFI6eBpL0D2f70oGwtOp6193mNW3qusrpgBzMQferPf+Zh8Dw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -2127,8 +2127,8 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-RQmDfeYBtXV2FSId7dfA1hE6M/T6+g7wdbYnFQ47tw/gUBwV+CccLVejNmCGa9yLDitk83foeg8hl/3DjfYQ5g==}
+ resolution: {integrity: sha512-iknK80pWlNDnkdSr13bd8mMuG3Z2oTxODwsZHvuMY7caMk77+rBLdHVWsy8v2EVa3ZojJ/+wJX5fnq8va6Gv8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -2141,8 +2141,8 @@ packages:
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-DkWLEdKajJwdGt27M3i1VEO2kelTvZrK6Pcb7JvW2BY+nofWm7FBsBNDj7g7Pr1NuQ5PLJvqEqYa20GTsBDnKQ==}
+ resolution: {integrity: sha512-penuEdkwU2OOAiS+n4LE8T/VIoCfAI01QcLZTJ2xc3+l4Q22L/DzURocmI2LU1b+8BMQoLAP1Sze3uYAZT05Bg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -2155,8 +2155,8 @@ packages:
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-rAO5b7pKHvX+ExdmJskusDXTNbiNZfptifIPZItbUx+AOXxxTydVBsPt7Oz84DRd5mY8e0DcE8kvLj3AIfjE6w==}
+ resolution: {integrity: sha512-ZM0BKJm3FZ+guG6WT6PcyOLtp6paZ5tngcJC/uUKvLW4Y0TQnnVi1+UGdo8Q6Yxp5gaS82pmC1rD/oFlhkWB3g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -2169,8 +2169,8 @@ packages:
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-Hp3zFsN8N8Kj9+vY6L4vnZ9EtA9eXyATu0q4EfGbZTiocgPUNSfz8NWhym6xvaOmHpJ8EuoypuU1WejCPsTFtg==}
+ resolution: {integrity: sha512-rY/YaumrZaS0//94BnHLF5VSRp0GFUO4GvXNuoCBb0cGSci96yO+p1JaNL2aq9YZAYv9cuZRziV02x5IQH/wjg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -2181,8 +2181,8 @@ packages:
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-T/L7CXpR1M0wij/xbF3rT1+7KvSkfOLr7C+ToHHWZTG2eKmb52C5WvsyGCBNtkVvDEUESWkRUbbqSH4rSbOCYQ==}
+ resolution: {integrity: sha512-s5IA4cyrbR2XK/5NWcu5dp8CfPBiKME+UhvNperia7uQybEgg5+LIhGMiY37WQE4rcI4owsDcU4IVUjLoTuDkA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -4767,10 +4767,6 @@ packages:
resolution: {integrity: sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==}
hasBin: true
- resolution: {integrity: sha512-YeLUMlvR4Ou1B119LIaM0r65JvbOBooJDc9yEu0dClb/uSC5P4FrLU8OCCz/HXWvtPoIrR0dRzABTjo1sTN9Bw==}
- hasBin: true
-
resolution: {integrity: sha512-LjFrGOIORqXBU+jwfC9nbkjmQfFldtMIoS6d9z2LG/lkmyNXsJAySPT+2SWXJEoE68/bCWcxKpXH37npftgmow==}
engines: {node: '>=16'}
@@ -5095,8 +5091,8 @@ packages:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
- resolution: {integrity: sha512-cvyS3/geydan1xLtE3FA8VCgdoQ/Gg/dlOldFkFCbB5VcVYJV7090hQLBnvTW2PwT76Z/dHdzDZCsVhZpoOlUA==}
+ resolution: {integrity: sha512-mrtal1sRxO4YrlDS98sDuIvGZivKbFix8w7oAL9ZynfOgc3cADQOQgvwtMooc18Qr8bKzvQAcHwHZ0mbJ7zcfQ==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
hasBin: true
peerDependencies:
@@ -6825,7 +6821,7 @@ snapshots:
'@changesets/[email protected]':
dependencies:
'@changesets/types': 6.1.0
- js-yaml: 5.2.0
+ js-yaml: 4.3.0
'@changesets/[email protected]':
dependencies:
@@ -7636,53 +7632,53 @@ snapshots:
'@tybys/wasm-util': 0.10.3
optional: true
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
'@next/[email protected]': {}
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
@@ -10120,10 +10116,6 @@ snapshots:
dependencies:
argparse: 2.0.1
- dependencies:
- argparse: 2.0.1
-
dependencies:
'@babel/core': 7.29.7
@@ -10424,9 +10416,9 @@ snapshots:
dependencies:
- '@next/env': 15.5.20
+ '@next/env': 15.5.22
'@swc/helpers': 0.5.15
caniuse-lite: 1.0.30001800
postcss: 8.5.18
@@ -10434,14 +10426,14 @@ snapshots:
react-dom: 19.2.7([email protected])
styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 15.5.20
- '@next/swc-darwin-x64': 15.5.20
- '@next/swc-linux-arm64-gnu': 15.5.20
- '@next/swc-linux-arm64-musl': 15.5.20
- '@next/swc-linux-x64-gnu': 15.5.20
- '@next/swc-linux-x64-musl': 15.5.20
- '@next/swc-win32-arm64-msvc': 15.5.20
- '@next/swc-win32-x64-msvc': 15.5.20
+ '@next/swc-darwin-arm64': 15.5.22
+ '@next/swc-darwin-x64': 15.5.22
+ '@next/swc-linux-arm64-gnu': 15.5.22
+ '@next/swc-linux-arm64-musl': 15.5.22
+ '@next/swc-linux-x64-gnu': 15.5.22
+ '@next/swc-linux-x64-musl': 15.5.22
+ '@next/swc-win32-arm64-msvc': 15.5.22
+ '@next/swc-win32-x64-msvc': 15.5.22
'@playwright/test': 1.61.1
sharp: 0.35.3(@types/[email protected])
transitivePeerDependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 4b2d83b9ff..4d7e76544c 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -53,7 +53,10 @@ overrides:
# + .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'
+ # Constrain to 4.x — the 5.x line has DoS vulnerabilities (GHSA-pm4m-ph32-ghv5,
+ # GHSA-724g-mxrg-4qvm) patched only in 5.2.2. @changesets/parse declares ^4.1.1
+ # anyway, so keep it on 4.x where the advisory does not apply.
+ '@changesets/parse>js-yaml': ^4.2.0
fast-uri: ^3.1.4
brace-expansion: ^2.1.2
# next pulls sharp as an optional dependency for image optimization and still