@vercel/next 4.9.2 → 4.9.4

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 +5 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11975,7 +11975,7 @@ async function getPageLambdaGroups({
11975
11975
  opts = { ...vercelConfigOpts, ...opts };
11976
11976
  }
11977
11977
  let matchingGroup = experimentalAllowBundling ? void 0 : groups.find((group) => {
11978
- const matches = group.maxDuration === opts.maxDuration && group.memory === opts.memory && group.isPrerenders === isPrerenderRoute && group.isExperimentalPPR === isExperimentalPPR;
11978
+ const matches = group.maxDuration === opts.maxDuration && group.memory === opts.memory && group.isPrerenders === isPrerenderRoute && group.isExperimentalPPR === isExperimentalPPR && JSON.stringify(group.experimentalTriggers) === JSON.stringify(opts.experimentalTriggers);
11979
11979
  if (matches) {
11980
11980
  let newTracedFilesUncompressedSize = group.pseudoLayerUncompressedBytes;
11981
11981
  for (const newPage of newPages) {
@@ -12003,7 +12003,8 @@ async function getPageLambdaGroups({
12003
12003
  isApiLambda: !!isApiPage(page) || !!isRouteHandlers,
12004
12004
  pseudoLayerBytes: initialPseudoLayer.pseudoLayerBytes,
12005
12005
  pseudoLayerUncompressedBytes: initialPseudoLayerUncompressed,
12006
- pseudoLayer: Object.assign({}, initialPseudoLayer.pseudoLayer)
12006
+ pseudoLayer: Object.assign({}, initialPseudoLayer.pseudoLayer),
12007
+ experimentalTriggers: opts.experimentalTriggers
12007
12008
  };
12008
12009
  groups.push(newGroup);
12009
12010
  matchingGroup = newGroup;
@@ -14837,7 +14838,8 @@ ${JSON.stringify(
14837
14838
  maxDuration: group.maxDuration,
14838
14839
  isStreaming: group.isStreaming,
14839
14840
  nextVersion,
14840
- experimentalAllowBundling
14841
+ experimentalAllowBundling,
14842
+ experimentalTriggers: group.experimentalTriggers
14841
14843
  };
14842
14844
  if (group.isAppRouter && appNotFoundPsuedoLayer) {
14843
14845
  options.layers.push(appNotFoundPsuedoLayer.pseudoLayer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.9.2",
3
+ "version": "4.9.4",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -30,8 +30,8 @@
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": "10.6.1",
34
- "@vercel/routing-utils": "5.0.8",
33
+ "@vercel/build-utils": "10.6.3",
34
+ "@vercel/routing-utils": "5.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",
37
37
  "bytes": "3.1.2",