How to repair event-stream?

github has been warning, how to fix it?

Known critical severity security vulnerability detected in event-stream > 3.3.4 defined in package-lock.json.
Dec.19,2021

try yarn upgrade


update event-stream to the latest version.
or delete package-lock.json or yarn.lock and then reinstall the dependency: npm I or yarn
https://www.cnbeta.com/articl.

Menu