mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
3675453eac
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>
20 lines
370 B
JSON
20 lines
370 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@hapi/iron": "6.0.0",
|
|
"cookie": "0.5.0",
|
|
"next": "latest",
|
|
"next-connect": "0.8.1",
|
|
"passport": "^0.6.0",
|
|
"passport-local": "^1.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"swr": "^2.0.0"
|
|
}
|
|
}
|