@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 CHANGED
@@ -1972,34 +1972,6 @@ const stringLength = function (str) {
1972
1972
  return p;
1973
1973
  };
1974
1974
 
1975
- /**
1976
- * @license
1977
- * Copyright 2022 Google LLC
1978
- *
1979
- * Licensed under the Apache License, Version 2.0 (the "License");
1980
- * you may not use this file except in compliance with the License.
1981
- * You may obtain a copy of the License at
1982
- *
1983
- * http://www.apache.org/licenses/LICENSE-2.0
1984
- *
1985
- * Unless required by applicable law or agreed to in writing, software
1986
- * distributed under the License is distributed on an "AS IS" BASIS,
1987
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1988
- * See the License for the specific language governing permissions and
1989
- * limitations under the License.
1990
- */
1991
- /**
1992
- * Copied from https://stackoverflow.com/a/2117523
1993
- * Generates a new uuid.
1994
- * @public
1995
- */
1996
- const uuidv4 = function () {
1997
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
1998
- const r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;
1999
- return v.toString(16);
2000
- });
2001
- };
2002
-
2003
1975
  /**
2004
1976
  * @license
2005
1977
  * Copyright 2019 Google LLC
@@ -2196,7 +2168,6 @@ exports.safeGet = safeGet;
2196
2168
  exports.stringLength = stringLength;
2197
2169
  exports.stringToByteArray = stringToByteArray;
2198
2170
  exports.stringify = stringify;
2199
- exports.uuidv4 = uuidv4;
2200
2171
  exports.validateArgCount = validateArgCount;
2201
2172
  exports.validateCallback = validateCallback;
2202
2173
  exports.validateContextObject = validateContextObject;