rsnext/packages/next/server
Shu Ding 931666dd3c
Fix uncaught error in getInitialProps when runtime is set to nodejs (#34228)
This PR ensures that the test "should render 500 error correctly" doesn't break when `runtime` is set to `nodejs` with `serverComponents` enabled.

This test case is now moved to the "basic" suite to ensure it doesn't break in both runtimes. And "should not bundle external imports into client builds for RSC" is enabled for the `nodejs` runtime too.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] 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-02-11 18:30:39 +00:00
..
dev Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
lib Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
web Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
accept-header.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
api-utils.ts Update to leverage response-cache for image-optimizer (#34075) 2022-02-08 18:46:59 -05:00
base-http.ts Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
base-server.ts Enable dynamic HTML in minimal mode (#34222) 2022-02-11 17:43:39 +00:00
config-shared.ts Chore/stable swc compiler options (#34074) 2022-02-10 01:54:28 +00:00
config-utils.ts Remove webpack 4 support (#29660) 2021-10-06 17:40:01 +02:00
config.ts Chore/stable swc compiler options (#34074) 2022-02-10 01:54:28 +00: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-config.ts Add JSDoc to config options (#32915) 2022-02-05 19:49:52 -06:00
image-optimizer.ts Use updated recursive rm fs method for image-optimizer (#34210) 2022-02-11 02:28:55 +00:00
incremental-cache.ts Update to leverage response-cache for image-optimizer (#34075) 2022-02-08 18:46:59 -05:00
load-components.ts Refactor page component getter in web server (#33759) 2022-02-01 22:36:47 +00:00
next-server.ts Fix link for "Delete Query Params in Middleware" error message in next-server.ts (#34230) 2022-02-11 14:44:02 +00: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
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 Use ReadableStream in RenderResult (#34005) 2022-02-05 01:13:02 +00:00
render.tsx Fix uncaught error in getInitialProps when runtime is set to nodejs (#34228) 2022-02-11 18:30:39 +00:00
request-meta.ts Allow to delete URL search params in middleware rewrites (#33725) 2022-01-27 22:06:39 +00:00
require.ts middlewares: limit process.env to inferred usage (#33186) 2022-01-12 13:09:24 +00:00
response-cache.ts Update to leverage response-cache for image-optimizer (#34075) 2022-02-08 18:46:59 -05:00
router.ts Allow to delete URL search params in middleware rewrites (#33725) 2022-01-27 22:06:39 +00:00
send-payload.ts Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00: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 static result being piped (#34111) 2022-02-08 21:03:38 +00:00