diff --git a/Libraries/vendor/core/guid.js b/Libraries/vendor/core/guid.js deleted file mode 100644 index 467a63236d0..00000000000 --- a/Libraries/vendor/core/guid.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @format - */ - -/* eslint-disable no-bitwise */ - -'use strict'; - -/** - * Module that provides a function for creating a unique identifier. - * The returned value does not conform to the GUID standard, but should - * be globally unique in the context of the browser. - */ -function guid() { - return 'f' + (Math.random() * (1 << 30)).toString(16).replace('.', ''); -} - -module.exports = guid; diff --git a/Libraries/vendor/core/guid.js.flow b/Libraries/vendor/core/guid.js.flow deleted file mode 100644 index 3f404018469..00000000000 --- a/Libraries/vendor/core/guid.js.flow +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - * @flow strict - * @format - */ - -'use strict'; - -declare function guid(): string; - -module.exports = guid;