From 3b4b9329db02fd5de682fa332a4684baa341265c Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Wed, 25 Feb 2026 19:50:10 +0100 Subject: [PATCH] update nextjs --- next.config.js | 9 ++-- package.json | 4 +- yarn.lock | 140 +++++++++++++++++++++---------------------------- 3 files changed, 64 insertions(+), 89 deletions(-) diff --git a/next.config.js b/next.config.js index 191310ecf..f1f4dc581 100644 --- a/next.config.js +++ b/next.config.js @@ -1,11 +1,8 @@ require('./src/env'); const { i18n } = require('./next-i18next.config'); -const withBundleAnalyzer = require('@next/bundle-analyzer')({ - enabled: process.env.ANALYZE === 'true', -}); - -module.exports = withBundleAnalyzer({ +module.exports = { + eslint: { ignoreDuringBuilds: true }, webpack: (config) => { // for dynamic loading of auth providers config.experiments = { ...config.experiments, topLevelAwait: true }; @@ -28,4 +25,4 @@ module.exports = withBundleAnalyzer({ env: { NEXTAUTH_URL_INTERNAL: process.env.NEXTAUTH_URL_INTERNAL || process.env.HOSTNAME || 'http://localhost:3000' }, -}); +}; diff --git a/package.json b/package.json index 1d72a865f..7f3493a86 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "adm-zip": "^0.5.15", "axios": "^1.0.0", "bcryptjs": "^2.4.3", - "better-sqlite3": "^8.6.0", + "better-sqlite3": "^12.6.2", "consola": "^3.0.0", "cookies": "^0.8.0", "cookies-next": "^2.1.1", @@ -96,7 +96,7 @@ "js-file-download": "^0.4.12", "ldapjs": "^3.0.5", "mantine-react-table": "^1.3.4", - "next": "13.4.12", + "next": "13.5.11", "next-auth": "^4.23.0", "next-i18next": "^14.0.0", "nextjs-cors": "^2.2.0", diff --git a/yarn.lock b/yarn.lock index 4a654fe0d..8bd0e1b6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1417,10 +1417,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.4.12": - version: 13.4.12 - resolution: "@next/env@npm:13.4.12" - checksum: 2ccb2e271b3c42697c1e807cdf988429fcb563f80fa0ca72512f65f47cbbcc46c44fc53bf055814d4b467f1394de8c1a1ef6aad14d35f9993004faa956466d02 +"@next/env@npm:13.5.11": + version: 13.5.11 + resolution: "@next/env@npm:13.5.11" + checksum: 1d19fb97ecdda14d2ea91b251e01b5e38046e42b161572c17abe55c1b77b329067fd3a5d120c35e22d84661f09d80bd2479ca355150cefc17c9a8120998f784a languageName: node linkType: hard @@ -1433,65 +1433,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-darwin-arm64@npm:13.4.12" +"@next/swc-darwin-arm64@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-darwin-arm64@npm:13.5.9" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-darwin-x64@npm:13.4.12" +"@next/swc-darwin-x64@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-darwin-x64@npm:13.5.9" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-linux-arm64-gnu@npm:13.4.12" +"@next/swc-linux-arm64-gnu@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-linux-arm64-gnu@npm:13.5.9" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-linux-arm64-musl@npm:13.4.12" +"@next/swc-linux-arm64-musl@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-linux-arm64-musl@npm:13.5.9" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-linux-x64-gnu@npm:13.4.12" +"@next/swc-linux-x64-gnu@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-linux-x64-gnu@npm:13.5.9" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-linux-x64-musl@npm:13.4.12" +"@next/swc-linux-x64-musl@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-linux-x64-musl@npm:13.5.9" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-win32-arm64-msvc@npm:13.4.12" +"@next/swc-win32-arm64-msvc@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-win32-arm64-msvc@npm:13.5.9" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-win32-ia32-msvc@npm:13.4.12" +"@next/swc-win32-ia32-msvc@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-win32-ia32-msvc@npm:13.5.9" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.4.12": - version: 13.4.12 - resolution: "@next/swc-win32-x64-msvc@npm:13.4.12" +"@next/swc-win32-x64-msvc@npm:13.5.9": + version: 13.5.9 + resolution: "@next/swc-win32-x64-msvc@npm:13.5.9" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2495,12 +2495,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.1": - version: 0.5.1 - resolution: "@swc/helpers@npm:0.5.1" +"@swc/helpers@npm:0.5.2": + version: 0.5.2 + resolution: "@swc/helpers@npm:0.5.2" dependencies: tslib: ^2.4.0 - checksum: 71e0e27234590435e4c62b97ef5e796f88e786841a38c7116a5e27a3eafa7b9ead7cdec5249b32165902076de78446945311c973e59bddf77c1e24f33a8f272a + checksum: 51d7e3d8bd56818c49d6bfbd715f0dbeedc13cf723af41166e45c03e37f109336bbcb57a1f2020f4015957721aeb21e1a7fff281233d797ff7d3dd1f447fa258 languageName: node linkType: hard @@ -4553,14 +4553,14 @@ __metadata: languageName: node linkType: hard -"better-sqlite3@npm:^8.6.0": - version: 8.7.0 - resolution: "better-sqlite3@npm:8.7.0" +"better-sqlite3@npm:^12.6.2": + version: 12.6.2 + resolution: "better-sqlite3@npm:12.6.2" dependencies: bindings: ^1.5.0 node-gyp: latest prebuild-install: ^7.1.1 - checksum: f1fa38a9a0e4fcd59ececb67c60371b9638d29c19ce9af034421e8a56c9a77e799bb1411b1c3cb08bb9678e15dfb8985553a9ef4098cf5558e7207a3e019f211 + checksum: 60dbe114f8f7423213540ba151c4f79ad16318a4977f18085d308b352653063d5962e1f765aa67adcbf9d2786e77eb8727fca6a74dbb69f7870062abc3258a06 languageName: node linkType: hard @@ -7640,7 +7640,7 @@ __metadata: adm-zip: ^0.5.15 axios: ^1.0.0 bcryptjs: ^2.4.3 - better-sqlite3: ^8.6.0 + better-sqlite3: ^12.6.2 consola: ^3.0.0 cookies: ^0.8.0 cookies-next: ^2.1.1 @@ -7670,7 +7670,7 @@ __metadata: js-file-download: ^0.4.12 ldapjs: ^3.0.5 mantine-react-table: ^1.3.4 - next: 13.4.12 + next: 13.5.11 next-auth: ^4.23.0 next-i18next: ^14.0.0 nextjs-cors: ^2.2.0 @@ -9339,7 +9339,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6": +"nanoid@npm:^3.3.6": version: 3.3.7 resolution: "nanoid@npm:3.3.7" bin: @@ -9419,30 +9419,28 @@ __metadata: languageName: node linkType: hard -"next@npm:13.4.12": - version: 13.4.12 - resolution: "next@npm:13.4.12" +"next@npm:13.5.11": + version: 13.5.11 + resolution: "next@npm:13.5.11" dependencies: - "@next/env": 13.4.12 - "@next/swc-darwin-arm64": 13.4.12 - "@next/swc-darwin-x64": 13.4.12 - "@next/swc-linux-arm64-gnu": 13.4.12 - "@next/swc-linux-arm64-musl": 13.4.12 - "@next/swc-linux-x64-gnu": 13.4.12 - "@next/swc-linux-x64-musl": 13.4.12 - "@next/swc-win32-arm64-msvc": 13.4.12 - "@next/swc-win32-ia32-msvc": 13.4.12 - "@next/swc-win32-x64-msvc": 13.4.12 - "@swc/helpers": 0.5.1 + "@next/env": 13.5.11 + "@next/swc-darwin-arm64": 13.5.9 + "@next/swc-darwin-x64": 13.5.9 + "@next/swc-linux-arm64-gnu": 13.5.9 + "@next/swc-linux-arm64-musl": 13.5.9 + "@next/swc-linux-x64-gnu": 13.5.9 + "@next/swc-linux-x64-musl": 13.5.9 + "@next/swc-win32-arm64-msvc": 13.5.9 + "@next/swc-win32-ia32-msvc": 13.5.9 + "@next/swc-win32-x64-msvc": 13.5.9 + "@swc/helpers": 0.5.2 busboy: 1.6.0 caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 + postcss: 8.4.31 styled-jsx: 5.1.1 watchpack: 2.4.0 - zod: 3.21.4 peerDependencies: "@opentelemetry/api": ^1.1.0 - fibers: ">= 3.1.0" react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -9468,13 +9466,11 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true - fibers: - optional: true sass: optional: true bin: next: dist/bin/next - checksum: 50bd443ffe09424c1a94d6606d41886ccd1d65185e125aa199957ea92c5e4d1c226f1675f3e5ea92e88f43f8355824ba50db52a8aeae225f7a86b6c901d25527 + checksum: 117e091c48446da63c639f6d80bb5ba2cf25cfcfc54ca90293602af988e386852e8c004251ff978a085a36285474e92d0ddd9668aa800733754670a4b03bdd2a languageName: node linkType: hard @@ -10069,18 +10065,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" - dependencies: - nanoid: ^3.3.4 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 - languageName: node - linkType: hard - -"postcss@npm:^8.4.27": +"postcss@npm:8.4.31, postcss@npm:^8.4.27": version: 8.4.31 resolution: "postcss@npm:8.4.31" dependencies: @@ -13431,13 +13416,6 @@ __metadata: languageName: node linkType: hard -"zod@npm:3.21.4": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f - languageName: node - linkType: hard - "zod@npm:^3.20.2, zod@npm:^3.21.4": version: 3.22.4 resolution: "zod@npm:3.22.4"