mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
chore: bump dependencies (#11133)
* chore: bump dependencies * chore: another bump
This commit is contained in:
@@ -24,9 +24,7 @@ export function getUserAgentAppendix(): string {
|
||||
|
||||
// Most (if not all) edge environments will have `process` defined. Within a web browser we'll extract it using `navigator.userAgent`.
|
||||
if (typeof globalThis.process !== 'object') {
|
||||
// @ts-expect-error web env
|
||||
if (typeof globalThis.navigator === 'object') {
|
||||
// @ts-expect-error web env
|
||||
return globalThis.navigator.userAgent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user