Skip to content

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