File tree
985 files changed
+25407
-18303
lines changed- .github
- actions/next-repo-actions/src
 - workflows
 
 - .vscode
 - bench/heavy-npm-deps
 - crates
- next-api/src
 - next-core/src
- next_app
 - next_client_reference
- ecmascript_client_reference
 
 - next_dynamic
 - next_edge
 - next_font
- google
 - local
 
 - next_image
 - next_pages
 - next_route_matcher
 - next_server_component
 - next_server
 
 - next-custom-transforms
- src/transforms
 - tests
- errors
- react-server-components/server-graph/dynamic-ssr-false
 - server-actions/client-graph/1
 
 - fixture
- edge-assert/guarded-process
 - server-actions/client
- 1
 - 2
 - 3
 - 4
 - 5
 
 
 
 
 
 - docs/02-app
- 01-building-your-application
- 05-styling
 - 06-optimizing
 - 09-authentication
 
 - 02-api-reference
- 02-file-conventions/01-metadata
 - 05-next-config-js
 - 06-cli
 
 
 - examples
- reproduction-template
 - with-docker-multi-env/docker
- development
 - production
 - staging
 
 - with-draft-js
- pages
 
 
 - packages
- create-next-app
- templates
 
 - eslint-config-next
 - eslint-plugin-next
 - font
 - next-bundle-analyzer
 - next-codemod
- bin
 - lib
 
 - next-env
 - next-mdx
 - next-plugin-storybook
 - next-polyfill-module
 - next-polyfill-nomodule
 - next-swc
 - next
- src
- api
 - build
- webpack
- loaders
- metadata
 - next-flight-loader
 
 - plugins
- next-types-plugin
 
 
 
 - client
- components
- react-dev-overlay/internal
- container/RuntimeError
 - helpers
 
 
 - legacy
 
 - compiled
- babel-packages
 - debug
 - react-dom-experimental
- cjs
 
 - react-dom
- cjs
 
 - react-experimental/cjs
 - react-is
 - react-server-dom-turbopack-experimental
- cjs
 
 - react-server-dom-turbopack
- cjs
 
 - react-server-dom-webpack-experimental
- cjs
 
 - react-server-dom-webpack
- cjs
 
 - react/cjs
 - unistore
 
 - export
- helpers
 - routes
 
 - lib
- metadata
- types
 
 
 - server
- app-render
 - async-storage
 - dev
 - lib
- incremental-cache
 
 - request
 - route-modules/app-route
 - stream-utils
 - use-cache
 - web
- spec-extension
- adapters
 
 
 
 - telemetry
 
 - types
 
 - react-refresh-utils
 - third-parties
 
 - scripts
 - test
- .stats-app
 - development
- acceptance-app
 - acceptance
 - app-dir
- server-component-next-dynamic-ssr-false
- app
 
 - ssr-in-rsc
 
 - basic
 
 - e2e
- app-dir
- actions/app
- client
 - handler
 - header
 - mutate-cookie
- page-2
 
 - redirect-target
 - redirects/action-redirect
- redirect-target
 
 - revalidate-2
 - revalidate
 
 - app-basepath-custom-server/custom-server/app
 - app-basepath/app/dynamic/[id]
 - app-client-cache/fixtures/regular/app
- [id]
 - without-loading/[id]
 
 - app-edge-root-layout
 - app-edge/app/edge-apis/cookies
 - app-esm-js/app/app
 - app-middleware
- app
- rsc-cookies-delete
 - rsc-cookies
- cookie-options
 
 
 
 - app-prefetch/app
- force-dynamic/search-params
 - prefetch-dynamic-usage/(protected)
 - revalidate-0/search-params
 
 - app-routes
- app
- dynamic
 - edge/headers
 - hooks
- cookies
- has
 
 - headers
 - rewrite
 
 - status/500
- next
 
 
 
 - app-static/app
- api/draft-mode
 - articles/[slug]
 - default-cache-search-params
 - dynamic-error/[id]
 - dynamic-param-edge/[slug]
 - flight/[slug]/[slug2]
 - force-dynamic-prerender/[slug]
 
 - app/app
- dynamic/[category]/[id]
 - param-and-query/[slug]
 - search-params-prop
- server
 
 - skeleton
 
 - autoscroll-with-css-modules/app/[num]
 - disable-logging-route/app/[id]
 - draft-mode-middleware
