rsnext/packages/next/server
Shu Ding 757a0c7082
Abstract out stream related utils from render and web/utils (#35372)
The `readableStreamTee` util is only used by server/render.tsx, but ended up in the middleware runtime bundle. So it's better to add all the utils in one place, and we can remove them once upstream implementation of ReadableStream is ready.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-03-17 23:21:16 +00: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 Revert "Make concurrent features independent from the global runtime option" (#35405) 2022-03-17 16:31:46 +00: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 Abstract out stream related utils from render and web/utils (#35372) 2022-03-17 23:21:16 +00:00
accept-header.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
base-server.ts Adds web worker support to <Script /> using Partytown (#34244) 2022-03-11 22:26:46 +00: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 SWC emotion transform plugin (#34687) 2022-03-15 08:51:15 +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 "Make concurrent features independent from the global runtime option" (#35405) 2022-03-17 16:31:46 +00:00
next-server.ts Update on-demand ISR to skip fetch locally (#35386) 2022-03-17 12:06:44 -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 Abstract out stream related utils from render and web/utils (#35372) 2022-03-17 23:21:16 +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.ts Ensure non-matching API routes can be rewritten (#33966) 2022-03-01 15:53:25 -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 Update comments for the web server (#35366) 2022-03-16 12:32:30 +00:00