@vercel/next 4.7.7 → 4.7.8

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11193,7 +11193,9 @@ async function getDynamicRoutes({
11193
11193
  "/",
11194
11194
  entryDirectory,
11195
11195
  prefetchSegmentDataRoute.destination
11196
- ) : prefetchSegmentDataRoute.destination}${routeKeys ? `?${Object.entries(routeKeys).map(([key, value]) => `${value}=$${key}`).join("&")}` : ""}`,
11196
+ ) : prefetchSegmentDataRoute.destination}?${Object.entries(
11197
+ prefetchSegmentDataRoute.routeKeys ?? routeKeys ?? {}
11198
+ ).map(([key, value]) => `${value}=$${key}`).join("&")}`,
11197
11199
  check: true
11198
11200
  });
11199
11201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.7.7",
3
+ "version": "4.7.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",