vinext 1.4.3 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1238) hide show
  1. package/README.md +3 -1
  2. package/dist/_virtual/_rolldown/runtime.js +1 -2
  3. package/dist/build/action-owner-manifest.d.ts +0 -2
  4. package/dist/build/action-owner-manifest.js +1 -2
  5. package/dist/build/app-page-static-eligibility.d.ts +0 -2
  6. package/dist/build/app-page-static-eligibility.js +2 -3
  7. package/dist/build/assets-ignore.d.ts +1 -3
  8. package/dist/build/assets-ignore.js +1 -2
  9. package/dist/build/clean-output.d.ts +0 -2
  10. package/dist/build/clean-output.js +1 -2
  11. package/dist/build/client-build-config.d.ts +9 -6
  12. package/dist/build/client-build-config.js +40 -11
  13. package/dist/build/client-reference-async.d.ts +0 -2
  14. package/dist/build/client-reference-async.js +1 -2
  15. package/dist/build/client-reference-chunks.d.ts +1 -3
  16. package/dist/build/client-reference-chunks.js +2 -3
  17. package/dist/build/client-reference-groups.d.ts +0 -2
  18. package/dist/build/client-reference-groups.js +1 -2
  19. package/dist/build/css-url-assets.d.ts +0 -2
  20. package/dist/build/css-url-assets.js +1 -2
  21. package/dist/build/google-fonts/build-url.d.ts +1 -3
  22. package/dist/build/google-fonts/build-url.js +1 -2
  23. package/dist/build/google-fonts/fallback-metrics-data.json.js +1 -2
  24. package/dist/build/google-fonts/fallback-metrics.d.ts +0 -2
  25. package/dist/build/google-fonts/fallback-metrics.js +1 -2
  26. package/dist/build/google-fonts/find-font-files-in-css.d.ts +1 -3
  27. package/dist/build/google-fonts/find-font-files-in-css.js +1 -2
  28. package/dist/build/google-fonts/font-data.json.js +1 -2
  29. package/dist/build/google-fonts/font-metadata.d.ts +0 -2
  30. package/dist/build/google-fonts/font-metadata.js +1 -2
  31. package/dist/build/google-fonts/get-axes.d.ts +1 -3
  32. package/dist/build/google-fonts/get-axes.js +1 -2
  33. package/dist/build/google-fonts/sort-variants.d.ts +1 -3
  34. package/dist/build/google-fonts/sort-variants.js +1 -2
  35. package/dist/build/google-fonts/validate.d.ts +0 -2
  36. package/dist/build/google-fonts/validate.js +1 -2
  37. package/dist/build/inject-pregenerated-paths.d.ts +1 -3
  38. package/dist/build/inject-pregenerated-paths.js +2 -3
  39. package/dist/build/inline-css.d.ts +0 -2
  40. package/dist/build/inline-css.js +1 -2
  41. package/dist/build/lifecycle.d.ts +1 -3
  42. package/dist/build/lifecycle.js +2 -3
  43. package/dist/build/module-dependency-cache.d.ts +0 -2
  44. package/dist/build/module-dependency-cache.js +1 -2
  45. package/dist/build/next-client-runtime-manifests.d.ts +1 -3
  46. package/dist/build/next-client-runtime-manifests.js +2 -3
  47. package/dist/build/nitro-public-files.d.ts +1 -3
  48. package/dist/build/nitro-public-files.js +1 -2
  49. package/dist/build/output-root-externals.d.ts +1 -3
  50. package/dist/build/output-root-externals.js +1 -2
  51. package/dist/build/pages-client-assets-module.d.ts +1 -3
  52. package/dist/build/pages-client-assets-module.js +2 -3
  53. package/dist/build/precompress.d.ts +0 -2
  54. package/dist/build/precompress.js +1 -2
  55. package/dist/build/prerender-cloudflare-loader.d.ts +1 -3
  56. package/dist/build/prerender-cloudflare-loader.js +1 -2
  57. package/dist/build/prerender-paths.d.ts +2 -4
  58. package/dist/build/prerender-paths.js +22 -19
  59. package/dist/build/prerender-phase.d.ts +0 -2
  60. package/dist/build/prerender-phase.js +1 -2
  61. package/dist/build/prerender-server-entry.js +2 -3
  62. package/dist/build/prerender-server-pool.d.ts +1 -3
  63. package/dist/build/prerender-server-pool.js +1 -2
  64. package/dist/build/prerender.d.ts +1 -3
  65. package/dist/build/prerender.js +34 -29
  66. package/dist/build/preview-credentials.d.ts +1 -3
  67. package/dist/build/preview-credentials.js +1 -2
  68. package/dist/build/public-dir-conflict.d.ts +1 -3
  69. package/dist/build/public-dir-conflict.js +1 -2
  70. package/dist/build/report.d.ts +1 -3
  71. package/dist/build/report.js +1 -2
  72. package/dist/build/run-prerender.d.ts +1 -3
  73. package/dist/build/run-prerender.js +7 -8
  74. package/dist/build/server-actions-encryption-key.d.ts +0 -2
  75. package/dist/build/server-actions-encryption-key.js +1 -2
  76. package/dist/build/server-entry.d.ts +1 -3
  77. package/dist/build/server-entry.js +1 -2
  78. package/dist/build/server-manifest.d.ts +1 -3
  79. package/dist/build/server-manifest.js +1 -2
  80. package/dist/build/ssr-manifest.d.ts +1 -3
  81. package/dist/build/ssr-manifest.js +1 -2
  82. package/dist/build/standalone.d.ts +0 -2
  83. package/dist/build/standalone.js +2 -3
  84. package/dist/build/static-export.d.ts +2 -4
  85. package/dist/build/static-export.js +2 -3
  86. package/dist/cache/cache-adapters-virtual.d.ts +0 -2
  87. package/dist/cache/cache-adapters-virtual.js +1 -2
  88. package/dist/check.d.ts +0 -2
  89. package/dist/check.js +2 -3
  90. package/dist/cli-args.d.ts +0 -2
  91. package/dist/cli-args.js +1 -2
  92. package/dist/cli-dev-config.d.ts +1 -3
  93. package/dist/cli-dev-config.js +1 -2
  94. package/dist/cli.js +5 -6
  95. package/dist/client/app-nav-failure-handler.d.ts +1 -3
  96. package/dist/client/app-nav-failure-handler.js +1 -2
  97. package/dist/client/browser-globals.d.ts +1 -3
  98. package/dist/client/browser-globals.js +1 -2
  99. package/dist/client/client-redirect-matcher.d.ts +1 -3
  100. package/dist/client/client-redirect-matcher.js +1 -2
  101. package/dist/client/client-redirects.d.ts +0 -2
  102. package/dist/client/client-redirects.js +1 -2
  103. package/dist/client/client-rewrite-matcher.d.ts +1 -3
  104. package/dist/client/client-rewrite-matcher.js +2 -3
  105. package/dist/client/client-rewrite-params.d.ts +1 -3
  106. package/dist/client/client-rewrite-params.js +1 -2
  107. package/dist/client/client-rewrites.d.ts +0 -2
  108. package/dist/client/client-rewrites.js +1 -2
  109. package/dist/client/dev-error-overlay-store.d.ts +0 -2
  110. package/dist/client/dev-error-overlay-store.js +1 -2
  111. package/dist/client/dev-error-overlay.d.ts +1 -3
  112. package/dist/client/dev-error-overlay.js +3 -4
  113. package/dist/client/instrumentation-client-inject.d.ts +1 -3
  114. package/dist/client/instrumentation-client-inject.js +1 -2
  115. package/dist/client/instrumentation-client-state.d.ts +1 -3
  116. package/dist/client/instrumentation-client-state.js +1 -2
  117. package/dist/client/instrumentation-client.d.ts +1 -3
  118. package/dist/client/instrumentation-client.js +1 -2
  119. package/dist/client/navigation-runtime.d.ts +3 -4
  120. package/dist/client/navigation-runtime.js +2 -3
  121. package/dist/client/pages-router-link-navigation.d.ts +0 -2
  122. package/dist/client/pages-router-link-navigation.js +1 -2
  123. package/dist/client/react-instance-bootstrap.js +1 -2
  124. package/dist/client/react-instance.d.ts +1 -3
  125. package/dist/client/react-instance.js +1 -2
  126. package/dist/client/validate-module-path.d.ts +1 -3
  127. package/dist/client/validate-module-path.js +1 -2
  128. package/dist/client/vinext-next-data.d.ts +0 -2
  129. package/dist/client/vinext-next-data.js +1 -2
  130. package/dist/client/window-next.d.ts +0 -2
  131. package/dist/client/window-next.js +1 -2
  132. package/dist/config/config-matchers.d.ts +0 -2
  133. package/dist/config/config-matchers.js +1 -2
  134. package/dist/config/config-source.d.ts +1 -3
  135. package/dist/config/config-source.js +1 -2
  136. package/dist/config/destination-params.d.ts +1 -3
  137. package/dist/config/destination-params.js +1 -2
  138. package/dist/config/dotenv.d.ts +0 -2
  139. package/dist/config/dotenv.js +1 -2
  140. package/dist/config/header-params.d.ts +1 -3
  141. package/dist/config/header-params.js +1 -2
  142. package/dist/config/next-config.d.ts +0 -2
  143. package/dist/config/next-config.js +6 -7
  144. package/dist/config/prerender.d.ts +0 -2
  145. package/dist/config/prerender.js +2 -3
  146. package/dist/config/request-context.d.ts +1 -3
  147. package/dist/config/request-context.js +1 -2
  148. package/dist/config/server-external-packages.d.ts +1 -3
  149. package/dist/config/server-external-packages.js +1 -2
  150. package/dist/config/tsconfig-paths.d.ts +0 -2
  151. package/dist/config/tsconfig-paths.js +2 -3
  152. package/dist/deps/.pnpm/am-i-vibing@0.5.0/deps/am-i-vibing/dist/detector-1yx2Hoe0.js +1 -2
  153. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/dbcs-codec.js +1 -2
  154. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/dbcs-data.js +1 -2
  155. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/index.js +1 -2
  156. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/internal.js +1 -2
  157. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/sbcs-codec.js +1 -2
  158. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/sbcs-data-generated.js +1 -2
  159. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/sbcs-data.js +1 -2
  160. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/big5-added.json.js +1 -2
  161. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/cp936.json.js +1 -2
  162. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/cp949.json.js +1 -2
  163. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/cp950.json.js +1 -2
  164. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/eucjp.json.js +1 -2
  165. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/gb18030-ranges.json.js +1 -2
  166. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/gbk-added.json.js +1 -2
  167. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/tables/shiftjis.json.js +1 -2
  168. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/utf16.js +1 -2
  169. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/encodings/utf7.js +1 -2
  170. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/lib/bom-handling.js +1 -2
  171. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/lib/extend-node.js +1 -2
  172. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/lib/index.js +1 -2
  173. package/dist/deps/.pnpm/iconv-lite@0.4.24/deps/iconv-lite/lib/streams.js +1 -2
  174. package/dist/deps/.pnpm/ignore@5.3.2/deps/ignore/index.js +1 -2
  175. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/detector.js +1 -2
  176. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/lookup.js +2 -3
  177. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/bmp.js +1 -2
  178. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/cur.js +2 -3
  179. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/dds.js +1 -2
  180. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/gif.js +1 -2
  181. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/heif.js +1 -2
  182. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/icns.js +1 -2
  183. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/ico.js +1 -2
  184. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/index.js +3 -4
  185. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/j2c.js +1 -2
  186. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/jp2.js +1 -2
  187. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/jpg.js +1 -2
  188. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/jxl-stream.js +2 -3
  189. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/jxl.js +2 -3
  190. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/ktx.js +1 -2
  191. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/png.js +1 -2
  192. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/pnm.js +1 -2
  193. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/psd.js +1 -2
  194. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/svg.js +1 -2
  195. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/tga.js +1 -2
  196. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/tiff.js +1 -2
  197. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/utils.js +1 -2
  198. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/types/webp.js +1 -2
  199. package/dist/deps/.pnpm/image-size@2.0.4/deps/image-size/dist/esm/utils/bit-reader.js +1 -2
  200. package/dist/deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js +1 -2
  201. package/dist/deps/.pnpm/process-ancestry@0.1.0/deps/process-ancestry/dist/index.js +1 -2
  202. package/dist/deps/.pnpm/safer-buffer@2.1.2/deps/safer-buffer/safer.js +1 -2
  203. package/dist/deps/.pnpm/ua-parser-js@1.0.35/deps/ua-parser-js/src/ua-parser.js +1 -2
  204. package/dist/entries/app-browser-entry.d.ts +1 -3
  205. package/dist/entries/app-browser-entry.js +3 -4
  206. package/dist/entries/app-rsc-entry.d.ts +4 -4
  207. package/dist/entries/app-rsc-entry.js +57 -29
  208. package/dist/entries/app-rsc-manifest.d.ts +17 -4
  209. package/dist/entries/app-rsc-manifest.js +28 -7
  210. package/dist/entries/app-ssr-entry.d.ts +1 -3
  211. package/dist/entries/app-ssr-entry.js +1 -2
  212. package/dist/entries/pages-client-entry.d.ts +2 -4
  213. package/dist/entries/pages-client-entry.js +7 -8
  214. package/dist/entries/pages-server-entry.d.ts +0 -2
  215. package/dist/entries/pages-server-entry.js +3 -4
  216. package/dist/entries/runtime-entry-module.d.ts +1 -3
  217. package/dist/entries/runtime-entry-module.js +1 -2
  218. package/dist/image/image-adapters-virtual.d.ts +0 -2
  219. package/dist/image/image-adapters-virtual.js +1 -2
  220. package/dist/index.d.ts +3 -5
  221. package/dist/index.js +106 -80
  222. package/dist/init-cloudflare.d.ts +1 -3
  223. package/dist/init-cloudflare.js +6 -8
  224. package/dist/init-platform.d.ts +1 -3
  225. package/dist/init-platform.js +1 -2
  226. package/dist/init.d.ts +0 -2
  227. package/dist/init.js +2 -3
  228. package/dist/plugins/action-owner-manifest.d.ts +1 -3
  229. package/dist/plugins/action-owner-manifest.js +1 -2
  230. package/dist/plugins/ast-scope.d.ts +1 -3
  231. package/dist/plugins/ast-scope.js +1 -2
  232. package/dist/plugins/ast-utils.d.ts +1 -3
  233. package/dist/plugins/ast-utils.js +1 -2
  234. package/dist/plugins/async-hooks-stub.d.ts +1 -3
  235. package/dist/plugins/async-hooks-stub.js +1 -2
  236. package/dist/plugins/client-compile-hints.d.ts +1 -3
  237. package/dist/plugins/client-compile-hints.js +1 -2
  238. package/dist/plugins/client-reference-dedup.d.ts +0 -2
  239. package/dist/plugins/client-reference-dedup.js +1 -2
  240. package/dist/plugins/cloudflare-dev-module-urls.d.ts +0 -2
  241. package/dist/plugins/cloudflare-dev-module-urls.js +3 -3
  242. package/dist/plugins/commonjs-esm-facade.d.ts +1 -3
  243. package/dist/plugins/commonjs-esm-facade.js +1 -2
  244. package/dist/plugins/commonjs-syntax.d.ts +1 -3
  245. package/dist/plugins/commonjs-syntax.js +0 -1
  246. package/dist/plugins/css-data-url.d.ts +1 -3
  247. package/dist/plugins/css-data-url.js +1 -2
  248. package/dist/plugins/css-module-imports.d.ts +1 -3
  249. package/dist/plugins/css-module-imports.js +1 -2
  250. package/dist/plugins/css-target.d.ts +1 -3
  251. package/dist/plugins/css-target.js +1 -2
  252. package/dist/plugins/dynamic-preload-metadata.d.ts +0 -2
  253. package/dist/plugins/dynamic-preload-metadata.js +5 -6
  254. package/dist/plugins/environment.d.ts +0 -2
  255. package/dist/plugins/environment.js +1 -2
  256. package/dist/plugins/extensionless-dynamic-import.d.ts +1 -3
  257. package/dist/plugins/extensionless-dynamic-import.js +4 -5
  258. package/dist/plugins/fonts.d.ts +1 -3
  259. package/dist/plugins/fonts.js +3 -4
  260. package/dist/plugins/ignore-dynamic-requests.d.ts +0 -2
  261. package/dist/plugins/ignore-dynamic-requests.js +4 -5
  262. package/dist/plugins/import-meta-url.d.ts +0 -2
  263. package/dist/plugins/import-meta-url.js +3 -4
  264. package/dist/plugins/instrumentation-client.d.ts +1 -3
  265. package/dist/plugins/instrumentation-client.js +2 -3
  266. package/dist/plugins/middleware-export-validation.d.ts +1 -3
  267. package/dist/plugins/middleware-export-validation.js +2 -3
  268. package/dist/plugins/middleware-server-only.d.ts +1 -3
  269. package/dist/plugins/middleware-server-only.js +1 -2
  270. package/dist/plugins/next-intl-catalog.d.ts +1 -3
  271. package/dist/plugins/next-intl-catalog.js +2 -3
  272. package/dist/plugins/nitro-dev-deps-optimizer-gate.d.ts +17 -0
  273. package/dist/plugins/nitro-dev-deps-optimizer-gate.js +41 -0
  274. package/dist/plugins/og-asset-ownership.d.ts +1 -3
  275. package/dist/plugins/og-asset-ownership.js +2 -3
  276. package/dist/plugins/og-assets.d.ts +0 -2
  277. package/dist/plugins/og-assets.js +2 -3
  278. package/dist/plugins/og-harfbuzz.d.ts +1 -3
  279. package/dist/plugins/og-harfbuzz.js +2 -3
  280. package/dist/plugins/optimize-imports.d.ts +0 -2
  281. package/dist/plugins/optimize-imports.js +2 -3
  282. package/dist/plugins/pages-node-externals.d.ts +0 -2
  283. package/dist/plugins/pages-node-externals.js +2 -3
  284. package/dist/plugins/postcss.d.ts +1 -3
  285. package/dist/plugins/postcss.js +1 -2
  286. package/dist/plugins/remove-console.d.ts +0 -2
  287. package/dist/plugins/remove-console.js +1 -2
  288. package/dist/plugins/require-condition-resolution.d.ts +0 -2
  289. package/dist/plugins/require-condition-resolution.js +2 -3
  290. package/dist/plugins/require-context.d.ts +1 -3
  291. package/dist/plugins/require-context.js +2 -3
  292. package/dist/plugins/rsc-client-reference-loaders.d.ts +1 -3
  293. package/dist/plugins/rsc-client-reference-loaders.js +3 -4
  294. package/dist/plugins/rsc-client-shim-excludes.d.ts +1 -3
  295. package/dist/plugins/rsc-client-shim-excludes.js +1 -2
  296. package/dist/plugins/rsc-reference-validation-normalizer.d.ts +1 -3
  297. package/dist/plugins/rsc-reference-validation-normalizer.js +1 -2
  298. package/dist/plugins/rsc-scan-glob-imports.d.ts +1 -3
  299. package/dist/plugins/rsc-scan-glob-imports.js +1 -2
  300. package/dist/plugins/sass.d.ts +0 -2
  301. package/dist/plugins/sass.js +2 -3
  302. package/dist/plugins/scan-build-css.d.ts +1 -3
  303. package/dist/plugins/scan-build-css.js +1 -2
  304. package/dist/plugins/server-externals-manifest.d.ts +1 -3
  305. package/dist/plugins/server-externals-manifest.js +1 -2
  306. package/dist/plugins/strip-server-exports.d.ts +0 -2
  307. package/dist/plugins/strip-server-exports.js +2 -3
  308. package/dist/plugins/styled-jsx.d.ts +0 -2
  309. package/dist/plugins/styled-jsx.js +35 -9
  310. package/dist/plugins/transform-cache.d.ts +1 -3
  311. package/dist/plugins/transform-cache.js +1 -2
  312. package/dist/plugins/transform-result.d.ts +12 -2
  313. package/dist/plugins/transform-result.js +16 -3
  314. package/dist/plugins/transitive-externals.d.ts +1 -3
  315. package/dist/plugins/transitive-externals.js +2 -3
  316. package/dist/plugins/typeof-window.d.ts +0 -2
  317. package/dist/plugins/typeof-window.js +2 -3
  318. package/dist/plugins/use-cache-callable.d.ts +0 -2
  319. package/dist/plugins/use-cache-callable.js +7 -8
  320. package/dist/plugins/wasm-module-import.d.ts +1 -3
  321. package/dist/plugins/wasm-module-import.js +1 -2
  322. package/dist/plugins/worker-image-imports.d.ts +1 -3
  323. package/dist/plugins/worker-image-imports.js +3 -4
  324. package/dist/plugins/worker-server-only-imports.d.ts +1 -3
  325. package/dist/plugins/worker-server-only-imports.js +1 -2
  326. package/dist/plugins/worker-use-server.d.ts +0 -2
  327. package/dist/plugins/worker-use-server.js +5 -6
  328. package/dist/routing/app-route-graph.d.ts +0 -2
  329. package/dist/routing/app-route-graph.js +2 -3
  330. package/dist/routing/app-route-ids.d.ts +1 -3
  331. package/dist/routing/app-route-ids.js +1 -2
  332. package/dist/routing/app-router.d.ts +0 -2
  333. package/dist/routing/app-router.js +2 -3
  334. package/dist/routing/browser-route-manifest.d.ts +0 -2
  335. package/dist/routing/browser-route-manifest.js +1 -2
  336. package/dist/routing/file-matcher.d.ts +1 -3
  337. package/dist/routing/file-matcher.js +1 -2
  338. package/dist/routing/hashed-route-patterns.d.ts +1 -3
  339. package/dist/routing/hashed-route-patterns.js +2 -3
  340. package/dist/routing/optimistic-route-trie.d.ts +0 -2
  341. package/dist/routing/optimistic-route-trie.js +1 -2
  342. package/dist/routing/pages-router.d.ts +0 -2
  343. package/dist/routing/pages-router.js +2 -3
  344. package/dist/routing/route-matching.d.ts +0 -2
  345. package/dist/routing/route-matching.js +1 -2
  346. package/dist/routing/route-pattern.d.ts +0 -2
  347. package/dist/routing/route-pattern.js +1 -2
  348. package/dist/routing/route-trie.d.ts +1 -3
  349. package/dist/routing/route-trie.js +1 -2
  350. package/dist/routing/route-validation.d.ts +1 -3
  351. package/dist/routing/route-validation.js +1 -2
  352. package/dist/routing/utils.d.ts +1 -3
  353. package/dist/routing/utils.js +1 -2
  354. package/dist/server/accept-encoding.d.ts +0 -2
  355. package/dist/server/accept-encoding.js +1 -2
  356. package/dist/server/api-handler.d.ts +1 -3
  357. package/dist/server/api-handler.js +10 -12
  358. package/dist/server/app-action-forwarding.d.ts +0 -2
  359. package/dist/server/app-action-forwarding.js +10 -14
  360. package/dist/server/app-action-request.d.ts +1 -3
  361. package/dist/server/app-action-request.js +1 -2
  362. package/dist/server/app-bfcache-id.d.ts +1 -4
  363. package/dist/server/app-bfcache-id.js +2 -9
  364. package/dist/server/app-bfcache-identity.d.ts +3 -4
  365. package/dist/server/app-bfcache-identity.js +8 -5
  366. package/dist/server/app-browser-action-result.d.ts +1 -3
  367. package/dist/server/app-browser-action-result.js +1 -2
  368. package/dist/server/app-browser-entry.js +28 -39
  369. package/dist/server/app-browser-error.d.ts +0 -2
  370. package/dist/server/app-browser-error.js +3 -4
  371. package/dist/server/app-browser-history-controller.d.ts +1 -3
  372. package/dist/server/app-browser-history-controller.js +1 -2
  373. package/dist/server/app-browser-hydration.d.ts +0 -2
  374. package/dist/server/app-browser-hydration.js +1 -2
  375. package/dist/server/app-browser-interception-context.d.ts +0 -2
  376. package/dist/server/app-browser-interception-context.js +3 -4
  377. package/dist/server/app-browser-mpa-navigation.d.ts +1 -3
  378. package/dist/server/app-browser-mpa-navigation.js +1 -2
  379. package/dist/server/app-browser-navigation-abort.d.ts +1 -3
  380. package/dist/server/app-browser-navigation-abort.js +1 -2
  381. package/dist/server/app-browser-navigation-controller.d.ts +5 -7
  382. package/dist/server/app-browser-navigation-controller.js +6 -7
  383. package/dist/server/app-browser-navigation-response.d.ts +1 -3
  384. package/dist/server/app-browser-navigation-response.js +1 -2
  385. package/dist/server/app-browser-popstate.d.ts +0 -2
  386. package/dist/server/app-browser-popstate.js +1 -2
  387. package/dist/server/app-browser-prefetch-response.d.ts +2 -4
  388. package/dist/server/app-browser-prefetch-response.js +2 -3
  389. package/dist/server/app-browser-rsc-redirect.d.ts +0 -2
  390. package/dist/server/app-browser-rsc-redirect.js +2 -3
  391. package/dist/server/app-browser-server-action-client.d.ts +1 -3
  392. package/dist/server/app-browser-server-action-client.js +9 -10
  393. package/dist/server/app-browser-server-action-navigation.d.ts +1 -3
  394. package/dist/server/app-browser-server-action-navigation.js +1 -2
  395. package/dist/server/app-browser-state.d.ts +4 -6
  396. package/dist/server/app-browser-state.js +14 -13
  397. package/dist/server/app-browser-stream.d.ts +0 -2
  398. package/dist/server/app-browser-stream.js +2 -3
  399. package/dist/server/app-browser-supplemental-refresh.d.ts +3 -5
  400. package/dist/server/app-browser-supplemental-refresh.js +6 -7
  401. package/dist/server/app-browser-visible-commit.d.ts +3 -5
  402. package/dist/server/app-browser-visible-commit.js +5 -6
  403. package/dist/server/app-client-reference-manifest.d.ts +0 -2
  404. package/dist/server/app-client-reference-manifest.js +1 -2
  405. package/dist/server/app-client-reference-preloader.d.ts +0 -2
  406. package/dist/server/app-client-reference-preloader.js +1 -2
  407. package/dist/server/app-elements-wire-key.d.ts +1 -3
  408. package/dist/server/app-elements-wire-key.js +1 -2
  409. package/dist/server/app-elements-wire.d.ts +4 -2
  410. package/dist/server/app-elements-wire.js +16 -5
  411. package/dist/server/app-elements.d.ts +0 -2
  412. package/dist/server/app-elements.js +1 -2
  413. package/dist/server/app-fallback-renderer.d.ts +10 -8
  414. package/dist/server/app-fallback-renderer.js +13 -11
  415. package/dist/server/app-fetch-tracing.d.ts +1 -3
  416. package/dist/server/app-fetch-tracing.js +1 -2
  417. package/dist/server/app-history-state.d.ts +0 -2
  418. package/dist/server/app-history-state.js +3 -4
  419. package/dist/server/app-hook-warning-suppression.d.ts +1 -3
  420. package/dist/server/app-hook-warning-suppression.js +1 -2
  421. package/dist/server/app-hydration-cache-publication.d.ts +1 -3
  422. package/dist/server/app-hydration-cache-publication.js +1 -2
  423. package/dist/server/app-inline-css-client.d.ts +0 -2
  424. package/dist/server/app-inline-css-client.js +1 -2
  425. package/dist/server/app-interception-context-header.d.ts +1 -3
  426. package/dist/server/app-interception-context-header.js +1 -2
  427. package/dist/server/app-metadata-tracing.d.ts +0 -2
  428. package/dist/server/app-metadata-tracing.js +1 -2
  429. package/dist/server/app-middleware.d.ts +0 -2
  430. package/dist/server/app-middleware.js +7 -8
  431. package/dist/server/app-mounted-layouts.d.ts +1 -3
  432. package/dist/server/app-mounted-layouts.js +1 -2
  433. package/dist/server/app-mounted-slots-header.d.ts +1 -3
  434. package/dist/server/app-mounted-slots-header.js +1 -2
  435. package/dist/server/app-optimistic-routing.d.ts +2 -4
  436. package/dist/server/app-optimistic-routing.js +4 -5
  437. package/dist/server/app-page-boundary-render.d.ts +8 -8
  438. package/dist/server/app-page-boundary-render.js +16 -16
  439. package/dist/server/app-page-boundary.d.ts +0 -2
  440. package/dist/server/app-page-boundary.js +3 -4
  441. package/dist/server/app-page-cache-finalizer.d.ts +1 -3
  442. package/dist/server/app-page-cache-finalizer.js +8 -9
  443. package/dist/server/app-page-cache-render.d.ts +3 -5
  444. package/dist/server/app-page-cache-render.js +5 -6
  445. package/dist/server/app-page-cache.d.ts +2 -4
  446. package/dist/server/app-page-cache.js +9 -10
  447. package/dist/server/app-page-dispatch.d.ts +17 -12
  448. package/dist/server/app-page-dispatch.js +55 -38
  449. package/dist/server/app-page-element-builder.d.ts +5 -7
  450. package/dist/server/app-page-element-builder.js +16 -17
  451. package/dist/server/app-page-execution.d.ts +0 -2
  452. package/dist/server/app-page-execution.js +5 -6
  453. package/dist/server/app-page-head.d.ts +4 -6
  454. package/dist/server/app-page-head.js +4 -5
  455. package/dist/server/app-page-http-access-fallback-metadata.d.ts +2 -4
  456. package/dist/server/app-page-http-access-fallback-metadata.js +4 -5
  457. package/dist/server/app-page-intercept-segment-config.d.ts +0 -2
  458. package/dist/server/app-page-intercept-segment-config.js +1 -2
  459. package/dist/server/app-page-layout-gate.d.ts +0 -2
  460. package/dist/server/app-page-layout-gate.js +1 -2
  461. package/dist/server/app-page-method.d.ts +0 -2
  462. package/dist/server/app-page-method.js +3 -4
  463. package/dist/server/app-page-navigation-params.d.ts +0 -2
  464. package/dist/server/app-page-navigation-params.js +1 -2
  465. package/dist/server/app-page-params.d.ts +1 -3
  466. package/dist/server/app-page-params.js +1 -2
  467. package/dist/server/app-page-ppr-runtime.d.ts +1 -3
  468. package/dist/server/app-page-ppr-runtime.js +2 -3
  469. package/dist/server/app-page-probe.d.ts +0 -2
  470. package/dist/server/app-page-probe.js +1 -2
  471. package/dist/server/app-page-render-identity.d.ts +0 -2
  472. package/dist/server/app-page-render-identity.js +3 -4
  473. package/dist/server/app-page-render-observation.d.ts +1 -3
  474. package/dist/server/app-page-render-observation.js +4 -5
  475. package/dist/server/app-page-render.d.ts +6 -8
  476. package/dist/server/app-page-render.js +23 -24
  477. package/dist/server/app-page-request.d.ts +20 -2
  478. package/dist/server/app-page-request.js +33 -6
  479. package/dist/server/app-page-response.d.ts +0 -2
  480. package/dist/server/app-page-response.js +4 -5
  481. package/dist/server/app-page-route-wiring.d.ts +4 -6
  482. package/dist/server/app-page-route-wiring.js +15 -16
  483. package/dist/server/app-page-rsc-render-status.d.ts +2 -4
  484. package/dist/server/app-page-rsc-render-status.js +2 -3
  485. package/dist/server/app-page-search-params-observation.d.ts +0 -2
  486. package/dist/server/app-page-search-params-observation.js +2 -3
  487. package/dist/server/app-page-segment-plan.d.ts +0 -2
  488. package/dist/server/app-page-segment-plan.js +2 -3
  489. package/dist/server/app-page-segment-state.d.ts +1 -3
  490. package/dist/server/app-page-segment-state.js +1 -2
  491. package/dist/server/app-page-stream.d.ts +1 -3
  492. package/dist/server/app-page-stream.js +5 -6
  493. package/dist/server/app-page-tracing.d.ts +1 -3
  494. package/dist/server/app-page-tracing.js +2 -3
  495. package/dist/server/app-pages-bridge.d.ts +1 -3
  496. package/dist/server/app-pages-bridge.js +5 -6
  497. package/dist/server/app-post-middleware-context.d.ts +1 -3
  498. package/dist/server/app-post-middleware-context.js +2 -3
  499. package/dist/server/app-ppr-fallback-shell-render.d.ts +0 -2
  500. package/dist/server/app-ppr-fallback-shell-render.js +1 -2
  501. package/dist/server/app-ppr-fallback-shell.d.ts +0 -2
  502. package/dist/server/app-ppr-fallback-shell.js +1 -2
  503. package/dist/server/app-prerender-endpoints.d.ts +0 -2
  504. package/dist/server/app-prerender-endpoints.js +2 -3
  505. package/dist/server/app-prerender-static-params.d.ts +0 -2
  506. package/dist/server/app-prerender-static-params.js +2 -3
  507. package/dist/server/app-render-abort-error.d.ts +1 -3
  508. package/dist/server/app-render-abort-error.js +1 -2
  509. package/dist/server/app-render-dependency.d.ts +1 -3
  510. package/dist/server/app-render-dependency.js +1 -2
  511. package/dist/server/app-request-context.d.ts +1 -3
  512. package/dist/server/app-request-context.js +1 -2
  513. package/dist/server/app-request-stage-context.d.ts +1 -3
  514. package/dist/server/app-request-stage-context.js +1 -2
  515. package/dist/server/app-request-stage-dispatch.d.ts +3 -5
  516. package/dist/server/app-request-stage-dispatch.js +6 -7
  517. package/dist/server/app-request-stage-independent-entry.d.ts +1 -3
  518. package/dist/server/app-request-stage-independent-entry.js +9 -10
  519. package/dist/server/app-response-header-provenance.d.ts +1 -3
  520. package/dist/server/app-response-header-provenance.js +1 -2
  521. package/dist/server/app-response-stage-entry.d.ts +1 -3
  522. package/dist/server/app-response-stage-entry.js +9 -10
  523. package/dist/server/app-route-handler-cache.d.ts +2 -4
  524. package/dist/server/app-route-handler-cache.js +4 -5
  525. package/dist/server/app-route-handler-dispatch.d.ts +8 -3
  526. package/dist/server/app-route-handler-dispatch.js +153 -26
  527. package/dist/server/app-route-handler-execution.d.ts +4 -6
  528. package/dist/server/app-route-handler-execution.js +12 -12
  529. package/dist/server/app-route-handler-middleware-context.d.ts +1 -3
  530. package/dist/server/app-route-handler-middleware-context.js +1 -2
  531. package/dist/server/app-route-handler-policy.d.ts +18 -3
  532. package/dist/server/app-route-handler-policy.js +28 -5
  533. package/dist/server/app-route-handler-response.d.ts +4 -3
  534. package/dist/server/app-route-handler-response.js +45 -8
  535. package/dist/server/app-route-handler-runtime.d.ts +0 -2
  536. package/dist/server/app-route-handler-runtime.js +4 -5
  537. package/dist/server/app-route-module-loader.d.ts +0 -2
  538. package/dist/server/app-route-module-loader.js +1 -2
  539. package/dist/server/app-route-request-built-ins.d.ts +1 -3
  540. package/dist/server/app-route-request-built-ins.js +1 -2
  541. package/dist/server/app-route-tree-prefetch.d.ts +0 -2
  542. package/dist/server/app-route-tree-prefetch.js +2 -3
  543. package/dist/server/app-route-tree.d.ts +1 -3
  544. package/dist/server/app-route-tree.js +1 -2
  545. package/dist/server/app-router-entry.d.ts +1 -3
  546. package/dist/server/app-router-entry.js +8 -9
  547. package/dist/server/app-rsc-cache-busting.d.ts +1 -3
  548. package/dist/server/app-rsc-cache-busting.js +4 -5
  549. package/dist/server/app-rsc-combined-handler.d.ts +3 -5
  550. package/dist/server/app-rsc-combined-handler.js +3 -4
  551. package/dist/server/app-rsc-embedded-chunks.d.ts +1 -3
  552. package/dist/server/app-rsc-embedded-chunks.js +1 -2
  553. package/dist/server/app-rsc-error-handler.d.ts +0 -2
  554. package/dist/server/app-rsc-error-handler.js +2 -3
  555. package/dist/server/app-rsc-errors.d.ts +0 -2
  556. package/dist/server/app-rsc-errors.js +4 -5
  557. package/dist/server/app-rsc-handler.d.ts +24 -8
  558. package/dist/server/app-rsc-handler.js +382 -296
  559. package/dist/server/app-rsc-redirect-flight.d.ts +1 -3
  560. package/dist/server/app-rsc-redirect-flight.js +1 -2
  561. package/dist/server/app-rsc-render-mode.d.ts +1 -3
  562. package/dist/server/app-rsc-render-mode.js +1 -2
  563. package/dist/server/app-rsc-request-normalization.d.ts +0 -2
  564. package/dist/server/app-rsc-request-normalization.js +8 -9
  565. package/dist/server/app-rsc-response-finalizer.d.ts +2 -2
  566. package/dist/server/app-rsc-response-finalizer.js +15 -12
  567. package/dist/server/app-rsc-response-stage.d.ts +3 -5
  568. package/dist/server/app-rsc-response-stage.js +30 -29
  569. package/dist/server/app-rsc-route-matching.d.ts +0 -2
  570. package/dist/server/app-rsc-route-matching.js +4 -5
  571. package/dist/server/app-rsc-state-fingerprint.d.ts +1 -3
  572. package/dist/server/app-rsc-state-fingerprint.js +1 -2
  573. package/dist/server/app-rsc-vary.d.ts +1 -3
  574. package/dist/server/app-rsc-vary.js +1 -2
  575. package/dist/server/app-segment-config.d.ts +0 -2
  576. package/dist/server/app-segment-config.js +1 -2
  577. package/dist/server/app-server-action-execution.d.ts +4 -6
  578. package/dist/server/app-server-action-execution.js +27 -30
  579. package/dist/server/app-ssr-entry.d.ts +1 -3
  580. package/dist/server/app-ssr-entry.js +31 -32
  581. package/dist/server/app-ssr-error-meta.d.ts +0 -2
  582. package/dist/server/app-ssr-error-meta.js +1 -2
  583. package/dist/server/app-ssr-router-instance.d.ts +1 -3
  584. package/dist/server/app-ssr-router-instance.js +2 -3
  585. package/dist/server/app-ssr-search-params-gate.d.ts +0 -2
  586. package/dist/server/app-ssr-search-params-gate.js +1 -2
  587. package/dist/server/app-ssr-stream.d.ts +0 -2
  588. package/dist/server/app-ssr-stream.js +1 -2
  589. package/dist/server/app-static-generation.d.ts +0 -2
  590. package/dist/server/app-static-generation.js +1 -2
  591. package/dist/server/app-streamed-client-references.d.ts +1 -3
  592. package/dist/server/app-streamed-client-references.js +4 -4
  593. package/dist/server/app-visited-response-cache.d.ts +1 -3
  594. package/dist/server/app-visited-response-cache.js +4 -16
  595. package/dist/server/app-worker-stages.d.ts +1 -3
  596. package/dist/server/app-worker-stages.js +4 -5
  597. package/dist/server/artifact-compatibility.d.ts +0 -2
  598. package/dist/server/artifact-compatibility.js +2 -3
  599. package/dist/server/before-interactive-head.d.ts +1 -3
  600. package/dist/server/before-interactive-head.js +1 -2
  601. package/dist/server/bfcache-identity.d.ts +0 -2
  602. package/dist/server/bfcache-identity.js +1 -2
  603. package/dist/server/cache-control.d.ts +0 -2
  604. package/dist/server/cache-control.js +1 -2
  605. package/dist/server/cache-headers.d.ts +0 -2
  606. package/dist/server/cache-headers.js +1 -2
  607. package/dist/server/cache-proof.d.ts +1 -3
  608. package/dist/server/cache-proof.js +1 -2
  609. package/dist/server/cacheability-limits.d.ts +1 -3
  610. package/dist/server/cacheability-limits.js +1 -2
  611. package/dist/server/cacheability-manifest.d.ts +1 -3
  612. package/dist/server/cacheability-manifest.js +1 -2
  613. package/dist/server/cacheability-request.d.ts +1 -3
  614. package/dist/server/cacheability-request.js +5 -6
  615. package/dist/server/client-build-files.d.ts +1 -3
  616. package/dist/server/client-build-files.js +1 -2
  617. package/dist/server/client-trace-metadata.d.ts +1 -3
  618. package/dist/server/client-trace-metadata.js +1 -2
  619. package/dist/server/cloudflare-workers-tracing.js +1 -2
  620. package/dist/server/config-headers.d.ts +0 -2
  621. package/dist/server/config-headers.js +3 -4
  622. package/dist/server/cookie-utils.d.ts +1 -3
  623. package/dist/server/cookie-utils.js +1 -2
  624. package/dist/server/csp.d.ts +0 -2
  625. package/dist/server/csp.js +1 -2
  626. package/dist/server/default-global-error-module.d.ts +1 -3
  627. package/dist/server/default-global-error-module.js +1 -2
  628. package/dist/server/default-global-not-found-module.d.ts +7 -2
  629. package/dist/server/default-global-not-found-module.js +19 -3
  630. package/dist/server/default-http-access-fallback-modules.d.ts +1 -3
  631. package/dist/server/default-http-access-fallback-modules.js +1 -2
  632. package/dist/server/defer-until-stream-consumed.d.ts +1 -3
  633. package/dist/server/defer-until-stream-consumed.js +1 -2
  634. package/dist/server/dev-initial-server-error.d.ts +1 -3
  635. package/dist/server/dev-initial-server-error.js +1 -2
  636. package/dist/server/dev-lockfile.d.ts +0 -2
  637. package/dist/server/dev-lockfile.js +1 -2
  638. package/dist/server/dev-module-runner.d.ts +0 -2
  639. package/dist/server/dev-module-runner.js +1 -2
  640. package/dist/server/dev-origin-check.d.ts +1 -3
  641. package/dist/server/dev-origin-check.js +1 -2
  642. package/dist/server/dev-route-files.d.ts +1 -3
  643. package/dist/server/dev-route-files.js +1 -2
  644. package/dist/server/dev-server.d.ts +3 -5
  645. package/dist/server/dev-server.js +28 -26
  646. package/dist/server/dev-stack-sourcemap.d.ts +0 -2
  647. package/dist/server/dev-stack-sourcemap.js +1 -2
  648. package/dist/server/document-initial-head.d.ts +1 -3
  649. package/dist/server/document-initial-head.js +1 -2
  650. package/dist/server/edge-api-runtime.d.ts +7 -5
  651. package/dist/server/edge-api-runtime.js +22 -6
  652. package/dist/server/file-based-metadata.d.ts +1 -3
  653. package/dist/server/file-based-metadata.js +3 -4
  654. package/dist/server/forwarded-middleware-context.d.ts +1 -3
  655. package/dist/server/forwarded-middleware-context.js +1 -2
  656. package/dist/server/framework-tracer.d.ts +0 -2
  657. package/dist/server/framework-tracer.js +1 -2
  658. package/dist/server/fully-buffered-response.d.ts +1 -3
  659. package/dist/server/fully-buffered-response.js +1 -2
  660. package/dist/server/headers.d.ts +6 -2
  661. package/dist/server/headers.js +8 -3
  662. package/dist/server/html.d.ts +1 -3
  663. package/dist/server/html.js +1 -2
  664. package/dist/server/http-conditional.d.ts +0 -2
  665. package/dist/server/http-conditional.js +1 -2
  666. package/dist/server/http-date.d.ts +1 -3
  667. package/dist/server/http-date.js +1 -2
  668. package/dist/server/http-error-responses.d.ts +0 -2
  669. package/dist/server/http-error-responses.js +1 -2
  670. package/dist/server/http-range.d.ts +1 -3
  671. package/dist/server/http-range.js +1 -2
  672. package/dist/server/hybrid-route-priority.d.ts +1 -3
  673. package/dist/server/hybrid-route-priority.js +1 -2
  674. package/dist/server/image-animation.d.ts +1 -3
  675. package/dist/server/image-animation.js +1 -2
  676. package/dist/server/image-local-patterns.d.ts +1 -3
  677. package/dist/server/image-local-patterns.js +1 -2
  678. package/dist/server/image-optimization.d.ts +1 -3
  679. package/dist/server/image-optimization.js +3 -4
  680. package/dist/server/image-source-reader.d.ts +1 -3
  681. package/dist/server/image-source-reader.js +1 -2
  682. package/dist/server/implicit-tags.d.ts +6 -2
  683. package/dist/server/implicit-tags.js +12 -3
  684. package/dist/server/instrumentation-runtime.d.ts +1 -3
  685. package/dist/server/instrumentation-runtime.js +1 -2
  686. package/dist/server/instrumentation.d.ts +1 -3
  687. package/dist/server/instrumentation.js +2 -3
  688. package/dist/server/isolate-shared-promise.d.ts +9 -4
  689. package/dist/server/isolate-shared-promise.js +38 -17
  690. package/dist/server/isr-cache.d.ts +4 -6
  691. package/dist/server/isr-cache.js +5 -6
  692. package/dist/server/isr-decision.d.ts +0 -2
  693. package/dist/server/isr-decision.js +1 -2
  694. package/dist/server/metadata-route-build-data.d.ts +0 -2
  695. package/dist/server/metadata-route-build-data.js +2 -3
  696. package/dist/server/metadata-route-response.d.ts +1 -3
  697. package/dist/server/metadata-route-response.js +20 -30
  698. package/dist/server/metadata-routes.d.ts +0 -2
  699. package/dist/server/metadata-routes.js +1 -2
  700. package/dist/server/middleware-matcher-pattern.d.ts +1 -3
  701. package/dist/server/middleware-matcher-pattern.js +1 -2
  702. package/dist/server/middleware-matcher.d.ts +1 -3
  703. package/dist/server/middleware-matcher.js +1 -2
  704. package/dist/server/middleware-response-headers.d.ts +1 -3
  705. package/dist/server/middleware-response-headers.js +2 -3
  706. package/dist/server/middleware-runtime.d.ts +0 -2
  707. package/dist/server/middleware-runtime.js +9 -10
  708. package/dist/server/middleware.d.ts +2 -4
  709. package/dist/server/middleware.js +2 -3
  710. package/dist/server/multi-stage.d.ts +1 -3
  711. package/dist/server/multi-stage.js +1 -2
  712. package/dist/server/navigation-planner.d.ts +2 -4
  713. package/dist/server/navigation-planner.js +19 -12
  714. package/dist/server/navigation-trace.d.ts +0 -2
  715. package/dist/server/navigation-trace.js +1 -2
  716. package/dist/server/next-error-digest.d.ts +0 -2
  717. package/dist/server/next-error-digest.js +1 -2
  718. package/dist/server/nitro-public-files-plugin.d.ts +0 -2
  719. package/dist/server/nitro-public-files-plugin.js +1 -2
  720. package/dist/server/nitro-public-files.d.ts +0 -2
  721. package/dist/server/nitro-public-files.js +2 -3
  722. package/dist/server/nitro-request-target-plugin.d.ts +0 -2
  723. package/dist/server/nitro-request-target-plugin.js +1 -2
  724. package/dist/server/node-response-signal.d.ts +1 -3
  725. package/dist/server/node-response-signal.js +1 -2
  726. package/dist/server/normalize-path.d.ts +1 -3
  727. package/dist/server/normalize-path.js +1 -2
  728. package/dist/server/open-redirect.d.ts +1 -3
  729. package/dist/server/open-redirect.js +1 -2
  730. package/dist/server/opentelemetry-api.d.ts +0 -2
  731. package/dist/server/opentelemetry-api.js +1 -2
  732. package/dist/server/opentelemetry-tracing.d.ts +1 -3
  733. package/dist/server/opentelemetry-tracing.js +2 -3
  734. package/dist/server/operation-token.d.ts +0 -2
  735. package/dist/server/operation-token.js +1 -2
  736. package/dist/server/otel-tracer-extension.d.ts +1 -3
  737. package/dist/server/otel-tracer-extension.js +1 -2
  738. package/dist/server/pages-api-route.d.ts +3 -5
  739. package/dist/server/pages-api-route.js +9 -9
  740. package/dist/server/pages-asset-tags.d.ts +0 -2
  741. package/dist/server/pages-asset-tags.js +2 -3
  742. package/dist/server/pages-body-parser-config.d.ts +0 -2
  743. package/dist/server/pages-body-parser-config.js +1 -2
  744. package/dist/server/pages-cache-tag.d.ts +1 -3
  745. package/dist/server/pages-cache-tag.js +1 -2
  746. package/dist/server/pages-client-assets.d.ts +1 -3
  747. package/dist/server/pages-client-assets.js +1 -2
  748. package/dist/server/pages-data-route.d.ts +0 -2
  749. package/dist/server/pages-data-route.js +3 -4
  750. package/dist/server/pages-default-404.d.ts +1 -3
  751. package/dist/server/pages-default-404.js +1 -2
  752. package/dist/server/pages-dev-hydration.d.ts +1 -3
  753. package/dist/server/pages-dev-hydration.js +2 -3
  754. package/dist/server/pages-dev-module-url.d.ts +1 -3
  755. package/dist/server/pages-dev-module-url.js +1 -2
  756. package/dist/server/pages-dev-stylesheets.d.ts +1 -3
  757. package/dist/server/pages-dev-stylesheets.js +1 -2
  758. package/dist/server/pages-document-asset-props.d.ts +0 -2
  759. package/dist/server/pages-document-asset-props.js +2 -3
  760. package/dist/server/pages-document-initial-props.d.ts +0 -2
  761. package/dist/server/pages-document-initial-props.js +1 -2
  762. package/dist/server/pages-document-splice.d.ts +1 -3
  763. package/dist/server/pages-document-splice.js +1 -2
  764. package/dist/server/pages-execution-tracing.d.ts +0 -2
  765. package/dist/server/pages-execution-tracing.js +2 -3
  766. package/dist/server/pages-get-initial-props.d.ts +0 -2
  767. package/dist/server/pages-get-initial-props.js +1 -2
  768. package/dist/server/pages-i18n.d.ts +0 -2
  769. package/dist/server/pages-i18n.js +1 -2
  770. package/dist/server/pages-media-type.d.ts +1 -3
  771. package/dist/server/pages-media-type.js +1 -2
  772. package/dist/server/pages-node-compat.d.ts +0 -2
  773. package/dist/server/pages-node-compat.js +2 -3
  774. package/dist/server/pages-page-data.d.ts +6 -3
  775. package/dist/server/pages-page-data.js +28 -20
  776. package/dist/server/pages-page-handler.d.ts +2 -4
  777. package/dist/server/pages-page-handler.js +39 -32
  778. package/dist/server/pages-page-method.d.ts +0 -2
  779. package/dist/server/pages-page-method.js +1 -2
  780. package/dist/server/pages-page-response.d.ts +0 -2
  781. package/dist/server/pages-page-response.js +16 -17
  782. package/dist/server/pages-preview.d.ts +0 -2
  783. package/dist/server/pages-preview.js +1 -2
  784. package/dist/server/pages-readiness.d.ts +0 -2
  785. package/dist/server/pages-readiness.js +1 -2
  786. package/dist/server/pages-request-pipeline.d.ts +1 -3
  787. package/dist/server/pages-request-pipeline.js +15 -16
  788. package/dist/server/pages-request-stage-entry.d.ts +1 -3
  789. package/dist/server/pages-request-stage-entry.js +20 -21
  790. package/dist/server/pages-response-stage-entry.d.ts +1 -3
  791. package/dist/server/pages-response-stage-entry.js +6 -7
  792. package/dist/server/pages-response-stage.d.ts +1 -3
  793. package/dist/server/pages-response-stage.js +2 -3
  794. package/dist/server/pages-revalidate.d.ts +1 -3
  795. package/dist/server/pages-revalidate.js +4 -5
  796. package/dist/server/pages-route-data-kind.d.ts +0 -2
  797. package/dist/server/pages-route-data-kind.js +1 -2
  798. package/dist/server/pages-router-entry.d.ts +0 -2
  799. package/dist/server/pages-router-entry.js +8 -9
  800. package/dist/server/pages-serializable-props.d.ts +1 -3
  801. package/dist/server/pages-serializable-props.js +1 -2
  802. package/dist/server/pregenerated-concrete-paths.d.ts +1 -3
  803. package/dist/server/pregenerated-concrete-paths.js +1 -2
  804. package/dist/server/prerender-cache-life-header.d.ts +0 -2
  805. package/dist/server/prerender-cache-life-header.js +2 -3
  806. package/dist/server/prerender-manifest.d.ts +1 -3
  807. package/dist/server/prerender-manifest.js +1 -2
  808. package/dist/server/prerender-route-params.d.ts +0 -2
  809. package/dist/server/prerender-route-params.js +3 -4
  810. package/dist/server/prerender-work-unit-setup.d.ts +1 -3
  811. package/dist/server/prerender-work-unit-setup.js +2 -3
  812. package/dist/server/prod-server-shutdown.d.ts +5 -0
  813. package/dist/server/prod-server-shutdown.js +47 -0
  814. package/dist/server/prod-server.d.ts +2 -4
  815. package/dist/server/prod-server.js +40 -43
  816. package/dist/server/proper-error.d.ts +1 -3
  817. package/dist/server/proper-error.js +1 -2
  818. package/dist/server/proxy-trust.d.ts +1 -3
  819. package/dist/server/proxy-trust.js +1 -2
  820. package/dist/server/remove-request-headers.d.ts +14 -0
  821. package/dist/server/remove-request-headers.js +22 -0
  822. package/dist/server/request-error-log.d.ts +1 -3
  823. package/dist/server/request-error-log.js +1 -2
  824. package/dist/server/request-log.d.ts +0 -2
  825. package/dist/server/request-log.js +1 -2
  826. package/dist/server/request-pipeline.d.ts +1 -3
  827. package/dist/server/request-pipeline.js +3 -4
  828. package/dist/server/request-stage.d.ts +1 -3
  829. package/dist/server/request-stage.js +1 -2
  830. package/dist/server/request-tracing.d.ts +5 -3
  831. package/dist/server/request-tracing.js +15 -8
  832. package/dist/server/response-compression.d.ts +1 -3
  833. package/dist/server/response-compression.js +1 -2
  834. package/dist/server/response-stage-cacheability.d.ts +3 -5
  835. package/dist/server/response-stage-cacheability.js +3 -4
  836. package/dist/server/response-stage-policy.d.ts +1 -3
  837. package/dist/server/response-stage-policy.js +2 -3
  838. package/dist/server/response-stage.d.ts +1 -3
  839. package/dist/server/response-stage.js +1 -2
  840. package/dist/server/response-start-tracing.d.ts +1 -3
  841. package/dist/server/response-start-tracing.js +2 -3
  842. package/dist/server/revalidation-host.d.ts +1 -3
  843. package/dist/server/revalidation-host.js +2 -3
  844. package/dist/server/revalidation-request.d.ts +0 -2
  845. package/dist/server/revalidation-request.js +1 -2
  846. package/dist/server/route-miss-response.d.ts +8 -0
  847. package/dist/server/route-miss-response.js +27 -0
  848. package/dist/server/rsc-completion-metadata.d.ts +1 -3
  849. package/dist/server/rsc-completion-metadata.js +1 -2
  850. package/dist/server/rsc-render-stream.d.ts +1 -3
  851. package/dist/server/rsc-render-stream.js +2 -3
  852. package/dist/server/seed-cache.d.ts +0 -2
  853. package/dist/server/seed-cache.js +3 -4
  854. package/dist/server/server-action-not-found.d.ts +6 -3
  855. package/dist/server/server-action-not-found.js +11 -3
  856. package/dist/server/server-globals.d.ts +1 -3
  857. package/dist/server/server-globals.js +1 -2
  858. package/dist/server/server-reference-loader.d.ts +1 -3
  859. package/dist/server/server-reference-loader.js +9 -6
  860. package/dist/server/shared-cache-identity.d.ts +1 -3
  861. package/dist/server/shared-cache-identity.js +2 -3
  862. package/dist/server/socket-error-backstop.d.ts +1 -3
  863. package/dist/server/socket-error-backstop.js +1 -2
  864. package/dist/server/srvx-middleware-origin.d.ts +1 -3
  865. package/dist/server/srvx-middleware-origin.js +1 -2
  866. package/dist/server/srvx-request-target.d.ts +1 -3
  867. package/dist/server/srvx-request-target.js +1 -2
  868. package/dist/server/static-file-cache.d.ts +0 -2
  869. package/dist/server/static-file-cache.js +1 -2
  870. package/dist/server/static-file-signal.d.ts +1 -3
  871. package/dist/server/static-file-signal.js +1 -2
  872. package/dist/server/streaming-metadata.d.ts +1 -3
  873. package/dist/server/streaming-metadata.js +1 -2
  874. package/dist/server/tracer.d.ts +1 -3
  875. package/dist/server/tracer.js +1 -2
  876. package/dist/server/worker-image-optimization.d.ts +2 -4
  877. package/dist/server/worker-image-optimization.js +5 -6
  878. package/dist/server/worker-prerender-discovery.d.ts +1 -3
  879. package/dist/server/worker-prerender-discovery.js +1 -2
  880. package/dist/server/worker-revalidation-context.d.ts +1 -3
  881. package/dist/server/worker-revalidation-context.js +1 -2
  882. package/dist/server/worker-stages.d.ts +1 -3
  883. package/dist/server/worker-stages.js +1 -2
  884. package/dist/server/worker-utils.d.ts +1 -3
  885. package/dist/server/worker-utils.js +1 -2
  886. package/dist/server/workers-tracing.d.ts +1 -3
  887. package/dist/server/workers-tracing.js +1 -2
  888. package/dist/shims/amp.d.ts +1 -3
  889. package/dist/shims/amp.js +1 -2
  890. package/dist/shims/app-router-navigation.d.ts +303 -0
  891. package/dist/shims/app-router-navigation.js +1559 -0
  892. package/dist/shims/app-router-scroll-state.d.ts +1 -3
  893. package/dist/shims/app-router-scroll-state.js +1 -2
  894. package/dist/shims/app-router-scroll.d.ts +1 -3
  895. package/dist/shims/app-router-scroll.js +2 -3
  896. package/dist/shims/app-router-tree-context.d.ts +12 -2
  897. package/dist/shims/app-router-tree-context.js +21 -6
  898. package/dist/shims/app.d.ts +0 -2
  899. package/dist/shims/app.js +1 -2
  900. package/dist/shims/before-interactive-context.d.ts +1 -3
  901. package/dist/shims/before-interactive-context.js +1 -2
  902. package/dist/shims/cache-adapter-instantiate.d.ts +1 -3
  903. package/dist/shims/cache-adapter-instantiate.js +1 -2
  904. package/dist/shims/cache-callable-runtime.d.ts +1 -3
  905. package/dist/shims/cache-callable-runtime.js +2 -3
  906. package/dist/shims/cache-flight-arguments.d.ts +1 -3
  907. package/dist/shims/cache-flight-arguments.js +1 -2
  908. package/dist/shims/cache-for-request.d.ts +1 -3
  909. package/dist/shims/cache-for-request.js +1 -2
  910. package/dist/shims/cache-handler.d.ts +0 -2
  911. package/dist/shims/cache-handler.js +1 -2
  912. package/dist/shims/cache-request-state.d.ts +0 -2
  913. package/dist/shims/cache-request-state.js +4 -5
  914. package/dist/shims/cache-runtime.d.ts +1 -3
  915. package/dist/shims/cache-runtime.js +22 -16
  916. package/dist/shims/cache.d.ts +2 -4
  917. package/dist/shims/cache.js +24 -14
  918. package/dist/shims/cacheability-classification.d.ts +3 -3
  919. package/dist/shims/cacheability-classification.js +9 -3
  920. package/dist/shims/caught-not-found-boundaries.d.ts +1 -3
  921. package/dist/shims/caught-not-found-boundaries.js +1 -2
  922. package/dist/shims/cdn-cache-state.d.ts +1 -3
  923. package/dist/shims/cdn-cache-state.js +1 -2
  924. package/dist/shims/cdn-cache.d.ts +1 -3
  925. package/dist/shims/cdn-cache.js +1 -2
  926. package/dist/shims/cdn-purge-routes.d.ts +0 -2
  927. package/dist/shims/cdn-purge-routes.js +1 -2
  928. package/dist/shims/client-hook-error.d.ts +1 -3
  929. package/dist/shims/client-hook-error.js +1 -2
  930. package/dist/shims/client-locale.d.ts +1 -3
  931. package/dist/shims/client-locale.js +1 -2
  932. package/dist/shims/client-page-root.d.ts +0 -2
  933. package/dist/shims/client-page-root.js +3 -4
  934. package/dist/shims/compat-router.d.ts +1 -3
  935. package/dist/shims/compat-router.js +1 -2
  936. package/dist/shims/config.d.ts +0 -2
  937. package/dist/shims/config.js +1 -2
  938. package/dist/shims/constants.d.ts +1 -3
  939. package/dist/shims/constants.js +1 -2
  940. package/dist/shims/default-forbidden.d.ts +1 -3
  941. package/dist/shims/default-forbidden.js +1 -2
  942. package/dist/shims/default-global-error.d.ts +0 -2
  943. package/dist/shims/default-global-error.js +1 -2
  944. package/dist/shims/default-not-found.d.ts +1 -3
  945. package/dist/shims/default-not-found.js +1 -2
  946. package/dist/shims/default-unauthorized.d.ts +1 -3
  947. package/dist/shims/default-unauthorized.js +1 -2
  948. package/dist/shims/disable-smooth-scroll.d.ts +1 -3
  949. package/dist/shims/disable-smooth-scroll.js +1 -2
  950. package/dist/shims/document-placeholders.d.ts +1 -3
  951. package/dist/shims/document-placeholders.js +1 -2
  952. package/dist/shims/document.d.ts +0 -2
  953. package/dist/shims/document.js +1 -2
  954. package/dist/shims/dynamic-preload-chunks.d.ts +1 -3
  955. package/dist/shims/dynamic-preload-chunks.js +2 -3
  956. package/dist/shims/dynamic.d.ts +0 -2
  957. package/dist/shims/dynamic.js +2 -17
  958. package/dist/shims/error-boundary-navigation.d.ts +1 -3
  959. package/dist/shims/error-boundary-navigation.js +4 -5
  960. package/dist/shims/error-boundary.d.ts +0 -2
  961. package/dist/shims/error-boundary.js +5 -6
  962. package/dist/shims/error.d.ts +0 -2
  963. package/dist/shims/error.js +5 -6
  964. package/dist/shims/error.react-server.d.ts +0 -2
  965. package/dist/shims/error.react-server.js +1 -2
  966. package/dist/shims/fetch-cache-state.d.ts +1 -3
  967. package/dist/shims/fetch-cache-state.js +1 -2
  968. package/dist/shims/fetch-cache.d.ts +0 -2
  969. package/dist/shims/fetch-cache.js +4 -5
  970. package/dist/shims/font-google-base.d.ts +0 -2
  971. package/dist/shims/font-google-base.js +2 -3
  972. package/dist/shims/font-local.d.ts +0 -2
  973. package/dist/shims/font-local.js +2 -3
  974. package/dist/shims/font-utils.d.ts +1 -3
  975. package/dist/shims/font-utils.js +1 -2
  976. package/dist/shims/form.d.ts +0 -2
  977. package/dist/shims/form.js +7 -8
  978. package/dist/shims/hash-scroll.d.ts +1 -3
  979. package/dist/shims/hash-scroll.js +1 -2
  980. package/dist/shims/head-state.d.ts +1 -3
  981. package/dist/shims/head-state.js +2 -3
  982. package/dist/shims/head.d.ts +11 -6
  983. package/dist/shims/head.js +23 -13
  984. package/dist/shims/headers.d.ts +15 -2
  985. package/dist/shims/headers.js +26 -6
  986. package/dist/shims/http-access-error-fallback.d.ts +1 -3
  987. package/dist/shims/http-access-error-fallback.js +1 -2
  988. package/dist/shims/i18n-context.d.ts +1 -3
  989. package/dist/shims/i18n-context.js +1 -2
  990. package/dist/shims/i18n-state.d.ts +1 -3
  991. package/dist/shims/i18n-state.js +2 -3
  992. package/dist/shims/image-config.d.ts +1 -3
  993. package/dist/shims/image-config.js +1 -2
  994. package/dist/shims/image-props.d.ts +1 -3
  995. package/dist/shims/image-props.js +1 -2
  996. package/dist/shims/image.d.ts +0 -2
  997. package/dist/shims/image.js +2 -3
  998. package/dist/shims/internal/als-registry.d.ts +1 -3
  999. package/dist/shims/internal/als-registry.js +1 -2
  1000. package/dist/shims/internal/api-utils.d.ts +1 -3
  1001. package/dist/shims/internal/app-page-props-cache-key.d.ts +1 -3
  1002. package/dist/shims/internal/app-page-props-cache-key.js +1 -2
  1003. package/dist/shims/internal/app-prefetch-fetch-queue.d.ts +1 -3
  1004. package/dist/shims/internal/app-prefetch-fetch-queue.js +1 -2
  1005. package/dist/shims/internal/app-prefetch-rsc-request.d.ts +1 -3
  1006. package/dist/shims/internal/app-prefetch-rsc-request.js +1 -2
  1007. package/dist/shims/internal/app-route-detection.d.ts +0 -2
  1008. package/dist/shims/internal/app-route-detection.js +1 -2
  1009. package/dist/shims/internal/app-route-prefetch-policy.d.ts +1 -3
  1010. package/dist/shims/internal/app-route-prefetch-policy.js +3 -4
  1011. package/dist/shims/internal/app-router-context.d.ts +1 -3
  1012. package/dist/shims/internal/app-router-context.js +1 -2
  1013. package/dist/shims/internal/cache-context-accessor.d.ts +0 -2
  1014. package/dist/shims/internal/cache-context-accessor.js +1 -2
  1015. package/dist/shims/internal/client-reference-loader.d.ts +0 -2
  1016. package/dist/shims/internal/client-reference-loader.js +1 -2
  1017. package/dist/shims/internal/cookie-serialize.d.ts +0 -2
  1018. package/dist/shims/internal/cookie-serialize.js +1 -2
  1019. package/dist/shims/internal/format-url-object.d.ts +1 -3
  1020. package/dist/shims/internal/format-url-object.js +1 -2
  1021. package/dist/shims/internal/headers-state.d.ts +1 -3
  1022. package/dist/shims/internal/headers-state.js +1 -2
  1023. package/dist/shims/internal/hybrid-client-route-owner-direct.d.ts +0 -2
  1024. package/dist/shims/internal/hybrid-client-route-owner-direct.js +4 -5
  1025. package/dist/shims/internal/hybrid-client-route-owner.d.ts +0 -2
  1026. package/dist/shims/internal/hybrid-client-route-owner.js +3 -4
  1027. package/dist/shims/internal/interpolate-as.d.ts +0 -2
  1028. package/dist/shims/internal/interpolate-as.js +1 -2
  1029. package/dist/shims/internal/link-status-registry.d.ts +1 -3
  1030. package/dist/shims/internal/link-status-registry.js +1 -2
  1031. package/dist/shims/internal/make-hanging-promise.d.ts +1 -3
  1032. package/dist/shims/internal/make-hanging-promise.js +1 -2
  1033. package/dist/shims/internal/navigation-untracked.d.ts +1 -3
  1034. package/dist/shims/internal/navigation-untracked.js +3 -4
  1035. package/dist/shims/internal/normalize-router-href.d.ts +1 -3
  1036. package/dist/shims/internal/normalize-router-href.js +1 -2
  1037. package/dist/shims/internal/pages-data-fetch-dedup.d.ts +1 -3
  1038. package/dist/shims/internal/pages-data-fetch-dedup.js +2 -3
  1039. package/dist/shims/internal/pages-data-target.d.ts +0 -2
  1040. package/dist/shims/internal/pages-data-target.js +3 -4
  1041. package/dist/shims/internal/pages-data-url.d.ts +0 -2
  1042. package/dist/shims/internal/pages-data-url.js +1 -2
  1043. package/dist/shims/internal/pages-router-accessor.d.ts +1 -3
  1044. package/dist/shims/internal/pages-router-accessor.js +1 -2
  1045. package/dist/shims/internal/pages-router-components.d.ts +1 -3
  1046. package/dist/shims/internal/pages-router-components.js +1 -2
  1047. package/dist/shims/internal/route-pattern-for-warning.d.ts +1 -3
  1048. package/dist/shims/internal/route-pattern-for-warning.js +1 -2
  1049. package/dist/shims/internal/router-context.d.ts +1 -3
  1050. package/dist/shims/internal/router-context.js +1 -2
  1051. package/dist/shims/internal/thenable-well-known-properties.d.ts +0 -2
  1052. package/dist/shims/internal/thenable-well-known-properties.js +1 -2
  1053. package/dist/shims/internal/utils.d.ts +1 -3
  1054. package/dist/shims/internal/utils.js +1 -2
  1055. package/dist/shims/internal/work-store-scope.d.ts +1 -3
  1056. package/dist/shims/internal/work-store-scope.js +1 -2
  1057. package/dist/shims/internal/work-unit-async-storage.d.ts +1 -3
  1058. package/dist/shims/internal/work-unit-async-storage.js +1 -2
  1059. package/dist/shims/layout-segment-context.d.ts +1 -3
  1060. package/dist/shims/layout-segment-context.js +1 -2
  1061. package/dist/shims/legacy-image.d.ts +0 -2
  1062. package/dist/shims/legacy-image.js +1 -2
  1063. package/dist/shims/link-prefetch.d.ts +1 -3
  1064. package/dist/shims/link-prefetch.js +1 -2
  1065. package/dist/shims/link.d.ts +0 -2
  1066. package/dist/shims/link.js +55 -56
  1067. package/dist/shims/metadata.d.ts +0 -2
  1068. package/dist/shims/metadata.js +2 -3
  1069. package/dist/shims/navigation-context-accessors.d.ts +1 -3
  1070. package/dist/shims/navigation-context-accessors.js +1 -2
  1071. package/dist/shims/navigation-context-state.d.ts +1 -3
  1072. package/dist/shims/navigation-context-state.js +1 -2
  1073. package/dist/shims/navigation-errors.d.ts +0 -2
  1074. package/dist/shims/navigation-errors.js +1 -2
  1075. package/dist/shims/navigation-server.js +1 -1
  1076. package/dist/shims/navigation-state.d.ts +1 -3
  1077. package/dist/shims/navigation-state.js +3 -4
  1078. package/dist/shims/navigation.d.ts +6 -323
  1079. package/dist/shims/navigation.js +14 -1603
  1080. package/dist/shims/navigation.react-server.d.ts +2 -4
  1081. package/dist/shims/navigation.react-server.js +3 -4
  1082. package/dist/shims/offline.d.ts +1 -3
  1083. package/dist/shims/offline.js +1 -2
  1084. package/dist/shims/og.d.ts +0 -2
  1085. package/dist/shims/og.js +1 -2
  1086. package/dist/shims/pages-router-runtime.d.ts +0 -2
  1087. package/dist/shims/pages-router-runtime.js +1 -2
  1088. package/dist/shims/ppr-fallback-shell.d.ts +0 -2
  1089. package/dist/shims/ppr-fallback-shell.js +2 -3
  1090. package/dist/shims/public-shim-map.json.js +1 -2
  1091. package/dist/shims/readonly-url-search-params.d.ts +1 -3
  1092. package/dist/shims/readonly-url-search-params.js +1 -2
  1093. package/dist/shims/request-context.d.ts +7 -3
  1094. package/dist/shims/request-context.js +1 -2
  1095. package/dist/shims/request-state-types.d.ts +7 -7
  1096. package/dist/shims/root-params.d.ts +1 -3
  1097. package/dist/shims/root-params.js +17 -4
  1098. package/dist/shims/router-state.d.ts +1 -3
  1099. package/dist/shims/router-state.js +3 -4
  1100. package/dist/shims/router.d.ts +1 -3
  1101. package/dist/shims/router.js +32 -33
  1102. package/dist/shims/script-nonce-context.d.ts +1 -3
  1103. package/dist/shims/script-nonce-context.js +1 -2
  1104. package/dist/shims/script.d.ts +0 -2
  1105. package/dist/shims/script.js +3 -4
  1106. package/dist/shims/search-params-gate.d.ts +1 -3
  1107. package/dist/shims/search-params-gate.js +1 -2
  1108. package/dist/shims/server.d.ts +0 -2
  1109. package/dist/shims/server.js +14 -8
  1110. package/dist/shims/slot.d.ts +1 -3
  1111. package/dist/shims/slot.js +3 -4
  1112. package/dist/shims/streamed-icons.d.ts +1 -3
  1113. package/dist/shims/streamed-icons.js +1 -2
  1114. package/dist/shims/thenable-params.d.ts +1 -3
  1115. package/dist/shims/thenable-params.js +1 -2
  1116. package/dist/shims/unified-request-context.d.ts +6 -2
  1117. package/dist/shims/unified-request-context.js +3 -2
  1118. package/dist/shims/unrecognized-action-error.d.ts +1 -3
  1119. package/dist/shims/unrecognized-action-error.js +1 -2
  1120. package/dist/shims/url-safety.d.ts +1 -3
  1121. package/dist/shims/url-safety.js +1 -2
  1122. package/dist/shims/url-utils.d.ts +1 -3
  1123. package/dist/shims/url-utils.js +2 -3
  1124. package/dist/shims/use-merged-ref.d.ts +1 -3
  1125. package/dist/shims/use-merged-ref.js +1 -2
  1126. package/dist/shims/user-agent.d.ts +1 -3
  1127. package/dist/shims/user-agent.js +1 -2
  1128. package/dist/shims/web-vitals.d.ts +0 -2
  1129. package/dist/shims/web-vitals.js +1 -2
  1130. package/dist/typegen.d.ts +0 -2
  1131. package/dist/typegen.js +3 -4
  1132. package/dist/utils/asset-prefix.d.ts +1 -3
  1133. package/dist/utils/asset-prefix.js +1 -2
  1134. package/dist/utils/base-path.d.ts +1 -3
  1135. package/dist/utils/base-path.js +1 -2
  1136. package/dist/utils/built-asset-url.d.ts +1 -3
  1137. package/dist/utils/built-asset-url.js +1 -2
  1138. package/dist/utils/cache-control-metadata.d.ts +1 -3
  1139. package/dist/utils/cache-control-metadata.js +1 -2
  1140. package/dist/utils/cache-life-profiles.d.ts +1 -3
  1141. package/dist/utils/cache-life-profiles.js +1 -2
  1142. package/dist/utils/client-build-manifest.d.ts +0 -2
  1143. package/dist/utils/client-build-manifest.js +2 -3
  1144. package/dist/utils/client-entry-manifest.d.ts +1 -3
  1145. package/dist/utils/client-entry-manifest.js +2 -3
  1146. package/dist/utils/client-reference-chunks.d.ts +1 -3
  1147. package/dist/utils/client-reference-chunks.js +1 -2
  1148. package/dist/utils/client-runtime-metadata.d.ts +0 -2
  1149. package/dist/utils/client-runtime-metadata.js +4 -5
  1150. package/dist/utils/commonjs-loader.d.ts +1 -3
  1151. package/dist/utils/commonjs-loader.js +1 -2
  1152. package/dist/utils/compare.d.ts +1 -3
  1153. package/dist/utils/compare.js +1 -2
  1154. package/dist/utils/deployment-id.d.ts +1 -3
  1155. package/dist/utils/deployment-id.js +1 -2
  1156. package/dist/utils/dev-error-recovery-event.d.ts +1 -3
  1157. package/dist/utils/dev-error-recovery-event.js +1 -2
  1158. package/dist/utils/dev-stack-sourcemap-endpoint.d.ts +1 -3
  1159. package/dist/utils/dev-stack-sourcemap-endpoint.js +1 -2
  1160. package/dist/utils/domain-locale.d.ts +1 -3
  1161. package/dist/utils/domain-locale.js +1 -2
  1162. package/dist/utils/encode-cache-tag.d.ts +1 -3
  1163. package/dist/utils/encode-cache-tag.js +1 -2
  1164. package/dist/utils/error-cause.d.ts +1 -3
  1165. package/dist/utils/error-cause.js +1 -2
  1166. package/dist/utils/external-url.d.ts +1 -3
  1167. package/dist/utils/external-url.js +1 -2
  1168. package/dist/utils/has-trailing-comma.d.ts +1 -3
  1169. package/dist/utils/has-trailing-comma.js +1 -2
  1170. package/dist/utils/hash.d.ts +1 -3
  1171. package/dist/utils/hash.js +1 -2
  1172. package/dist/utils/html-limited-bots.d.ts +1 -3
  1173. package/dist/utils/html-limited-bots.js +1 -2
  1174. package/dist/utils/lazy-chunks.d.ts +1 -3
  1175. package/dist/utils/lazy-chunks.js +1 -2
  1176. package/dist/utils/manifest-paths.d.ts +1 -3
  1177. package/dist/utils/manifest-paths.js +1 -2
  1178. package/dist/utils/mdx-scan.d.ts +1 -3
  1179. package/dist/utils/mdx-scan.js +1 -2
  1180. package/dist/utils/middleware-request-headers.d.ts +0 -2
  1181. package/dist/utils/middleware-request-headers.js +1 -2
  1182. package/dist/utils/navigation-signal.d.ts +1 -3
  1183. package/dist/utils/navigation-signal.js +1 -2
  1184. package/dist/utils/number.d.ts +1 -3
  1185. package/dist/utils/number.js +1 -2
  1186. package/dist/utils/package-name.d.ts +1 -3
  1187. package/dist/utils/package-name.js +1 -2
  1188. package/dist/utils/parse-cookie.d.ts +1 -3
  1189. package/dist/utils/parse-cookie.js +1 -2
  1190. package/dist/utils/path-to-regexp.d.ts +1 -3
  1191. package/dist/utils/path-to-regexp.js +1 -2
  1192. package/dist/utils/path.d.ts +1 -3
  1193. package/dist/utils/path.js +1 -2
  1194. package/dist/utils/plugin-options.d.ts +1 -3
  1195. package/dist/utils/plugin-options.js +1 -2
  1196. package/dist/utils/plugin-react-version.d.ts +1 -3
  1197. package/dist/utils/plugin-react-version.js +1 -2
  1198. package/dist/utils/plugin-rsc-version.d.ts +1 -3
  1199. package/dist/utils/plugin-rsc-version.js +1 -2
  1200. package/dist/utils/precompressed-variant.d.ts +1 -3
  1201. package/dist/utils/precompressed-variant.js +1 -2
  1202. package/dist/utils/prerender-output-paths.d.ts +10 -3
  1203. package/dist/utils/prerender-output-paths.js +18 -4
  1204. package/dist/utils/project.d.ts +0 -2
  1205. package/dist/utils/project.js +2 -3
  1206. package/dist/utils/promise.d.ts +1 -3
  1207. package/dist/utils/promise.js +1 -2
  1208. package/dist/utils/protocol-headers.d.ts +1 -3
  1209. package/dist/utils/protocol-headers.js +1 -2
  1210. package/dist/utils/public-file-path.d.ts +1 -3
  1211. package/dist/utils/public-file-path.js +1 -2
  1212. package/dist/utils/public-routes.d.ts +1 -3
  1213. package/dist/utils/public-routes.js +1 -2
  1214. package/dist/utils/query.d.ts +0 -2
  1215. package/dist/utils/query.js +1 -2
  1216. package/dist/utils/react-compiler-support.d.ts +1 -3
  1217. package/dist/utils/react-compiler-support.js +1 -2
  1218. package/dist/utils/react-version.d.ts +1 -3
  1219. package/dist/utils/react-version.js +1 -2
  1220. package/dist/utils/record.d.ts +1 -3
  1221. package/dist/utils/record.js +1 -2
  1222. package/dist/utils/redirect-digest.d.ts +1 -3
  1223. package/dist/utils/redirect-digest.js +1 -2
  1224. package/dist/utils/regex.d.ts +1 -3
  1225. package/dist/utils/regex.js +1 -2
  1226. package/dist/utils/safe-json-file.d.ts +1 -3
  1227. package/dist/utils/safe-json-file.js +1 -2
  1228. package/dist/utils/text-stream.d.ts +1 -3
  1229. package/dist/utils/text-stream.js +1 -2
  1230. package/dist/utils/vinext-root.d.ts +1 -3
  1231. package/dist/utils/vinext-root.js +1 -2
  1232. package/dist/utils/virtual-module.d.ts +1 -3
  1233. package/dist/utils/virtual-module.js +0 -0
  1234. package/dist/utils/vite-cli-invocation.d.ts +0 -2
  1235. package/dist/utils/vite-cli-invocation.js +1 -2
  1236. package/dist/utils/vite-version.d.ts +1 -3
  1237. package/dist/utils/vite-version.js +1 -2
  1238. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
