@vercel/next 4.15.25 → 4.15.27

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.
@@ -2314,9 +2314,9 @@ var require_interop_require_default = __commonJS({
2314
2314
  }
2315
2315
  });
2316
2316
 
2317
- // ../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js
2317
+ // ../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js
2318
2318
  var require_modern_browserslist_target = __commonJS({
2319
- "../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js"(exports2, module2) {
2319
+ "../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/modern-browserslist-target.js"(exports2, module2) {
2320
2320
  "use strict";
2321
2321
  var MODERN_BROWSERSLIST_TARGET = [
2322
2322
  "chrome 111",
@@ -2328,9 +2328,9 @@ var require_modern_browserslist_target = __commonJS({
2328
2328
  }
2329
2329
  });
2330
2330
 
2331
- // ../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js
2331
+ // ../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js
2332
2332
  var require_entry_constants = __commonJS({
2333
- "../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js"(exports2) {
2333
+ "../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/entry-constants.js"(exports2) {
2334
2334
  "use strict";
2335
2335
  Object.defineProperty(exports2, "__esModule", {
2336
2336
  value: true
@@ -2362,9 +2362,9 @@ var require_entry_constants = __commonJS({
2362
2362
  }
2363
2363
  });
2364
2364
 
2365
- // ../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js
2365
+ // ../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js
2366
2366
  var require_constants = __commonJS({
2367
- "../../node_modules/.pnpm/next@16.1.1-canary.18_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js"(exports2, module2) {
2367
+ "../../node_modules/.pnpm/next@16.2.0-canary.29_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/next/dist/shared/lib/constants.js"(exports2, module2) {
2368
2368
  "use strict";
2369
2369
  Object.defineProperty(exports2, "__esModule", {
2370
2370
  value: true
@@ -2630,7 +2630,7 @@ var require_constants = __commonJS({
2630
2630
  var SERVER_FILES_MANIFEST = "required-server-files";
2631
2631
  var DEV_CLIENT_PAGES_MANIFEST = "_devPagesManifest.json";
2632
2632
  var MIDDLEWARE_MANIFEST = "middleware-manifest.json";
2633
- var TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = "_clientMiddlewareManifest.json";
2633
+ var TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = "_clientMiddlewareManifest.js";
2634
2634
  var TURBOPACK_CLIENT_BUILD_MANIFEST = "client-build-manifest.json";
2635
2635
  var DEV_CLIENT_MIDDLEWARE_MANIFEST = "_devMiddlewareManifest.json";
2636
2636
  var REACT_LOADABLE_MANIFEST = "react-loadable-manifest.json";
@@ -9714,6 +9714,7 @@ var vercelConfig = JSON.parse(process.env.NEXT_ADAPTER_VERCEL_CONFIG || "{}");
9714
9714
  async function writeDeterministicRoutesManifest(distDir) {
9715
9715
  const manifest = require(import_node_path.default.join(distDir, "routes-manifest.json"));
9716
9716
  manifest.headers = [];
9717
+ manifest.onMatchHeaders = [];
9717
9718
  delete manifest.deploymentId;
9718
9719
  const outputManifestPath = import_node_path.default.join(
9719
9720
  distDir,
@@ -10027,7 +10028,8 @@ async function handleEdgeOutputs(edgeOutputs, {
10027
10028
  import_node_path.default.posix.relative(projectDir, output.filePath)
10028
10029
  ];
10029
10030
  const params = {
10030
- name: output.id.replace(/\.rsc$/, ""),
10031
+ // the edge entries has this hardcoded to "middleware" so match that
10032
+ name: output.id.replace(/\.rsc$/, "").replace("_middleware", "middleware").replace(/^\//, ""),
10031
10033
  staticRoutes: [],
10032
10034
  dynamicRoutes: [],
10033
10035
  nextConfig: {
package/dist/index.js CHANGED
@@ -15110,6 +15110,7 @@ ${JSON.stringify(
15110
15110
  const manifestData = await import_fs_extra5.default.readJSON(fsPath);
15111
15111
  if (manifest === "routes-manifest.json") {
15112
15112
  manifestData.headers = [];
15113
+ manifestData.onMatchHeaders = [];
15113
15114
  delete manifestData.deploymentId;
15114
15115
  } else if (manifest === "server/pages-manifest.json" && !shouldUse404Prerender) {
15115
15116
  if (manifestData["/404"] === "pages/404.html") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.15.25",
3
+ "version": "4.15.27",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -16,7 +16,7 @@
16
16
  "@vercel/nft": "1.1.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@next-community/adapter-vercel": "0.0.1-beta.4",
19
+ "@next-community/adapter-vercel": "0.0.1-beta.6",
20
20
  "@types/aws-lambda": "8.10.19",
21
21
  "@types/buffer-crc32": "0.2.0",
22
22
  "@types/bytes": "3.1.1",
@@ -53,7 +53,7 @@
53
53
  "test-listen": "1.1.0",
54
54
  "text-table": "0.2.0",
55
55
  "webpack-sources": "3.2.3",
56
- "@vercel/build-utils": "13.3.2",
56
+ "@vercel/build-utils": "13.3.3",
57
57
  "@vercel/routing-utils": "5.3.2"
58
58
  },
59
59
  "scripts": {