@vercel/next 3.1.29 → 3.1.30
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 +1 -1
- package/dist/server-build.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -45419,7 +45419,7 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
45419
45419
|
currentRouteSrc = starterRouteSrc;
|
45420
45420
|
}
|
45421
45421
|
// add to existing route src if src length limit isn't reached
|
45422
|
-
currentRouteSrc = `${currentRouteSrc.substring(0, currentRouteSrc.length - 1)}${currentRouteSrc[currentRouteSrc.length - 2] === '(' ? '' : '|'}${route})`;
|
45422
|
+
currentRouteSrc = `${currentRouteSrc.substring(0, currentRouteSrc.length - 1)}${currentRouteSrc[currentRouteSrc.length - 2] === '(' ? '' : '|'}${route}/?)`;
|
45423
45423
|
if (isLastRoute) {
|
45424
45424
|
pushRoute(currentRouteSrc);
|
45425
45425
|
}
|
package/dist/server-build.js
CHANGED
@@ -570,7 +570,7 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
570
570
|
currentRouteSrc = starterRouteSrc;
|
571
571
|
}
|
572
572
|
// add to existing route src if src length limit isn't reached
|
573
|
-
currentRouteSrc = `${currentRouteSrc.substring(0, currentRouteSrc.length - 1)}${currentRouteSrc[currentRouteSrc.length - 2] === '(' ? '' : '|'}${route})`;
|
573
|
+
currentRouteSrc = `${currentRouteSrc.substring(0, currentRouteSrc.length - 1)}${currentRouteSrc[currentRouteSrc.length - 2] === '(' ? '' : '|'}${route}/?)`;
|
574
574
|
if (isLastRoute) {
|
575
575
|
pushRoute(currentRouteSrc);
|
576
576
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.30",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"@types/semver": "6.0.0",
|
45
45
|
"@types/text-table": "0.2.1",
|
46
46
|
"@types/webpack-sources": "3.2.0",
|
47
|
-
"@vercel/build-utils": "5.5.
|
47
|
+
"@vercel/build-utils": "5.5.1",
|
48
48
|
"@vercel/nft": "0.22.1",
|
49
49
|
"@vercel/routing-utils": "2.0.2",
|
50
50
|
"async-sema": "3.0.1",
|
@@ -69,5 +69,5 @@
|
|
69
69
|
"typescript": "4.5.2",
|
70
70
|
"webpack-sources": "3.2.3"
|
71
71
|
},
|
72
|
-
"gitHead": "
|
72
|
+
"gitHead": "bf5cfa9a41f8c1f9e2a3d3fc30735708ca72ad09"
|
73
73
|
}
|