@vercel/next 4.17.3 → 4.17.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/adapter/index.js +2 -1
- package/dist/index.js +5 -2
- package/package.json +4 -4
package/dist/adapter/index.js
CHANGED
|
@@ -10630,7 +10630,8 @@ var myAdapter = {
|
|
|
10630
10630
|
if (process.env.VERCEL_HASH_SALT != null) {
|
|
10631
10631
|
config.experimental.outputHashSalt = (config.experimental.outputHashSalt ?? "") + process.env.VERCEL_HASH_SALT;
|
|
10632
10632
|
}
|
|
10633
|
-
if (ctx.phase === import_constants2.PHASE_PRODUCTION_BUILD && process.env.VERCEL_PREVIEW_COMMENTS_ENABLED === "1"
|
|
10633
|
+
if (ctx.phase === import_constants2.PHASE_PRODUCTION_BUILD && process.env.VERCEL_PREVIEW_COMMENTS_ENABLED === "1" && // Only available in newer Next.js versions
|
|
10634
|
+
typeof ctx.projectDir !== "undefined") {
|
|
10634
10635
|
const dir = import_node_path2.default.join(ctx.projectDir, ".vercel/");
|
|
10635
10636
|
await import_promises2.default.mkdir(dir, { recursive: true });
|
|
10636
10637
|
await import_promises2.default.writeFile(
|
package/dist/index.js
CHANGED
|
@@ -14628,6 +14628,7 @@ async function serverBuild({
|
|
|
14628
14628
|
base: baseDir,
|
|
14629
14629
|
cache: {},
|
|
14630
14630
|
processCwd: entryPath,
|
|
14631
|
+
moduleSyncCatchall: true,
|
|
14631
14632
|
ignore: [
|
|
14632
14633
|
...requiredServerFilesManifest.ignore.map(
|
|
14633
14634
|
(file) => import_path5.default.join(entryPath, file)
|
|
@@ -14880,7 +14881,8 @@ ${JSON.stringify(
|
|
|
14880
14881
|
traceResult = await (0, import_nft.nodeFileTrace)(pathsToTrace, {
|
|
14881
14882
|
base: baseDir,
|
|
14882
14883
|
cache: traceCache,
|
|
14883
|
-
processCwd: projectDir
|
|
14884
|
+
processCwd: projectDir,
|
|
14885
|
+
moduleSyncCatchall: true
|
|
14884
14886
|
});
|
|
14885
14887
|
traceResult.esmFileList.forEach((file) => traceResult?.fileList.add(file));
|
|
14886
14888
|
parentFilesMap = getFilesMapFromReasons(
|
|
@@ -17663,7 +17665,8 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
|
|
|
17663
17665
|
const result = await (0, import_nft2.nodeFileTrace)(pathsToTrace, {
|
|
17664
17666
|
base: baseDir,
|
|
17665
17667
|
cache: nftCache,
|
|
17666
|
-
processCwd: entryPath
|
|
17668
|
+
processCwd: entryPath,
|
|
17669
|
+
moduleSyncCatchall: true
|
|
17667
17670
|
});
|
|
17668
17671
|
result.esmFileList.forEach((file) => result.fileList.add(file));
|
|
17669
17672
|
const parentFilesMap = getFilesMapFromReasons(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vercel/nft": "1.
|
|
16
|
+
"@vercel/nft": "1.10.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@next-community/adapter-vercel": "0.0.1-beta.
|
|
19
|
+
"@next-community/adapter-vercel": "0.0.1-beta.22",
|
|
20
20
|
"@types/aws-lambda": "8.10.19",
|
|
21
21
|
"@types/buffer-crc32": "0.2.0",
|
|
22
22
|
"@types/bytes": "3.1.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"vitest": "2.0.3",
|
|
55
55
|
"webpack-sources": "3.2.3",
|
|
56
56
|
"@vercel/routing-utils": "6.2.0",
|
|
57
|
-
"@vercel/build-utils": "13.26.
|
|
57
|
+
"@vercel/build-utils": "13.26.4"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "node build.mjs",
|