@vercel/next 4.3.11 → 4.3.12

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 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10623,6 +10623,7 @@ function getImagesConfig(imagesManifest) {
10623
10623
  domains: imagesManifest.images.domains,
10624
10624
  sizes: imagesManifest.images.sizes,
10625
10625
  remotePatterns: imagesManifest.images.remotePatterns,
10626
+ localPatterns: imagesManifest.images.localPatterns,
10626
10627
  minimumCacheTTL: imagesManifest.images.minimumCacheTTL,
10627
10628
  formats: imagesManifest.images.formats,
10628
10629
  dangerouslyAllowSVG: imagesManifest.images.dangerouslyAllowSVG,
@@ -15332,6 +15333,12 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
15332
15333
  message: 'image-manifest.json "images.remotePatterns" must be an array. Contact support if this continues to happen'
15333
15334
  });
15334
15335
  }
15336
+ if (images.localPatterns && !Array.isArray(images.localPatterns)) {
15337
+ throw new import_build_utils3.NowBuildError({
15338
+ code: "NEXT_IMAGES_LOCALPATTERNS",
15339
+ message: 'image-manifest.json "images.localPatterns" must be an array. Contact support if this continues to happen'
15340
+ });
15341
+ }
15335
15342
  if (images.minimumCacheTTL && !Number.isInteger(images.minimumCacheTTL)) {
15336
15343
  throw new import_build_utils3.NowBuildError({
15337
15344
  code: "NEXT_IMAGES_MINIMUMCACHETTL",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
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": "8.4.5",
33
+ "@vercel/build-utils": "8.4.6",
34
34
  "@vercel/routing-utils": "3.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",