@firebase/firestore 3.2.0 → 3.2.1-2021102231614
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 +11 -0
- package/dist/index.esm2017.js +3 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3 -3
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +8 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +8 -3
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- 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.browser.esm5.js.map +1 -1
- 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/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/rollup.config.d.ts +6 -6
- package/dist/lite/packages/firestore/rollup.config.debug.d.ts +1 -1
- package/dist/lite/packages/firestore/rollup.config.lite.d.ts +6 -6
- package/dist/packages/firestore/rollup.config.d.ts +6 -6
- package/dist/packages/firestore/rollup.config.debug.d.ts +1 -1
- package/dist/packages/firestore/rollup.config.lite.d.ts +6 -6
- package/package.json +13 -10
package/dist/index.node.mjs
CHANGED
|
@@ -6,11 +6,12 @@ import { createMockUserToken, getModularInstance, deepEqual, getUA, isIndexedDBA
|
|
|
6
6
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
7
7
|
import module from 'module';
|
|
8
8
|
import { credentials, loadPackageDefinition, Metadata } from '@grpc/grpc-js';
|
|
9
|
-
import { resolve, join } from 'path';
|
|
9
|
+
import { dirname, resolve, join } from 'path';
|
|
10
|
+
import { fileURLToPath } from 'url';
|
|
10
11
|
import { loadSync } from '@grpc/proto-loader';
|
|
11
12
|
|
|
12
13
|
const name = "@firebase/firestore";
|
|
13
|
-
const version$1 = "3.2.
|
|
14
|
+
const version$1 = "3.2.1-2021102231614";
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* @license
|
|
@@ -63,7 +64,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
63
64
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
64
65
|
User.MOCK_USER = new User('mock-user');
|
|
65
66
|
|
|
66
|
-
const version = "9.
|
|
67
|
+
const version = "9.3.0-2021102231614";
|
|
67
68
|
|
|
68
69
|
/**
|
|
69
70
|
* @license
|
|
@@ -14406,6 +14407,10 @@ class GrpcConnection {
|
|
|
14406
14407
|
* See the License for the specific language governing permissions and
|
|
14407
14408
|
* limitations under the License.
|
|
14408
14409
|
*/
|
|
14410
|
+
// __filename and __dirname globals are unavailable in ES modules
|
|
14411
|
+
// @ts-ignore To avoid using `--module es2020` flag.
|
|
14412
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
14413
|
+
const __dirname = dirname(__filename);
|
|
14409
14414
|
/** Used by tests so we can match @grpc/proto-loader behavior. */
|
|
14410
14415
|
const protoLoaderOptions = {
|
|
14411
14416
|
longs: String,
|