@firebase/util 1.7.3 → 1.8.0-20221206221533
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 +10 -0
- package/dist/index.esm2017.js +6 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +15 -10
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +15 -10
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +6 -1
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @firebase/util
|
|
2
2
|
|
|
3
|
+
## 1.8.0-20221206221533
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1625f7a95`](https://github.com/firebase/firebase-js-sdk/commit/1625f7a95cc3ffb666845db0a8044329be74b5be) [#6799](https://github.com/firebase/firebase-js-sdk/pull/6799) - Update TypeScript version to 4.7.4.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`c20633ed3`](https://github.com/firebase/firebase-js-sdk/commit/c20633ed35056cbadc9d65d9ceddf4e28d1ea666) [#6841](https://github.com/firebase/firebase-js-sdk/pull/6841) - Fix for third party window content that cannot access IndexedDB if the browser is set to never accept third party cookies on Firefox.
|
|
12
|
+
|
|
3
13
|
## 1.7.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.esm2017.js
CHANGED
|
@@ -558,7 +558,12 @@ function isSafari() {
|
|
|
558
558
|
* @return true if indexedDB is supported by current browser/service worker context
|
|
559
559
|
*/
|
|
560
560
|
function isIndexedDBAvailable() {
|
|
561
|
-
|
|
561
|
+
try {
|
|
562
|
+
return typeof indexedDB === 'object';
|
|
563
|
+
}
|
|
564
|
+
catch (e) {
|
|
565
|
+
return false;
|
|
566
|
+
}
|
|
562
567
|
}
|
|
563
568
|
/**
|
|
564
569
|
* This method validates browser/sw context for indexedDB by opening a dummy indexedDB database and reject
|