Files
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

29 lines
638 B
JSON

{
"private": true,
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@apollo/client": "^3.7.1",
"@apollo/server": "^4.1.1",
"@as-integrations/next": "^1.1.0",
"@graphql-tools/schema": "^9.0.9",
"graphql": "^16.6.0",
"@hapi/iron": "6.0.0",
"cookie": "^0.4.1",
"deepmerge": "4.2.2",
"next": "latest",
"prop-types": "^15.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^18.0.2",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"typescript": "^4.7.4"
}
}