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