@firebase/firestore 3.4.2 → 3.4.3-202201219200

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.
@@ -14,7 +14,7 @@ var url = require('url');
14
14
  var protoLoader = require('@grpc/proto-loader');
15
15
 
16
16
  const name = "@firebase/firestore";
17
- const version$1 = "3.4.2";
17
+ const version$1 = "3.4.3-202201219200";
18
18
 
19
19
  /**
20
20
  * @license
@@ -67,7 +67,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
67
67
  User.FIRST_PARTY = new User('first-party-uid');
68
68
  User.MOCK_USER = new User('mock-user');
69
69
 
70
- const version = "9.6.2";
70
+ const version = "9.6.3-202201219200";
71
71
 
72
72
  /**
73
73
  * @license
@@ -14502,7 +14502,7 @@ class GrpcConnection {
14502
14502
  */
14503
14503
  // __filename and __dirname globals are unavailable in ES modules
14504
14504
  // @ts-ignore To avoid using `--module es2020` flag.
14505
- const __filenameInESM = url.fileURLToPath(new (require('url').URL)('file:' + __filename).href);
14505
+ const __filenameInESM = url.fileURLToPath(((typeof document === 'undefined' || (typeof process !== 'undefined' && process.env !== undefined && (process.env.JEST_WORKER_ID !== undefined || process.env.NODE_ENV === 'test'))) ? new (require('url').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.node.cjs.js', document.baseURI).href)));
14506
14506
  const __dirnameInESM = path.dirname(__filenameInESM);
14507
14507
  /** Used by tests so we can match @grpc/proto-loader behavior. */
14508
14508
  const protoLoaderOptions = {