Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump next from 14.2.15 to 14.2.21 in /references/nextjs-realtime #1583

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion references/nextjs-realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"lucide-react": "^0.451.0",
"next": "14.2.15",
"next": "14.2.21",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Next.js version 14.2.21 needs to be updated to 14.2.22 for latest security patches

The current version bump to 14.2.21 is not sufficient as there's a newer patch version (14.2.22) available in the 14.2.x series. While version 14.2.21 does patch the recent "DoS with Server Actions" vulnerability (as shown in the security advisories), it's recommended to use the latest patch version for all available security fixes.

  • Update next from "14.2.21" to "14.2.22" in references/nextjs-realtime/package.json
🔗 Analysis chain

Verify Next.js version and security advisories

The Next.js version bump from 14.2.15 to 14.2.21 looks good. This patch update should only contain bug fixes and security patches.

Let's verify if this is the latest patch version and check for any security advisories:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check latest Next.js version and security advisories

# Check npm for latest versions
npm view next versions --json | jq 'map(select(startswith("14.2."))) | .[-5:]'

# Check for security advisories
gh api graphql -f query='
{
  securityVulnerabilities(first: 5, ecosystem: NPM, package: "next") {
    nodes {
      advisory {
        summary
        severity
        publishedAt
      }
      vulnerableVersionRange
      firstPatchedVersion {
        identifier
      }
    }
  }
}'

Length of output: 1643

"openai": "^4.68.4",
"react": "^18",
"react-dom": "^18",
Expand Down