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

Allow app to work with Node v18 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

acrilique
Copy link

Changes made to the websocket js module caused this module to stop working with new NodeJS versions. Specifically, the use of upgradeReq was dropped and now the request is a second argument to the function call. This is an API BREAKING change. I'm posting this PR in case the developers want to update this module or anyone is willing to use this module with latest NodeJS.
I also removed the usage of url.parse() as it's deprecated, but that isn't a breaking change.

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