+ import { VINEXT_DEV_ERROR_RECOVERY_EVENT } from "../utils/dev-error-recovery-event.js";
1
2
  import { isNavigationSignalError } from "../utils/navigation-signal.js";
2
- import { VINEXT_ORIGINAL_STACK_TRACE_ENDPOINT } from "../utils/dev-stack-sourcemap-endpoint.js";
3
3
  import { dismissOverlay, expandOverlay, getOverlaySnapshot, minimizeOverlay, reportToOverlay, setOverlayIndex, subscribeOverlay, updateOverlayErrorStack } from "./dev-error-overlay-store.js";
4
- import { VINEXT_DEV_ERROR_RECOVERY_EVENT } from "../utils/dev-error-recovery-event.js";
4
+ import { VINEXT_ORIGINAL_STACK_TRACE_ENDPOINT } from "../utils/dev-stack-sourcemap-endpoint.js";
5
5
  import { Fragment, useEffect, useMemo, useState, useSyncExternalStore } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createRoot } from "react-dom/client";
8
- //#region src/client/dev-error-overlay.tsx
8
+ // src/client/dev-error-overlay.tsx
9
9
  const DEV_ERROR_OVERLAY_HOST_ID = "__vinext_dev_error_overlay_root";
10
10
  const DEV_ERROR_OVERLAY_MOUNT_ID = "__vinext_dev_error_overlay_mount";
