chore(dependencies): update package versions for improved compatibility (#332)

This commit is contained in:
Giancarlo Buomprisco
2025-08-27 18:34:44 +07:00
committed by GitHub
parent f9ebe2f927
commit 9ce150609e
22 changed files with 813 additions and 780 deletions

View File

@@ -8,13 +8,13 @@
"format": "prettier --check --write \"**/*.{js,cjs,mjs,ts,tsx,md,json}\""
},
"dependencies": {
"@ai-sdk/openai": "^2.0.20",
"@faker-js/faker": "^9.9.0",
"@ai-sdk/openai": "^2.0.22",
"@faker-js/faker": "^10.0.0",
"@hookform/resolvers": "^5.2.1",
"@tanstack/react-query": "5.85.5",
"ai": "5.0.23",
"lucide-react": "^0.541.0",
"next": "15.5.0",
"ai": "5.0.26",
"lucide-react": "^0.542.0",
"next": "15.5.2",
"nodemailer": "^7.0.5",
"react": "19.1.1",
"react-dom": "19.1.1",
@@ -31,7 +31,7 @@
"@types/node": "^24.3.0",
"@types/nodemailer": "7.0.1",
"@types/react": "19.1.11",
"@types/react-dom": "19.1.7",
"@types/react-dom": "19.1.8",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"pino-pretty": "13.0.0",
"react-hook-form": "^7.62.0",

View File

@@ -702,6 +702,7 @@ export function PageViewsChart() {
const [activeChart, setActiveChart] =
useState<keyof typeof chartConfig>('desktop');
// eslint-disable-next-line react-hooks/exhaustive-deps
const chartData = [
{ date: '2024-04-01', desktop: 222, mobile: 150 },
{ date: '2024-04-02', desktop: 97, mobile: 180 },

View File

@@ -18,13 +18,26 @@ export async function register() {
* @name onRequestError
* @description This function is called when an error occurs during the request lifecycle.
* It is used to capture the error and send it to the monitoring service.
* @param err
*/
export const onRequestError: Instrumentation.onRequestError = async (err) => {
export const onRequestError: Instrumentation.onRequestError = async (
err,
request,
context,
) => {
const { getServerMonitoringService } = await import('@kit/monitoring/server');
const service = await getServerMonitoringService();
await service.ready();
await service.captureException(err as Error);
await service.captureException(
err as Error,
{},
{
path: request.path,
headers: request.headers,
method: request.method,
routePath: context.routePath,
},
);
};

View File

@@ -60,8 +60,8 @@
"@tanstack/react-query": "5.85.5",
"@tanstack/react-table": "^8.21.3",
"date-fns": "^4.1.0",
"lucide-react": "^0.541.0",
"next": "15.5.0",
"lucide-react": "^0.542.0",
"next": "15.5.2",
"next-sitemap": "^4.2.3",
"next-themes": "0.4.6",
"react": "19.1.1",
@@ -76,16 +76,16 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@next/bundle-analyzer": "15.5.0",
"@next/bundle-analyzer": "15.5.2",
"@tailwindcss/postcss": "^4.1.12",
"@types/node": "^24.3.0",
"@types/react": "19.1.11",
"@types/react-dom": "19.1.7",
"@types/react-dom": "19.1.8",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"cssnano": "^7.1.1",
"pino-pretty": "13.0.0",
"prettier": "^3.6.2",
"supabase": "2.34.0",
"supabase": "2.39.2",
"tailwindcss": "4.1.12",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.9.2"