SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

refactor: replace deprecated `String.prototype.substr()` (#646)

`.substr()` is deprecated so we replace it with `.slice()` which works
similarily but isn't deprecated.

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

Signed-off-by: Lam Wei Li <peteriman@mail.com>
L
Lam Wei Li committed
917d1d29e13f2e8f523c3738f6413f67b587aebe
Parent: 020801a
Committed by GitHub <noreply@github.com> on 6/6/2022, 6:42:45 AM