- app
- api
- disable-draft
 - draft
 
 - preview-page
 
 
 - draft-mode/app
- disable
 - enable-and-redirect
 - enable
 - state
 - with-cookies
 - with-edge
- disable
 - enable-and-redirect
 - enable
 - state
 - with-cookies
 
 
 - dynamic-data
- fixtures
- cache-scoped/app/cookies
 - main/app
- client-page
 - force-dynamic
 - force-static
 - setenv
 - top-level
 
 - require-static/app
- cookies
 - search
 
 
 
 - dynamic-interception-route-revalidate/app/[locale]
- @modal/(.)photos/[id]/view
 - photos/[id]/view
 
 - dynamic-io
- app
- cases
- dynamic_api_cookies_async
 - dynamic_api_cookies_boundary
 - dynamic_api_cookies_root
 - dynamic_api_headers_boundary
 - dynamic_api_headers_root
 - dynamic_api_search_params_client_boundary
 - dynamic_api_search_params_client_root
 - dynamic_api_search_params_server_boundary
 - dynamic_api_search_params_server_root
 - parallel
- @slot
- cookies
 - microtask
 - no-store
 - static
 - task
 
 - cookies
 - microtask
 - no-store
 - static
 - task
 
 
 - cookies
- exercise
- async
 - sync
 
 - static-behavior
- async_boundary
 - async_root
 - pass-deeply
 - sync_boundary
 - sync_root
 
 
 - draftmode
- async
- toggle
 
 - sync
- toggle
 
 
 - headers
- exercise
- async
 - sync
 
 - static-behavior
- async_boundary
 - async_root
 - pass-deeply
 - sync_boundary
 - sync_root
 
 
 - params
- generate-static-params/[slug]
- page
 
 - semantics/[lowcard]
- [highcard]
- async
- layout-access
- client
 - server
 
 - layout-has
- client
 - server
 
 - layout-spread
- client
 - server
 
 - page-access
- client
 - server
 
 - page-has
- client
 - server
 
 - page-spread
- client
 - server
 
 
 - sync
- layout-access
- client
 - server
 
 - layout-has
- client
 - server
 
 - layout-spread
- client
 - server
 
 - page-access
- client
 - server
 
 - page-has
- client
 - server
 
 - page-spread
- client
 - server
 
 
 
 
 - shadowing/[dyn]/[then]/[value]/[status]
- async
- layout
- client
 - server
 
 - page
- client
 - server
 
 
 - sync
- layout
- client
 - server
 
 - page
- client
 - server
 
 
 
 
 - routes
- -edge
- [dyn]
- async
 - sync
 
 - dynamic-cookies
 - dynamic-headers
 - dynamic-stream
 - dynamic-url
 - fetch-cached
 - fetch-mixed
 - io-cached
 - io-mixed
 - microtask
 - static-stream-async
 - static-stream-sync
 - static-string-async
 - static-string-sync
 - task
 
 - [dyn]
- async
 - sync
 
 - dynamic-cookies
 - dynamic-headers
 - dynamic-stream
 - dynamic-url
 - fetch-cached
 - fetch-mixed
 - io-cached
 - io-mixed
 - microtask
 - static-stream-async
 - static-stream-sync
 - static-string-async
 - static-string-sync
 - task
 
 - search
- async
- client
- use_boundary
 - use_root
 
 - server
- await_boundary
 - await_root
 - use_boundary
 - use_root
 
 
 - sync
- client
- access_boundary
 - access_root
 - has_boundary
 - has_root
 - spread_boundary
 - spread_root
 
 - server
- access_boundary
 - access_root
 - has_boundary
 - has_root
 - spread_boundary
 - spread_root
 
 
 
 
 
 - dynamic
- app
- dynamic-mixed-ssr-false/ssr-false-module
 - dynamic
- async-client
 - dynamic-imports
 
 
 
 - edge-route-catchall/app/edge/[[...slug]]
 - fallback-prefetch/app/[id]
 - front-redirect-issue/app/api/app-redirect/[path]
 - global-error/catch-all/app/[lang]/[...slug]
 - headers-static-bailout
 - hooks/app
- enable
 - hooks/use-cookies
 
 - i18n-hybrid/app/blog/[slug]
 - interception-middleware-rewrite/app/[lang]
- @modal/(.)photos/[id]
 - photos/[id]
 
 - interception-route-prefetch-cache/app
