Skip to content

Commit a3dd7b2

Browse files
authored
Merge pull request #39 from PostHog/claude/fix-react-vulnerability-015z4iFakzeUmX2tuGiAXoxK
Update React and Next dependencies for CVE-2025-55182
2 parents 4792a2b + 83fbf47 commit a3dd7b2

File tree

12 files changed

+178
-178
lines changed

12 files changed

+178
-178
lines changed

basics/next-app-router/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"test:report": "playwright show-report"
1616
},
1717
"dependencies": {
18-
"next": "15.5.2",
18+
"next": "15.5.7",
1919
"posthog-js": "^1.261.6",
2020
"posthog-node": "^5.8.1",
21-
"react": "19.1.0",
22-
"react-dom": "19.1.0"
21+
"react": "19.1.2",
22+
"react-dom": "19.1.2"
2323
},
2424
"devDependencies": {
2525
"@eslint/eslintrc": "^3",
@@ -29,7 +29,7 @@
2929
"@types/react-dom": "^19",
3030
"dotenv": "^17.2.3",
3131
"eslint": "^9",
32-
"eslint-config-next": "15.5.2",
32+
"eslint-config-next": "15.5.7",
3333
"typescript": "^5"
3434
}
3535
}

basics/next-app-router/pnpm-lock.yaml

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

basics/next-app-router/src/app/profile/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ export default function ProfilePage() {
4343
<div style={{ marginTop: '2rem' }}>
4444
<h3>Your Burrito Journey</h3>
4545
{user.burritoConsiderations === 0 ? (
46-
<p>You haven't considered any burritos yet. Visit the Burrito Consideration page to start!</p>
46+
<p>You haven&apos;t considered any burritos yet. Visit the Burrito Consideration page to start!</p>
4747
) : user.burritoConsiderations === 1 ? (
48-
<p>You've considered the burrito potential once. Keep going!</p>
48+
<p>You&apos;ve considered the burrito potential once. Keep going!</p>
4949
) : user.burritoConsiderations < 5 ? (
50-
<p>You're getting the hang of burrito consideration!</p>
50+
<p>You&apos;re getting the hang of burrito consideration!</p>
5151
) : user.burritoConsiderations < 10 ? (
52-
<p>You're becoming a burrito consideration expert!</p>
52+
<p>You&apos;re becoming a burrito consideration expert!</p>
5353
) : (
5454
<p>You are a true burrito consideration master! 🌯</p>
5555
)}

basics/next-pages-router/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"test:report": "playwright show-report"
1616
},
1717
"dependencies": {
18-
"next": "15.5.5",
18+
"next": "15.5.7",
1919
"posthog-js": "^1.261.6",
2020
"posthog-node": "^5.8.1",
21-
"react": "19.1.0",
22-
"react-dom": "19.1.0"
21+
"react": "19.1.2",
22+
"react-dom": "19.1.2"
2323
},
2424
"devDependencies": {
2525
"@eslint/eslintrc": "^3",
@@ -29,7 +29,7 @@
2929
"@types/react-dom": "^19",
3030
"dotenv": "^17.2.3",
3131
"eslint": "^9",
32-
"eslint-config-next": "15.5.5",
32+
"eslint-config-next": "15.5.7",
3333
"typescript": "^5"
3434
}
3535
}

0 commit comments

Comments
 (0)