refactor: remove isomorphic-ws

The package caused some issues while working on other features.
Mostly because bundlers have been unable to determine the correct
websocket constructor.
So I replaced it with a more object-oriented approach.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-05-31 22:38:45 +02:00
parent 14ba7ea9ce
commit 753c6e593f
23 changed files with 724 additions and 283 deletions

View file

@ -2384,7 +2384,6 @@ __metadata:
eslint-plugin-jest: 27.2.1
eslint-plugin-prettier: 4.2.1
eventemitter2: 6.4.9
isomorphic-ws: 5.0.0
jest: 29.5.0
joi: 17.9.2
microbundle: 0.15.1
@ -2487,7 +2486,6 @@ __metadata:
i18next: 22.5.0
i18next-browser-languagedetector: 7.0.2
i18next-resources-to-backend: 1.1.4
isomorphic-ws: 5.0.0
jest: 29.5.0
jest-environment-jsdom: 29.5.0
js-yaml: 4.1.0
@ -11625,15 +11623,6 @@ __metadata:
languageName: node
linkType: hard
"isomorphic-ws@npm:5.0.0":
version: 5.0.0
resolution: "isomorphic-ws@npm:5.0.0"
peerDependencies:
ws: "*"
checksum: e20eb2aee09ba96247465fda40c6d22c1153394c0144fa34fe6609f341af4c8c564f60ea3ba762335a7a9c306809349f9b863c8beedf2beea09b299834ad5398
languageName: node
linkType: hard
"isomorphic.js@npm:^0.2.4":
version: 0.2.5
resolution: "isomorphic.js@npm:0.2.5"