11
11
  const VITE_ERROR_HANDLER_DATA_KEY = "__vinext_vite_error_handler__";
@@ -1362,5 +1362,4 @@ const componentStackStyle = {
1362
1362
  wordBreak: "break-word",
1363
1363
  color: "var(--vinext-overlay-muted)"
1364
1364
  };
1365
- //#endregion
1366
1365
  export { DEV_ERROR_OVERLAY_HOST_ID, DEV_ERROR_OVERLAY_MOUNT_ID, createDevErrorOverlayMountNode, createViteOpenInEditorUrl, devOnCaughtError, devOnUncaughtError, dismissOverlay, formatErrorInfoForClipboard, formatOverlayDisplayFile, formatViteOpenInEditorFile, installDevErrorOverlay, installReactRefreshErrorRecovery, installViteHmrErrorHandler, normalizeViteHmrError, reportInitialDevServerErrors, reportRootErrorBoundaryCatch, selectUnreportedInitialDevServerErrors };
@@ -1,4 +1,3 @@
1
- //#region src/client/instrumentation-client-inject.d.ts
2
1
  /** Absolute path to the vinext empty-module fallback for composed client instrumentation. */
3
2
  export declare const INSTRUMENTATION_CLIENT_EMPTY_MODULE: string;
4
3
  /**
@@ -28,5 +27,4 @@ export declare const INSTRUMENTATION_CLIENT_EMPTY_MODULE: string;
28
27
  * or `null` when the file doesn't exist
29
28
  * @param emptyModulePath - Absolute path to the empty-module fallback
30
29
  */
