Skip to content

Added codemods for socket.io 4.0 #459

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Janhvibabani
Copy link

Added Codemods for Socket.io 4.0 Migration
This PR provides codemods to help migrate from Socket.io 3.x to 4.0. Run the following command to automatically update your code:

npx codemod@latest socket.io/4/migration-recipe

The included codemods:

socket.io/4/ws-engine-format-update (for this change: https://socket.io/docs/v4/migrating-from-3-x-to-4-0/#wsengine-option)
socket.io/4/removing-useless-broadcast-flag (for this change: https://socket.io/docs/v4/migrating-from-3-x-to-4-0/#known-migration-issues)

These automate changes from the v4 migration guide.

Copy link

vercel bot commented Sep 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
socket-io-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 5:35pm

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.

1 participant