You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
# Context
#674
>There is a security vulnerability with the current version of ws, that requires it to be upgraded to 5.2.3.
# In this diff
> At a glance, we're affected by at least websockets/ws#1099 in v3.x (here) and websockets/ws@63e275e in v4.x (here). Probably a few other changes as well.
Like motiz88 mentioned in the issue, there's only 2 API changes that needed to be fixed:
- `upgradeReq` was removed from the web socket object, the fix being to take the URL from the request param instead
- `onError` now correctly passes an `ErrorEvent` instead of an `Error` object
Those are the only usages of ws in metro that i've seen
Reviewed By: GijsWeterings
Differential Revision: D29517185
fbshipit-source-id: bac12e7106f09b88877e2e138472a0d981d55200
0 commit comments