Skip to content

Commit fd4695e

Browse files
committed
update to use uuid v4
1 parent 46ecbbf commit fd4695e

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"@types/react": "^17",
7878
"@types/react-dom": "^17",
7979
"@types/svg4everybody": "^2.1.1",
80+
"@types/uuid": "^8.3.4",
8081
"@typescript-eslint/eslint-plugin": "^5.20.0",
8182
"@typescript-eslint/parser": "^5.20.0",
8283
"babel-loader": "^8.1.0",

src/scripts/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import createUUID from 'uuid';
1+
import { v4 as createUUID } from 'uuid';
22
import { updateScroll } from 'react-relative-portal';
33

44
export const uuid: () => string =

types/uuid.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,6 +3041,11 @@
30413041
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
30423042
integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
30433043

3044+
"@types/uuid@^8.3.4":
3045+
version "8.3.4"
3046+
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc"
3047+
integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==
3048+
30443049
"@types/wait-on@^5.0.0":
30453050
version "5.3.1"
30463051
resolved "https://registry.yarnpkg.com/@types/wait-on/-/wait-on-5.3.1.tgz#bc5520d1d8b90b9caab1bef23315685ded73320d"

0 commit comments

Comments
 (0)