@vercel/next 4.3.11 → 4.3.13
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 +16 -6
- 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,
|
@@ -14951,16 +14952,19 @@ var build = async (buildOptions) => {
|
|
14951
14952
|
const nextVersionRange = await getNextVersionRange(entryPath);
|
14952
14953
|
const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
|
14953
14954
|
const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
|
14954
|
-
const {
|
14955
|
-
|
14956
|
-
|
14957
|
-
|
14955
|
+
const {
|
14956
|
+
cliType,
|
14957
|
+
lockfileVersion,
|
14958
|
+
packageJsonPackageManager,
|
14959
|
+
turboSupportsCorepackHome
|
14960
|
+
} = await (0, import_build_utils3.scanParentDirs)(entryPath, true);
|
14958
14961
|
spawnOpts.env = (0, import_build_utils3.getEnvForPackageManager)({
|
14959
14962
|
cliType,
|
14960
14963
|
lockfileVersion,
|
14961
|
-
packageJsonPackageManager
|
14964
|
+
packageJsonPackageManager,
|
14962
14965
|
nodeVersion,
|
14963
|
-
env: spawnOpts.env || {}
|
14966
|
+
env: spawnOpts.env || {},
|
14967
|
+
turboSupportsCorepackHome
|
14964
14968
|
});
|
14965
14969
|
const nowJsonPath = await (0, import_find_up.default)(["now.json", "vercel.json"], {
|
14966
14970
|
cwd: entryPath
|
@@ -15332,6 +15336,12 @@ More info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`
|
|
15332
15336
|
message: 'image-manifest.json "images.remotePatterns" must be an array. Contact support if this continues to happen'
|
15333
15337
|
});
|
15334
15338
|
}
|
15339
|
+
if (images.localPatterns && !Array.isArray(images.localPatterns)) {
|
15340
|
+
throw new import_build_utils3.NowBuildError({
|
15341
|
+
code: "NEXT_IMAGES_LOCALPATTERNS",
|
15342
|
+
message: 'image-manifest.json "images.localPatterns" must be an array. Contact support if this continues to happen'
|
15343
|
+
});
|
15344
|
+
}
|
15335
15345
|
if (images.minimumCacheTTL && !Number.isInteger(images.minimumCacheTTL)) {
|
15336
15346
|
throw new import_build_utils3.NowBuildError({
|
15337
15347
|
code: "NEXT_IMAGES_MINIMUMCACHETTL",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "4.3.
|
3
|
+
"version": "4.3.13",
|
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.
|
33
|
+
"@vercel/build-utils": "8.4.7",
|
34
34
|
"@vercel/routing-utils": "3.1.0",
|
35
35
|
"async-sema": "3.0.1",
|
36
36
|
"buffer-crc32": "0.2.13",
|