@firebase/util 1.9.7-canary.025f2a103 → 1.9.7-canary.08bb87b9f
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.cjs.js
CHANGED
|
@@ -780,6 +780,9 @@ function isNode() {
|
|
|
780
780
|
}
|
|
781
781
|
/**
|
|
782
782
|
* Detect Browser Environment
|
|
783
|
+
* Note: This will return true for certain test frameworks that are incompletely
|
|
784
|
+
* mimicking a browser, and should not lead to assuming all browser APIs are
|
|
785
|
+
* available.
|
|
783
786
|
*/
|
|
784
787
|
function isBrowser() {
|
|
785
788
|
return typeof window !== 'undefined' || isWebWorker();
|