@vercel/next 4.15.4 → 4.15.6

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 +7 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11747,7 +11747,8 @@ async function createLambdaFromPseudoLayers({
11747
11747
  slug: "nextjs",
11748
11748
  version: nextVersion
11749
11749
  },
11750
- experimentalAllowBundling
11750
+ experimentalAllowBundling,
11751
+ shouldDisableAutomaticFetchInstrumentation: process.env.VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION === "1"
11751
11752
  });
11752
11753
  }
11753
11754
  async function getExportIntent(entryPath) {
@@ -13230,7 +13231,7 @@ async function getNodeMiddleware({
13230
13231
  }
13231
13232
  const routes = [];
13232
13233
  const routeMatchers = getRouteMatchers(
13233
- { matchers: middlewareFunctionConfig.matchers },
13234
+ { matchers: middlewareFunctionConfig.matchers, page: "/" },
13234
13235
  routesManifest
13235
13236
  );
13236
13237
  for (const matcher of routeMatchers) {
@@ -13325,7 +13326,8 @@ async function getNodeMiddleware({
13325
13326
  fsPath: middlewareFile
13326
13327
  }),
13327
13328
  [import_path3.default.join(import_path3.default.relative(baseDir, projectDir), "___next_launcher.cjs")]: new import_build_utils.FileBlob({ data: launcherData })
13328
- }
13329
+ },
13330
+ shouldDisableAutomaticFetchInstrumentation: process.env.VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION === "1"
13329
13331
  });
13330
13332
  return {
13331
13333
  routes,
@@ -17188,7 +17190,8 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
17188
17190
  framework: {
17189
17191
  slug: "nextjs",
17190
17192
  version: nextVersion
17191
- }
17193
+ },
17194
+ shouldDisableAutomaticFetchInstrumentation: process.env.VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION === "1"
17192
17195
  });
17193
17196
  (0, import_build_utils3.debug)(`Created serverless function for page: "${page}"`);
17194
17197
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.15.4",
3
+ "version": "4.15.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -13,7 +13,7 @@
13
13
  "dist"
14
14
  ],
15
15
  "dependencies": {
16
- "@vercel/nft": "0.30.1"
16
+ "@vercel/nft": "1.1.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/aws-lambda": "8.10.19",
@@ -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": "13.2.0",
33
+ "@vercel/build-utils": "13.2.1",
34
34
  "@vercel/routing-utils": "5.3.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",