- bar/@modal/(...)post/[id]
 - foo/@modal/(...)post/[id]
 - post/[id]
 
 - interception-routes-root-catchall/app
- @modal/(.)items/[...ids]
 - items/[...ids]
 
 - layout-params/app
- base
- [param1]
- [param2]
 
 
 - catchall/[...params]
 - optional-catchall/[[...params]]
 
 - metadata-dynamic-routes
- app/sitemap-video
 
 - metadata/app/dynamic/[slug]
 - missing-suspense-with-csr-bailout/app/dynamic
 - next-after-app
- app/nodejs/[id]/setting-cookies
 
 - next-after-pages
 - next-dynamic-css/app/page
 - next-form
- basepath/app/search
 - default/app
- forms/button-formaction-unsupported
 - redirected-from-action
 - search
 
 
 - parallel-route-not-found-params/app/[locale]
- show
 
 - parallel-routes-and-interception/app
- (group)/intercepting-parallel-modal
- [username]
- @feed
 - @modal/(..)photo/[id]
 
 - photo/[id]
 
 - intercepting-routes/feed
- (.)photos/[id]
 - photos/[id]
 
 - intercepting-siblings
- @modal/(.)[id]
 - [id]
 
 - interception-route-special-params/[this-is-my-route]
- @intercept/(.)some-page
 - some-page
 
 
 - parallel-routes-breadcrumbs/app
- @slot/[...catchAll]
 - [artist]
- [album]
- [track]
 
 
 
 - parallel-routes-catchall-specificity/app/comments/[productId]
 - parallel-routes-generate-static-params/app/[locale]
- @modal
- (.)interception/[id]
 - no-interception/[id]
 
 - interception/[id]
 - no-interception/[id]
 
 - parallel-routes-revalidation/app
- catchall
- @interception2/(.)[...dynamic]
 - [...dynamic]
 
 - dynamic-refresh/[dynamic]
- @modal/(.)login
 
 - dynamic
- @interception2/(.)[dynamic]
 - [dynamic]
 
 - refreshing
- @modal/(.)login
 
 
 - ppr-errors/app
- logging-error
 - no-suspense-boundary-re-throwing-error
 - no-suspense-boundary
 - re-throwing-error
 
 - ppr-full
- app/fallback/dynamic/error/[slug]
 - components
 
 - ppr
- app
- api/cookie
 - search
 
 - components
 
 - prefetch-searchparam/app
 - rewrites-redirects/app/[...params]
 - router-autoscroll/app/[layoutPaddingWidth]/[layoutPaddingHeight]/[pageWidth]/[pageHeight]/[param]
 - rsc-basic
- app/next-api/link
 
 - search-params-react-key/app
 - searchparams-reuse-loading/app
- search-params
 - search
 - with-middleware/search-params/someValue
 
 - searchparams-static-bailout/app
- client-component-page
 - client-component
 - server-component-page
 
 - unstable-rethrow/app
- cause
 - dynamic-error
 
 - use-cache
- app
 
 
 - async-modules
 - next-test
- first-time-setup-js
 - first-time-setup-ts
 
 
 - integration
- amp-export-validation
 - amphtml-custom-optimizer
 - amphtml-custom-validator
 - amphtml-fragment-style
 - amphtml-ssg
 - amphtml
 - auto-export-query-error
 - build-output/fixtures/with-amp
 - export-default-map
 - i18n-support-base-path
 - i18n-support
 - next-codemod
- upgrade
 
 - next-image-new
- app-dir/app/dynamic-static-img
 - default/test
 
 - page-config
 
 - lib
- next-modes
 
 - production
- app-dir
- deopted-into-client-rendering-warning/app
 - metadata-revalidate
- app
- revalidate/og
 
 
 - symbolic-file-links/somewhere-else/src
 - unexpected-error/app
- isr-unexpected-error
 - ssr-unexpected-error-after-streaming
 - ssr-unexpected-error
 
 
 - custom-server
 - pages-dir/production
- fixture
 - test
 
 - standalone-mode/required-server-files/app/delayed
 
 
 - turbopack/crates
- node-file-trace/src
 - turbo-tasks-env/src
 - turbo-tasks-fs/src
- embed
 
 - turbo-tasks-memory/src
- task
 
 - turbo-tasks/src
 - turbopack-browser/src
- ecmascript
- evaluate
 - list
 
 
 - turbopack-cli/src
- dev
 
 - turbopack-core/src
