Skip to content

fix(blog): typo in Node 22->24 codemod - #9082

Open
blue2cat wants to merge 1 commit into
nodejs:mainfrom
blue2cat:patch-1
Open

fix(blog): typo in Node 22->24 codemod#9082
blue2cat wants to merge 1 commit into
nodejs:mainfrom
blue2cat:patch-1

Conversation

@blue2cat

@blue2cat blue2cat commented Aug 5, 2026

Copy link
Copy Markdown

Description

There's a typo in /en/blog/migrations/v22-to-v24 that causes the tls-create-secure-pair-to-tls-socket codemod to not run when copied.

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Signed-off-by: Gavin <46635587+blue2cat@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 03:53
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Aug 5, 2026 3:54am

Request Review

@cursor

cursor Bot commented Aug 5, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation-only change to a migration blog post; no runtime or application code is affected.

Overview
The Node.js v22→v24 migration blog post had a typo in the tls-create-secure-pair-to-tls-socket section: the documented command used @nodejs/tls-create-secure-pair-to-tls (missing -socket), which would fail when readers copied it.

The bash snippet is updated to npx codemod run @nodejs/tls-create-secure-pair-to-tls-socket, matching the Codemod Registry link and recipe name elsewhere on the same page.

Reviewed by Cursor Bugbot for commit 5160bbf. Bugbot is set up for automated code reviews on this repo. Configure here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Ready to approve

The change is a straightforward documentation typo fix and the updated command matches the referenced codemod name/links.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Fixes a typo in the Node.js v22→v24 migration blog post so the documented tls-create-secure-pair-to-tls-socket codemod command matches the actual registry package name and works when copied.

Changes:

  • Correct the npx codemod run command to use @nodejs/tls-create-secure-pair-to-tls-socket.
File summaries
File Description
apps/site/pages/en/blog/migrations/v22-to-v24.mdx Fixes the codemod command string so copy/paste runs the intended recipe.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@blue2cat blue2cat changed the title fix(blog): typo in Node 22->24 tls-create-secure-pair-to-tls-socket codemod fix(blog): typo in Node 22->24 codemod Aug 5, 2026

@bmuenzenmeyer bmuenzenmeyer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants