@vercel/next 4.15.23 → 4.15.24

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 +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -16434,6 +16434,7 @@ var SERVER_BUILD_MINIMUM_NEXT_VERSION = "v10.0.9-canary.4";
16434
16434
  var BEFORE_FILES_CONTINUE_NEXT_VERSION = "v10.2.3-canary.1";
16435
16435
  var REDIRECTS_NO_STATIC_NEXT_VERSION = "v11.0.2-canary.15";
16436
16436
  var IS_APP_CLIENT_SEGMENT_CACHE_ENABLED_VERSION = "v16.0.0";
16437
+ var MINIMUM_NEXT_ADAPTER_VERSION = "v16.2.0-canary.28";
16437
16438
  var MAX_AGE_ONE_YEAR = 31536e3;
16438
16439
  async function readPackageJson(entryPath) {
16439
16440
  const packagePath = import_path6.default.join(entryPath, "package.json");
@@ -16713,7 +16714,7 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
16713
16714
  }
16714
16715
  if (
16715
16716
  // integration tests expect outputs object
16716
- !process.env.NEXT_BUILDER_INTEGRATION && process.env.NEXT_ENABLE_ADAPTER
16717
+ !process.env.NEXT_BUILDER_INTEGRATION && process.env.NEXT_ENABLE_ADAPTER && import_semver5.default.gte(nextVersion, MINIMUM_NEXT_ADAPTER_VERSION)
16717
16718
  ) {
16718
16719
  env.NEXT_ADAPTER_PATH = import_path6.default.join(__dirname, "adapter/index.js");
16719
16720
  env.NEXT_ADAPTER_VERCEL_CONFIG = JSON.stringify(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.15.23",
3
+ "version": "4.15.24",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -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.1",
56
+ "@vercel/build-utils": "13.3.2",
57
57
  "@vercel/routing-utils": "5.3.2"
58
58
  },
59
59
  "scripts": {