@vercel/next 4.15.8 → 4.15.9
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 +7 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -918,6 +918,9 @@ var require_superstatic = __commonJS({
|
|
|
918
918
|
headers: { Location: loc },
|
|
919
919
|
status
|
|
920
920
|
};
|
|
921
|
+
if (typeof r.env !== "undefined") {
|
|
922
|
+
route.env = r.env;
|
|
923
|
+
}
|
|
921
924
|
if (r.has) {
|
|
922
925
|
route.has = r.has;
|
|
923
926
|
}
|
|
@@ -945,6 +948,9 @@ var require_superstatic = __commonJS({
|
|
|
945
948
|
internalParamNames
|
|
946
949
|
);
|
|
947
950
|
const route = { src, dest, check: true };
|
|
951
|
+
if (typeof r.env !== "undefined") {
|
|
952
|
+
route.env = r.env;
|
|
953
|
+
}
|
|
948
954
|
if (r.has) {
|
|
949
955
|
route.has = r.has;
|
|
950
956
|
}
|
|
@@ -11462,6 +11468,7 @@ async function getDynamicRoutes({
|
|
|
11462
11468
|
if (isAppPPREnabled || isAppClientSegmentCacheEnabled) {
|
|
11463
11469
|
const shouldSkipSuffixes = hasFallbackRootParams || isRoutePPREnabled && isAppClientParamParsingEnabled && !prefetchDataRoute;
|
|
11464
11470
|
routes2.push({
|
|
11471
|
+
...route,
|
|
11465
11472
|
src: route.src.replace(
|
|
11466
11473
|
new RegExp((0, import_escape_string_regexp.default)("(?:/)?$")),
|
|
11467
11474
|
// Now than the upstream issues has been resolved, we can safely
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.9",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"text-table": "0.2.0",
|
|
54
54
|
"webpack-sources": "3.2.3",
|
|
55
55
|
"@vercel/build-utils": "13.2.3",
|
|
56
|
-
"@vercel/routing-utils": "5.3.
|
|
56
|
+
"@vercel/routing-utils": "5.3.1"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "node build.mjs",
|