chore: upgrade nextjs to 13.4.15

This commit is contained in:
DIYgod 2023-08-24 00:00:52 +01:00
parent d6dc49facf
commit 00361aeff0
No known key found for this signature in database
3 changed files with 44 additions and 42 deletions

View File

@ -96,7 +96,7 @@
"medium-zoom": "1.0.8",
"mermaid": "10.3.1",
"nanoid": "4.0.2",
"next": "13.4.12",
"next": "13.4.15",
"next-themes": "0.2.1",
"node-id3": "0.2.6",
"open-graph-scraper": "^6.2.2",

View File

@ -204,11 +204,11 @@ dependencies:
specifier: 4.0.2
version: 4.0.2
next:
specifier: 13.4.12
version: 13.4.12(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0)
specifier: 13.4.15
version: 13.4.15(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0)
next-themes:
specifier: 0.2.1
version: 0.2.1(next@13.4.12)(react-dom@18.2.0)(react@18.2.0)
version: 0.2.1(next@13.4.15)(react-dom@18.2.0)(react@18.2.0)
node-id3:
specifier: 0.2.6
version: 0.2.6
@ -2424,8 +2424,8 @@ packages:
- utf-8-validate
dev: true
/@next/env@13.4.12:
resolution: {integrity: sha512-RmHanbV21saP/6OEPBJ7yJMuys68cIf8OBBWd7+uj40LdpmswVAwe1uzeuFyUsd6SfeITWT3XnQfn6wULeKwDQ==}
/@next/env@13.4.15:
resolution: {integrity: sha512-GQXUy/y5NW4VbrKQMbLjsuTykJ7+Jtb9zcKH1WrmgI1zG7yCoZQaoI65YFNksEh+9EPSHX6Xr7U1/StIIAOXog==}
dev: false
/@next/eslint-plugin-next@13.4.19:
@ -2434,8 +2434,8 @@ packages:
glob: 7.1.7
dev: true
/@next/swc-darwin-arm64@13.4.12:
resolution: {integrity: sha512-deUrbCXTMZ6ZhbOoloqecnUeNpUOupi8SE2tx4jPfNS9uyUR9zK4iXBvH65opVcA/9F5I/p8vDXSYbUlbmBjZg==}
/@next/swc-darwin-arm64@13.4.15:
resolution: {integrity: sha512-S4/5CwFxUtV+MnXXv5a+zGpx8Swm6WfzKYrcKbyYgl71Ek7bj0TrqZXASD2HeXIlHwr+0SJnnhSFcU09Y4tHjA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -2443,8 +2443,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64@13.4.12:
resolution: {integrity: sha512-WRvH7RxgRHlC1yb5oG0ZLx8F7uci9AivM5/HGGv9ZyG2Als8Ij64GC3d+mQ5sJhWjusyU6T6V1WKTUoTmOB0zQ==}
/@next/swc-darwin-x64@13.4.15:
resolution: {integrity: sha512-6bAi8s3vVRMFPU5qr4hZsfsQ0tzLU/Ig3tHjpJyjIN9AV3PMbTnX716P7hj1QioLfzZxIcUVnDczW7L45xHVfQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -2452,8 +2452,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu@13.4.12:
resolution: {integrity: sha512-YEKracAWuxp54tKiAvvq73PUs9lok57cc8meYRibTWe/VdPB2vLgkTVWFcw31YDuRXdEhdX0fWS6Q+ESBhnEig==}
/@next/swc-linux-arm64-gnu@13.4.15:
resolution: {integrity: sha512-LpMjwqsQAj269h0PIqw8drRGGpyg6cRHi8JEAKtD/putcCalQWCplfUzjtML8jplwMN1lcdPDNtFIab53t8AzQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -2461,8 +2461,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl@13.4.12:
resolution: {integrity: sha512-LhJR7/RAjdHJ2Isl2pgc/JaoxNk0KtBgkVpiDJPVExVWA1c6gzY57+3zWuxuyWzTG+fhLZo2Y80pLXgIJv7g3g==}
/@next/swc-linux-arm64-musl@13.4.15:
resolution: {integrity: sha512-zpV8C34OtLhu+1oiXIdDC576s88/TYxN325kipuL64Zs/j2kSEinR28mcLCZQTYI2g4OwtE3XIERy4vFoY3WiA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -2470,8 +2470,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu@13.4.12:
resolution: {integrity: sha512-1DWLL/B9nBNiQRng+1aqs3OaZcxC16Nf+mOnpcrZZSdyKHek3WQh6j/fkbukObgNGwmCoVevLUa/p3UFTTqgqg==}
/@next/swc-linux-x64-gnu@13.4.15:
resolution: {integrity: sha512-Xk7QEfbX3zotvLmCoLzeGefbdyPpclCR8WyWHQOMMwUpftfmAuEVyU29WegcdfNCqYwc2QDXseVVI7xW/VwHCA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -2479,8 +2479,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl@13.4.12:
resolution: {integrity: sha512-kEAJmgYFhp0VL+eRWmUkVxLVunn7oL9Mdue/FS8yzRBVj7Z0AnIrHpTIeIUl1bbdQq1VaoOztnKicAjfkLTRCQ==}
/@next/swc-linux-x64-musl@13.4.15:
resolution: {integrity: sha512-SxXxWBIUICkbHPUthg+T/FuRgOp75wE0e6eiLGs4P9Miq/P3kSXHv6x5LRnDreGDvYnKOlpzXlsXTxcPTRWttg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -2488,8 +2488,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc@13.4.12:
resolution: {integrity: sha512-GMLuL/loR6yIIRTnPRY6UGbLL9MBdw2anxkOnANxvLvsml4F0HNIgvnU3Ej4BjbqMTNjD4hcPFdlEow4XHPdZA==}
/@next/swc-win32-arm64-msvc@13.4.15:
resolution: {integrity: sha512-Pu8zaW59XKbycyW/vzKRQOcbaZA2n3BK1zAFxv+hAO2bQ29FSGrtRb2nfhMDLwN0ggWIHKVKb+h4WMFHZkS9Qw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -2497,8 +2497,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc@13.4.12:
resolution: {integrity: sha512-PhgNqN2Vnkm7XaMdRmmX0ZSwZXQAtamBVSa9A/V1dfKQCV1rjIZeiy/dbBnVYGdj63ANfsOR/30XpxP71W0eww==}
/@next/swc-win32-ia32-msvc@13.4.15:
resolution: {integrity: sha512-V3y1Sc0X31mwK4cx0JQBi0wSTbPpmp/qRXjS0Vz3+2oSrbV06Oz27c/r2tW7ph0qhVp8+Jt03ZLnSc7KjjECiA==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -2506,8 +2506,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc@13.4.12:
resolution: {integrity: sha512-Z+56e/Ljt0bUs+T+jPjhFyxYBcdY2RIq9ELFU+qAMQMteHo7ymbV7CKmlcX59RI9C4YzN8PgMgLyAoi916b5HA==}
/@next/swc-win32-x64-msvc@13.4.15:
resolution: {integrity: sha512-mUGemqDIuD2PjnqEkqMpeI8cXOTVjedo9cqoaMkrOVcoK1IX/w7h4qYeniMUCImamsDAoLms86Fq9LzxT24StQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -8847,37 +8847,34 @@ packages:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
dev: true
/next-themes@0.2.1(next@13.4.12)(react-dom@18.2.0)(react@18.2.0):
/next-themes@0.2.1(next@13.4.15)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
peerDependencies:
next: '*'
react: '*'
react-dom: '*'
dependencies:
next: 13.4.12(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0)
next: 13.4.15(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
dev: false
/next@13.4.12(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-eHfnru9x6NRmTMcjQp6Nz0J4XH9OubmzOa7CkWL+AUrUxpibub3vWwttjduu9No16dug1kq04hiUUpo7J3m3Xw==}
/next@13.4.15(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-s4ZSBwZrvpY0IDzRtD7C5CY8FA/8ZIYqrJZHnwrf6mkUVA+Y+A6CtwBYyxml6VKgP/3DFNqCqkBQGInZuPHzmQ==}
engines: {node: '>=16.8.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
fibers: '>= 3.1.0'
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
optional: true
fibers:
optional: true
sass:
optional: true
dependencies:
'@next/env': 13.4.12
'@next/env': 13.4.15
'@swc/helpers': 0.5.1
busboy: 1.6.0
caniuse-lite: 1.0.30001522
@ -8888,15 +8885,15 @@ packages:
watchpack: 2.4.0
zod: 3.21.4
optionalDependencies:
'@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
'@next/swc-darwin-arm64': 13.4.15
'@next/swc-darwin-x64': 13.4.15
'@next/swc-linux-arm64-gnu': 13.4.15
'@next/swc-linux-arm64-musl': 13.4.15
'@next/swc-linux-x64-gnu': 13.4.15
'@next/swc-linux-x64-musl': 13.4.15
'@next/swc-win32-arm64-msvc': 13.4.15
'@next/swc-win32-ia32-msvc': 13.4.15
'@next/swc-win32-x64-msvc': 13.4.15
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros

View File

@ -110,7 +110,12 @@ export default function RootLayout({
}
return (
<html lang={lang} dir={dir(lang)} className={colorScheme}>
<html
lang={lang}
dir={dir(lang)}
className={colorScheme}
suppressHydrationWarning
>
<head>
<ColorSchemeInjector />
</head>