rsnext/packages/next/client
Javi Velasco 523704b83f
Execute middleware on Next.js internal requests (#37121)
* Do not exclude internal _next request in middleware

* Allow for `NextURL` to parse prefetch requests

* Add test for middleware data prefetch

* Refactor `hasBasePath` and `replaceBasePath`

* Refactor `removeTrailingSlash`

* Refactor parsed next url to use `getNextPathnameInfo`

* Allow to configure `NextURL`

* Ensure middleware rewrites with always with a locale

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-05-27 13:29:04 -05:00
..
dev Fix: Cleaner error message when importing sass without it being installed in dev (#35051) 2022-05-22 06:56:18 +00:00
portal Use SWC to compile Next.js core server files (#27167) 2021-07-14 18:12:04 +00:00
streaming Drop the unstable web vital hook and remove exports of flush effects (#36912) 2022-05-14 21:20:24 +00:00
app-index.tsx Refactor fetchFlight (#37213) 2022-05-26 16:35:09 +02:00
app-next.js Use deterministic module IDs in the client bundle (#37249) 2022-05-27 17:43:42 +00:00
head-manager.ts correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
image.tsx should render the correct sizes passed when a noscript is rendered (#37161) 2022-05-24 19:25:05 +00:00
index.tsx Use deterministic module IDs in the client bundle (#37249) 2022-05-27 17:43:42 +00:00
link.tsx Avoid anonymous function in next/link (#37154) 2022-05-24 16:00:22 +00:00
next-dev.js Ensure hydration error doc link is shown with react 18 (#37074) 2022-05-20 19:04:27 +00:00
next.js Split up & tweak next/client initialization (#33838) 2022-03-07 17:09:55 +00:00
normalize-trailing-slash.ts Execute middleware on Next.js internal requests (#37121) 2022-05-27 13:29:04 -05:00
page-loader.ts Execute middleware on Next.js internal requests (#37121) 2022-05-27 13:29:04 -05:00
performance-relayer.ts Experimental: hook version of reportWebVitals (#28769) 2021-09-24 18:35:33 +00:00
request-idle-callback.ts upgrade to typescript 4.4.3 (#29112) 2021-09-16 18:06:57 +02:00
route-announcer.tsx Fix <RouteAnnouncer/> shouldn't announce initial path under strict mode and React 18 (#34338) 2022-02-14 19:18:39 +00:00
route-loader.ts Route Loader Trusted Types Violation Fix (#34730) 2022-05-03 23:22:08 +00:00
router.ts Custom app for server components (#33149) 2022-01-14 13:01:00 +00:00
script.tsx Adds inline script functionality to next/script for worker and beforeInteractive strategies (#36364) 2022-04-29 15:20:31 +00:00
trusted-types.ts Route Loader Trusted Types Violation Fix (#34730) 2022-05-03 23:22:08 +00:00
use-intersection.tsx fix: reset visible state when src/href changed (#35287) 2022-04-04 14:18:49 -04:00
with-router.tsx Update to latest babel versions (#28174) 2021-08-17 09:18:08 +02:00