@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.
@@ -830,6 +830,7 @@ function isNodeSdk() {
830
830
  /** Returns true if we are running in Safari. */
831
831
  function isSafari() {
832
832
  return (!isNode() &&
833
+ !!navigator.userAgent &&
833
834
  navigator.userAgent.includes('Safari') &&
834
835
  !navigator.userAgent.includes('Chrome'));
835
836
  }