@vercel/build-utils
Advanced tools
Comparing version 6.2.2 to 6.2.3
@@ -20,3 +20,3 @@ "use strict"; | ||
function getPrettyError(obj) { | ||
const docsUrl = 'https://vercel.com/docs/configuration'; | ||
const docsUrl = 'https://vercel.com/docs/concepts/projects/project-configuration'; | ||
try { | ||
@@ -39,3 +39,3 @@ const { dataPath, params, message: ajvMessage } = obj; | ||
message: message, | ||
link: prop ? `${docsUrl}#project/${prop.toLowerCase()}` : docsUrl, | ||
link: prop ? `${docsUrl}#${prop.toLowerCase()}` : docsUrl, | ||
action: 'View Documentation', | ||
@@ -42,0 +42,0 @@ }); |
@@ -16,3 +16,4 @@ export declare const functionsSchema: { | ||
memory: { | ||
enum: number[]; | ||
minimum: number; | ||
maximum: number; | ||
}; | ||
@@ -19,0 +20,0 @@ maxDuration: { |
@@ -19,6 +19,4 @@ "use strict"; | ||
memory: { | ||
// Number between 128 and 3008 in steps of 64 | ||
enum: Object.keys(Array.from({ length: 50 })) | ||
.slice(2, 48) | ||
.map(x => Number(x) * 64), | ||
minimum: 128, | ||
maximum: 3008, | ||
}, | ||
@@ -25,0 +23,0 @@ maxDuration: { |
{ | ||
"name": "@vercel/build-utils", | ||
"version": "6.2.2", | ||
"version": "6.2.3", | ||
"license": "MIT", | ||
@@ -17,3 +17,3 @@ "main": "./dist/index.js", | ||
"test-unit": "pnpm test test/unit.*test.*", | ||
"test-integration-once": "pnpm test test/integration.test.ts" | ||
"test-e2e": "pnpm test test/integration.test.ts" | ||
}, | ||
@@ -55,3 +55,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "95a4dcfb33d813f1a0ef18d766232d42c876ce69" | ||
"gitHead": "881e43a0e2d6daa2f7654ad16566960b00d412aa" | ||
} |
Sorry, the diff of this file is too big to display
1537746
31569