@vercel/next 4.2.17 → 4.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -14999,9 +14999,7 @@ async function serverBuild({
14999
14999
  });
15000
15000
  const appRouterStreamingActionLambdaGroups = [];
15001
15001
  for (const group of appRouterLambdaGroups) {
15002
- if (!group.isPrerenders || group.isExperimentalPPR) {
15003
- group.isStreaming = true;
15004
- }
15002
+ group.isStreaming = true;
15005
15003
  group.isAppRouter = true;
15006
15004
  if (hasActionOutputSupport) {
15007
15005
  appRouterStreamingActionLambdaGroups.push({
@@ -33,3 +33,6 @@ module.exports = serve(nextServer.getRequestHandler());
33
33
  if (conf.experimental?.ppr && "getRequestHandlerWithMetadata" in nextServer && typeof nextServer.getRequestHandlerWithMetadata === "function") {
34
34
  module.exports.getRequestHandlerWithMetadata = (metadata) => serve(nextServer.getRequestHandlerWithMetadata(metadata));
35
35
  }
36
+ if (process.env.NEXT_PRIVATE_PRELOAD_ENTRIES) {
37
+ module.exports.preload = nextServer.unstable_preloadEntries.bind(nextServer);
38
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.2.17",
3
+ "version": "4.2.18",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",