From 280bf655fa9894a68f3f8d865c4134bc0e8a8ed1 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Date: Mon, 6 Nov 2023 22:29:23 +0000 Subject: [PATCH 1/7] Add missing Arrow Icon (#397) --- dashboard/starter-example/app/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/starter-example/app/page.tsx b/dashboard/starter-example/app/page.tsx index 8d994752..1e3989e8 100644 --- a/dashboard/starter-example/app/page.tsx +++ b/dashboard/starter-example/app/page.tsx @@ -1,4 +1,5 @@ import AcmeLogo from '@/app/ui/acme-logo'; +import { ArrowRightIcon } from '@heroicons/react/24/outline'; import Link from 'next/link'; export default function Page() { @@ -20,7 +21,7 @@ export default function Page() { href="/login" className="flex items-center gap-5 self-start rounded-lg bg-blue-500 px-6 py-3 text-sm font-medium text-white transition-colors hover:bg-blue-400 md:text-base" > - Log in + Log in
From afe1f5d71af7b3b653641af9c335836aee0d16a3 Mon Sep 17 00:00:00 2001 From: Wes <47883837+wesjune@users.noreply.github.com> Date: Tue, 7 Nov 2023 20:17:55 +0800 Subject: [PATCH 2/7] Fix the typo in the comments of seed.js (#402) --- dashboard/final-example/scripts/seed.js | 2 +- dashboard/starter-example/scripts/seed.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/final-example/scripts/seed.js b/dashboard/final-example/scripts/seed.js index 39a09253..ae462736 100644 --- a/dashboard/final-example/scripts/seed.js +++ b/dashboard/final-example/scripts/seed.js @@ -10,7 +10,7 @@ const bcrypt = require('bcrypt'); async function seedUsers(client) { try { await client.sql`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"`; - // Create the "invoices" table if it doesn't exist + // Create the "users" table if it doesn't exist const createTable = await client.sql` CREATE TABLE IF NOT EXISTS users ( id UUID DEFAULT uuid_generate_v4() PRIMARY KEY, diff --git a/dashboard/starter-example/scripts/seed.js b/dashboard/starter-example/scripts/seed.js index 39a09253..ae462736 100644 --- a/dashboard/starter-example/scripts/seed.js +++ b/dashboard/starter-example/scripts/seed.js @@ -10,7 +10,7 @@ const bcrypt = require('bcrypt'); async function seedUsers(client) { try { await client.sql`CREATE EXTENSION IF NOT EXISTS "uuid-ossp"`; - // Create the "invoices" table if it doesn't exist + // Create the "users" table if it doesn't exist const createTable = await client.sql` CREATE TABLE IF NOT EXISTS users ( id UUID DEFAULT uuid_generate_v4() PRIMARY KEY, From 6a9c3366fb7ce3b2eb853d386e81be953c241345 Mon Sep 17 00:00:00 2001 From: Krystian Mateusiak Date: Mon, 13 Nov 2023 18:08:08 +0100 Subject: [PATCH 3/7] Update page.tsx - fix typo (#433) --- dashboard/final-example/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/final-example/app/page.tsx b/dashboard/final-example/app/page.tsx index 08327bfb..6f4d9e06 100644 --- a/dashboard/final-example/app/page.tsx +++ b/dashboard/final-example/app/page.tsx @@ -34,7 +34,7 @@ export default function Page() { src="/hero-desktop.png" width={1000} height={760} - alt="Screenshots of the dashboard project showing desktop and mobile versions" + alt="Screenshots of the dashboard project showing desktop version" className="hidden md:block" /> Date: Mon, 13 Nov 2023 12:11:07 -0500 Subject: [PATCH 4/7] Update table.tsx (#432) Fix starter code to remove code that the course tells the user to notice and write themselves. Shows the intended error via "next lint". Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> --- dashboard/starter-example/app/ui/invoices/table.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/dashboard/starter-example/app/ui/invoices/table.tsx b/dashboard/starter-example/app/ui/invoices/table.tsx index 0255185d..4fe45b71 100644 --- a/dashboard/starter-example/app/ui/invoices/table.tsx +++ b/dashboard/starter-example/app/ui/invoices/table.tsx @@ -90,7 +90,6 @@ export default async function InvoicesTable({ className="rounded-full" width={28} height={28} - alt={`${invoice.name}'s profile picture`} />

{invoice.name}

From c64f396fa997baaee571f9a9843c025cb04fc2d2 Mon Sep 17 00:00:00 2001 From: Tyler Howard <22920537+tylerhoward15@users.noreply.github.com> Date: Tue, 14 Nov 2023 06:24:26 -0800 Subject: [PATCH 5/7] Fix SQL formatting convention (#390) (#421) Co-authored-by: Tyler Howard <22920537+Tyler98ky@users.noreply.github.com> Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> --- dashboard/final-example/app/lib/data.ts | 2 +- dashboard/final-example/auth.ts | 2 +- dashboard/starter-example/app/lib/data.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/final-example/app/lib/data.ts b/dashboard/final-example/app/lib/data.ts index 028716db..6b052e5d 100644 --- a/dashboard/final-example/app/lib/data.ts +++ b/dashboard/final-example/app/lib/data.ts @@ -229,7 +229,7 @@ export async function fetchFilteredCustomers(query: string) { export async function getUser(email: string) { try { - const user = await sql`SELECT * from USERS where email=${email}`; + const user = await sql`SELECT * FROM users WHERE email=${email}`; return user.rows[0] as User; } catch (error) { console.error('Failed to fetch user:', error); diff --git a/dashboard/final-example/auth.ts b/dashboard/final-example/auth.ts index 30cd8fc3..3eb3a45e 100644 --- a/dashboard/final-example/auth.ts +++ b/dashboard/final-example/auth.ts @@ -8,7 +8,7 @@ import { authConfig } from './auth.config'; async function getUser(email: string): Promise { try { - const user = await sql`SELECT * from USERS where email=${email}`; + const user = await sql`SELECT * FROM users WHERE email=${email}`; return user.rows[0]; } catch (error) { console.error('Failed to fetch user:', error); diff --git a/dashboard/starter-example/app/lib/data.ts b/dashboard/starter-example/app/lib/data.ts index c25648f6..391c46ef 100644 --- a/dashboard/starter-example/app/lib/data.ts +++ b/dashboard/starter-example/app/lib/data.ts @@ -221,7 +221,7 @@ export async function fetchFilteredCustomers(query: string) { export async function getUser(email: string) { try { - const user = await sql`SELECT * from USERS where email=${email}`; + const user = await sql`SELECT * FROM users WHERE email=${email}`; return user.rows[0] as User; } catch (error) { console.error('Failed to fetch user:', error); From c8398b19f39386dc3496440e7694535129aa245e Mon Sep 17 00:00:00 2001 From: Kenny Elshoff Date: Tue, 14 Nov 2023 09:37:37 -0500 Subject: [PATCH 6/7] fix: throw new error in `fetchInvoiceById` catch block (#423) Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> --- dashboard/starter-example/app/lib/data.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/starter-example/app/lib/data.ts b/dashboard/starter-example/app/lib/data.ts index 391c46ef..cf903616 100644 --- a/dashboard/starter-example/app/lib/data.ts +++ b/dashboard/starter-example/app/lib/data.ts @@ -165,6 +165,7 @@ export async function fetchInvoiceById(id: string) { return invoice[0]; } catch (error) { console.error('Database Error:', error); + throw new Error('Failed to fetch invoice.'); } } From 0a2b32dfc084c84321b7a620962d1bc678ee2939 Mon Sep 17 00:00:00 2001 From: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:40:18 +0000 Subject: [PATCH 7/7] Upgrade Next.js + Papercuts (#441) * Remove 'use client' as users will add it in the course * Use consistent variable names as per React docs * Remove alt tag - This will error in the demo, to show them how `npm run lint` works * Fix capitalization * Upgrade next --- dashboard/final-example/app/ui/login-form.tsx | 7 +- dashboard/final-example/package-lock.json | 88 +++++++++---------- dashboard/final-example/package.json | 2 +- .../app/ui/invoices/create-form.tsx | 2 - .../starter-example/app/ui/invoices/table.tsx | 1 - dashboard/starter-example/package-lock.json | 88 +++++++++---------- dashboard/starter-example/package.json | 2 +- 7 files changed, 93 insertions(+), 97 deletions(-) diff --git a/dashboard/final-example/app/ui/login-form.tsx b/dashboard/final-example/app/ui/login-form.tsx index 1f68e2db..9e2f9839 100644 --- a/dashboard/final-example/app/ui/login-form.tsx +++ b/dashboard/final-example/app/ui/login-form.tsx @@ -12,11 +12,10 @@ import { Button } from './button'; import { useFormState, useFormStatus } from 'react-dom'; export default function LoginForm() { - const [code, action] = useFormState(authenticate, undefined); - const { pending } = useFormStatus(); + const [state, dispatch] = useFormState(authenticate, undefined); return ( -
+

Please log in to continue. @@ -64,7 +63,7 @@ export default function LoginForm() {

- {code === 'CredentialsSignin' && ( + {state === 'CredentialsSignin' && ( <>

diff --git a/dashboard/final-example/package-lock.json b/dashboard/final-example/package-lock.json index eef6e167..8f105412 100644 --- a/dashboard/final-example/package-lock.json +++ b/dashboard/final-example/package-lock.json @@ -12,7 +12,7 @@ "autoprefixer": "10.4.15", "bcrypt": "^5.1.1", "clsx": "^2.0.0", - "next": "^14.0.0", + "next": "^14.0.2", "next-auth": "^5.0.0-beta.3", "postcss": "8.4.31", "react": "18.2.0", @@ -256,9 +256,9 @@ } }, "node_modules/@next/env": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.0.tgz", - "integrity": "sha512-cIKhxkfVELB6hFjYsbtEeTus2mwrTC+JissfZYM0n+8Fv+g8ucUfOlm3VEDtwtwydZ0Nuauv3bl0qF82nnCAqA==" + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.2.tgz", + "integrity": "sha512-HAW1sljizEaduEOes/m84oUqeIDAUYBR1CDwu2tobNlNDFP3cSm9d6QsOsGeNlIppU1p/p1+bWbYCbvwjFiceA==" }, "node_modules/@next/eslint-plugin-next": { "version": "14.0.0", @@ -290,9 +290,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.0.tgz", - "integrity": "sha512-HQKi159jCz4SRsPesVCiNN6tPSAFUkOuSkpJsqYTIlbHLKr1mD6be/J0TvWV6fwJekj81bZV9V/Tgx3C2HO9lA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.2.tgz", + "integrity": "sha512-i+jQY0fOb8L5gvGvojWyZMfQoQtDVB2kYe7fufOEiST6sicvzI2W5/EXo4lX5bLUjapHKe+nFxuVv7BA+Pd7LQ==", "cpu": [ "arm64" ], @@ -305,9 +305,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.0.tgz", - "integrity": "sha512-4YyQLMSaCgX/kgC1jjF3s3xSoBnwHuDhnF6WA1DWNEYRsbOOPWjcYhv8TKhRe2ApdOam+VfQSffC4ZD+X4u1Cg==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.2.tgz", + "integrity": "sha512-zRCAO0d2hW6gBEa4wJaLn+gY8qtIqD3gYd9NjruuN98OCI6YyelmhWVVLlREjS7RYrm9OUQIp/iVJFeB6kP1hg==", "cpu": [ "x64" ], @@ -320,9 +320,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.0.tgz", - "integrity": "sha512-io7fMkJ28Glj7SH8yvnlD6naIhRDnDxeE55CmpQkj3+uaA2Hko6WGY2pT5SzpQLTnGGnviK85cy8EJ2qsETj/g==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.2.tgz", + "integrity": "sha512-tSJmiaon8YaKsVhi7GgRizZoV0N1Sx5+i+hFTrCKKQN7s3tuqW0Rov+RYdPhAv/pJl4qiG+XfSX4eJXqpNg3dA==", "cpu": [ "arm64" ], @@ -335,9 +335,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.0.tgz", - "integrity": "sha512-nC2h0l1Jt8LEzyQeSs/BKpXAMe0mnHIMykYALWaeddTqCv5UEN8nGO3BG8JAqW/Y8iutqJsaMe2A9itS0d/r8w==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.2.tgz", + "integrity": "sha512-dXJLMSEOwqJKcag1BeX1C+ekdPPJ9yXbWIt3nAadhbLx5CjACoB2NQj9Xcqu2tmdr5L6m34fR+fjGPs+ZVPLzA==", "cpu": [ "arm64" ], @@ -350,9 +350,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.0.tgz", - "integrity": "sha512-Wf+WjXibJQ7hHXOdNOmSMW5bxeJHVf46Pwb3eLSD2L76NrytQlif9NH7JpHuFlYKCQGfKfgSYYre5rIfmnSwQw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.2.tgz", + "integrity": "sha512-WC9KAPSowj6as76P3vf1J3mf2QTm3Wv3FBzQi7UJ+dxWjK3MhHVWsWUo24AnmHx9qDcEtHM58okgZkXVqeLB+Q==", "cpu": [ "x64" ], @@ -365,9 +365,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.0.tgz", - "integrity": "sha512-WTZb2G7B+CTsdigcJVkRxfcAIQj7Lf0ipPNRJ3vlSadU8f0CFGv/ST+sJwF5eSwIe6dxKoX0DG6OljDBaad+rg==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.2.tgz", + "integrity": "sha512-KSSAwvUcjtdZY4zJFa2f5VNJIwuEVnOSlqYqbQIawREJA+gUI6egeiRu290pXioQXnQHYYdXmnVNZ4M+VMB7KQ==", "cpu": [ "x64" ], @@ -380,9 +380,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.0.tgz", - "integrity": "sha512-7R8/x6oQODmNpnWVW00rlWX90sIlwluJwcvMT6GXNIBOvEf01t3fBg0AGURNKdTJg2xNuP7TyLchCL7Lh2DTiw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.2.tgz", + "integrity": "sha512-2/O0F1SqJ0bD3zqNuYge0ok7OEWCQwk55RPheDYD0va5ij7kYwrFkq5ycCRN0TLjLfxSF6xI5NM6nC5ux7svEQ==", "cpu": [ "arm64" ], @@ -395,9 +395,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.0.tgz", - "integrity": "sha512-RLK1nELvhCnxaWPF07jGU4x3tjbyx2319q43loZELqF0+iJtKutZ+Lk8SVmf/KiJkYBc7Cragadz7hb3uQvz4g==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.2.tgz", + "integrity": "sha512-vJI/x70Id0oN4Bq/R6byBqV1/NS5Dl31zC+lowO8SDu1fHmUxoAdILZR5X/sKbiJpuvKcCrwbYgJU8FF/Gh50Q==", "cpu": [ "ia32" ], @@ -410,9 +410,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.0.tgz", - "integrity": "sha512-g6hLf1SUko+hnnaywQQZzzb3BRecQsoKkF3o/C+F+dOA4w/noVAJngUVkfwF0+2/8FzNznM7ofM6TGZO9svn7w==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.2.tgz", + "integrity": "sha512-Ut4LXIUvC5m8pHTe2j0vq/YDnTEyq6RSR9vHYPqnELrDapPhLNz9Od/L5Ow3J8RNDWpEnfCiQXuVdfjlNEJ7ug==", "cpu": [ "x64" ], @@ -3252,11 +3252,11 @@ "dev": true }, "node_modules/next": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/next/-/next-14.0.0.tgz", - "integrity": "sha512-J0jHKBJpB9zd4+c153sair0sz44mbaCHxggs8ryVXSFBuBqJ8XdE9/ozoV85xGh2VnSjahwntBZZgsihL9QznA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/next/-/next-14.0.2.tgz", + "integrity": "sha512-jsAU2CkYS40GaQYOiLl9m93RTv2DA/tTJ0NRlmZIBIL87YwQ/xR8k796z7IqgM3jydI8G25dXvyYMC9VDIevIg==", "dependencies": { - "@next/env": "14.0.0", + "@next/env": "14.0.2", "@swc/helpers": "0.5.2", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001406", @@ -3271,15 +3271,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.0.0", - "@next/swc-darwin-x64": "14.0.0", - "@next/swc-linux-arm64-gnu": "14.0.0", - "@next/swc-linux-arm64-musl": "14.0.0", - "@next/swc-linux-x64-gnu": "14.0.0", - "@next/swc-linux-x64-musl": "14.0.0", - "@next/swc-win32-arm64-msvc": "14.0.0", - "@next/swc-win32-ia32-msvc": "14.0.0", - "@next/swc-win32-x64-msvc": "14.0.0" + "@next/swc-darwin-arm64": "14.0.2", + "@next/swc-darwin-x64": "14.0.2", + "@next/swc-linux-arm64-gnu": "14.0.2", + "@next/swc-linux-arm64-musl": "14.0.2", + "@next/swc-linux-x64-gnu": "14.0.2", + "@next/swc-linux-x64-musl": "14.0.2", + "@next/swc-win32-arm64-msvc": "14.0.2", + "@next/swc-win32-ia32-msvc": "14.0.2", + "@next/swc-win32-x64-msvc": "14.0.2" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", diff --git a/dashboard/final-example/package.json b/dashboard/final-example/package.json index e114551a..db234eb9 100644 --- a/dashboard/final-example/package.json +++ b/dashboard/final-example/package.json @@ -15,7 +15,7 @@ "autoprefixer": "10.4.15", "bcrypt": "^5.1.1", "clsx": "^2.0.0", - "next": "^14.0.0", + "next": "^14.0.2", "next-auth": "^5.0.0-beta.3", "postcss": "8.4.31", "react": "18.2.0", diff --git a/dashboard/starter-example/app/ui/invoices/create-form.tsx b/dashboard/starter-example/app/ui/invoices/create-form.tsx index 187962c2..6638b794 100644 --- a/dashboard/starter-example/app/ui/invoices/create-form.tsx +++ b/dashboard/starter-example/app/ui/invoices/create-form.tsx @@ -1,5 +1,3 @@ -'use client'; - import { CustomerField } from '@/app/lib/definitions'; import Link from 'next/link'; import { diff --git a/dashboard/starter-example/app/ui/invoices/table.tsx b/dashboard/starter-example/app/ui/invoices/table.tsx index 4fe45b71..1fa3f8cb 100644 --- a/dashboard/starter-example/app/ui/invoices/table.tsx +++ b/dashboard/starter-example/app/ui/invoices/table.tsx @@ -31,7 +31,6 @@ export default async function InvoicesTable({ className="mr-2 rounded-full" width={28} height={28} - alt={`${invoice.name}'s profile picture`} />

{invoice.name}

diff --git a/dashboard/starter-example/package-lock.json b/dashboard/starter-example/package-lock.json index 799b2cd6..b3198811 100644 --- a/dashboard/starter-example/package-lock.json +++ b/dashboard/starter-example/package-lock.json @@ -12,7 +12,7 @@ "autoprefixer": "10.4.15", "bcrypt": "^5.1.1", "clsx": "^2.0.0", - "next": "^14.0.0", + "next": "^14.0.2", "postcss": "8.4.31", "react": "18.2.0", "react-dom": "18.2.0", @@ -233,9 +233,9 @@ } }, "node_modules/@next/env": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.0.tgz", - "integrity": "sha512-cIKhxkfVELB6hFjYsbtEeTus2mwrTC+JissfZYM0n+8Fv+g8ucUfOlm3VEDtwtwydZ0Nuauv3bl0qF82nnCAqA==" + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.2.tgz", + "integrity": "sha512-HAW1sljizEaduEOes/m84oUqeIDAUYBR1CDwu2tobNlNDFP3cSm9d6QsOsGeNlIppU1p/p1+bWbYCbvwjFiceA==" }, "node_modules/@next/eslint-plugin-next": { "version": "14.0.0", @@ -267,9 +267,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.0.tgz", - "integrity": "sha512-HQKi159jCz4SRsPesVCiNN6tPSAFUkOuSkpJsqYTIlbHLKr1mD6be/J0TvWV6fwJekj81bZV9V/Tgx3C2HO9lA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.2.tgz", + "integrity": "sha512-i+jQY0fOb8L5gvGvojWyZMfQoQtDVB2kYe7fufOEiST6sicvzI2W5/EXo4lX5bLUjapHKe+nFxuVv7BA+Pd7LQ==", "cpu": [ "arm64" ], @@ -282,9 +282,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.0.tgz", - "integrity": "sha512-4YyQLMSaCgX/kgC1jjF3s3xSoBnwHuDhnF6WA1DWNEYRsbOOPWjcYhv8TKhRe2ApdOam+VfQSffC4ZD+X4u1Cg==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.2.tgz", + "integrity": "sha512-zRCAO0d2hW6gBEa4wJaLn+gY8qtIqD3gYd9NjruuN98OCI6YyelmhWVVLlREjS7RYrm9OUQIp/iVJFeB6kP1hg==", "cpu": [ "x64" ], @@ -297,9 +297,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.0.tgz", - "integrity": "sha512-io7fMkJ28Glj7SH8yvnlD6naIhRDnDxeE55CmpQkj3+uaA2Hko6WGY2pT5SzpQLTnGGnviK85cy8EJ2qsETj/g==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.2.tgz", + "integrity": "sha512-tSJmiaon8YaKsVhi7GgRizZoV0N1Sx5+i+hFTrCKKQN7s3tuqW0Rov+RYdPhAv/pJl4qiG+XfSX4eJXqpNg3dA==", "cpu": [ "arm64" ], @@ -312,9 +312,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.0.tgz", - "integrity": "sha512-nC2h0l1Jt8LEzyQeSs/BKpXAMe0mnHIMykYALWaeddTqCv5UEN8nGO3BG8JAqW/Y8iutqJsaMe2A9itS0d/r8w==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.2.tgz", + "integrity": "sha512-dXJLMSEOwqJKcag1BeX1C+ekdPPJ9yXbWIt3nAadhbLx5CjACoB2NQj9Xcqu2tmdr5L6m34fR+fjGPs+ZVPLzA==", "cpu": [ "arm64" ], @@ -327,9 +327,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.0.tgz", - "integrity": "sha512-Wf+WjXibJQ7hHXOdNOmSMW5bxeJHVf46Pwb3eLSD2L76NrytQlif9NH7JpHuFlYKCQGfKfgSYYre5rIfmnSwQw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.2.tgz", + "integrity": "sha512-WC9KAPSowj6as76P3vf1J3mf2QTm3Wv3FBzQi7UJ+dxWjK3MhHVWsWUo24AnmHx9qDcEtHM58okgZkXVqeLB+Q==", "cpu": [ "x64" ], @@ -342,9 +342,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.0.tgz", - "integrity": "sha512-WTZb2G7B+CTsdigcJVkRxfcAIQj7Lf0ipPNRJ3vlSadU8f0CFGv/ST+sJwF5eSwIe6dxKoX0DG6OljDBaad+rg==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.2.tgz", + "integrity": "sha512-KSSAwvUcjtdZY4zJFa2f5VNJIwuEVnOSlqYqbQIawREJA+gUI6egeiRu290pXioQXnQHYYdXmnVNZ4M+VMB7KQ==", "cpu": [ "x64" ], @@ -357,9 +357,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.0.tgz", - "integrity": "sha512-7R8/x6oQODmNpnWVW00rlWX90sIlwluJwcvMT6GXNIBOvEf01t3fBg0AGURNKdTJg2xNuP7TyLchCL7Lh2DTiw==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.2.tgz", + "integrity": "sha512-2/O0F1SqJ0bD3zqNuYge0ok7OEWCQwk55RPheDYD0va5ij7kYwrFkq5ycCRN0TLjLfxSF6xI5NM6nC5ux7svEQ==", "cpu": [ "arm64" ], @@ -372,9 +372,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.0.tgz", - "integrity": "sha512-RLK1nELvhCnxaWPF07jGU4x3tjbyx2319q43loZELqF0+iJtKutZ+Lk8SVmf/KiJkYBc7Cragadz7hb3uQvz4g==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.2.tgz", + "integrity": "sha512-vJI/x70Id0oN4Bq/R6byBqV1/NS5Dl31zC+lowO8SDu1fHmUxoAdILZR5X/sKbiJpuvKcCrwbYgJU8FF/Gh50Q==", "cpu": [ "ia32" ], @@ -387,9 +387,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.0.tgz", - "integrity": "sha512-g6hLf1SUko+hnnaywQQZzzb3BRecQsoKkF3o/C+F+dOA4w/noVAJngUVkfwF0+2/8FzNznM7ofM6TGZO9svn7w==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.2.tgz", + "integrity": "sha512-Ut4LXIUvC5m8pHTe2j0vq/YDnTEyq6RSR9vHYPqnELrDapPhLNz9Od/L5Ow3J8RNDWpEnfCiQXuVdfjlNEJ7ug==", "cpu": [ "x64" ], @@ -3205,11 +3205,11 @@ "dev": true }, "node_modules/next": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/next/-/next-14.0.0.tgz", - "integrity": "sha512-J0jHKBJpB9zd4+c153sair0sz44mbaCHxggs8ryVXSFBuBqJ8XdE9/ozoV85xGh2VnSjahwntBZZgsihL9QznA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/next/-/next-14.0.2.tgz", + "integrity": "sha512-jsAU2CkYS40GaQYOiLl9m93RTv2DA/tTJ0NRlmZIBIL87YwQ/xR8k796z7IqgM3jydI8G25dXvyYMC9VDIevIg==", "dependencies": { - "@next/env": "14.0.0", + "@next/env": "14.0.2", "@swc/helpers": "0.5.2", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001406", @@ -3224,15 +3224,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.0.0", - "@next/swc-darwin-x64": "14.0.0", - "@next/swc-linux-arm64-gnu": "14.0.0", - "@next/swc-linux-arm64-musl": "14.0.0", - "@next/swc-linux-x64-gnu": "14.0.0", - "@next/swc-linux-x64-musl": "14.0.0", - "@next/swc-win32-arm64-msvc": "14.0.0", - "@next/swc-win32-ia32-msvc": "14.0.0", - "@next/swc-win32-x64-msvc": "14.0.0" + "@next/swc-darwin-arm64": "14.0.2", + "@next/swc-darwin-x64": "14.0.2", + "@next/swc-linux-arm64-gnu": "14.0.2", + "@next/swc-linux-arm64-musl": "14.0.2", + "@next/swc-linux-x64-gnu": "14.0.2", + "@next/swc-linux-x64-musl": "14.0.2", + "@next/swc-win32-arm64-msvc": "14.0.2", + "@next/swc-win32-ia32-msvc": "14.0.2", + "@next/swc-win32-x64-msvc": "14.0.2" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", diff --git a/dashboard/starter-example/package.json b/dashboard/starter-example/package.json index 9977c37d..04dcb9d4 100644 --- a/dashboard/starter-example/package.json +++ b/dashboard/starter-example/package.json @@ -13,7 +13,7 @@ "autoprefixer": "10.4.15", "bcrypt": "^5.1.1", "clsx": "^2.0.0", - "next": "^14.0.0", + "next": "^14.0.2", "postcss": "8.4.31", "react": "18.2.0", "react-dom": "18.2.0",