mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 22:17:00 +00:00
chore(deps): copy-to-clipboard 4, vite-plugin-svgr 5, @shadcn/react 0.3.1
copy-to-clipboard 4 returns Promise<boolean> instead of boolean, so CopyButton's handleCopy awaits it. Without the await the success branch always ran, since a Promise is always truthy. Awaiting also routes a rejected copy into the existing catch. vite-plugin-svgr 5 and @shadcn/react 0.3.1 needed no source changes. 598 tests pass, build clean, lint unchanged.
This commit is contained in:
1 parent
08a2c038bc
commit
cf1c9d542d
3 files changed
+20
-29
No files matched your search
@@ -29,12 +29,12 @@
|
||||
"@radix-ui/react-switch": "^1.3.7",
|
||||
"@radix-ui/react-tabs": "^1.1.21",
|
||||
"@reduxjs/toolkit": "^2.12.0",
|
||||
"@shadcn/react": "0.3.0",
|
||||
"@shadcn/react": "^0.3.1",
|
||||
"chart.js": "^4.5.1",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
"copy-to-clipboard": "^3.3.3",
|
||||
"copy-to-clipboard": "^4.0.2",
|
||||
"d3-force": "^3.0.0",
|
||||
"date-fns": "^4.4.0",
|
||||
"i18next": "^26.4.2",
|
||||
@@ -90,7 +90,7 @@
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^8.3.0",
|
||||
"vite-plugin-svgr": "^4.5.0",
|
||||
"vite-plugin-svgr": "^5.2.0",
|
||||
"vitest": "^4.1.11"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user