@firebase/util 1.9.7-canary.1b9d95e5a → 1.9.7-canary.2ddbd4e49
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 +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +3 -0
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3 -0
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +3 -0
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +3 -0
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/environment.d.ts +3 -0
- package/dist/src/environment.d.ts +3 -0
- package/dist/util-public.d.ts +3 -0
- package/dist/util.d.ts +3 -0
- package/package.json +1 -1
|
@@ -776,6 +776,9 @@ function isNode() {
|
|
|
776
776
|
}
|
|
777
777
|
/**
|
|
778
778
|
* Detect Browser Environment
|
|
779
|
+
* Note: This will return true for certain test frameworks that are incompletely
|
|
780
|
+
* mimicking a browser, and should not lead to assuming all browser APIs are
|
|
781
|
+
* available.
|
|
779
782
|
*/
|
|
780
783
|
function isBrowser() {
|
|
781
784
|
return typeof window !== 'undefined' || isWebWorker();
|