@vercel/next 4.3.3 → 4.3.5
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 +10 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -14025,6 +14025,14 @@ ${JSON.stringify(
|
|
14025
14025
|
if (routesManifest?.i18n) {
|
14026
14026
|
route = normalizeLocalePath(route, routesManifest.i18n.locales).pathname;
|
14027
14027
|
}
|
14028
|
+
if (
|
14029
|
+
// we can't delete dynamic app route lambdas just because
|
14030
|
+
// they are in the prerender manifest since a dynamic
|
14031
|
+
// route can have some prerendered paths and the rest SSR
|
14032
|
+
inversedAppPathManifest[route] && isDynamicRoute(route)
|
14033
|
+
) {
|
14034
|
+
return;
|
14035
|
+
}
|
14028
14036
|
delete lambdas[normalizeIndexOutput(
|
14029
14037
|
import_path4.default.posix.join("./", entryDirectory, route === "/" ? "/index" : route),
|
14030
14038
|
true
|
@@ -14999,14 +15007,11 @@ var build = async (buildOptions) => {
|
|
14999
15007
|
const nextVersionRange = await getNextVersionRange(entryPath);
|
15000
15008
|
const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
|
15001
15009
|
const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
|
15002
|
-
const { cliType, lockfileVersion,
|
15003
|
-
entryPath,
|
15004
|
-
true
|
15005
|
-
);
|
15010
|
+
const { cliType, lockfileVersion, packageJsonPackageManager } = await (0, import_build_utils3.scanParentDirs)(entryPath, true);
|
15006
15011
|
spawnOpts.env = (0, import_build_utils3.getEnvForPackageManager)({
|
15007
15012
|
cliType,
|
15008
15013
|
lockfileVersion,
|
15009
|
-
packageJsonPackageManager
|
15014
|
+
packageJsonPackageManager,
|
15010
15015
|
nodeVersion,
|
15011
15016
|
env: spawnOpts.env || {}
|
15012
15017
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.5",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@types/semver": "6.0.0",
|
31
31
|
"@types/text-table": "0.2.1",
|
32
32
|
"@types/webpack-sources": "3.2.0",
|
33
|
-
"@vercel/build-utils": "8.3.
|
33
|
+
"@vercel/build-utils": "8.3.3",
|
34
34
|
"@vercel/routing-utils": "3.1.0",
|
35
35
|
"async-sema": "3.0.1",
|
36
36
|
"buffer-crc32": "0.2.13",
|