Use node-native WebSocket
- Dominant language
- JavaScript
- Stars
- 3.6k
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Description
https://nodejs.org/api/globals.html
No need to import an external module.
VS Code July 2024 includes Electron 30, which includes node 20.14, which includes native websockets:
https://code.visualstudio.com/updates/v1_92
Before then, the last Electron/Node update was in May, which was only to v20.9, which doesn't have native websockets
https://code.visualstudio.com/updates/v1_90
Contributor guide
Research direction
Start with the external WebSocket dependency and its current usage, then read the Node globals documentation and the VS Code v1.92 runtime notes linked in the issue. Done means the external module is no longer needed while WebSocket support remains compatible with the extension's Electron and Node versions; closed pull request #350 records prior work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, node.js, vscode
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100