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
feat: Replace useragent with ua-parser-js to address security vulnerability
Replaced the deprecated 'useragent' package with 'ua-parser-js' to resolve the 'tmp' package security vulnerability reported by 'npm audit'.
- Uninstalled 'useragent' and '@types/useragent'.
- Installed 'ua-parser-js'.
- Updated 'src/hot-reload/HotReloaderServer.ts' to use 'UAParser' for user agent parsing.
- Updated 'src/hot-reload/SignEmitter.ts' to use 'UAParser.IResult' and extract browser information.
- Refactored 'specs/SignEmitter.specs.ts' to align with 'ua-parser-js' types and 'SignEmitter' constructor changes.
0 commit comments