31
- export declare function generateInstrumentationClientInjectModule(injects: readonly string[], userPath: string | null, emptyModulePath?: string): string;
32
- //#endregion
30
+ export declare function generateInstrumentationClientInjectModule(injects: readonly string[], userPath: string | null, emptyModulePath?: string): string;
@@ -1,6 +1,6 @@
1
1
  import path from "../deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js";
2
2
  import fs from "node:fs";
3
- //#region src/client/instrumentation-client-inject.ts
3
+ // src/client/instrumentation-client-inject.ts
4
4
  /** Resolve empty-module next to this file (.js in dist, .ts in source). */
5
5
  function resolveInstrumentationClientEmptyModule(dir) {
6
6
  const jsPath = path.join(dir, "empty-module.js");
@@ -51,5 +51,4 @@ function generateInstrumentationClientInjectModule(injects, userPath, emptyModul
51
51
  lines.push("");
52
52
  return lines.join("\n");
53
53
  }
54
- //#endregion
55
54
  export { INSTRUMENTATION_CLIENT_EMPTY_MODULE, generateInstrumentationClientInjectModule };
@@ -1,7 +1,5 @@
1
1
  import { ClientInstrumentationHooks } from "./instrumentation-client.js";
2
- //#region src/client/instrumentation-client-state.d.ts
3
2
  export declare function normalizeClientInstrumentationHooks(hooks: ClientInstrumentationHooks): ClientInstrumentationHooks | null;
4
3
  export declare function setClientInstrumentationHooks(hooks: ClientInstrumentationHooks | null): ClientInstrumentationHooks | null;
5
4
  export declare function getClientInstrumentationHooks(): ClientInstrumentationHooks | null;
6
- export declare function notifyAppRouterTransitionStart(href: string, navigationType: "push" | "replace" | "traverse"): void;
7
- //#endregion
5
+ export declare function notifyAppRouterTransitionStart(href: string, navigationType: "push" | "replace" | "traverse"): void;
@@ -1,4 +1,4 @@
1
- //#region src/client/instrumentation-client-state.ts
1
+ // src/client/instrumentation-client-state.ts
2
2
  const VINEXT_CLIENT_INSTRUMENTATION_HOOKS = Symbol.for("vinext.client.instrumentationHooks");
3
3
  function normalizeClientInstrumentationHooks(hooks) {
4
4
  return Object.values(hooks).some((value) => typeof value === "function") ? hooks : null;
@@ -13,5 +13,4 @@ function getClientInstrumentationHooks() {
13
13
  function notifyAppRouterTransitionStart(href, navigationType) {
14
14
  getClientInstrumentationHooks()?.onRouterTransitionStart?.(href, navigationType);
15
15
  }
16
- //#endregion
17
16
  export { getClientInstrumentationHooks, normalizeClientInstrumentationHooks, notifyAppRouterTransitionStart, setClientInstrumentationHooks };
@@ -1,6 +1,4 @@
1
- //#region src/client/instrumentation-client.d.ts
2
1
  export type ClientInstrumentationHooks = {
3
2
  onRouterTransitionStart?: (href: string, navigationType: "push" | "replace" | "traverse") => void;
4
3
  };
5
- export declare const clientInstrumentationHooks: ClientInstrumentationHooks | null;
6
- //#endregion
4
+ export declare const clientInstrumentationHooks: ClientInstrumentationHooks | null;
@@ -1,6 +1,5 @@
1
1
  import { normalizeClientInstrumentationHooks, setClientInstrumentationHooks } from "./instrumentation-client-state.js";
2
2
  import * as instrumentationClientHooks from "private-next-instrumentation-client";
3
- //#region src/client/instrumentation-client.ts
3
+ // src/client/instrumentation-client.ts
4
4
  const clientInstrumentationHooks = setClientInstrumentationHooks(normalizeClientInstrumentationHooks(instrumentationClientHooks));
5
- //#endregion
6
5
  export { clientInstrumentationHooks };
@@ -1,7 +1,6 @@
1
1
  import { BrowserRouteManifest, BrowserRouteManifestWire } from "../routing/browser-route-manifest.js";
2
2
  import { AppRouterScrollIntent } from "../shims/app-router-scroll-state.js";
3
- import { CachedRscResponse } from "../shims/navigation.js";
4
- //#region src/client/navigation-runtime.d.ts
3
+ import { CachedRscResponse } from "../shims/app-router-navigation.js";
5
4
  type NavigationRuntimeSnapshot = {
6
5
  pathname: string;
7
6
  searchParams: [string, string][];
@@ -55,7 +54,8 @@ export type NavigationRuntimeFunctions = {
55
54
  * reset any link that is still showing a `useLinkStatus()` pending state but
56
55
  * is not the one driving this navigation (e.g. a programmatic router.push or
57
56
  * a shallow-routing transition). Registered by shims/link.tsx; decoupled
58
- * through the runtime to avoid a circular import with shims/navigation.ts.
57
+ * through the runtime to avoid a circular import with
58
+ * shims/app-router-navigation.ts.
59
59
  */
60
60
  notifyLinkNavigationStart?: () => void;
61
61
  pingVisibleLinks?: () => void;
@@ -132,5 +132,4 @@ export declare function hasAppNavigationRuntime(): boolean;
132
132
  * tag) should call this instead.
133
133
  */
134
134
  export declare function hasAppNavigationRuntimeBootstrap(): boolean;
135
- //#endregion
136
135
  export {};
@@ -1,7 +1,7 @@
1
- import { isUnknownRecord } from "../utils/record.js";
2
1
  import { decodeBrowserRouteManifest } from "../routing/browser-route-manifest.js";
2
+ import { isUnknownRecord } from "../utils/record.js";
3
3
  import { NAVIGATION_RUNTIME_SYMBOL_DESCRIPTION } from "./browser-globals.js";
4
- //#region src/client/navigation-runtime.ts
4
+ // src/client/navigation-runtime.ts
5
5
  const NAVIGATION_RUNTIME_KEY = Symbol.for(NAVIGATION_RUNTIME_SYMBOL_DESCRIPTION);
6
6
  const ROUTE_MANIFEST_SEGMENT_GRAPH_MAP_KEYS = [
7
7
  "interceptions",
@@ -199,5 +199,4 @@ function hasAppNavigationRuntime() {
199
199
  function hasAppNavigationRuntimeBootstrap() {
200
200
  return getNavigationRuntime() !== null;
201
201
  }
202
- //#endregion
203
202
  export { NAVIGATION_RUNTIME_KEY, createNavigationRuntimeRouteManifestLoader, ensureNavigationRuntimeRscBootstrap, getNavigationRuntime, hasAppNavigationRuntime, hasAppNavigationRuntimeBootstrap, isNavigationRuntimeFunctions, loadNavigationRuntimeRouteManifest, registerNavigationRuntimeBootstrap, registerNavigationRuntimeFunctions };
@@ -1,4 +1,3 @@
1
- //#region src/client/pages-router-link-navigation.d.ts
2
1
  type PagesRouterLinkTransitionOptions = {
3
2
  scroll?: boolean;
4
3
  shallow?: boolean;
@@ -39,5 +38,4 @@ export declare function navigatePagesRouterLinkWithFallback({ router, loadRouter
39
38
  navigation: PagesRouterLinkNavigation;
40
39
  fallback: () => void;
41
40
  }): Promise<void>;
42
- //#endregion
43
41
  export {};
@@ -1,6 +1,6 @@
1
1
  import { stripBasePath } from "../utils/base-path.js";
2
2
  import { getLocalePathPrefix } from "../utils/domain-locale.js";
3
- //#region src/client/pages-router-link-navigation.ts
3
+ // src/client/pages-router-link-navigation.ts
4
4
  function resolvePagesRouterQueryOnlyHref(href, { asPath, basePath, fallbackHref, locales }) {
5
5
  if (!href.startsWith("?") && !href.startsWith("#")) return href;
6
6
  try {
@@ -38,5 +38,4 @@ async function navigatePagesRouterLinkWithFallback({ router, loadRouter, navigat
38
38
  }
39
39
  await navigatePagesRouterLink(pagesRouter, navigation);
40
40
  }
41
- //#endregion
42
41
  export { navigatePagesRouterLink, navigatePagesRouterLinkWithFallback, resolvePagesRouterQueryOnlyHref };
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import { getVinextReact } from "./react-instance.js";
3
3
  import * as React$1 from "react";
4
- //#region src/client/react-instance-bootstrap.ts
4
+ // src/client/react-instance-bootstrap.ts
5
5
  getVinextReact(React$1);
6
- //#endregion
7
6
  export {};
@@ -1,4 +1,3 @@
1
- //#region src/client/react-instance.d.ts
2
1
  /**
3
2
  * Return the React instance registered by the vinext browser entry.
4
3
  *
@@ -8,5 +7,4 @@
8
7
  * Server and RSC environments always keep their condition-specific React
9
8
  * instance local.
10
9
  */
11
- export declare function getVinextReact(reactInstance: typeof import("react")): typeof import("react");
12
- //#endregion
10
+ export declare function getVinextReact(reactInstance: typeof import("react")): typeof import("react");
@@ -1,4 +1,4 @@
1
- //#region src/client/react-instance.ts
1
+ // src/client/react-instance.ts
2
2
  const VINEXT_CLIENT_REACT = Symbol.for("vinext.client.react");
3
3
  /**
4
4
  * Return the React instance registered by the vinext browser entry.
@@ -16,5 +16,4 @@ function getVinextReact(reactInstance) {
16
16
  Reflect.set(globalThis, VINEXT_CLIENT_REACT, reactInstance);
17
17
  return reactInstance;
18
18
  }
19
- //#endregion
20
19
  export { getVinextReact };
@@ -1,4 +1,3 @@
1
- //#region src/client/validate-module-path.d.ts
2
1
  /**
3
2
  * Defense-in-depth: validate module paths before passing them to dynamic import().
4
3
  *
@@ -12,5 +11,4 @@
12
11
  * - Protocol-relative URLs (`//...`)
13
12
  * - Directory traversal (`..`)
14
13
  */
15
- export declare function isValidModulePath(p: unknown): p is string;
16
- //#endregion
14
+ export declare function isValidModulePath(p: unknown): p is string;
@@ -1,4 +1,4 @@
1
- //#region src/client/validate-module-path.ts
1
+ // src/client/validate-module-path.ts
2
2
  /**
3
3
  * Defense-in-depth: validate module paths before passing them to dynamic import().
4
4
  *
@@ -20,5 +20,4 @@ function isValidModulePath(p) {
20
20
  if (p.includes("..")) return false;
21
21
  return true;
22
22
  }
23
- //#endregion
24
23
  export { isValidModulePath };
@@ -1,5 +1,4 @@
1
1
  import { NEXT_DATA } from "../shims/internal/utils.js";
2
- //#region src/client/vinext-next-data.d.ts
3
2
  export type VinextLinkPrefetchRoute = {
4
3
  canPrefetchLoadingShell: boolean;
5
4
  documentOnly?: boolean;
@@ -72,5 +71,4 @@ type VinextLocaleGlobalTarget = {
72
71
  export declare function extractVinextNextDataJson(html: string): string | null;
73
72
  export declare function parseVinextNextDataJson(json: string): BrowserVinextNextData;
74
73
  export declare function applyVinextLocaleGlobals(target: VinextLocaleGlobalTarget, nextData: VinextNextData): void;
75
- //#endregion
76
74
  export {};
@@ -1,5 +1,5 @@
1
1
  import { isUnknownRecord } from "../utils/record.js";
2
- //#region src/client/vinext-next-data.ts
2
+ // src/client/vinext-next-data.ts
3
3
  function extractVinextNextDataJson(html) {
4
4
  const canonical = /<script\b(?=[^>]*\bid=["']__NEXT_DATA__["'])(?=[^>]*\btype=["']application\/json["'])[^>]*>([\s\S]*?)<\/script>/.exec(html);
5
5
  if (canonical) return canonical[1];
@@ -46,5 +46,4 @@ function applyVinextLocaleGlobals(target, nextData) {
46
46
  if (nextData.locales !== void 0) target.__VINEXT_LOCALES__ = [...nextData.locales];
47
47
  if (nextData.defaultLocale !== void 0) target.__VINEXT_DEFAULT_LOCALE__ = nextData.defaultLocale;
48
48
  }
49
- //#endregion
50
49
  export { applyVinextLocaleGlobals, extractVinextNextDataJson, parseVinextNextDataJson };
@@ -1,4 +1,3 @@
1
- //#region src/client/window-next.d.ts
2
1
  /**
3
2
  * Install the `window.next` debug/diagnostic global that Next.js exposes
4
3
  * on the client.
@@ -168,5 +167,4 @@ type WindowNext = {
168
167
  */
169
168
  export declare function installWindowNext(fields: Partial<WindowNext>): void;
170
169
  export declare function setWindowNextInternalSourcePage(sourcePage: string | null): void;
171
- //#endregion
172
170
  export {};
@@ -1,4 +1,4 @@
1
- //#region src/client/window-next.ts
1
+ // src/client/window-next.ts
2
2
  /**
3
3
  * Build-time replacement for the vinext package version, injected by the
4
4
  * Vite plugin via `define` (see `index.ts` — `process.env.__NEXT_VERSION`
@@ -53,5 +53,4 @@ function setWindowNextInternalSourcePage(sourcePage) {
53
53
  if (!next) return;
54
54
  next.__internal_src_page = sourcePage;
55
55
  }
56
- //#endregion
57
56
  export { installWindowNext, setWindowNextInternalSourcePage };
@@ -3,7 +3,6 @@ import { RequestContext, normalizeHost, parseCookies, requestContextFromRequest
3
3
  import { RedirectDestinationQueryPart } from "./destination-params.js";
4
4
  import { isExternalUrl } from "../utils/external-url.js";
5
5
  import { configSourceError, matchConfigPattern } from "./config-source.js";
6
- //#region src/config/config-matchers.d.ts
7
6
  /**
8
7
  * basePath gating state passed alongside the pathname to every matcher.
9
8
  *
@@ -228,5 +227,4 @@ export declare function matchHeaders(pathname: string, headers: NextHeader[], ct
228
227
  export declare function applyLocaleToRoutes<T extends NextRedirect | NextRewrite | NextHeader>(routes: T[], i18n: NextI18nConfig | null | undefined, type: "redirect" | "rewrite" | "header", options?: {
229
228
  trailingSlash?: boolean;
230
229
  }): T[];
231
- //#endregion
232
230
  export { type RequestContext, configSourceError, isExternalUrl, matchConfigPattern, normalizeHost, parseCookies, requestContextFromRequest };
@@ -6,7 +6,7 @@ import { isExternalUrl } from "../utils/external-url.js";
6
6
  import { attachRequestCfMetadata } from "../server/request-pipeline.js";
7
7
  import { substituteDestinationParams, substituteRedirectDestinationQuery } from "./destination-params.js";
8
8
  import { compileHeaderParamTemplate, isValidHeaderPair } from "./header-params.js";
9
- //#region src/config/config-matchers.ts
9
+ // src/config/config-matchers.ts
10
10
  /**
11
11
  * Cache for compiled has/missing condition value regexes in checkSingleCondition.
12
12
  *
@@ -1018,5 +1018,4 @@ function applyLocaleToRoutes(routes, i18n, type, options = {}) {
1018
1018
  }
1019
1019
  return out;
1020
1020
  }
1021
- //#endregion
1022
1021
  export { applyLocaleToRoutes, applyMiddlewareRequestHeaders, checkHasConditions, configSourceError, encodeRedirectLocation, isExternalUrl, matchConfigPattern, matchHeaders, matchRedirect, matchRewrite, matchesRewriteSource, normalizeHost, parseCookies, preserveRedirectDestinationQuery, proxyExternalRequest, requestContextFromRequest, sanitizeDestination };
@@ -1,5 +1,4 @@
1
1
  import { PathKey } from "../utils/path-to-regexp.js";
2
- //#region src/config/config-source.d.ts
3
2
  export type CompiledConfigSource = {
4
3
  re: RegExp;
5
4
  /** Keys in capture-group order; unnamed groups have numeric names. */
@@ -30,5 +29,4 @@ export declare function matchConfigPattern(pathname: string, pattern: string): R
30
29
  export declare function execConfigSource(pathname: string, source: string): {
31
30
  params: Record<string, string>;
32
31
  unmatched: string[];
33
- } | null;
34
- //#endregion
32
+ } | null;
@@ -1,5 +1,5 @@
1
1
  import { normalizePathTokens, parsePathPattern, pathTokensToRegExpSource } from "../utils/path-to-regexp.js";
2
- //#region src/config/config-source.ts
2
+ // src/config/config-source.ts
3
3
  /**
4
4
  * Compiles and matches next.config.js redirect, rewrite and header sources.
5
5
  *
@@ -137,5 +137,4 @@ function execConfigSource(pathname, source) {
137
137
  unmatched: Object.keys(params).filter((key) => !matched.has(key))
138
138
  };
139
139
  }
140
- //#endregion
141
140
  export { compileConfigSource, configSourceError, execConfigSource, matchConfigPattern };
@@ -1,4 +1,3 @@
1
- //#region src/config/destination-params.d.ts
2
1
  /**
3
2
  * Destination param substitution for next.config.js redirects and rewrites.
4
3
  *
@@ -44,5 +43,4 @@ export declare function substituteDestinationParams(destination: string, params:
44
43
  * https://github.com/vercel/next.js/blob/canary/packages/next/src/shared/lib/router/utils/prepare-destination.ts
45
44
  */
46
45
  export declare function substituteRedirectDestinationQuery(destination: string, params: Record<string, string>): RedirectDestinationQueryPart[];
47
- export type RedirectDestinationQueryPart = [key: string, keyText: string, valueText: string | null];
48
- //#endregion
46
+ export type RedirectDestinationQueryPart = [key: string, keyText: string, valueText: string | null];
@@ -1,4 +1,4 @@
1
- //#region src/config/destination-params.ts
1
+ // src/config/destination-params.ts
2
2
  /**
3
3
  * Destination param substitution for next.config.js redirects and rewrites.
4
4
  *
@@ -165,5 +165,4 @@ function encodeRewriteQueryParamValue(value) {
165
165
  params.set("", value);
166
166
  return params.toString().slice(1);
167
167
  }
168
- //#endregion
169
168
  export { substituteDestinationParams, substituteRedirectDestinationQuery };
@@ -1,4 +1,3 @@
1
- //#region src/config/dotenv.d.ts
2
1
  /**
3
2
  * Environment-variable bag accepted by {@link loadDotenv}.
4
3
  *
@@ -47,5 +46,4 @@ export declare function getDotenvFiles(mode: string): string[];
47
46
  * commands (which don't go through Vite at all), this is the only loading.
48
47
  */
49
48
  export declare function loadDotenv({ root, mode, processEnv }: LoadDotenvOptions): LoadDotenvResult;
50
- //#endregion
51
49
  export {};
@@ -1,6 +1,6 @@
1
1
  import path from "../deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js";
2
2
  import fs from "node:fs";
3
- //#region src/config/dotenv.ts
3
+ // src/config/dotenv.ts
4
4
  const DOTENV_LINE = /^\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?$/gm;
5
5
  function parseDotenv(content) {
6
6
  const parsed = {};
@@ -104,5 +104,4 @@ function expandValue(value, processEnv, parsed) {
104
104
  }
105
105
  return result;
106
106
  }
107
- //#endregion
108
107
  export { getDotenvFiles, loadDotenv };
@@ -1,4 +1,3 @@
1
- //#region src/config/header-params.d.ts
2
1
  /**
3
2
  * Param substitution for next.config.js `headers()` keys and values.
4
3
  *
@@ -25,5 +24,4 @@ export type HeaderParams = Record<string, string | string[] | undefined>;
25
24
  */
26
25
  export declare function compileHeaderParamTemplate(value: string, params: HeaderParams): string;
27
26
  /** Whether a substituted header pair can be sent as a response header. */
28
- export declare function isValidHeaderPair(key: string, value: string): boolean;
29
- //#endregion
27
+ export declare function isValidHeaderPair(key: string, value: string): boolean;
@@ -1,5 +1,5 @@
1
1
  import { parsePathPattern } from "../utils/path-to-regexp.js";
2
- //#region src/config/header-params.ts
2
+ // src/config/header-params.ts
3
3
  /**
4
4
  * Param substitution for next.config.js `headers()` keys and values.
5
5
  *
@@ -102,5 +102,4 @@ const INVALID_HEADER_VALUE_CHAR_RE = /[^\t\x20-\x7e\x80-\xff]/;
102
102
  function isValidHeaderPair(key, value) {
103
103
  return HTTP_TOKEN_RE.test(key) && !INVALID_HEADER_VALUE_CHAR_RE.test(value);
104
104
  }
105
- //#endregion
106
105
  export { compileHeaderParamTemplate, isValidHeaderPair };
@@ -1,7 +1,6 @@
1
1
  import { CacheLifeConfig } from "../utils/cache-life-profiles.js";
2
2
  import { PHASE_PRODUCTION_BUILD } from "../shims/constants.js";
3
3
  import { PluginOption } from "vite";
4
- //#region src/config/next-config.d.ts
5
4
  export declare const VINEXT_NEXT_CONFIG_PLUGIN_PROPERTY = "__vinextNextConfig";
6
5
  /**
7
6
  * Parse a body size limit value (string or number) into bytes.
@@ -718,5 +717,4 @@ export declare function extractMdxOptions(config: NextConfig, root?: string): Pr
718
717
  * Mutates `resolved.aliases` and `resolved.env` in place.
719
718
  */
720
719
  export declare function detectNextIntlConfig(root: string, resolved: ResolvedNextConfig): void;
721
- //#endregion
722
720
  export { PHASE_PRODUCTION_BUILD };
@@ -1,23 +1,23 @@
1
1
  import path, { toSlash } from "../deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js";
2
- import { escapeRegExp } from "../utils/regex.js";
3
- import { DEFAULT_PAGE_EXTENSIONS, normalizePageExtensions } from "../routing/file-matcher.js";
4
- import { loadCommonJsModule, shouldRetryAsCommonJs } from "../utils/commonjs-loader.js";
5
- import { isUnknownRecord } from "../utils/record.js";
6
2
  import { PHASE_DEVELOPMENT_SERVER, PHASE_PRODUCTION_BUILD } from "../shims/constants.js";
3
+ import { DEFAULT_PAGE_EXTENSIONS, normalizePageExtensions } from "../routing/file-matcher.js";
7
4
  import { getHtmlLimitedBotRegex } from "../utils/html-limited-bots.js";
8
5
  import { flattenPluginOptions } from "../utils/plugin-options.js";
9
6
  import { resolveCacheLifeProfiles } from "../utils/cache-life-profiles.js";
7
+ import { isUnknownRecord } from "../utils/record.js";
8
+ import { escapeRegExp } from "../utils/regex.js";
9
+ import { applyLocaleToRoutes } from "./config-matchers.js";
10
10
  import { configSourceError } from "./config-source.js";
11
11
  import { isExternalUrl } from "../utils/external-url.js";
12
- import { applyLocaleToRoutes } from "./config-matchers.js";
13
12
  import { loadTsconfigResolutionForRoot } from "./tsconfig-paths.js";
13
+ import { loadCommonJsModule, shouldRetryAsCommonJs } from "../utils/commonjs-loader.js";
14
14
  import { Module, createRequire } from "node:module";
15
15
  import { AsyncLocalStorage } from "node:async_hooks";
16
16
  import fs from "node:fs";
17
17
  import { fileURLToPath } from "node:url";
18
18
  import { randomUUID } from "node:crypto";
19
19
  import commonjs from "vite-plugin-commonjs";
20
- //#region src/config/next-config.ts
20
+ // src/config/next-config.ts
21
21
  /**
22
22
  * next.config.js / next.config.mjs / next.config.ts parser
23
23
  *
@@ -1596,5 +1596,4 @@ function extractPluginsFromOptions(opts) {
1596
1596
  };
1597
1597
  return null;
1598
1598
  }
1599
- //#endregion
1600
1599
  export { PHASE_PRODUCTION_BUILD, VINEXT_NEXT_CONFIG_PLUGIN_PROPERTY, createRscCompatibilityId, detectNextIntlConfig, extractMdxOptions, findNextConfigPath, findVinextNextConfigInPlugins, lightningCssFeatureNamesToMask, loadNextConfig, normalizeAssetPrefix, parseBodySizeLimit, reassignsModuleExports, referencesCjsGlobals, resolveNextConfig, resolveNextConfigInput };
@@ -1,6 +1,5 @@
1
1
  import { VINEXT_CACHE_CONFIG_PLUGIN_PROPERTY, VinextCacheConfig, cacheWarmupStatusSource, finalizeCacheAdapterPrerenderOutput, findVinextCacheConfigInPlugins, hasBuildIdentityResponseHeader, hasCacheAdapterPrerenderOutput, hasUncachedRequestRouting, hasVerbatimResponseVary, isConfiguredCdnResponsePolicyHeader, loadVinextCacheConfigFromViteConfig, requiresRouteCacheabilityProbeManifest, supportsCanonicalRscWarmup } from "../cache/cache-adapters-virtual.js";
2
2
  import { PluginOption } from "vite";
3
- //#region src/config/prerender.d.ts
4
3
  export type VinextPrerenderConfig = true | {
5
4
  /**
6
5
  * Routes to pre-render after the production build.
@@ -43,5 +42,4 @@ export declare function resolveVinextPrerenderDecision(options: {
43
42
  nextOutput?: string;
44
43
  }): VinextPrerenderDecision | null;
45
44
  export declare function formatVinextPrerenderLabel(decision: VinextPrerenderDecision): string;
46
- //#endregion
47
45
  export { VINEXT_CACHE_CONFIG_PLUGIN_PROPERTY, type VinextCacheConfig, cacheWarmupStatusSource, finalizeCacheAdapterPrerenderOutput, findVinextCacheConfigInPlugins, hasBuildIdentityResponseHeader, hasCacheAdapterPrerenderOutput, hasUncachedRequestRouting, hasVerbatimResponseVary, isConfiguredCdnResponsePolicyHeader, loadVinextCacheConfigFromViteConfig, requiresRouteCacheabilityProbeManifest, supportsCanonicalRscWarmup };
@@ -1,7 +1,7 @@
1
- import { isUnknownRecord } from "../utils/record.js";
2
1
  import { flattenPluginOptions } from "../utils/plugin-options.js";
2
+ import { isUnknownRecord } from "../utils/record.js";
3
3
  import { VINEXT_CACHE_CONFIG_PLUGIN_PROPERTY, cacheWarmupStatusSource, finalizeCacheAdapterPrerenderOutput, findVinextCacheConfigInPlugins, hasBuildIdentityResponseHeader, hasCacheAdapterPrerenderOutput, hasUncachedRequestRouting, hasVerbatimResponseVary, isConfiguredCdnResponsePolicyHeader, loadVinextCacheConfigFromViteConfig, requiresRouteCacheabilityProbeManifest, supportsCanonicalRscWarmup } from "../cache/cache-adapters-virtual.js";
4
- //#region src/config/prerender.ts
4
+ // src/config/prerender.ts
5
5
  const VINEXT_PRERENDER_CONFIG_PLUGIN_PROPERTY = "__vinextPrerenderConfig";
6
6
  const VINEXT_ROUTE_ROOT_CONFIG_PLUGIN_PROPERTY = "__vinextRouteRootConfig";
7
7
  function normalizeVinextPrerenderConfig(config) {
@@ -67,5 +67,4 @@ function formatVinextPrerenderLabel(decision) {
67
67
  if (decision.reason === "vinext-config") return "Pre-rendering all routes (vinext prerender config)...";
68
68
  return "Pre-rendering all routes...";
69
69
  }
70
- //#endregion
71
70
  export { VINEXT_CACHE_CONFIG_PLUGIN_PROPERTY, VINEXT_PRERENDER_CONFIG_PLUGIN_PROPERTY, VINEXT_ROUTE_ROOT_CONFIG_PLUGIN_PROPERTY, cacheWarmupStatusSource, finalizeCacheAdapterPrerenderOutput, findVinextCacheConfigInPlugins, findVinextPrerenderConfigInPlugins, findVinextRouteRootConfigInPlugins, formatVinextPrerenderLabel, hasBuildIdentityResponseHeader, hasCacheAdapterPrerenderOutput, hasUncachedRequestRouting, hasVerbatimResponseVary, isConfiguredCdnResponsePolicyHeader, loadVinextCacheConfigFromViteConfig, loadVinextPrerenderConfigFromViteConfig, loadVinextRouteRootConfigFromViteConfig, normalizeVinextPrerenderConfig, requiresRouteCacheabilityProbeManifest, resolveVinextPrerenderDecision, supportsCanonicalRscWarmup };
@@ -1,4 +1,3 @@
1
- //#region src/config/request-context.d.ts
2
1
  /** Request context needed for evaluating has/missing conditions. */
3
2
  export type RequestContext = {
4
3
  readonly headers: Headers;
@@ -9,5 +8,4 @@ export type RequestContext = {
9
8
  export declare function parseCookies(cookieHeader: string | null): Record<string, string>;
10
9
  export declare function normalizeHost(hostHeader: string | null, fallbackHostname: string): string;
11
10
  /** Build a lazily parsed request context from a Web Request. */
12
- export declare function requestContextFromRequest(request: Request): RequestContext;
13
- //#endregion
11
+ export declare function requestContextFromRequest(request: Request): RequestContext;
@@ -1,5 +1,5 @@
1
1
  import { parseCookieHeader } from "../utils/parse-cookie.js";
2
- //#region src/config/request-context.ts
2
+ // src/config/request-context.ts
3
3
  function parseCookies(cookieHeader) {
4
4
  return parseCookieHeader(cookieHeader);
5
5
  }
@@ -22,5 +22,4 @@ function requestContextFromRequest(request) {
22
22
  host: normalizeHost(request.headers.get("host"), url.hostname)
23
23
  };
24
24
  }
25
- //#endregion
26
25
  export { normalizeHost, parseCookies, requestContextFromRequest };
@@ -1,4 +1,3 @@
1
- //#region src/config/server-external-packages.d.ts
2
1
  /**
3
2
  * OpenTelemetry's instrumentation packages must keep their native package
4
3
  * boundaries. In particular, `import-in-the-middle` shares a hook registry
@@ -11,5 +10,4 @@
11
10
  * strict pnpm, instead of leaving an unresolvable bare import in dist/server.
12
11
  */
13
12
  export declare function findOpenTelemetryPackages(root: string): string[];
14
- export declare function mergeServerExternalPackages(userPackages?: readonly string[], transpilePackages?: readonly string[], additionalDefaults?: readonly string[]): string[];
15
- //#endregion
13
+ export declare function mergeServerExternalPackages(userPackages?: readonly string[], transpilePackages?: readonly string[], additionalDefaults?: readonly string[]): string[];
@@ -1,6 +1,6 @@
1
1
  import path from "../deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js";
2
2
  import fs from "node:fs";
3
- //#region src/config/server-external-packages.ts
3
+ // src/config/server-external-packages.ts
4
4
  const DEFAULT_SERVER_EXTERNAL_PACKAGES = [
5
5
  "@alinea/generated",
6
6
  "@appsignal/nodejs",
@@ -121,5 +121,4 @@ function mergeServerExternalPackages(userPackages = [], transpilePackages = [],
121
121
  const defaults = [...DEFAULT_SERVER_EXTERNAL_PACKAGES, ...additionalDefaults].filter((name) => !transpiled.has(name));
122
122
  return [.../* @__PURE__ */ new Set([...defaults, ...userPackages])];
123
123
  }
124
- //#endregion
125
124
  export { findOpenTelemetryPackages, mergeServerExternalPackages };
@@ -1,4 +1,3 @@
1
- //#region src/config/tsconfig-paths.d.ts
2
1
  type TsconfigPathResolution = {
3
2
  aliases: Record<string, string>;
4
3
  baseUrl: string | null;
@@ -17,5 +16,4 @@ export declare function loadTsconfigResolutionForRoot(projectRoot: string): Tsco
17
16
  * Back-compat helper for call sites that only need `compilerOptions.paths`.
18
17
  */
19
18
  export declare function loadTsconfigPathAliasesForRoot(projectRoot: string): Record<string, string>;
20
- //#endregion
21
19
  export {};
@@ -1,9 +1,9 @@
1
1
  import path, { toSlash } from "../deps/.pnpm/pathslash@0.1.0/deps/pathslash/dist/index.js";
2
- import { isUnknownRecord } from "../utils/record.js";
3
2
  import { parseStaticObjectLiteral } from "../plugins/fonts.js";
3
+ import { isUnknownRecord } from "../utils/record.js";
4
4
  import { createRequire } from "node:module";
5
5
  import fs from "node:fs";
6
- //#region src/config/tsconfig-paths.ts
6
+ // src/config/tsconfig-paths.ts
7
7
  /**
8
8
  * tsconfig.json `compilerOptions.paths` loader.
9
9
  *
@@ -157,5 +157,4 @@ function loadTsconfigResolutionForRoot(projectRoot) {
157
157
  function loadTsconfigPathAliasesForRoot(projectRoot) {
158
158
  return loadTsconfigResolutionForRoot(projectRoot).aliases;
159
159
  }
160
- //#endregion
161
160
  export { loadTsconfigPathAliasesForRoot, loadTsconfigResolutionForRoot };
@@ -1,5 +1,5 @@
1
1
  import { getProcessAncestry } from "../../../../process-ancestry@0.1.0/deps/process-ancestry/dist/index.js";
2
- //#region ../../node_modules/.pnpm/am-i-vibing@0.5.0/node_modules/am-i-vibing/dist/detector-1yx2Hoe0.mjs
2
+ // ../../node_modules/.pnpm/am-i-vibing@0.5.0/node_modules/am-i-vibing/dist/detector-1yx2Hoe0.mjs
3
3
  /**
4
4
  * Provider configurations for major AI coding tools
5
5
  */
@@ -290,5 +290,4 @@ function isAgent(envOrOptions, legacyAncestry) {
290
290
  const result = detectAgenticEnvironment(envOrOptions, legacyAncestry);
291
291
  return result.type === "agent" || result.type === "hybrid";
292
292
  }
293
- //#endregion
294
293
  export { providers as c, isAgent as n, detectAgenticEnvironment as t };
@@ -1,6 +1,6 @@
1
1
  import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
2
2
  import { require_safer } from "../../../../safer-buffer@2.1.2/deps/safer-buffer/safer.js";
3
- //#region ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js
3
+ // ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js
4
4
  var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
5
5
  var Buffer = require_safer().Buffer;
6
6
  exports._dbcs = DBCSCodec;
@@ -322,6 +322,5 @@ var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
322
322
  return l;
323
323
  }
324
324
  }));
325
- //#endregion
326
325
  export default require_dbcs_codec();
327
326
  export { require_dbcs_codec };
@@ -7,7 +7,7 @@ import { require_gb18030_ranges } from "./tables/gb18030-ranges.json.js";
7
7
  import { require_cp949 } from "./tables/cp949.json.js";
8
8
  import { require_cp950 } from "./tables/cp950.json.js";
9
9
  import { require_big5_added } from "./tables/big5-added.json.js";
10
- //#region ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-data.js
10
+ // ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-data.js
11
11
  var require_dbcs_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12
12
  module.exports = {
13
13
  "shiftjis": {
@@ -118,6 +118,5 @@ var require_dbcs_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
118
118
  "xxbig5": "big5hkscs"
119
119
  };
120
120
  }));
121
- //#endregion
122
121
  export default require_dbcs_data();
123
122
  export { require_dbcs_data };