@vercel/next 4.2.3 → 4.2.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 +1 -34
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14401,10 +14401,7 @@ async function serverBuild({
14401
14401
  nextVersion,
14402
14402
  EMPTY_ALLOW_QUERY_FOR_PRERENDERED_VERSION
14403
14403
  );
14404
- const hasActionOutputSupport = import_semver3.default.gte(
14405
- nextVersion,
14406
- ACTION_OUTPUT_SUPPORT_VERSION
14407
- );
14404
+ const hasActionOutputSupport = import_semver3.default.gte(nextVersion, ACTION_OUTPUT_SUPPORT_VERSION) && Boolean(process.env.NEXT_EXPERIMENTAL_STREAMING_ACTIONS);
14408
14405
  const projectDir = requiredServerFilesManifest.relativeAppDir ? import_path4.default.join(baseDir, requiredServerFilesManifest.relativeAppDir) : requiredServerFilesManifest.appDir || entryPath;
14409
14406
  const inversedAppPathManifest = {};
14410
14407
  if (appPathRoutesManifest) {
@@ -15735,19 +15732,6 @@ async function serverBuild({
15735
15732
  continue: true,
15736
15733
  override: true
15737
15734
  },
15738
- {
15739
- src: `^${import_path4.default.posix.join("/", entryDirectory, "/")}`,
15740
- dest: import_path4.default.posix.join("/", entryDirectory, "/index.action"),
15741
- has: [
15742
- {
15743
- type: "header",
15744
- key: "content-type",
15745
- value: "multipart/form-data;.*"
15746
- }
15747
- ],
15748
- continue: true,
15749
- override: true
15750
- },
15751
15735
  {
15752
15736
  src: `^${import_path4.default.posix.join(
15753
15737
  "/",
@@ -15763,23 +15747,6 @@ async function serverBuild({
15763
15747
  ],
15764
15748
  continue: true,
15765
15749
  override: true
15766
- },
15767
- {
15768
- src: `^${import_path4.default.posix.join(
15769
- "/",
15770
- entryDirectory,
15771
- "/((?!.+\\.action).+?)(?:/)?$"
15772
- )}`,
15773
- dest: import_path4.default.posix.join("/", entryDirectory, "/$1.action"),
15774
- has: [
15775
- {
15776
- type: "header",
15777
- key: "content-type",
15778
- value: "multipart/form-data;.*"
15779
- }
15780
- ],
15781
- continue: true,
15782
- override: true
15783
15750
  }
15784
15751
  ] : [],
15785
15752
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.2.3",
3
+ "version": "4.2.6",
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": "7.12.0",
33
+ "@vercel/build-utils": "8.0.0",
34
34
  "@vercel/routing-utils": "3.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",