xshell 1.2.87 → 1.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +1 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -450,7 +450,7 @@ export class Server {
|
|
|
450
450
|
}
|
|
451
451
|
format_ua(headers) {
|
|
452
452
|
const { rtt, 'device-memory': memory } = headers;
|
|
453
|
-
const { device, os, browser } = UAParser(headers).withClientHints();
|
|
453
|
+
const { device, os, browser } = UAParser({ ...headers }).withClientHints();
|
|
454
454
|
const vendor = device.vendor?.toLowerCase();
|
|
455
455
|
const model = device.model?.toLowerCase();
|
|
456
456
|
const osname = os.name?.toLowerCase();
|