Follow

Offering $50 via PayPal to the first person who completes a working Mastodon patch to switch from uws to ws. Only this file is affected afaict:

github.com/tootsuite/mastodon/

@szbalint uws was abandoned by its maintainers and mastodon is pinned to node 10 because of it

@szbalint this package in particular also been a massive thorn in my side as a maintainer of a mastodon instance due to all of its native nonsense, ws is written in javascript

@szbalint @sir I am interested in this too—I’ve used ws but not uws and I’m wondering what’s wrong with the latter

@zigg @szbalint uws was abandoned upstream, it's pinning mastodon to node 10, and its native dependencies are a huge headache for me as a sysadmin

@sir
Nice! I just put my eyes on an USB rubber ducky...

May I know the reason of the switch?

@ilpianista uws was abandoned upstream, it's pinning mastodon to node 10, and its native dependencies are a huge headache for me as a sysadmin

@sir API looks similar. Simple

--- const WebSocket = require('uws');
+++ const WebSocket = require('ws');

might be enough, or am I missing something?

Sign in to participate in the conversation
Mastodon

cmpwn.com is a private Mastodon instance for friends of SirCmpwn.