From 13fd8f81c9b7c066792e18e318d2bcf1b09e7e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20J=C3=A4derberg?= Date: Mon, 2 Feb 2026 15:15:42 +0000 Subject: [PATCH] Merged in revert-nextjs-upgrade (pull request #3528) revert nextjs upgrade * revert nextjs upgrade * Fix revert Approved-by: Anton Gunnarsson --- apps/partner-sas/package.json | 8 +- apps/scandic-web/package.json | 8 +- yarn.lock | 144 ++++++++++++++++------------------ 3 files changed, 75 insertions(+), 85 deletions(-) diff --git a/apps/partner-sas/package.json b/apps/partner-sas/package.json index e64d1de75..5772575a6 100644 --- a/apps/partner-sas/package.json +++ b/apps/partner-sas/package.json @@ -28,7 +28,7 @@ "@scandic-hotels/tracking": "workspace:*", "@scandic-hotels/trpc": "workspace:*", "@sentry/nextjs": "^10.33.0", - "@swc/plugin-formatjs": "^8.1.0", + "@swc/plugin-formatjs": "^3.2.2", "@t3-oss/env-nextjs": "^0.13.4", "@tanstack/react-query": "^5.75.5", "@tanstack/react-query-devtools": "^5.75.5", @@ -36,11 +36,11 @@ "@trpc/server": "^11.1.2", "class-variance-authority": "^0.7.1", "iron-session": "^8.0.4", - "next": "16.1.6", + "next": "16.0.10", "next-auth": "5.0.0-beta.29", - "react": "19.2.4", + "react": "19.2.1", "react-aria-components": "1.8.0", - "react-dom": "19.2.4", + "react-dom": "19.2.1", "react-intl": "^7.1.11", "server-only": "^0.0.1", "usehooks-ts": "3.1.1", diff --git a/apps/scandic-web/package.json b/apps/scandic-web/package.json index cb1017e8f..169ab831e 100644 --- a/apps/scandic-web/package.json +++ b/apps/scandic-web/package.json @@ -38,7 +38,7 @@ "@scandic-hotels/tracking": "workspace:*", "@scandic-hotels/trpc": "workspace:*", "@sentry/nextjs": "^10.33.0", - "@swc/plugin-formatjs": "^8.1.0", + "@swc/plugin-formatjs": "^3.2.2", "@t3-oss/env-nextjs": "^0.13.4", "@tanstack/react-query": "^5.75.5", "@tanstack/react-query-devtools": "^5.75.5", @@ -66,12 +66,12 @@ "jsonwebtoken": "^9.0.2", "md5": "^2.3.0", "motion": "^12.10.0", - "next": "16.1.6", + "next": "16.0.10", "next-auth": "5.0.0-beta.29", - "react": "19.2.4", + "react": "19.2.1", "react-aria-components": "1.8.0", "react-day-picker": "^9.6.7", - "react-dom": "19.2.4", + "react-dom": "19.2.1", "react-feather": "^2.0.10", "react-focus-lock": "^2.13.6", "react-hook-form": "^7.56.2", diff --git a/yarn.lock b/yarn.lock index b44669294..e70fa1e7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2112,6 +2112,13 @@ __metadata: languageName: node linkType: hard +"@next/env@npm:16.0.10": + version: 16.0.10 + resolution: "@next/env@npm:16.0.10" + checksum: 10c0/6f2b5ba37733a49513ab3117c06f037fa962b4022fe2b4ba7801f830ab15974ad87ad8b47b6464fa5fcb3e9a3247b25f657ec97ae6eed1156b5736c6388246db + languageName: node + linkType: hard + "@next/env@npm:16.0.5": version: 16.0.5 resolution: "@next/env@npm:16.0.5" @@ -2119,13 +2126,6 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:16.1.6": - version: 16.1.6 - resolution: "@next/env@npm:16.1.6" - checksum: 10c0/ed7023edb94b9b2e5da3f9c99d08b614da9757c1edd0ecec792fce4d336b4f0c64db1a84955e07cfbd848b9e61c4118fff28f4098cd7b0a7f97814a90565ebe6 - languageName: node - linkType: hard - "@next/eslint-plugin-next@npm:16.0.7": version: 16.0.7 resolution: "@next/eslint-plugin-next@npm:16.0.7" @@ -2135,6 +2135,13 @@ __metadata: languageName: node linkType: hard +"@next/swc-darwin-arm64@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-darwin-arm64@npm:16.0.10" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@next/swc-darwin-arm64@npm:16.0.5": version: 16.0.5 resolution: "@next/swc-darwin-arm64@npm:16.0.5" @@ -2142,10 +2149,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-darwin-arm64@npm:16.1.6" - conditions: os=darwin & cpu=arm64 +"@next/swc-darwin-x64@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-darwin-x64@npm:16.0.10" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -2156,10 +2163,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-x64@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-darwin-x64@npm:16.1.6" - conditions: os=darwin & cpu=x64 +"@next/swc-linux-arm64-gnu@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-linux-arm64-gnu@npm:16.0.10" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -2170,10 +2177,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-linux-arm64-gnu@npm:16.1.6" - conditions: os=linux & cpu=arm64 & libc=glibc +"@next/swc-linux-arm64-musl@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-linux-arm64-musl@npm:16.0.10" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -2184,10 +2191,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-linux-arm64-musl@npm:16.1.6" - conditions: os=linux & cpu=arm64 & libc=musl +"@next/swc-linux-x64-gnu@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-linux-x64-gnu@npm:16.0.10" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -2198,10 +2205,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-linux-x64-gnu@npm:16.1.6" - conditions: os=linux & cpu=x64 & libc=glibc +"@next/swc-linux-x64-musl@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-linux-x64-musl@npm:16.0.10" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -2212,10 +2219,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-linux-x64-musl@npm:16.1.6" - conditions: os=linux & cpu=x64 & libc=musl +"@next/swc-win32-arm64-msvc@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-win32-arm64-msvc@npm:16.0.10" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -2226,10 +2233,10 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-win32-arm64-msvc@npm:16.1.6" - conditions: os=win32 & cpu=arm64 +"@next/swc-win32-x64-msvc@npm:16.0.10": + version: 16.0.10 + resolution: "@next/swc-win32-x64-msvc@npm:16.0.10" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2240,13 +2247,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:16.1.6": - version: 16.1.6 - resolution: "@next/swc-win32-x64-msvc@npm:16.1.6" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -5117,7 +5117,7 @@ __metadata: "@scandic-hotels/trpc": "workspace:*" "@scandic-hotels/typescript-config": "workspace:*" "@sentry/nextjs": "npm:^10.33.0" - "@swc/plugin-formatjs": "npm:^8.1.0" + "@swc/plugin-formatjs": "npm:^3.2.2" "@t3-oss/env-nextjs": "npm:^0.13.4" "@tanstack/react-query": "npm:^5.75.5" "@tanstack/react-query-devtools": "npm:^5.75.5" @@ -5136,11 +5136,11 @@ __metadata: eslint-plugin-import: "npm:^2.31.0" eslint-plugin-simple-import-sort: "npm:^12.1.1" iron-session: "npm:^8.0.4" - next: "npm:16.1.6" + next: "npm:16.0.10" next-auth: "npm:5.0.0-beta.29" - react: "npm:19.2.4" + react: "npm:19.2.1" react-aria-components: "npm:1.8.0" - react-dom: "npm:19.2.4" + react-dom: "npm:19.2.1" react-intl: "npm:^7.1.11" server-only: "npm:^0.0.1" typescript: "npm:5.8.3" @@ -5209,7 +5209,7 @@ __metadata: "@scandic-hotels/trpc": "workspace:*" "@scandic-hotels/typescript-config": "workspace:*" "@sentry/nextjs": "npm:^10.33.0" - "@swc/plugin-formatjs": "npm:^8.1.0" + "@swc/plugin-formatjs": "npm:^3.2.2" "@t3-oss/env-nextjs": "npm:^0.13.4" "@tanstack/react-query": "npm:^5.75.5" "@tanstack/react-query-devtools": "npm:^5.75.5" @@ -5251,12 +5251,12 @@ __metadata: jsonwebtoken: "npm:^9.0.2" md5: "npm:^2.3.0" motion: "npm:^12.10.0" - next: "npm:16.1.6" + next: "npm:16.0.10" next-auth: "npm:5.0.0-beta.29" - react: "npm:19.2.4" + react: "npm:19.2.1" react-aria-components: "npm:1.8.0" react-day-picker: "npm:^9.6.7" - react-dom: "npm:19.2.4" + react-dom: "npm:19.2.1" react-feather: "npm:^2.0.10" react-focus-lock: "npm:^2.13.6" react-hook-form: "npm:^7.56.2" @@ -6266,12 +6266,12 @@ __metadata: languageName: node linkType: hard -"@swc/plugin-formatjs@npm:^8.1.0": - version: 8.1.0 - resolution: "@swc/plugin-formatjs@npm:8.1.0" +"@swc/plugin-formatjs@npm:^3.2.2": + version: 3.2.3 + resolution: "@swc/plugin-formatjs@npm:3.2.3" dependencies: "@swc/counter": "npm:^0.1.3" - checksum: 10c0/312c65a2fcd378484930cd2c89819f7a069c4ce694e862138dc2e198cec7882a582093486c88d316dfb47da04b3e8d76200647f858fd92d0b9b140b5eb44b54f + checksum: 10c0/707da7b8ef8fa85b2c0e5fab27bc27d5ef9b7f799e5bf6c16c6bb1ad05eacb54ae72bc5cdefda9396c9a05995f55e1c48711b962766e8d6e738f30c75572c6b0 languageName: node linkType: hard @@ -8535,15 +8535,6 @@ __metadata: languageName: node linkType: hard -"baseline-browser-mapping@npm:^2.8.3": - version: 2.9.19 - resolution: "baseline-browser-mapping@npm:2.9.19" - bin: - baseline-browser-mapping: dist/cli.js - checksum: 10c0/569928db78bcd081953d7db79e4243a59a579a34b4ae1806b9b42d3b7f84e5bc40e6e82ae4fa06e7bef8291bf747b33b3f9ef5d3c6e1e420cb129d9295536129 - languageName: node - linkType: hard - "binary-extensions@npm:^2.0.0": version: 2.3.0 resolution: "binary-extensions@npm:2.3.0" @@ -13554,21 +13545,20 @@ __metadata: languageName: node linkType: hard -"next@npm:16.1.6": - version: 16.1.6 - resolution: "next@npm:16.1.6" +"next@npm:16.0.10": + version: 16.0.10 + resolution: "next@npm:16.0.10" dependencies: - "@next/env": "npm:16.1.6" - "@next/swc-darwin-arm64": "npm:16.1.6" - "@next/swc-darwin-x64": "npm:16.1.6" - "@next/swc-linux-arm64-gnu": "npm:16.1.6" - "@next/swc-linux-arm64-musl": "npm:16.1.6" - "@next/swc-linux-x64-gnu": "npm:16.1.6" - "@next/swc-linux-x64-musl": "npm:16.1.6" - "@next/swc-win32-arm64-msvc": "npm:16.1.6" - "@next/swc-win32-x64-msvc": "npm:16.1.6" + "@next/env": "npm:16.0.10" + "@next/swc-darwin-arm64": "npm:16.0.10" + "@next/swc-darwin-x64": "npm:16.0.10" + "@next/swc-linux-arm64-gnu": "npm:16.0.10" + "@next/swc-linux-arm64-musl": "npm:16.0.10" + "@next/swc-linux-x64-gnu": "npm:16.0.10" + "@next/swc-linux-x64-musl": "npm:16.0.10" + "@next/swc-win32-arm64-msvc": "npm:16.0.10" + "@next/swc-win32-x64-msvc": "npm:16.0.10" "@swc/helpers": "npm:0.5.15" - baseline-browser-mapping: "npm:^2.8.3" caniuse-lite: "npm:^1.0.30001579" postcss: "npm:8.4.31" sharp: "npm:^0.34.4" @@ -13610,7 +13600,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 10c0/543766bf879bb5a5d454dc18cb302953270a92efba1d01dd028ea83c64b69573ce7d6e6c3759ecbaabec0a84131b0237263c24d1ccd7c8a97205e776dcd34e0b + checksum: 10c0/c0e42bfaa0d38b0ee9a7fc54c748da2dfd807a76d75278b4c4f06768965d7b1035b836cae45e24a074dcf156a13c0fa555caa652886cc0f93e8be2b296dfbb51 languageName: node linkType: hard