@firebase/util 1.9.3 → 1.9.4-20240131233318

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/dist/index.cjs.js CHANGED
@@ -824,6 +824,7 @@ function isNodeSdk() {
824
824
  /** Returns true if we are running in Safari. */
825
825
  function isSafari() {
826
826
  return (!isNode() &&
827
+ !!navigator.userAgent &&
827
828
  navigator.userAgent.includes('Safari') &&
828
829
  !navigator.userAgent.includes('Chrome'));
829
830
  }