Skip to content

armgit / ui

Public Imported from GitHub
0
TypeScript

Upgrade Next.js to 16.2.7

Andrew Luo0df71ebb586d
diff --git a/apps/v4/eslint.config.mjs b/apps/v4/eslint.config.mjs
index b5dc2d2..e6e3796 100644
--- a/apps/v4/eslint.config.mjs
+++ b/apps/v4/eslint.config.mjs
@@ -25,6 +25,7 @@ const eslintConfig = tseslint.config(
rules: {
"react-hooks/incompatible-library": "off",
"react-hooks/purity": "off",
+ "react-hooks/set-state-in-effect": "off",
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-img-element": "off",
"@typescript-eslint/no-unused-vars": "off",
diff --git a/apps/v4/package.json b/apps/v4/package.json
index 17cca04..6173bbc 100644
--- a/apps/v4/package.json
+++ b/apps/v4/package.json
@@ -43,7 +43,7 @@
"lodash": "^4.18.1",
"lru-cache": "^11.2.4",
"marked": "^16.0.10",
- "next": "16.2.6",
+ "next": "16.2.7",
"next-themes": "0.4.6",
"nuqs": "^2.8.9",
"papaparse": "^5.5.3",
@@ -74,7 +74,7 @@
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"eslint": "^9",
- "eslint-config-next": "16.2.6",
+ "eslint-config-next": "16.2.7",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^4",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bb6c59f..769fab3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -62,7 +62,7 @@ importers:
'@vercel/analytics':
specifier: ^2.0.1
border-beam:
specifier: ^1.0.1
@@ -77,10 +77,10 @@ importers:
fumadocs-core:
specifier: 16.0.5
fumadocs-mdx:
specifier: 13.0.2
jotai:
specifier: ^2.15.0
@@ -94,14 +94,14 @@ importers:
specifier: ^16.0.10
version: 16.4.2
next:
- specifier: 16.2.6
+ specifier: 16.2.7
next-themes:
specifier: 0.4.6
nuqs:
specifier: ^2.8.9
papaparse:
specifier: ^5.5.3
version: 5.5.3
@@ -182,8 +182,8 @@ importers:
specifier: ^9
eslint-config-next:
- specifier: 16.2.6
+ specifier: 16.2.7
prettier:
specifier: ^3.4.2
version: 3.6.2
@@ -1233,56 +1233,56 @@ packages:
'@napi-rs/[email protected]':
resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}
- resolution: {integrity: sha512-gd8HoHN4ufj73WmR3JmVolrpJR47ILK6LouP5xElPglaVxir6e1a7VzvTvDWkOoPXT9rkkTzyCxBu4yeZfZwcw==}
+ resolution: {integrity: sha512-tMJizPlj6ZYpBMMdK8S0LJufrP4QTdR6pcv9KQ/bVETPAmg0j1mlHE9G2c38UyGHxoBapgwuj7XjbGJ2RcDFOg==}
- resolution: {integrity: sha512-Z8l6o4JWKUl755x4R+wogD86KPeU+Ckw4K+SYG4kHeOJtRenDeK+OSbGcqZpDtbwn9DsJVdir2UxmwXuinUbUw==}
+ resolution: {integrity: sha512-VbS+QgMHqvIDMTIqD2xMBKK1otIpdAUKA8VLHFwR9h6OfU/mOm7w/69nQcvdmI8hCk99Wr2AsGLn/PJ/tMHw1w==}
- resolution: {integrity: sha512-ZJGkkcNfYgrrMkqOdZ7zoLa1TOy0qpcMfk/z4Mh/FKUz40gVO+HNQWqmLxf67Z5WB64DRp0dhEbyHfel+6sJUg==}
+ resolution: {integrity: sha512-vm1EDI/pVaBNNiychmxk3fft+OhQPVD9cIM/tReLZIQ3TfQ4kqI9DwKk00dzuS1ulC7icbrzCFrmRRlk9PfNdw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-v/YLBHIY132Ced3puBJ7YJKw1lqsCrgcNo2aRJlCEyQrrCeRJlvGlnmxhPxNQI3KE3N1DN5r9TPNPvka3nq5RQ==}
+ resolution: {integrity: sha512-O3IRSv1ZBL1zs0WrIgefTEcTKFVn+ryxBNe54erJ6KsD+2f/Mmt7g2jOYh8PSBdUwPtKQJuCsTMlZ7tIu2AcsQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-RPOvqlYBbcQjkz9VQQDZ2T2bARIjXZV1KFlt+V2Mr6SW/e4I9fcKsaA0hdyf2FHoTlsV2xnBd5Y912rP/1Ce6w==}
+ resolution: {integrity: sha512-Re6PZtjBDd0aMU+VcZcC/PrIvj4WhrjDYtMhhCVQamWN4L90EVP0pcEOBQD25prSlw7OzNw5QpHLWMilRLsRNw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-URUTu1+dMkxJsPFgm+OeEvq9wf5sujw0EvgYy80TDGHTSLTnIHeqb0Eu8A3sC95IRgjejQL+kC4mw+4yPxiAXA==}
+ resolution: {integrity: sha512-qyogG9QtBzWxgJfeGBvOEHI3851gTfCF3wLZ5RDLTBJGAmE9p1qDwKCOdrBrvBzRvYDT+gUDp72pzlSEfAXgNA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-DOj182mPV8G3UkrayLoREM5YEYI+Dk5wv7Ox9xl1fFibAELEsFD0lDPfHIeILlutMMfdyhlzYPELG3peuKaurw==}
+ resolution: {integrity: sha512-Vhe4ZDuBpmMogrGi5D4R2Kq4JAQlj6+wvgaFYy31zfES0zPmt6TLA+cuYpM/OLrPZjo2MYQTHVqNUSCR6+fDZQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-HKQ5SP/V/ub73UvF7n/zeJlxk2kLmtL7Wzrg4WfmkjmNos5onJ2tKu7yZOPdL18A6Svfn3max29ym+ry7NkK4g==}
+ resolution: {integrity: sha512-srvian89JahFLw1YLBEuhvPJ0DO5lpUeJQMXy4xYo7g628ZlNgXdNkqoxSAv9OYrBfByh6vxISMwW/mRbzCY+g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-LZXpTlPyS5v7HhSmnvsLGP3iIYgYOBnc8r8ArlT55sGHV89bR2HlDdBjWQ+PY6SJMmk8TuVGFuxalnP3k/0Dwg==}
+ resolution: {integrity: sha512-GX3wvLpULFuRFJzwHaKfm7QZJ18F4ZSuxlPJ96BoBglCzBmdSjyeBKF+ZhWhvL/ckxNfLnNa7bsObO2ipYpszw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-F0+4i0h9J6C4eE3EAPWsoCk7UW/dbzOjyzxY0qnDUOYFu6FFmdZ6l97/XdV3/Nz3VYyO7UWjyEJUXkGqcoXfMA==}
+ resolution: {integrity: sha512-J4WlM72NMk076Qsg0jTdK3SNXatlSdnjW7L7oNGLst1tAGjHrJh/FYi+pw9wyIjEtGRKDNzD0zuiY16oWYWVaw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -1979,6 +1979,7 @@ packages:
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
+ deprecated: Potential CWE-502 - Update to 1.3.1 or higher
resolution: {integrity: sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==}
@@ -2707,8 +2708,8 @@ packages:
resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-z2ELYSkyrrJ6cuunTU8vhsT/RpouPkjaSah06nVW6Rg2Hpg0Vs8s497/e5s8G8qtdp4ccsiovz5P1rv+5VSW2Q==}
+ resolution: {integrity: sha512-CQ2aNXkrsjaGA2oJBE1LYnlRdphIAQE9ZQfX9hSv1PNGPyiOMSaVeBfTIO29QxYz+ij/hZudK0cfpCG1HXWstg==}
peerDependencies:
eslint: '>=9.0.0'
typescript: '>=3.3.1'
@@ -3965,8 +3966,8 @@ packages:
react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
- resolution: {integrity: sha512-qOVgKJg1+At15NpeUP+eJgCHvTCgXsogweq87Ri/Ix7PkqQHg4sdaXmSFqKlgaIXE4kW0g25LE68W87UANlHtw==}
+ resolution: {integrity: sha512-eMJxgjRzBaj3olkP4cBamHDXL79A8FC6u1GcsO1D1Tsx8bw/LLXUJCaoajVxtnhD3A1IJqIT8IcRJjgBIPJq4w==}
engines: {node: '>=20.9.0'}
hasBin: true
peerDependencies:
@@ -5265,7 +5266,7 @@ snapshots:
dependencies:
- '@babel/parser': 7.29.3
+ '@babel/parser': 7.29.7
'@babel/types': 7.29.0
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
@@ -6177,34 +6178,34 @@ snapshots:
'@tybys/wasm-util': 0.10.0
optional: true
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
dependencies:
fast-glob: 3.3.1
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
'@noble/[email protected]': {}
@@ -6911,9 +6912,9 @@ snapshots:
optional: true
optionalDependencies:
react: 19.2.3
'@wyw-in-js/[email protected]':
@@ -7609,9 +7610,9 @@ snapshots:
dependencies:
- '@next/eslint-plugin-next': 16.2.6
+ '@next/eslint-plugin-next': 16.2.7
eslint-import-resolver-node: 0.3.9
eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected])([email protected]))
@@ -7714,7 +7715,7 @@ snapshots:
dependencies:
'@babel/core': 7.28.0
- '@babel/parser': 7.28.0
+ '@babel/parser': 7.29.7
hermes-parser: 0.25.1
zod: 3.25.76
@@ -8051,7 +8052,7 @@ snapshots:
optional: true
dependencies:
'@formatjs/intl-localematcher': 0.6.2
'@orama/orama': 3.1.16
@@ -8073,20 +8074,20 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.2
lucide-react: 0.474.0([email protected])
react: 19.2.3
react-dom: 19.2.3([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
'@mdx-js/mdx': 3.1.1
'@standard-schema/spec': 1.1.0
chokidar: 4.0.3
esbuild: 0.25.11
estree-util-value-to-estree: 3.5.0
js-yaml: 4.1.1
lru-cache: 11.2.4
mdast-util-to-markdown: 2.1.2
@@ -8100,7 +8101,7 @@ snapshots:
unist-util-visit: 5.0.0
zod: 4.3.6
optionalDependencies:
react: 19.2.3
transitivePeerDependencies:
@@ -9264,9 +9265,9 @@ snapshots:
react: 19.2.3
react-dom: 19.2.3([email protected])
dependencies:
- '@next/env': 16.2.6
+ '@next/env': 16.2.7
'@swc/helpers': 0.5.15
baseline-browser-mapping: 2.10.0
caniuse-lite: 1.0.30001759
@@ -9275,14 +9276,14 @@ snapshots:
react-dom: 19.2.3([email protected])
styled-jsx: 5.1.6(@babel/[email protected])([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 16.2.6
- '@next/swc-darwin-x64': 16.2.6
- '@next/swc-linux-arm64-gnu': 16.2.6
- '@next/swc-linux-arm64-musl': 16.2.6
- '@next/swc-linux-x64-gnu': 16.2.6
- '@next/swc-linux-x64-musl': 16.2.6
- '@next/swc-win32-arm64-msvc': 16.2.6
- '@next/swc-win32-x64-msvc': 16.2.6
+ '@next/swc-darwin-arm64': 16.2.7
+ '@next/swc-darwin-x64': 16.2.7
+ '@next/swc-linux-arm64-gnu': 16.2.7
+ '@next/swc-linux-arm64-musl': 16.2.7
+ '@next/swc-linux-x64-gnu': 16.2.7
+ '@next/swc-linux-x64-musl': 16.2.7
+ '@next/swc-win32-arm64-msvc': 16.2.7
+ '@next/swc-win32-x64-msvc': 16.2.7
'@opentelemetry/api': 1.9.0
sharp: 0.34.5
transitivePeerDependencies:
@@ -9310,12 +9311,12 @@ snapshots:
dependencies:
'@standard-schema/spec': 1.0.0
react: 19.2.3
optionalDependencies: