File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 6363 "@types/lodash" : " ^4.14.168" ,
6464 "little-state-machine" : " ^4.1.0" ,
6565 "lodash" : " ^4.17.21" ,
66- "nanoid" : " ^4.0.0" ,
6766 "react-simple-animate" : " ^3.3.12" ,
68- "use-deep-compare-effect" : " ^1.8.1"
67+ "use-deep-compare-effect" : " ^1.8.1" ,
68+ "uuid" : " ^8.3.2"
6969 },
7070 "devDependencies" : {
7171 "@babel/core" : " ^7.13.16" ,
8383 "@testing-library/react" : " ^11.2.6" ,
8484 "@types/jest" : " ^26.0.23" ,
8585 "@types/react" : " ^17.0.4" ,
86+ "@types/uuid" : " ^8.3.4" ,
8687 "@typescript-eslint/eslint-plugin" : " ^4.22.0" ,
8788 "@typescript-eslint/parser" : " ^4.22.0" ,
8889 "babel-loader" : " ^8.2.2" ,
Original file line number Diff line number Diff line change 11import _ from 'lodash' ;
2- import { nanoid } from 'nanoid' ;
32import { useEffect , useState } from 'react' ;
43import { Control , useFormState , useWatch } from 'react-hook-form' ;
54import useDeepCompareEffect from 'use-deep-compare-effect' ;
5+ import { v4 as uuid } from 'uuid' ;
66import { MessageData , UpdatePayload } from './types' ;
77import { nestToFlat , proxyToObject } from './utils' ;
88
9- const id = nanoid ( ) ;
9+ const id = uuid ( ) ;
1010
1111export function useExportControlToExtension ( control : Control < any > ) {
1212 const nestedFormValues = useWatch ( { control } ) ;
Original file line number Diff line number Diff line change 31893189 resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d"
31903190 integrity sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==
31913191
3192+ "@types/uuid@^8.3.4":
3193+ version "8.3.4"
3194+ resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc"
3195+ integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==
3196+
31923197"@types/webpack-env@^1.16.0":
31933198 version "1.17.0"
31943199 resolved "https://registry.yarnpkg.com/@types/webpack-env/-/webpack-env-1.17.0.tgz#f99ce359f1bfd87da90cc4a57cab0a18f34a48d0"
@@ -9188,11 +9193,6 @@ nanoid@^3.3.1:
91889193 resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
91899194 integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
91909195
9191- nanoid@^4.0.0:
9192- version "4.0.0"
9193- resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-4.0.0.tgz#6e144dee117609232c3f415c34b0e550e64999a5"
9194- integrity sha512-IgBP8piMxe/gf73RTQx7hmnhwz0aaEXYakvqZyE302IXW3HyVNhdNGC+O2MwMAVhLEnvXlvKtGbtJf6wvHihCg==
9195-
91969196nanomatch@^1.2.9:
91979197 version "1.2.13"
91989198 resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
@@ -12438,7 +12438,7 @@ uuid@^3.3.2:
1243812438 resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
1243912439 integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
1244012440
12441- uuid@^8.3.0:
12441+ uuid@^8.3.0, uuid@^8.3.2 :
1244212442 version "8.3.2"
1244312443 resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
1244412444 integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
You can’t perform that action at this time.
0 commit comments