@firebase/util 1.10.2 → 1.10.3-canary.144bc3709

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.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';
@@ -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
@@ -2130,5 +2102,5 @@ function getModularInstance(service) {
2130
2102
  }
2131
2103
  }
2132
2104
 
2133
- 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, uuidv4, validateArgCount, validateCallback, validateContextObject, validateIndexedDBOpenable, validateNamespace };
2105
+ 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 };
2134
2106
  //# sourceMappingURL=index.esm2017.js.map