@firebase/firestore 4.7.7-20250205191324 → 4.7.7-canary.4e6a5c670
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/dist/index.cjs.js +30 -30
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +30 -30
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +33 -33
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +34 -34
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +30 -30
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +31 -9
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.cjs.js +31 -9
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +27 -4
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +27 -4
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +34 -12
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/package.json +9 -9
package/dist/index.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ var util = require('@firebase/util');
|
|
|
9
9
|
var bloomBlob = require('@firebase/webchannel-wrapper/bloom-blob');
|
|
10
10
|
var webchannelBlob = require('@firebase/webchannel-wrapper/webchannel-blob');
|
|
11
11
|
|
|
12
|
-
const S = "@firebase/firestore", b = "4.7.7-
|
|
12
|
+
const S = "@firebase/firestore", b = "4.7.7-canary.4e6a5c670";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -71,7 +71,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
71
71
|
* See the License for the specific language governing permissions and
|
|
72
72
|
* limitations under the License.
|
|
73
73
|
*/
|
|
74
|
-
let D = "11.3.0-
|
|
74
|
+
let D = "11.3.0-canary.4e6a5c670";
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* @license
|
|
@@ -688,6 +688,31 @@ function __PRIVATE_randomBytes(e) {
|
|
|
688
688
|
return n;
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
+
/**
|
|
692
|
+
* @license
|
|
693
|
+
* Copyright 2023 Google LLC
|
|
694
|
+
*
|
|
695
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
696
|
+
* you may not use this file except in compliance with the License.
|
|
697
|
+
* You may obtain a copy of the License at
|
|
698
|
+
*
|
|
699
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
700
|
+
*
|
|
701
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
702
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
703
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
704
|
+
* See the License for the specific language governing permissions and
|
|
705
|
+
* limitations under the License.
|
|
706
|
+
*/
|
|
707
|
+
/**
|
|
708
|
+
* An instance of the Platform's 'TextEncoder' implementation.
|
|
709
|
+
*/ function __PRIVATE_newTextEncoder() {
|
|
710
|
+
return new TextEncoder;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* An instance of the Platform's 'TextDecoder' implementation.
|
|
715
|
+
*/
|
|
691
716
|
/**
|
|
692
717
|
* @license
|
|
693
718
|
* Copyright 2017 Google LLC
|
|
@@ -709,7 +734,8 @@ function __PRIVATE_randomBytes(e) {
|
|
|
709
734
|
*
|
|
710
735
|
* @internal
|
|
711
736
|
* Exported internally for testing purposes.
|
|
712
|
-
*/
|
|
737
|
+
*/
|
|
738
|
+
class __PRIVATE_AutoId {
|
|
713
739
|
static newId() {
|
|
714
740
|
// Alphanumeric characters
|
|
715
741
|
const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", t = 62 * Math.floor(256 / 62);
|
|
@@ -732,7 +758,7 @@ function __PRIVATE_primitiveComparator(e, t) {
|
|
|
732
758
|
|
|
733
759
|
/** Compare strings in UTF-8 encoded byte order */ function __PRIVATE_compareUtf8Strings(e, t) {
|
|
734
760
|
// Convert the string to UTF-8 encoded bytes
|
|
735
|
-
const n = (
|
|
761
|
+
const n = __PRIVATE_newTextEncoder().encode(e), r = __PRIVATE_newTextEncoder().encode(t);
|
|
736
762
|
for (let e = 0; e < Math.min(n.length, r.length); e++) {
|
|
737
763
|
const t = __PRIVATE_primitiveComparator(n[e], r[e]);
|
|
738
764
|
if (0 !== t) return t;
|
|
@@ -5889,32 +5915,6 @@ let At = null;
|
|
|
5889
5915
|
* Sets the value of the `testingHooksSpi` object.
|
|
5890
5916
|
* @param instance the instance to set.
|
|
5891
5917
|
*/
|
|
5892
|
-
/**
|
|
5893
|
-
* @license
|
|
5894
|
-
* Copyright 2023 Google LLC
|
|
5895
|
-
*
|
|
5896
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5897
|
-
* you may not use this file except in compliance with the License.
|
|
5898
|
-
* You may obtain a copy of the License at
|
|
5899
|
-
*
|
|
5900
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5901
|
-
*
|
|
5902
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
5903
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
5904
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
5905
|
-
* See the License for the specific language governing permissions and
|
|
5906
|
-
* limitations under the License.
|
|
5907
|
-
*/
|
|
5908
|
-
/**
|
|
5909
|
-
* An instance of the Platform's 'TextEncoder' implementation.
|
|
5910
|
-
*/
|
|
5911
|
-
function __PRIVATE_newTextEncoder() {
|
|
5912
|
-
return new TextEncoder;
|
|
5913
|
-
}
|
|
5914
|
-
|
|
5915
|
-
/**
|
|
5916
|
-
* An instance of the Platform's 'TextDecoder' implementation.
|
|
5917
|
-
*/
|
|
5918
5918
|
/**
|
|
5919
5919
|
* @license
|
|
5920
5920
|
* Copyright 2022 Google LLC
|