- chunk
 - issue
 - reference
 - resolve
 - source_map
 
 - turbopack-css/src
- chunk
- single_item_chunk
 
 - references
 
 - turbopack-dev-server/src
- source
 - update
 
 - turbopack-ecmascript-plugins/src/transform
 - turbopack-ecmascript-runtime
- js
- src
- browser
- dev/hmr-client
 - runtime
- base
 - dom
 - edge
 
 
 - nodejs
 
 
 - src
 
 - turbopack-ecmascript
- src
- analyzer
 - async_chunk
 - chunk
 - manifest
 - references
- esm
 
 - side_effect_optimization
- facade
 - locals
 
 - tree_shake
 - webpack
 - worker_chunk
 
 - tests/analyzer/graph/nested-args
 
 - turbopack-json/src
 - turbopack-mdx/src
 - turbopack-nodejs/src
- ecmascript/node
- entry
 
 
 - turbopack-node
- js/src/ipc
 - src
- render
 - source_map
 - transforms
 
 
 - turbopack-resolve/src
 - turbopack-static/src
 - turbopack-tests/tests
- execution/turbopack
- basic/comptime/input
 - code-gen/esm-declare-globals/input
 
 - snapshot
- basic-tree-shake
- dynamic-import/output
 - export-named/output
 - export-namespace/output
 - import-named-all/output
 - import-named/output
 - import-namespace/output
 - import-side-effect/output
 - require-side-effect/output
 - tree-shake-test-1/output
 
 - basic
- async_chunk_build/output
 - async_chunk/output
 - chunked/output
 - ecmascript_minify/output
 - shebang/output
 - top-level-await/output
 
 - comptime
- define/output
 - early-return/output
 - typeof/output
 
 - cssmodules
- composes/output
 - relative-uri-import/output
 
 - css
- absolute-uri-import/output
 - chained-attributes/output
 - css-legacy-nesting/output
 - css-modules/output
 - css/output
 - relative-uri-import/output
 - scss/output
 - url-in-supports-query/output
 
 - dynamic-request/very-dynamic/output
 - emotion/emotion/output
 - env/env/output
 - evaluated_entrry/runtime_entry/output
 - example/example/output
 - export-alls
- cjs-2/output
 - cjs-script/output
 
 - import-meta
- cjs/output
 - esm-multiple/output
 - esm-mutable/output
 - esm-object/output
 - esm/output
 - url/output
 
 - imports
- duplicate-binding/output
 - dynamic/output
 - json/output
 - order/output
 - resolve_error_cjs/output
 - resolve_error_esm/output
 - static-and-dynamic/output
 - static/output
 - subpath-imports-nested/output
 - subpath-imports/output
 
 - mdx/error/output
 - minification/paren-remover/output
 - node
- node_protocol_external/output
 - spawn_dynamic/output
 - spawn_node_eval/output
 
 - runtime
- default_build_runtime/output
 - default_dev_runtime/output
 
 - styled_components/styled_components/output
 - swc_transforms
- mono_transforms/output
 - preset_env/output
 
 - typescript
- jsconfig-baseurl/output
 - tsconfig-baseurl/output
 - tsconfig-extends-module-full-path/output
 - tsconfig-extends-module/output
 - tsconfig-extends-relative-dir/output
 - tsconfig-extends-without-ext/output
 - tsconfig-extends/output
 
 
 
 - turbopack-wasm/src
 - turbopack/src
- module_options
 - transition
 
 
 
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
985 files changed
+25407
-18303
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
39 | 39 |  | |
40 | 40 |  | |
41 | 41 |  | |
42 |  | - | |
 | 42 | + | |
43 | 43 |  | |
44 | 44 |  | |
45 | 45 |  | |
 | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
186 | 186 |  | |
187 | 187 |  | |
188 | 188 |  | |
189 |  | - | |
 | 189 | + | |
 | 190 | + | |
190 | 191 |  | |
191 | 192 |  | |
192 | 193 |  | |
 | |||
201 | 202 |  | |
202 | 203 |  | |
203 | 204 |  | |
 | 205 | + | |
 | 206 | + | |
 | 207 | + | |
204 | 208 |  | |
 | 209 | + | |
 | 210 | + | |
205 | 211 |  | |
206 | 212 |  | |
207 |  | - | |
208 |  | - | |
 | 213 | + | |
 | 214 | + | |
209 | 215 |  | |
210 | 216 |  | |
211 | 217 |  | |
 | |||
