microsoft / vscode-extension-telemetry

Node module to help VS Code extensions send telemetry using application insights
https://www.npmjs.com/package/@vscode/extension-telemetry
Other
125 stars 46 forks source link

Use clean user agent string instead of `appVersion` when `userAgentData` is unavailable. #200

Closed sezna closed 6 months ago

sezna commented 6 months ago

Thanks for the library! We use this a lot, and are very happy with its implementation.

This PR aims to replace the usage of the deprecated navigator.appVersion with a cleaned userAgent string, in the case where userAgentData is unavailable (all non-chromium browsers, including Safari and Firefox).