vercel 28.5.6 → 28.6.0
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/README.md +2 -0
- package/dist/index.js +115 -80
- package/package.json +16 -16
package/README.md
CHANGED
@@ -51,6 +51,8 @@ At this point you can make modifications to the CLI source code and test them ou
|
|
51
51
|
cd packages/cli
|
52
52
|
```
|
53
53
|
|
54
|
+
### `yarn dev <cli-commands...>`
|
55
|
+
|
54
56
|
From within the `packages/cli` directory, you can use the "dev" script to quickly execute Vercel CLI from its TypeScript source code directly (without having to manually compile first). For example:
|
55
57
|
|
56
58
|
```bash
|
package/dist/index.js
CHANGED
@@ -192637,7 +192637,7 @@ const download_1 = __nested_webpack_require_894917__(1611);
|
|
192637
192637
|
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_894917__(2560));
|
192638
192638
|
class Lambda {
|
192639
192639
|
constructor(opts) {
|
192640
|
-
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, experimentalResponseStreaming, } = opts;
|
192640
|
+
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, experimentalResponseStreaming, operationType, } = opts;
|
192641
192641
|
if ('files' in opts) {
|
192642
192642
|
assert_1.default(typeof opts.files === 'object', '"files" must be an object');
|
192643
192643
|
}
|
@@ -192668,6 +192668,7 @@ class Lambda {
|
|
192668
192668
|
assert_1.default(regions.every(r => typeof r === 'string'), '"regions" is not a string Array');
|
192669
192669
|
}
|
192670
192670
|
this.type = 'Lambda';
|
192671
|
+
this.operationType = operationType;
|
192671
192672
|
this.files = 'files' in opts ? opts.files : undefined;
|
192672
192673
|
this.handler = handler;
|
192673
192674
|
this.runtime = runtime;
|
@@ -192761,13 +192762,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
192761
192762
|
/***/ }),
|
192762
192763
|
|
192763
192764
|
/***/ 7049:
|
192764
|
-
/***/ ((__unused_webpack_module, exports,
|
192765
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_900766__) => {
|
192765
192766
|
|
192766
192767
|
"use strict";
|
192767
192768
|
|
192768
192769
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192769
192770
|
exports.NodejsLambda = void 0;
|
192770
|
-
const lambda_1 =
|
192771
|
+
const lambda_1 = __nested_webpack_require_900766__(6721);
|
192771
192772
|
class NodejsLambda extends lambda_1.Lambda {
|
192772
192773
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
192773
192774
|
super(opts);
|
@@ -192794,6 +192795,10 @@ class Prerender {
|
|
192794
192795
|
this.type = 'Prerender';
|
192795
192796
|
this.expiration = expiration;
|
192796
192797
|
this.lambda = lambda;
|
192798
|
+
if (this.lambda) {
|
192799
|
+
// "ISR" is the platform default lambda label for prerender functions
|
192800
|
+
this.lambda.operationType = this.lambda.operationType || 'ISR';
|
192801
|
+
}
|
192797
192802
|
if (typeof group !== 'undefined' &&
|
192798
192803
|
(group <= 0 || !Number.isInteger(group))) {
|
192799
192804
|
throw new Error('The `group` argument for `Prerender` needs to be a natural number.');
|
@@ -192918,13 +192923,13 @@ exports.buildsSchema = {
|
|
192918
192923
|
/***/ }),
|
192919
192924
|
|
192920
192925
|
/***/ 2564:
|
192921
|
-
/***/ ((__unused_webpack_module, exports,
|
192926
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_906098__) => {
|
192922
192927
|
|
192923
192928
|
"use strict";
|
192924
192929
|
|
192925
192930
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192926
192931
|
exports.shouldServe = void 0;
|
192927
|
-
const path_1 =
|
192932
|
+
const path_1 = __nested_webpack_require_906098__(5622);
|
192928
192933
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
192929
192934
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
192930
192935
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -193169,7 +193174,7 @@ module.exports = __webpack_require__(78761);
|
|
193169
193174
|
/******/ var __webpack_module_cache__ = {};
|
193170
193175
|
/******/
|
193171
193176
|
/******/ // The require function
|
193172
|
-
/******/ function
|
193177
|
+
/******/ function __nested_webpack_require_1283463__(moduleId) {
|
193173
193178
|
/******/ // Check if module is in cache
|
193174
193179
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
193175
193180
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -193184,7 +193189,7 @@ module.exports = __webpack_require__(78761);
|
|
193184
193189
|
/******/ // Execute the module function
|
193185
193190
|
/******/ var threw = true;
|
193186
193191
|
/******/ try {
|
193187
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
193192
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1283463__);
|
193188
193193
|
/******/ threw = false;
|
193189
193194
|
/******/ } finally {
|
193190
193195
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -193197,11 +193202,11 @@ module.exports = __webpack_require__(78761);
|
|
193197
193202
|
/************************************************************************/
|
193198
193203
|
/******/ /* webpack/runtime/compat */
|
193199
193204
|
/******/
|
193200
|
-
/******/
|
193205
|
+
/******/ __nested_webpack_require_1283463__.ab = __dirname + "/";/************************************************************************/
|
193201
193206
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
193202
193207
|
/******/ // startup
|
193203
193208
|
/******/ // Load entry module and return exports
|
193204
|
-
/******/ return
|
193209
|
+
/******/ return __nested_webpack_require_1283463__(2855);
|
193205
193210
|
/******/ })()
|
193206
193211
|
;
|
193207
193212
|
|
@@ -214223,20 +214228,19 @@ const { readdir, readFile, unlink } = fs_1.promises;
|
|
214223
214228
|
*/
|
214224
214229
|
exports.frameworks = [
|
214225
214230
|
{
|
214226
|
-
name: 'Blitz.js',
|
214231
|
+
name: 'Blitz.js (Legacy)',
|
214227
214232
|
slug: 'blitzjs',
|
214228
214233
|
demo: 'https://blitz-template.vercel.app',
|
214229
214234
|
logo: 'https://api-frameworks.vercel.sh/framework-logos/blitz.svg',
|
214230
214235
|
tagline: 'Blitz.js: The Fullstack React Framework',
|
214231
|
-
description: 'A brand new Blitz.js app - the result of running `npx blitz new`.',
|
214236
|
+
description: 'A brand new Blitz.js app - the result of running `npx blitz@0.45.4 new`.',
|
214232
214237
|
website: 'https://blitzjs.com',
|
214233
214238
|
envPrefix: 'NEXT_PUBLIC_',
|
214234
214239
|
useRuntime: { src: 'package.json', use: '@vercel/next' },
|
214235
214240
|
detectors: {
|
214236
214241
|
every: [
|
214237
214242
|
{
|
214238
|
-
path: '
|
214239
|
-
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"blitz":\\s*".+?"[^}]*}',
|
214243
|
+
path: 'blitz.config.(js|ts)',
|
214240
214244
|
},
|
214241
214245
|
],
|
214242
214246
|
},
|
@@ -215855,6 +215859,72 @@ exports.frameworks = [
|
|
215855
215859
|
dependency: 'vite',
|
215856
215860
|
getOutputDirName: async () => 'dist',
|
215857
215861
|
},
|
215862
|
+
{
|
215863
|
+
name: 'VitePress',
|
215864
|
+
slug: 'vitepress',
|
215865
|
+
demo: 'https://vitepress-starter-template.vercel.app/',
|
215866
|
+
logo: 'https://api-frameworks.vercel.sh/framework-logos/vite.svg',
|
215867
|
+
tagline: "VitePress is VuePress' little brother, built on top of Vite.",
|
215868
|
+
description: 'VuePress on top of Vite',
|
215869
|
+
website: 'https://vitepress.vuejs.org/',
|
215870
|
+
detectors: {
|
215871
|
+
every: [
|
215872
|
+
{
|
215873
|
+
path: 'package.json',
|
215874
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*vitepress:\\s*".+?"[^}]*}',
|
215875
|
+
},
|
215876
|
+
],
|
215877
|
+
},
|
215878
|
+
settings: {
|
215879
|
+
installCommand: {
|
215880
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
215881
|
+
},
|
215882
|
+
buildCommand: {
|
215883
|
+
placeholder: '`npm run build` or `vitepress build docs`',
|
215884
|
+
value: 'vitepress build docs',
|
215885
|
+
},
|
215886
|
+
devCommand: {
|
215887
|
+
value: 'vitepress dev docs --port $PORT',
|
215888
|
+
},
|
215889
|
+
outputDirectory: {
|
215890
|
+
value: 'docs/.vitepress/dist',
|
215891
|
+
},
|
215892
|
+
},
|
215893
|
+
getOutputDirName: async () => '.vitepress/dist',
|
215894
|
+
},
|
215895
|
+
{
|
215896
|
+
name: 'VuePress',
|
215897
|
+
slug: 'vuepress',
|
215898
|
+
demo: 'https://vuepress-starter-template.vercel.app',
|
215899
|
+
logo: 'https://api-frameworks.vercel.sh/framework-logos/vuepress.png',
|
215900
|
+
tagline: 'Vue-powered Static Site Generator',
|
215901
|
+
description: 'Vue-powered Static Site Generator',
|
215902
|
+
website: 'https://vuepress.vuejs.org/',
|
215903
|
+
detectors: {
|
215904
|
+
every: [
|
215905
|
+
{
|
215906
|
+
path: 'package.json',
|
215907
|
+
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*vuepress:\\s*".+?"[^}]*}',
|
215908
|
+
},
|
215909
|
+
],
|
215910
|
+
},
|
215911
|
+
settings: {
|
215912
|
+
installCommand: {
|
215913
|
+
placeholder: '`yarn install`, `pnpm install`, or `npm install`',
|
215914
|
+
},
|
215915
|
+
buildCommand: {
|
215916
|
+
placeholder: '`npm run build` or `vuepress build src`',
|
215917
|
+
value: 'vuepress build src',
|
215918
|
+
},
|
215919
|
+
devCommand: {
|
215920
|
+
value: 'vuepress dev src --port $PORT',
|
215921
|
+
},
|
215922
|
+
outputDirectory: {
|
215923
|
+
value: 'src/.vuepress/dist',
|
215924
|
+
},
|
215925
|
+
},
|
215926
|
+
getOutputDirName: async () => 'src/.vuepress/dist',
|
215927
|
+
},
|
215858
215928
|
{
|
215859
215929
|
name: 'Parcel',
|
215860
215930
|
slug: 'parcel',
|
@@ -233662,7 +233732,6 @@ async function main(client) {
|
|
233662
233732
|
}
|
233663
233733
|
// Parse CLI args
|
233664
233734
|
const argv = (0, get_args_1.default)(client.argv.slice(2), {
|
233665
|
-
'--cwd': String,
|
233666
233735
|
'--output': String,
|
233667
233736
|
'--prod': Boolean,
|
233668
233737
|
'--yes': Boolean,
|
@@ -233671,10 +233740,6 @@ async function main(client) {
|
|
233671
233740
|
help();
|
233672
233741
|
return 2;
|
233673
233742
|
}
|
233674
|
-
// Set the working directory if necessary
|
233675
|
-
if (argv['--cwd']) {
|
233676
|
-
process.chdir(argv['--cwd']);
|
233677
|
-
}
|
233678
233743
|
const cwd = process.cwd();
|
233679
233744
|
// Build `target` influences which environment variables will be used
|
233680
233745
|
const target = argv['--prod'] ? 'production' : 'preview';
|
@@ -242262,6 +242327,9 @@ async function writeBuildResultV2(outputDir, buildResult, vercelConfig) {
|
|
242262
242327
|
await writeLambda(outputDir, output, normalizedPath, undefined, lambdas);
|
242263
242328
|
}
|
242264
242329
|
else if (isPrerender(output)) {
|
242330
|
+
if (!output.lambda) {
|
242331
|
+
throw new Error(`Invalid Prerender with no "lambda" property: ${normalizedPath}`);
|
242332
|
+
}
|
242265
242333
|
await writeLambda(outputDir, output.lambda, normalizedPath, undefined, lambdas);
|
242266
242334
|
// Write the fallback file alongside the Lambda directory
|
242267
242335
|
let fallback = output.fallback;
|
@@ -247170,11 +247238,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
247170
247238
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
247171
247239
|
const escape_html_1 = __importDefault(__webpack_require__(84647));
|
247172
247240
|
function error(it) {
|
247173
|
-
let out = '<main>
|
247174
|
-
|
247175
|
-
|
247176
|
-
|
247177
|
-
|
247241
|
+
let out = '<main> ';
|
247242
|
+
if (it.error_code == 'EDGE_FUNCTION_INVOCATION_FAILED') {
|
247243
|
+
out +=
|
247244
|
+
' <p class="error-title error-title-guilty"> <strong>This Edge Function</strong><span> has crashed.</span> </p> ';
|
247245
|
+
}
|
247246
|
+
out += ' ';
|
247247
|
+
if (it.error_code == 'FUNCTION_INVOCATION_FAILED') {
|
247248
|
+
out +=
|
247249
|
+
' <p class="error-title error-title-guilty"> <strong>This Serverless Function</strong><span> has crashed.</span> </p> ';
|
247250
|
+
}
|
247251
|
+
out +=
|
247252
|
+
' <p class="devinfo-container"> <span class="error-code"><strong>' +
|
247253
|
+
it.http_status_code +
|
247254
|
+
'</strong>: ' +
|
247255
|
+
(0, escape_html_1.default)(it.http_status_description) +
|
247256
|
+
'</span> ';
|
247178
247257
|
if (it.error_code) {
|
247179
247258
|
out +=
|
247180
247259
|
' <span class="devinfo-line">Code: <code>' +
|
@@ -247184,7 +247263,7 @@ function error(it) {
|
|
247184
247263
|
out +=
|
247185
247264
|
' <span class="devinfo-line">ID: <code>' +
|
247186
247265
|
(0, escape_html_1.default)(it.request_id) +
|
247187
|
-
'</code> </p></main>';
|
247266
|
+
'</code> </p> <p> <ul> <li> Check the logs in your terminal window to see the application error. </li> </ul> </p></main>';
|
247188
247267
|
return out;
|
247189
247268
|
}
|
247190
247269
|
exports.default = error;
|
@@ -247217,7 +247296,7 @@ function error_404(it) {
|
|
247217
247296
|
out +=
|
247218
247297
|
' <span class="devinfo-line">ID: <code>' +
|
247219
247298
|
(0, escape_html_1.default)(it.request_id) +
|
247220
|
-
'</code> </p></main>';
|
247299
|
+
'</code> </p> <a href="https://vercel.link/404"><div class="note">Click here to learn more about this error.</div></a></main>';
|
247221
247300
|
return out;
|
247222
247301
|
}
|
247223
247302
|
exports.default = error_404;
|
@@ -247236,44 +247315,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
247236
247315
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
247237
247316
|
const escape_html_1 = __importDefault(__webpack_require__(84647));
|
247238
247317
|
function error_502(it) {
|
247239
|
-
let out = '<
|
247240
|
-
|
247241
|
-
|
247242
|
-
|
247243
|
-
|
247244
|
-
'"> <svg class="header-item-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> ';
|
247245
|
-
if (it.app_error) {
|
247246
|
-
out += ' <circle cx="8" cy="8" r="8" fill="#FF0080" /> ';
|
247247
|
-
}
|
247248
|
-
else {
|
247249
|
-
out += ' <circle cx="8" cy="8" r="7.5" stroke="#CCCCCC" /> ';
|
247250
|
-
}
|
247251
|
-
out +=
|
247252
|
-
' </svg> <div class="header-item-content"> <h1>Application Error</h1> <p>The error occurred in the hosted application</p> </div> </div> <div class="header-item';
|
247253
|
-
if (!it.app_error) {
|
247254
|
-
out += ' active';
|
247255
|
-
}
|
247256
|
-
out +=
|
247257
|
-
'"> <svg class="header-item-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> ';
|
247258
|
-
if (!it.app_error) {
|
247259
|
-
out += ' <circle cx="8" cy="8" r="8" fill="#FF0080" /> ';
|
247260
|
-
}
|
247261
|
-
else {
|
247262
|
-
out += ' <circle cx="8" cy="8" r="7.5" stroke="#CCCCCC" /> ';
|
247263
|
-
}
|
247264
|
-
out +=
|
247265
|
-
' </svg> <div class="header-item-content"> <h1>Platform Error</h1> <p>The error occurred in the infrastructure layer</p> </div> </div></header><main> <p> <h1 class="error-title">' +
|
247266
|
-
(0, escape_html_1.default)(it.title) +
|
247267
|
-
'</h1> ';
|
247268
|
-
if (it.subtitle) {
|
247269
|
-
out += ' <p>' + (0, escape_html_1.default)(it.subtitle) + '</p> ';
|
247270
|
-
}
|
247271
|
-
out +=
|
247272
|
-
' </p> <p class="devinfo-container"> <span class="error-code"><strong>' +
|
247273
|
-
it.http_status_code +
|
247274
|
-
'</strong>: ' +
|
247275
|
-
(0, escape_html_1.default)(it.http_status_description) +
|
247276
|
-
'</span> ';
|
247318
|
+
let out = '<main> <p class="devinfo-container"> <span class="error-code"><strong>' +
|
247319
|
+
it.http_status_code +
|
247320
|
+
'</strong>: ' +
|
247321
|
+
(0, escape_html_1.default)(it.http_status_description) +
|
247322
|
+
'</span> ';
|
247277
247323
|
if (it.error_code) {
|
247278
247324
|
out +=
|
247279
247325
|
' <span class="devinfo-line">Code: <code>' +
|
@@ -247283,18 +247329,7 @@ function error_502(it) {
|
|
247283
247329
|
out +=
|
247284
247330
|
' <span class="devinfo-line">ID: <code>' +
|
247285
247331
|
(0, escape_html_1.default)(it.request_id) +
|
247286
|
-
'</code> </p> ';
|
247287
|
-
if (it.app_error) {
|
247288
|
-
out +=
|
247289
|
-
' <p> <ul> <li> Check the logs in your terminal window to see the application error. </li> </ul> <a target="_blank" href="https://vercel.com/docs/error/application/' +
|
247290
|
-
it.error_code +
|
247291
|
-
'" class="docs-link" rel="noopener noreferrer">Developer Documentation →</a> </p> ';
|
247292
|
-
}
|
247293
|
-
else {
|
247294
|
-
out +=
|
247295
|
-
' <p> <ul> <li> Please open a <a target="_blank" href="https://github.com/vercel/vercel/issues/new/choose">GitHub issue</a> describing the problem you are experiencing with <code>vercel dev</code>. </li> </ul> </p> ';
|
247296
|
-
}
|
247297
|
-
out += '</main>';
|
247332
|
+
'</code> </p> <p> <ul> <li> Check the logs in your terminal window to see the application error. </li> </ul> </p></main>';
|
247298
247333
|
return out;
|
247299
247334
|
}
|
247300
247335
|
exports.default = error_502;
|
@@ -247317,9 +247352,9 @@ function error_base(it) {
|
|
247317
247352
|
it.http_status_code +
|
247318
247353
|
': ' +
|
247319
247354
|
(0, escape_html_1.default)(it.http_status_description) +
|
247320
|
-
'</title> <style> html { font-size: 62.5%; box-sizing: border-box } *, ::after, ::before { box-sizing: inherit } body { font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-size: 1.6rem; line-height: 1.65; word-break: break-word; font-kerning: auto; font-variant: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; hyphens: auto; height: 100vh; max-height: 100vh; margin: 0 } ::selection { background: #79FFE1; } ::-moz-selection { background: #79FFE1; } a { cursor: pointer; color: #0070f3; text-decoration: none; transition: all .2s ease; border-bottom: 1px solid transparent } a:hover { border-bottom: 1px solid #0070f3 } ul { padding: 0; margin-left: 1.5em; list-style-type: none } li { margin-bottom: 10px } ul li:before { content: \'\\02013\' } li:before { display: inline-block; color: #ccc; position: absolute; margin-left: -18px; transition: color .2s ease } code { font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; font-size: .92em } code:after, code:before { content: \'`\' } .container { display: flex; justify-content: center; flex-direction: column; min-height:
|
247355
|
+
'</title> <style> html { font-size: 62.5%; box-sizing: border-box; height: -webkit-fill-available } *, ::after, ::before { box-sizing: inherit } body { font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-size: 1.6rem; line-height: 1.65; word-break: break-word; font-kerning: auto; font-variant: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; hyphens: auto; height: 100vh; height: -webkit-fill-available; max-height: 100vh; max-height: -webkit-fill-available; margin: 0 } ::selection { background: #79FFE1; } ::-moz-selection { background: #79FFE1; } a { cursor: pointer; color: #0070f3; text-decoration: none; transition: all .2s ease; border-bottom: 1px solid transparent } a:hover { border-bottom: 1px solid #0070f3 } ul { padding: 0; margin-left: 1.5em; list-style-type: none } li { margin-bottom: 10px } ul li:before { content: \'\\02013\' } li:before { display: inline-block; color: #ccc; position: absolute; margin-left: -18px; transition: color .2s ease } code { font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; font-size: .92em } code:after, code:before { content: \'`\' } .container { display: flex; justify-content: center; flex-direction: column; min-height: 100% } main { max-width: 80rem; padding: 4rem 6rem; margin: auto } ul { margin-bottom: 32px } .error-title { font-size: 2rem; padding-left: 22px; line-height: 1.5; margin-bottom: 24px; } .error-title-guilty { border-left: 2px solid #ED367F; } .error-title-innocent { border-left: 2px solid #59B89C; } main p { color: #333 } .devinfo-container { border: 1px solid #ddd; border-radius: 4px; padding: 2rem; display: flex; flex-direction: column; margin-bottom: 32px } .error-code { margin: 0; font-size: 1.6rem; color: #000; margin-bottom: 1.6rem } .devinfo-line { color: #333 } .devinfo-line code, code, li { color: #000 } .devinfo-line:not(:last-child) { margin-bottom: 8px } .docs-link, .contact-link { font-weight: 500 } header, footer, footer a { display: flex; justify-content: center; align-items: center } header, footer { min-height: 100px; height: 100px; } header { border-bottom: 1px solid #eaeaea; } header h1 { font-size: 1.8rem; margin: 0; font-weight: 500; } header p { font-size: 1.3rem; margin: 0; font-weight: 500; } .header-item { display: flex; padding: 0 2rem; margin: 2rem 0; text-decoration: line-through; color: #999; } .header-item.active { color: #ff0080; text-decoration: none; } .header-item.first { border-right: 1px solid #eaeaea; } .header-item-content { display: flex; flex-direction: column; } .header-item-icon { margin-right: 1rem; margin-top: 0.6rem; } footer { border-top: 1px solid #eaeaea; } footer a { color: #000 } footer a:hover { border-bottom-color: transparent } footer svg { margin-left: .8rem } .note { padding: 8pt 16pt; border-radius: 5px; border: 1px solid #0070f3; font-size: 14px; line-height: 1.8; color: #0070f3; } @media (max-width:500px) { .devinfo-container .devinfo-line code { margin-top: .4rem } .devinfo-container .devinfo-line:not(:last-child) { margin-bottom: 1.6rem } .devinfo-container { margin-bottom: 0; } header { flex-direction: column; height: auto; min-height: auto; align-items: flex-start; } .header-item.first { border-right: none; margin-bottom: 0; } main { padding: 1rem 2rem; } body { font-size: 1.4rem; line-height: 1.55; } footer { display: none; } .note { margin-top: 16px; } } </style> </head> <body> <div class="container"> ' +
|
247321
247356
|
it.view +
|
247322
|
-
'
|
247357
|
+
' </div> </body></html>';
|
247323
247358
|
return out;
|
247324
247359
|
}
|
247325
247360
|
exports.default = error_base;
|
@@ -251057,7 +251092,7 @@ class Now extends events_1.default {
|
|
251057
251092
|
const { key } = error;
|
251058
251093
|
err.message =
|
251059
251094
|
`The env key ${key} has an invalid type: ${typeof env[key]}. ` +
|
251060
|
-
'Please supply a String or a Number (https://err.sh/vercel
|
251095
|
+
'Please supply a String or a Number (https://err.sh/vercel/env-value-invalid-type)';
|
251061
251096
|
}
|
251062
251097
|
else if (code === 'unreferenced_build_specifications') {
|
251063
251098
|
const count = unreferencedBuildSpecs.length;
|
@@ -255862,7 +255897,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
255862
255897
|
/***/ ((module) => {
|
255863
255898
|
|
255864
255899
|
"use strict";
|
255865
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.
|
255900
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.6.0\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest --env node --verbose --bail\",\"test-unit\":\"yarn test test/unit/\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"yarn test test/dev/\",\"coverage\":\"codecov\",\"build\":\"ts-node ./scripts/build.ts\",\"dev\":\"ts-node ./src/index.ts\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 14\"},\"dependencies\":{\"@vercel/build-utils\":\"5.6.0\",\"@vercel/go\":\"2.2.18\",\"@vercel/hydrogen\":\"0.0.32\",\"@vercel/next\":\"3.3.0\",\"@vercel/node\":\"2.7.0\",\"@vercel/python\":\"3.1.28\",\"@vercel/redwood\":\"1.0.38\",\"@vercel/remix\":\"1.1.0\",\"@vercel/ruby\":\"1.3.44\",\"@vercel/static-build\":\"1.0.40\",\"update-notifier\":\"5.1.0\"},\"devDependencies\":{\"@alex_neo/jest-expect-message\":\"1.0.5\",\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@swc/core\":\"1.2.218\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/ini\":\"1.3.31\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.4.1\",\"@types/jest-expect-message\":\"1.0.3\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"14.18.33\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@types/yauzl-promise\":\"2.1.0\",\"@vercel/client\":\"12.2.20\",\"@vercel/error-utils\":\"1.0.3\",\"@vercel/frameworks\":\"1.1.13\",\"@vercel/fs-detectors\":\"3.5.3\",\"@vercel/fun\":\"1.0.4\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"boxen\":\"4.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"git-last-commit\":\"1.0.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"ini\":\"3.0.0\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.1.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"json5\":\"2.2.1\",\"jsonlines\":\"0.1.1\",\"line-async-iterator\":\"3.0.0\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-node\":\"10.9.1\",\"typescript\":\"4.7.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\",\"yauzl-promise\":\"2.1.3\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]}}");
|
255866
255901
|
|
255867
255902
|
/***/ }),
|
255868
255903
|
|
@@ -255870,7 +255905,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.6\",\"prefe
|
|
255870
255905
|
/***/ ((module) => {
|
255871
255906
|
|
255872
255907
|
"use strict";
|
255873
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.
|
255908
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.20\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"yarn test tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test\":\"jest --env node --verbose --runInBand --bail\",\"test-unit\":\"yarn test tests/unit.*test.*\"},\"engines\":{\"node\":\">= 14\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.4.1\",\"@types/minimatch\":\"3.0.5\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"14.18.33\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"@types/tar-fs\":\"1.16.1\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"5.6.0\",\"@vercel/routing-utils\":\"2.1.3\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"minimatch\":\"5.0.1\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"querystring\":\"^0.2.0\",\"sleep-promise\":\"8.0.1\",\"tar-fs\":\"1.16.3\"}}");
|
255874
255909
|
|
255875
255910
|
/***/ }),
|
255876
255911
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.
|
3
|
+
"version": "28.6.0",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -41,17 +41,16 @@
|
|
41
41
|
"node": ">= 14"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@vercel/build-utils": "5.
|
45
|
-
"@vercel/go": "2.2.
|
46
|
-
"@vercel/hydrogen": "0.0.
|
47
|
-
"@vercel/next": "3.
|
48
|
-
"@vercel/node": "2.
|
49
|
-
"@vercel/python": "3.1.
|
50
|
-
"@vercel/redwood": "1.0.
|
51
|
-
"@vercel/remix": "1.0
|
52
|
-
"@vercel/ruby": "1.3.
|
53
|
-
"@vercel/static-build": "1.0.
|
54
|
-
"json5": "2.2.1",
|
44
|
+
"@vercel/build-utils": "5.6.0",
|
45
|
+
"@vercel/go": "2.2.18",
|
46
|
+
"@vercel/hydrogen": "0.0.32",
|
47
|
+
"@vercel/next": "3.3.0",
|
48
|
+
"@vercel/node": "2.7.0",
|
49
|
+
"@vercel/python": "3.1.28",
|
50
|
+
"@vercel/redwood": "1.0.38",
|
51
|
+
"@vercel/remix": "1.1.0",
|
52
|
+
"@vercel/ruby": "1.3.44",
|
53
|
+
"@vercel/static-build": "1.0.40",
|
55
54
|
"update-notifier": "5.1.0"
|
56
55
|
},
|
57
56
|
"devDependencies": {
|
@@ -96,10 +95,10 @@
|
|
96
95
|
"@types/which": "1.3.2",
|
97
96
|
"@types/write-json-file": "2.2.1",
|
98
97
|
"@types/yauzl-promise": "2.1.0",
|
99
|
-
"@vercel/client": "12.2.
|
98
|
+
"@vercel/client": "12.2.20",
|
100
99
|
"@vercel/error-utils": "1.0.3",
|
101
|
-
"@vercel/frameworks": "1.1.
|
102
|
-
"@vercel/fs-detectors": "3.5.
|
100
|
+
"@vercel/frameworks": "1.1.13",
|
101
|
+
"@vercel/fs-detectors": "3.5.3",
|
103
102
|
"@vercel/fun": "1.0.4",
|
104
103
|
"@vercel/ncc": "0.24.0",
|
105
104
|
"@zeit/source-map-support": "0.6.2",
|
@@ -142,6 +141,7 @@
|
|
142
141
|
"is-port-reachable": "3.1.0",
|
143
142
|
"is-url": "1.2.2",
|
144
143
|
"jaro-winkler": "0.2.8",
|
144
|
+
"json5": "2.2.1",
|
145
145
|
"jsonlines": "0.1.1",
|
146
146
|
"line-async-iterator": "3.0.0",
|
147
147
|
"load-json-file": "3.0.0",
|
@@ -195,5 +195,5 @@
|
|
195
195
|
"<rootDir>/test/**/*.test.ts"
|
196
196
|
]
|
197
197
|
},
|
198
|
-
"gitHead": "
|
198
|
+
"gitHead": "a19447f9cdc8c7be8aa3646dfb441dd9469d2ed3"
|
199
199
|
}
|