chore(deps): bump Next.js to version 16.2.6 (#4143)

This commit is contained in:
Huang Xin
2026-05-13 16:57:06 +08:00
committed by GitHub
parent fc71ca9857
commit e8df651d5a
7 changed files with 3629 additions and 4094 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "ignoreUnknown": true },
"formatter": { "enabled": false },
+6 -6
View File
@@ -87,8 +87,8 @@
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@emnapi/core": "^1.7.1",
"@emnapi/runtime": "^1.7.1",
"@emnapi/core": "^1.8.1",
"@emnapi/runtime": "^1.8.1",
"@fabianlars/tauri-plugin-oauth": "2",
"@napi-rs/wasm-runtime": "^1.1.1",
"@opennextjs/cloudflare": "^1.19.4",
@@ -102,6 +102,9 @@
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@readest/turso-database-common": "0.6.0-pre.28-readest.0",
"@readest/turso-database-wasm": "0.6.0-pre.28-readest.0",
"@readest/turso-database-wasm-common": "0.6.0-pre.28-readest.0",
"@serwist/next": "^9.5.6",
"@serwist/webpack-plugin": "^9.5.6",
"@stripe/react-stripe-js": "^6.2.0",
@@ -123,9 +126,6 @@
"@tauri-apps/plugin-shell": "~2.3.5",
"@tauri-apps/plugin-updater": "^2.10.0",
"@tauri-apps/plugin-websocket": "~2.4.2",
"@readest/turso-database-common": "0.6.0-pre.28-readest.0",
"@readest/turso-database-wasm-common": "0.6.0-pre.28-readest.0",
"@readest/turso-database-wasm": "0.6.0-pre.28-readest.0",
"@tybys/wasm-util": "^0.10.1",
"@zip.js/zip.js": "^2.8.16",
"abortcontroller-polyfill": "^1.7.8",
@@ -160,7 +160,7 @@
"lunr": "^2.3.9",
"marked": "^15.0.12",
"nanoid": "^5.1.6",
"next": "16.2.3",
"next": "16.2.6",
"next-view-transitions": "^0.3.5",
"nunjucks": "^3.2.4",
"overlayscrollbars": "^2.11.4",
+1 -33
View File
@@ -15,7 +15,7 @@
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\""
},
"packageManager": "pnpm@10.33.0",
"packageManager": "pnpm@11.1.1",
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@sindresorhus/tsconfig": "^6.0.0",
@@ -29,37 +29,5 @@
"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}": [
"prettier --write"
]
},
"pnpm": {
"overrides": {
"glob": ">=11.1.0",
"jws": ">=4.0.1",
"vite": ">=7.3.2 <8",
"srvx": ">=0.11.13",
"rollup": ">=4.59.0",
"undici": ">=7.24.0",
"flatted": ">=3.4.2",
"body-parser": ">=2.2.1",
"dompurify": ">=3.4.0",
"i18next-http-backend": ">=3.0.5",
"picomatch": ">=4.0.4",
"path-to-regexp": ">=8.4.0",
"protobufjs": ">=7.5.5",
"serialize-javascript": ">=7.0.5",
"fast-xml-parser": ">=5.7.0",
"lodash": ">=4.18.0",
"lodash-es": ">=4.18.0",
"basic-ftp": ">=5.3.0",
"qs": ">=6.14.2",
"@babel/runtime": ">=7.26.10",
"@babel/helpers": ">=7.26.10",
"mdast-util-gfm-autolink-literal": "2.0.1",
"@ai-sdk/provider-utils": "4.0.8",
"uuid": ">=14.0.0"
},
"patchedDependencies": {
"mdast-util-gfm-autolink-literal@2.0.1": "patches/mdast-util-gfm-autolink-literal@2.0.1.patch",
"@ai-sdk/provider-utils@4.0.8": "patches/@ai-sdk__provider-utils@4.0.8.patch"
}
}
}
@@ -0,0 +1,32 @@
diff --git a/dist/index.js b/dist/index.js
index f6fa5a295309e45bfa9d0114976751706c6613bf..507892f405ed6843484bc6fbb09441338e81ab51 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1824,8 +1824,9 @@ function stringifyRegExpWithFlags(regex, refs) {
}
if (flags.m) {
if (source[i] === "^") {
- pattern += `(^|(?<=[\r
-]))`;
+ // Changed from lookbehind (?<=[\r\n]) to support older iOS Safari (before 16.4)
+ pattern += `(^|[\r
+])`;
continue;
} else if (source[i] === "$") {
pattern += `($|(?=[\r
diff --git a/dist/index.mjs b/dist/index.mjs
index 6f3887f5cc4b62a386978f7504b8083a7f56b82f..715483c0b59f52d64b3bf96c6fa0371bb5456e8d 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -1734,8 +1734,9 @@ function stringifyRegExpWithFlags(regex, refs) {
}
if (flags.m) {
if (source[i] === "^") {
- pattern += `(^|(?<=[\r
-]))`;
+ // Changed from lookbehind (?<=[\r\n]) to support older iOS Safari (before 16.4)
+ pattern += `(^|[\r
+])`;
continue;
} else if (source[i] === "$") {
pattern += `($|(?=[\r
@@ -1,8 +1,8 @@
diff --git a/dist/index.js b/dist/index.js
index a7c8107059cdc122cffbe5c9a4a8404246158d84..e277b9fd39a874cfd8eb1ea8202b8692ee375983 100644
index 7e0992f6ac16a2cdcd11f449e6941fac52df1be5..c5c66aa6b55651a76c247005d981596fd65fa2d5 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1325,8 +1325,9 @@ function stringifyRegExpWithFlags(regex, refs) {
@@ -1528,8 +1528,9 @@ function stringifyRegExpWithFlags(regex, refs) {
}
if (flags.m) {
if (source[i] === "^") {
@@ -15,10 +15,10 @@ index a7c8107059cdc122cffbe5c9a4a8404246158d84..e277b9fd39a874cfd8eb1ea8202b8692
} else if (source[i] === "$") {
pattern += `($|(?=[\r
diff --git a/dist/index.mjs b/dist/index.mjs
index 1633e16ab00ccf75fa72d15b53a1db58fadf8f94..f7be7226a93d55d501ec251e9366285c62fc1726 100644
index 1cccf8e34ba5107a5b3d015dd03b69296b389c82..28d3f09ee2517e4ec0ee0f0b0ef1dbaffebef252 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -1237,8 +1237,9 @@ function stringifyRegExpWithFlags(regex, refs) {
@@ -1439,8 +1439,9 @@ function stringifyRegExpWithFlags(regex, refs) {
}
if (flags.m) {
if (source[i] === "^") {
@@ -31,7 +31,7 @@ index 1633e16ab00ccf75fa72d15b53a1db58fadf8f94..f7be7226a93d55d501ec251e9366285c
} else if (source[i] === "$") {
pattern += `($|(?=[\r
diff --git a/src/to-json-schema/zod3-to-json-schema/parsers/string.ts b/src/to-json-schema/zod3-to-json-schema/parsers/string.ts
index 9cc298da8ab4b80b2e0625739ff028228c8ef4b9..6566e49dc9ddf27c3aadd373d78d4e6691e78c3c 100644
index ef799980b9b6acc81b9fabffd50ed2549e0412f4..dd487f136b75dd8fd84ea10fba717e415a0b7bc9 100644
--- a/src/to-json-schema/zod3-to-json-schema/parsers/string.ts
+++ b/src/to-json-schema/zod3-to-json-schema/parsers/string.ts
@@ -388,7 +388,8 @@ function stringifyRegExpWithFlags(regex: RegExp, refs: Refs): string {
+3543 -4049
View File
File diff suppressed because it is too large Load Diff
+41
View File
@@ -2,5 +2,46 @@ packages:
- apps/*
- packages/foliate-js
allowBuilds:
core-js: true
edgedriver: true
esbuild: true
geckodriver: true
protobufjs: true
sharp: true
workerd: true
onlyBuiltDependencies:
- sharp
patchedDependencies:
'@ai-sdk/provider-utils@3.0.25': patches/@ai-sdk__provider-utils@3.0.25.patch
'@ai-sdk/provider-utils@4.0.27': patches/@ai-sdk__provider-utils@4.0.27.patch
mdast-util-gfm-autolink-literal@2.0.1: patches/mdast-util-gfm-autolink-literal@2.0.1.patch
overrides:
glob: '>=11.1.0'
jws: '>=4.0.1'
vite: '>=7.3.2 <8'
srvx: '>=0.11.13'
rollup: '>=4.59.0'
undici: '>=7.24.0'
flatted: '>=3.4.2'
body-parser: '>=2.2.1'
dompurify: '>=3.4.0'
i18next-http-backend: '>=3.0.5'
picomatch: '>=4.0.4'
path-to-regexp: '>=8.4.0'
protobufjs: '>=7.5.5'
serialize-javascript: '>=7.0.5'
fast-xml-parser: '>=5.7.0'
lodash: '>=4.18.0'
lodash-es: '>=4.18.0'
basic-ftp: '>=5.3.0'
qs: '>=6.14.2'
'@babel/runtime': '>=7.26.10'
'@babel/helpers': '>=7.26.10'
mdast-util-gfm-autolink-literal: 2.0.1
uuid: '>=14.0.0'
'@emnapi/core': 1.8.1
'@emnapi/runtime': 1.8.1