node-hbbtv
node-hbbtv copied to clipboard
Allow app to work with Node v18
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.