@firebase/util 1.8.0-20221206221533 → 1.8.0-canary.20e5ef7fb
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/CHANGELOG.md +1 -1
- package/dist/index.esm2017.js +5 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +5 -2
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +5 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.esm2017.js
CHANGED
|
@@ -646,8 +646,11 @@ function getGlobal() {
|
|
|
646
646
|
const getDefaultsFromGlobal = () => getGlobal().__FIREBASE_DEFAULTS__;
|
|
647
647
|
/**
|
|
648
648
|
* Attempt to read defaults from a JSON string provided to
|
|
649
|
-
* process.env.__FIREBASE_DEFAULTS__ or a JSON file whose path is in
|
|
650
|
-
* process.env.__FIREBASE_DEFAULTS_PATH__
|
|
649
|
+
* process(.)env(.)__FIREBASE_DEFAULTS__ or a JSON file whose path is in
|
|
650
|
+
* process(.)env(.)__FIREBASE_DEFAULTS_PATH__
|
|
651
|
+
* The dots are in parens because certain compilers (Vite?) cannot
|
|
652
|
+
* handle seeing that variable in comments.
|
|
653
|
+
* See https://github.com/firebase/firebase-js-sdk/issues/6838
|
|
651
654
|
*/
|
|
652
655
|
const getDefaultsFromEnvVariable = () => {
|
|
653
656
|
if (typeof process === 'undefined' || typeof process.env === 'undefined') {
|