@firebase/firestore 3.3.0 → 3.3.1
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 +8 -0
- package/dist/index.esm2017.js +7 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +7 -7
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +8 -8
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6 -6
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +7 -7
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/package.json +4 -4
package/dist/index.node.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
19
19
|
var module__default = /*#__PURE__*/_interopDefaultLegacy(module$1);
|
|
20
20
|
|
|
21
21
|
const name = "@firebase/firestore";
|
|
22
|
-
const version$1 = "3.3.
|
|
22
|
+
const version$1 = "3.3.1";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @license
|
|
@@ -72,7 +72,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
72
72
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
73
73
|
User.MOCK_USER = new User('mock-user');
|
|
74
74
|
|
|
75
|
-
const version = "9.
|
|
75
|
+
const version = "9.5.0";
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* @license
|
|
@@ -11276,10 +11276,10 @@ class IndexedDbPersistence {
|
|
|
11276
11276
|
// accesses internal state. We execute this code directly during shutdown
|
|
11277
11277
|
// to make sure it gets a chance to run.
|
|
11278
11278
|
this.markClientZombied();
|
|
11279
|
-
if (util$1.isSafari() && navigator.appVersion.match(
|
|
11280
|
-
// On Safari 14, we do not run any cleanup actions as it might
|
|
11281
|
-
// a bug that prevents Safari from re-opening IndexedDB during
|
|
11282
|
-
// next page load.
|
|
11279
|
+
if (util$1.isSafari() && navigator.appVersion.match(/Version\/1[45]/)) {
|
|
11280
|
+
// On Safari 14 and 15, we do not run any cleanup actions as it might
|
|
11281
|
+
// trigger a bug that prevents Safari from re-opening IndexedDB during
|
|
11282
|
+
// the next page load.
|
|
11283
11283
|
// See https://bugs.webkit.org/show_bug.cgi?id=226547
|
|
11284
11284
|
this.queue.enterRestrictedMode(/* purgeExistingTasks= */ true);
|
|
11285
11285
|
}
|
|
@@ -14247,7 +14247,7 @@ function nodePromise(action) {
|
|
|
14247
14247
|
*/
|
|
14248
14248
|
// This is a hack fix for Node ES modules to use `require`.
|
|
14249
14249
|
// @ts-ignore To avoid using `--module es2020` flag.
|
|
14250
|
-
const require$1 = module__default["default"].createRequire(
|
|
14250
|
+
const require$1 = module__default["default"].createRequire(new (require('url').URL)('file:' + __filename).href);
|
|
14251
14251
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
14252
14252
|
const { version: grpcVersion } = require$1('@grpc/grpc-js/package.json');
|
|
14253
14253
|
const LOG_TAG$9 = 'Connection';
|
|
@@ -14417,7 +14417,7 @@ class GrpcConnection {
|
|
|
14417
14417
|
*/
|
|
14418
14418
|
// __filename and __dirname globals are unavailable in ES modules
|
|
14419
14419
|
// @ts-ignore To avoid using `--module es2020` flag.
|
|
14420
|
-
const __filename$1 = url.fileURLToPath(
|
|
14420
|
+
const __filename$1 = url.fileURLToPath(new (require('url').URL)('file:' + __filename).href);
|
|
14421
14421
|
const __dirname$1 = path.dirname(__filename$1);
|
|
14422
14422
|
/** Used by tests so we can match @grpc/proto-loader behavior. */
|
|
14423
14423
|
const protoLoaderOptions = {
|