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