@firebase/util 1.9.3 → 1.9.4-20240130223218

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.
@@ -820,6 +820,7 @@ function isNodeSdk() {
820
820
  /** Returns true if we are running in Safari. */
821
821
  function isSafari() {
822
822
  return (!isNode() &&
823
+ !!navigator.userAgent &&
823
824
  navigator.userAgent.includes('Safari') &&
824
825
  !navigator.userAgent.includes('Chrome'));
825
826
  }