@dxos/util 0.8.4-main.21d9917 → 0.8.4-main.2244d791bb

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.
@@ -1400,7 +1400,7 @@ var iosCheck = () => {
1400
1400
  };
1401
1401
  var safariCheck = () => typeof navigator !== "undefined" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
1402
1402
  var getHostPlatform = () => {
1403
- if (!("navigator" in window)) {
1403
+ if (!("navigator" in globalThis)) {
1404
1404
  return "unknown";
1405
1405
  }
1406
1406
  const platform = (navigator.userAgentData?.platform || navigator.platform)?.toLowerCase();