chore: revert nextjs version

This commit is contained in:
DIYgod 2023-07-18 02:07:47 +01:00
parent 8701d59e44
commit 8c382bdbe3
No known key found for this signature in database
3 changed files with 41 additions and 38 deletions

View File

@ -72,6 +72,9 @@ module.exports = withBundleAnalyzer(
},
productionBrowserSourceMaps: true,
// disable swc due to a bug https://github.com/swc-project/swc/issues/7640
swcMinify: false,
webpack(config) {
config.resolve.fallback = { fs: false } // polyfill node-id3

View File

@ -97,7 +97,7 @@
"medium-zoom": "1.0.8",
"mermaid": "10.2.4",
"nanoid": "4.0.2",
"next": "13.4.10",
"next": "13.4.9",
"node-id3": "0.2.6",
"pangu": "4.0.7",
"path-to-regexp": "6.2.1",

View File

@ -207,8 +207,8 @@ dependencies:
specifier: 4.0.2
version: 4.0.2
next:
specifier: 13.4.10
version: 13.4.10(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0)
specifier: 13.4.9
version: 13.4.9(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0)
node-id3:
specifier: 0.2.6
version: 0.2.6
@ -384,7 +384,7 @@ dependencies:
devDependencies:
'@ducanh2912/next-pwa':
specifier: 9.2.1
version: 9.2.1(esbuild@0.18.13)(next@13.4.10)
version: 9.2.1(esbuild@0.18.13)(next@13.4.9)
'@iconify/tailwind':
specifier: 0.1.3
version: 0.1.3
@ -2584,14 +2584,14 @@ packages:
resolution: {integrity: sha512-bhR5k5W+8GLzysjk8zTMVygQZsgvf7W1F0IlL4ZQ5ugjo5rCyiwGM5d8DYriXspytfu98tv59niang3/T+FoDw==}
dev: false
/@ducanh2912/next-pwa@9.2.1(esbuild@0.18.13)(next@13.4.10):
/@ducanh2912/next-pwa@9.2.1(esbuild@0.18.13)(next@13.4.9):
resolution: {integrity: sha512-oucSNTBMIWorSgDPyffsckBxDCvn23buLFfwdSwtQlKQXjg+L3fNXhj6vNKDzDXHvEimoQNP3Pn8xrl1s+5cdw==}
peerDependencies:
next: '>=11.0.0'
dependencies:
clean-webpack-plugin: 4.0.0(webpack@5.88.1)
fast-glob: 3.3.0
next: 13.4.10(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0)
next: 13.4.9(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0)
semver: 7.5.4
terser-webpack-plugin: 5.3.9(esbuild@0.18.13)(webpack@5.88.1)
webpack: 5.88.1(esbuild@0.18.13)
@ -3432,8 +3432,8 @@ packages:
- utf-8-validate
dev: true
/@next/env@13.4.10:
resolution: {integrity: sha512-3G1yD/XKTSLdihyDSa8JEsaWOELY+OWe08o0LUYzfuHp1zHDA8SObQlzKt+v+wrkkPcnPweoLH1ImZeUa0A1NQ==}
/@next/env@13.4.9:
resolution: {integrity: sha512-vuDRK05BOKfmoBYLNi2cujG2jrYbEod/ubSSyqgmEx9n/W3eZaJQdRNhTfumO+qmq/QTzLurW487n/PM/fHOkw==}
/@next/eslint-plugin-next@13.4.10:
resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}
@ -3441,72 +3441,72 @@ packages:
glob: 7.1.7
dev: true
/@next/swc-darwin-arm64@13.4.10:
resolution: {integrity: sha512-4bsdfKmmg7mgFGph0UorD1xWfZ5jZEw4kKRHYEeTK9bT1QnMbPVPlVXQRIiFPrhoDQnZUoa6duuPUJIEGLV1Jg==}
/@next/swc-darwin-arm64@13.4.9:
resolution: {integrity: sha512-TVzGHpZoVBk3iDsTOQA/R6MGmFp0+17SWXMEWd6zG30AfuELmSSMe2SdPqxwXU0gbpWkJL1KgfLzy5ReN0crqQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
optional: true
/@next/swc-darwin-x64@13.4.10:
resolution: {integrity: sha512-ngXhUBbcZIWZWqNbQSNxQrB9T1V+wgfCzAor2olYuo/YpaL6mUYNUEgeBMhr8qwV0ARSgKaOp35lRvB7EmCRBg==}
/@next/swc-darwin-x64@13.4.9:
resolution: {integrity: sha512-aSfF1fhv28N2e7vrDZ6zOQ+IIthocfaxuMWGReB5GDriF0caTqtHttAvzOMgJgXQtQx6XhyaJMozLTSEXeNN+A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
optional: true
/@next/swc-linux-arm64-gnu@13.4.10:
resolution: {integrity: sha512-SjCZZCOmHD4uyM75MVArSAmF5Y+IJSGroPRj2v9/jnBT36SYFTORN8Ag/lhw81W9EeexKY/CUg2e9mdebZOwsg==}
/@next/swc-linux-arm64-gnu@13.4.9:
resolution: {integrity: sha512-JhKoX5ECzYoTVyIy/7KykeO4Z2lVKq7HGQqvAH+Ip9UFn1MOJkOnkPRB7v4nmzqAoY+Je05Aj5wNABR1N18DMg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
optional: true
/@next/swc-linux-arm64-musl@13.4.10:
resolution: {integrity: sha512-F+VlcWijX5qteoYIOxNiBbNE8ruaWuRlcYyIRK10CugqI/BIeCDzEDyrHIHY8AWwbkTwe6GRHabMdE688Rqq4Q==}
/@next/swc-linux-arm64-musl@13.4.9:
resolution: {integrity: sha512-OOn6zZBIVkm/4j5gkPdGn4yqQt+gmXaLaSjRSO434WplV8vo2YaBNbSHaTM9wJpZTHVDYyjzuIYVEzy9/5RVZw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
optional: true
/@next/swc-linux-x64-gnu@13.4.10:
resolution: {integrity: sha512-WDv1YtAV07nhfy3i1visr5p/tjiH6CeXp4wX78lzP1jI07t4PnHHG1WEDFOduXh3WT4hG6yN82EQBQHDi7hBrQ==}
/@next/swc-linux-x64-gnu@13.4.9:
resolution: {integrity: sha512-iA+fJXFPpW0SwGmx/pivVU+2t4zQHNOOAr5T378PfxPHY6JtjV6/0s1vlAJUdIHeVpX98CLp9k5VuKgxiRHUpg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
optional: true
/@next/swc-linux-x64-musl@13.4.10:
resolution: {integrity: sha512-zFkzqc737xr6qoBgDa3AwC7jPQzGLjDlkNmt/ljvQJ/Veri5ECdHjZCUuiTUfVjshNIIpki6FuP0RaQYK9iCRg==}
/@next/swc-linux-x64-musl@13.4.9:
resolution: {integrity: sha512-rlNf2WUtMM+GAQrZ9gMNdSapkVi3koSW3a+dmBVp42lfugWVvnyzca/xJlN48/7AGx8qu62WyO0ya1ikgOxh6A==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
requiresBuild: true
optional: true
/@next/swc-win32-arm64-msvc@13.4.10:
resolution: {integrity: sha512-IboRS8IWz5mWfnjAdCekkl8s0B7ijpWeDwK2O8CdgZkoCDY0ZQHBSGiJ2KViAG6+BJVfLvcP+a2fh6cdyBr9QQ==}
/@next/swc-win32-arm64-msvc@13.4.9:
resolution: {integrity: sha512-5T9ybSugXP77nw03vlgKZxD99AFTHaX8eT1ayKYYnGO9nmYhJjRPxcjU5FyYI+TdkQgEpIcH7p/guPLPR0EbKA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
requiresBuild: true
optional: true
/@next/swc-win32-ia32-msvc@13.4.10:
resolution: {integrity: sha512-bSA+4j8jY4EEiwD/M2bol4uVEu1lBlgsGdvM+mmBm/BbqofNBfaZ2qwSbwE2OwbAmzNdVJRFRXQZ0dkjopTRaQ==}
/@next/swc-win32-ia32-msvc@13.4.9:
resolution: {integrity: sha512-ojZTCt1lP2ucgpoiFgrFj07uq4CZsq4crVXpLGgQfoFq00jPKRPgesuGPaz8lg1yLfvafkU3Jd1i8snKwYR3LA==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
optional: true
/@next/swc-win32-x64-msvc@13.4.10:
resolution: {integrity: sha512-g2+tU63yTWmcVQKDGY0MV1PjjqgZtwM4rB1oVVi/v0brdZAcrcTV+04agKzWtvWroyFz6IqtT0MoZJA7PNyLVw==}
/@next/swc-win32-x64-msvc@13.4.9:
resolution: {integrity: sha512-QbT03FXRNdpuL+e9pLnu+XajZdm/TtIXVYY4lA9t+9l0fLZbHXDYEKitAqxrOj37o3Vx5ufxiRAniaIebYDCgw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -10072,8 +10072,8 @@ packages:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
dev: true
/next@13.4.10(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-4ep6aKxVTQ7rkUW2fBLhpBr/5oceCuf4KmlUpvG/aXuDTIf9mexNSpabUD6RWPspu6wiJJvozZREhXhueYO36A==}
/next@13.4.9(@babel/core@7.22.9)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-vtefFm/BWIi/eWOqf1GsmKG3cjKw1k3LjuefKRcL3iiLl3zWzFdPG3as6xtxrGO6gwTzzaO1ktL4oiHt/uvTjA==}
engines: {node: '>=16.8.0'}
hasBin: true
peerDependencies:
@ -10090,7 +10090,7 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 13.4.10
'@next/env': 13.4.9
'@swc/helpers': 0.5.1
busboy: 1.6.0
caniuse-lite: 1.0.30001516
@ -10101,15 +10101,15 @@ packages:
watchpack: 2.4.0
zod: 3.21.4
optionalDependencies:
'@next/swc-darwin-arm64': 13.4.10
'@next/swc-darwin-x64': 13.4.10
'@next/swc-linux-arm64-gnu': 13.4.10
'@next/swc-linux-arm64-musl': 13.4.10
'@next/swc-linux-x64-gnu': 13.4.10
'@next/swc-linux-x64-musl': 13.4.10
'@next/swc-win32-arm64-msvc': 13.4.10
'@next/swc-win32-ia32-msvc': 13.4.10
'@next/swc-win32-x64-msvc': 13.4.10
'@next/swc-darwin-arm64': 13.4.9
'@next/swc-darwin-x64': 13.4.9
'@next/swc-linux-arm64-gnu': 13.4.9
'@next/swc-linux-arm64-musl': 13.4.9
'@next/swc-linux-x64-gnu': 13.4.9
'@next/swc-linux-x64-musl': 13.4.9
'@next/swc-win32-arm64-msvc': 13.4.9
'@next/swc-win32-ia32-msvc': 13.4.9
'@next/swc-win32-x64-msvc': 13.4.9
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros