rsnext/packages/next/server
Naoyuki Kanezawa 53d1b00c7f
fix the dynamic routing of middleware (#32601)
* fix the dynamic routing of middleware

* add middleware to dynamicRoutes of routes-manifest

* remove unused import

* fix middleware routing with static paths

* update manifest version test

* prevent to match with api route using regex

* use iterator instead of generator

* do not use Iterator

* fix type

* fix type

* remove unused import

* apply the fix for support colons

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2022-03-28 16:16:43 -05:00
..
api-utils Update on-demand ISR to skip fetch locally (#35386) 2022-03-17 12:06:44 -05:00
base-http Allow reading request bodies in middlewares (#34294) (#34519) 2022-02-18 19:43:43 +00:00
dev fix the dynamic routing of middleware (#32601) 2022-03-28 16:16:43 -05:00
lib Update on-demand ISR to skip fetch locally (#35386) 2022-03-17 12:06:44 -05:00
send-payload Reduce the size of web server (#34767) 2022-02-24 19:53:17 +00:00
web Add deprecated JSDoc comments for the previous middleware signature (#35448) 2022-03-28 21:15:08 +00:00
accept-header.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
base-server.ts fix the dynamic routing of middleware (#32601) 2022-03-28 16:16:43 -05:00
body-streams.ts fix post request hangs when no body is consumed on middleware (#35131) 2022-03-08 19:24:58 +00:00
config-shared.ts Update terminal tree view for switchable runtime (#35394) 2022-03-26 02:19:51 +01:00
config-utils.ts Remove webpack 4 support (#29660) 2021-10-06 17:40:01 +02:00
config.ts Adopt react 18 rc2 (#35161) 2022-03-09 21:12:36 +01:00
crypto-utils.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
denormalize-page-path.ts Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
font-utils.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
get-page-files.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
get-route-from-entrypoint.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
htmlescape.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
image-optimizer.ts Update on-demand ISR to skip fetch locally (#35386) 2022-03-17 12:06:44 -05:00
incremental-cache.ts Update to leverage response-cache for image-optimizer (#34075) 2022-02-08 18:46:59 -05:00
load-components.ts Revert "Revert "Make concurrent features independent from the global runtime option"" (#35490) 2022-03-26 00:05:35 +01:00
next-server.ts fix the dynamic routing of middleware (#32601) 2022-03-28 16:16:43 -05:00
next.ts Base Http for BaseServer (#32999) 2022-01-14 21:01:35 +00:00
node-polyfill-fetch.js Pre-compile more dependencies (#32742) 2022-01-17 15:17:22 +00:00
node-polyfill-web-streams.js Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
node-web-streams-helper.ts Abstract out stream related utils from render and web/utils (#35372) 2022-03-17 23:21:16 +00:00
normalize-page-path.ts Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
optimize-amp.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
render-result.ts Add unstable_useFlushEffects hook (#34117) 2022-02-18 00:18:28 +00:00
render.tsx Rename createRSCHook to createFlightHook (#35665) 2022-03-28 16:27:50 +00:00
request-meta.ts Ensure we don't poll page in development when notFound: true is returned (#34352) 2022-02-16 18:53:48 +00:00
require.ts Expose WASM bindings in Middleware (#34437) 2022-03-02 15:09:36 +00:00
response-cache.ts Handle de-duping revalidations in minimal mode (#34935) 2022-03-02 15:06:54 -08:00
router-utils.ts test: warn on substr() usage (#35499) 2022-03-24 18:35:33 -04:00
router.ts fix the dynamic routing of middleware (#32601) 2022-03-28 16:16:43 -05:00
serve-static.ts Add support for AVIF to next/image (#29683) 2021-10-11 23:17:47 +00:00
server-route-utils.ts Fix encoding error with location and refresh headers (#33763) 2022-01-28 16:20:34 +00:00
utils.ts Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
web-server.ts fix the dynamic routing of middleware (#32601) 2022-03-28 16:16:43 -05:00