@firebase/util 1.10.2 → 1.10.3-canary.01f36ea41
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 +0 -29
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.esm2017.js +1 -29
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +0 -29
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.d.ts +0 -1
- package/dist/node-esm/index.d.ts +0 -1
- package/dist/node-esm/index.node.d.ts +0 -1
- package/dist/node-esm/index.node.esm.js +1 -29
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/util-public.d.ts +0 -7
- package/dist/util.d.ts +0 -7
- package/package.json +1 -1
- package/dist/node-esm/src/uuid.d.ts +0 -22
- package/dist/src/uuid.d.ts +0 -22
package/dist/index.node.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export * from './src/sha1';
|
|
|
32
32
|
export * from './src/subscribe';
|
|
33
33
|
export * from './src/validation';
|
|
34
34
|
export * from './src/utf8';
|
|
35
|
-
export * from './src/uuid';
|
|
36
35
|
export * from './src/exponential_backoff';
|
|
37
36
|
export * from './src/formatters';
|
|
38
37
|
export * from './src/compat';
|
package/dist/node-esm/index.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export * from './src/sha1';
|
|
|
32
32
|
export * from './src/subscribe';
|
|
33
33
|
export * from './src/validation';
|
|
34
34
|
export * from './src/utf8';
|
|
35
|
-
export * from './src/uuid';
|
|
36
35
|
export * from './src/exponential_backoff';
|
|
37
36
|
export * from './src/formatters';
|
|
38
37
|
export * from './src/compat';
|
|
@@ -32,7 +32,6 @@ export * from './src/sha1';
|
|
|
32
32
|
export * from './src/subscribe';
|
|
33
33
|
export * from './src/validation';
|
|
34
34
|
export * from './src/utf8';
|
|
35
|
-
export * from './src/uuid';
|
|
36
35
|
export * from './src/exponential_backoff';
|
|
37
36
|
export * from './src/formatters';
|
|
38
37
|
export * from './src/compat';
|
|
@@ -1968,34 +1968,6 @@ const stringLength = function (str) {
|
|
|
1968
1968
|
return p;
|
|
1969
1969
|
};
|
|
1970
1970
|
|
|
1971
|
-
/**
|
|
1972
|
-
* @license
|
|
1973
|
-
* Copyright 2022 Google LLC
|
|
1974
|
-
*
|
|
1975
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1976
|
-
* you may not use this file except in compliance with the License.
|
|
1977
|
-
* You may obtain a copy of the License at
|
|
1978
|
-
*
|
|
1979
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1980
|
-
*
|
|
1981
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1982
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1983
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1984
|
-
* See the License for the specific language governing permissions and
|
|
1985
|
-
* limitations under the License.
|
|
1986
|
-
*/
|
|
1987
|
-
/**
|
|
1988
|
-
* Copied from https://stackoverflow.com/a/2117523
|
|
1989
|
-
* Generates a new uuid.
|
|
1990
|
-
* @public
|
|
1991
|
-
*/
|
|
1992
|
-
const uuidv4 = function () {
|
|
1993
|
-
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
|
|
1994
|
-
const r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;
|
|
1995
|
-
return v.toString(16);
|
|
1996
|
-
});
|
|
1997
|
-
};
|
|
1998
|
-
|
|
1999
1971
|
/**
|
|
2000
1972
|
* @license
|
|
2001
1973
|
* Copyright 2019 Google LLC
|
|
@@ -2149,5 +2121,5 @@ function getModularInstance(service) {
|
|
|
2149
2121
|
// Overriding the constant (we should be the only ones doing this)
|
|
2150
2122
|
CONSTANTS.NODE_CLIENT = true;
|
|
2151
2123
|
|
|
2152
|
-
export { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getDefaultAppConfig, getDefaultEmulatorHost, getDefaultEmulatorHostnameAndPort, getDefaults, getExperimentalSetting, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isCloudflareWorker, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, isWebWorker, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify,
|
|
2124
|
+
export { CONSTANTS, DecodeBase64StringError, Deferred, ErrorFactory, FirebaseError, MAX_VALUE_MILLIS, RANDOM_FACTOR, Sha1, areCookiesEnabled, assert, assertionError, async, base64, base64Decode, base64Encode, base64urlEncodeWithoutPadding, calculateBackoffMillis, contains, createMockUserToken, createSubscribe, decode, deepCopy, deepEqual, deepExtend, errorPrefix, extractQuerystring, getDefaultAppConfig, getDefaultEmulatorHost, getDefaultEmulatorHostnameAndPort, getDefaults, getExperimentalSetting, getGlobal, getModularInstance, getUA, isAdmin, isBrowser, isBrowserExtension, isCloudflareWorker, isElectron, isEmpty, isIE, isIndexedDBAvailable, isMobileCordova, isNode, isNodeSdk, isReactNative, isSafari, isUWP, isValidFormat, isValidTimestamp, isWebWorker, issuedAtTime, jsonEval, map, ordinal, promiseWithTimeout, querystring, querystringDecode, safeGet, stringLength, stringToByteArray, stringify, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
|
|
2153
2125
|
//# sourceMappingURL=index.node.esm.js.map
|