@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
package/dist/index.node.cjs.js
CHANGED
|
@@ -790,6 +790,9 @@ function isNode() {
|
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
792
|
* Detect Browser Environment
|
|
793
|
+
* Note: This will return true for certain test frameworks that are incompletely
|
|
794
|
+
* mimicking a browser, and should not lead to assuming all browser APIs are
|
|
795
|
+
* available.
|
|
793
796
|
*/
|
|
794
797
|
function isBrowser() {
|
|
795
798
|
return typeof window !== 'undefined' || isWebWorker();
|