Files
vercel__next.js/examples/with-redis/package.json
Eng Zer Jun 3675453eac chore(examples): replace uuid dependency with crypto.randomUUID (#77901)
Starting from Node.js v14.17.0 and v15.6.0, we can use Node.js's
`randomUUID` function in the crypto module to generate version 4 UUID.

Since Next.js requires Node 18 or newer, we can replace `uuid`
dependency with `crypto.randomUUID`.

Reference:
https://nodejs.org/docs/latest-v18.x/api/crypto.html#cryptorandomuuidoptions

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Jiwon Choi <devjiwonchoi@gmail.com>
2025-04-22 07:24:06 +00:00

24 lines
507 B
JSON

{
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@types/node": "20.11.0",
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"@vercel/kv": "^1.0.1",
"autoprefixer": "10.4.16",
"clsx": "^2.1.0",
"geist": "^1.2.1",
"next": "latest",
"postcss": "^8.4.33",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.4.1",
"typescript": "5.3.3"
}
}