216 | 222 |  | |
217 | 223 |  | |
218 | 224 |  | |
 | 225 | + | |
 | 226 | + | |
 | 227 | + | |
219 | 228 |  | |
 | 229 | + | |
 | 230 | + | |
220 | 231 |  | |
221 | 232 |  | |
222 | 233 |  | |
223 |  | - | |
224 |  | - | |
 | 234 | + | |
 | 235 | + | |
225 | 236 |  | |
226 | 237 |  | |
227 | 238 |  | |
 | |||
232 | 243 |  | |
233 | 244 |  | |
234 | 245 |  | |
 | 246 | + | |
 | 247 | + | |
 | 248 | + | |
235 | 249 |  | |
 | 250 | + | |
 | 251 | + | |
 | 252 | + | |
 | 253 | + | |
 | 254 | + | |
 | 255 | + | |
236 | 256 |  | |
237 | 257 |  | |
238 | 258 |  | |
239 |  | - | |
240 |  | - | |
 | 259 | + | |
 | 260 | + | |
241 | 261 |  | |
242 | 262 |  | |
243 | 263 |  | |
 | |||
361 | 381 |  | |
362 | 382 |  | |
363 | 383 |  | |
 | 384 | + | |
 | 385 | + | |
 | 386 | + | |
364 | 387 |  | |
 | 388 | + | |
 | 389 | + | |
365 | 390 |  | |
366 | 391 |  | |
367 |  | - | |
368 |  | - | |
 | 392 | + | |
 | 393 | + | |
369 | 394 |  | |
370 | 395 |  | |
371 | 396 |  | |
 | |||
376 | 401 |  | |
377 | 402 |  | |
378 | 403 |  | |
 | 404 | + | |
 | 405 | + | |
 | 406 | + | |
379 | 407 |  | |
 | 408 | + | |
 | 409 | + | |
380 | 410 |  | |
381 | 411 |  | |
382 |  | - | |
383 |  | - | |
 | 412 | + | |
 | 413 | + | |
384 | 414 |  | |
385 | 415 |  | |
386 | 416 |  | |
 | |||
404 | 434 |  | |
405 | 435 |  | |
406 | 436 |  | |
 | 437 | + | |
 | 438 | + | |
 | 439 | + | |
 | 440 | + | |
 | 441 | + | |
 | 442 | + | |
407 | 443 |  | |
408 | 444 |  | |
409 | 445 |  | |
410 |  | - | |
411 |  | - | |
 | 446 | + | |
 | 447 | + | |
412 | 448 |  | |
413 | 449 |  | |
414 | 450 |  | |
 | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
60 | 60 |  | |
61 | 61 |  | |
62 | 62 |  | |
 | 63 | + | |
 | 64 | + | |
 | 65 | + | |
 | 66 | + | |
 | 67 | + | |
 | 68 | + | |
63 | 69 |  | |
64 | 70 |  | |
65 | 71 |  | |
 | 72 | + | |
66 | 73 |  | |
67 | 74 |  | |
 | 75 | + | |
68 | 76 |  | |
 | 77 | + | |
 | 78 | + | |
 | 79 | + | |
 | 80 | + | |
 | 81 | + | |
 | 82 | + | |
69 | 83 |  | |
70 | 84 |  | |
 | 85 | + | |
71 | 86 |  | |
72 | 87 |  | |
73 | 88 |  | |
 | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
5 | 5 |  | |
6 | 6 |  | |
7 | 7 |  | |
 | 8 | + | |
 | 9 | + | |
 | 10 | + | |
 | 11 | + | |
8 | 12 |  | |
9 | 13 |  | |
10 | 14 |  | |
 | |||
13 | 17 |  | |
14 | 18 |  | |
15 | 19 |  | |
16 |  | - | |
17 |  | - | |
18 |  | - | |
 | 20 | + | |
 | 21 | + | |
 | 22 | + | |
19 | 23 |  | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
5 | 5 |  | |
6 | 6 |  | |
7 | 7 |  | |
8 |  | - | |
 | 8 | + | |
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
 | |||
1 |  | - | |
2 |  | - | |
3 |  | - | |
 | 1 | + | |
4 | 2 |  | |
5 | 3 |  | |
6 | 4 |  | |
 | |||
16 | 14 |  | |
17 | 15 |  | |
18 | 16 |  | |
19 |  | - | |
 | 17 | + | |
0 commit comments