@vercel/next 12.0.0 → 12.0.1

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.
package/dist/index.js CHANGED
@@ -13318,6 +13318,12 @@ async function getStaticFiles(entryPath, entryDirectory, outputDirectory) {
13318
13318
  const staticDirectoryFiles = {};
13319
13319
  const publicDirectoryFiles = {};
13320
13320
  for (const file of Object.keys(nextStaticFiles)) {
13321
+ if (file.startsWith("immutable/")) {
13322
+ throw new import_build_utils.NowBuildError({
13323
+ message: 'The Next.js build produced files in "_next/static/immutable" while the Next.js adapter was disabled. Use the Next.js Vercel Adapter instead of manually setting supportsImmutableAssets=true.',
13324
+ code: "NEXT_BUILDER_IMMUTABLE_STATIC_FILES"
13325
+ });
13326
+ }
13321
13327
  const outputPath = import_path3.default.posix.join(entryDirectory, `_next/static/${file}`);
13322
13328
  staticFiles[outputPath] = nextStaticFiles[file];
13323
13329
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -16,10 +16,10 @@
16
16
  "@vercel/nft": "1.10.0"
17
17
  },
18
18
  "peerDependencies": {
19
- "@vercel/build-utils": "14.10.0"
19
+ "@vercel/build-utils": "14.10.1"
20
20
  },
21
21
  "devDependencies": {
22
- "@next-community/adapter-vercel": "0.0.1-beta.29",
22
+ "@next-community/adapter-vercel": "0.0.1-beta.31",
23
23
  "@types/aws-lambda": "8.10.19",
24
24
  "@types/buffer-crc32": "0.2.0",
25
25
  "@types/bytes": "3.1.1",
@@ -57,8 +57,8 @@
57
57
  "vite": "6.4.3",
58
58
  "vitest": "4.1.10",
59
59
  "webpack-sources": "3.2.3",
60
- "@vercel/build-utils": "14.10.0",
61
- "@vercel/routing-utils": "6.5.0"
60
+ "@vercel/build-utils": "14.10.1",
61
+ "@vercel/routing-utils": "6.6.0"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "node build.mjs",