sockjs / sockjs-client

WebSocket emulation - Javascript client
MIT License
8.45k stars 1.3k forks source link

Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform #597

Closed arturosanz closed 2 years ago

arturosanz commented 2 years ago

DevTools failed to load source map: Could not load content for webpack:///node_modules/sockjs-client/dist/sockjs.js.map: Fetch through target failed: Unsupported URL scheme; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

  1. Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform
    1. A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.

      To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

      Note that for performance reasons, only the first access to one of the properties is shown.

    2. AFFECTED RESOURCES
      1. 1 source
        1. sockjs.js:1 --
github-actions[bot] commented 2 years ago

This issue has been inactive for 30 days. It will be in closed in 5 days without any new activity.