refactor: use crypto.randomUUID vs uuid.v4 (#249)

* refactor: use randomUUID vs uuidv4

* chore: don't import the node version

* chore: no need to non-null assert here
This commit is contained in:
DanCodes authored and GitHub committed 2024-01-11 23:00:51 +05:30
1 parent 83ef175444
commit 605e2be72d
4 files changed
+4 -26

No files matched your search

-2
View File
@@ -45,7 +45,6 @@
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store",
"typescript": "^5.3.3",
"uuid": "^9.0.1",
"vite-plugin-svgr": "^4.2.0",
"wavesurfer.js": "^7.6.1",
"zustand": "^4.4.7"
@@ -53,7 +52,6 @@
"devDependencies": {
"@biomejs/biome": "^1.5.0",
"@tauri-apps/cli": "^1.5.9",
"@types/uuid": "^9.0.7",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",