feat: crypto.randomUUID 替换为 uuid

This commit is contained in:
hzm
2026-03-04 10:21:33 +08:00
parent c9038757dd
commit c65f2b8ab1
4 changed files with 25 additions and 6 deletions

16
package-lock.json generated
View File

@@ -24,7 +24,8 @@
"react": "18.3.1",
"react-chartjs-2": "^5.3.1",
"react-dom": "18.3.1",
"tesseract.js": "^5.1.1"
"tesseract.js": "^5.1.1",
"uuid": "^13.0.0"
},
"devDependencies": {
"babel-plugin-react-compiler": "^1.0.0",
@@ -6959,6 +6960,19 @@
"punycode": "^2.1.0"
}
},
"node_modules/uuid": {
"version": "13.0.0",
"resolved": "https://registry.npmmirror.com/uuid/-/uuid-13.0.0.tgz",
"integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"license": "MIT",
"bin": {
"uuid": "dist-node/bin/uuid"
}
},
"node_modules/wasm-feature-detect": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/wasm-feature-detect/-/wasm-feature-detect-1.8.0.tgz",