vercel 28.5.5 → 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 +185 -149
- package/package.json +17 -17
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
@@ -191684,6 +191684,7 @@ const errors_1 = __nested_webpack_require_854219__(3983);
|
|
191684
191684
|
const debug_1 = __importDefault(__nested_webpack_require_854219__(1868));
|
191685
191685
|
function getOptions() {
|
191686
191686
|
const options = [
|
191687
|
+
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
191687
191688
|
{ major: 16, range: '16.x', runtime: 'nodejs16.x' },
|
191688
191689
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
191689
191690
|
{
|
@@ -191705,12 +191706,6 @@ function getOptions() {
|
|
191705
191706
|
discontinueDate: new Date('2020-01-06'),
|
191706
191707
|
},
|
191707
191708
|
];
|
191708
|
-
if (process.env.VERCEL_ALLOW_NODEJS18 === '1') {
|
191709
|
-
return [
|
191710
|
-
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
191711
|
-
...options,
|
191712
|
-
];
|
191713
|
-
}
|
191714
191709
|
return options;
|
191715
191710
|
}
|
191716
191711
|
function getHint(isAuto = false) {
|
@@ -191789,7 +191784,7 @@ exports.normalizePath = normalizePath;
|
|
191789
191784
|
/***/ }),
|
191790
191785
|
|
191791
191786
|
/***/ 7792:
|
191792
|
-
/***/ (function(__unused_webpack_module, exports,
|
191787
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_858271__) {
|
191793
191788
|
|
191794
191789
|
"use strict";
|
191795
191790
|
|
@@ -191798,9 +191793,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191798
191793
|
};
|
191799
191794
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191800
191795
|
exports.readConfigFile = void 0;
|
191801
|
-
const js_yaml_1 = __importDefault(
|
191802
|
-
const toml_1 = __importDefault(
|
191803
|
-
const fs_extra_1 =
|
191796
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_858271__(6540));
|
191797
|
+
const toml_1 = __importDefault(__nested_webpack_require_858271__(9434));
|
191798
|
+
const fs_extra_1 = __nested_webpack_require_858271__(5392);
|
191804
191799
|
async function readFileOrNull(file) {
|
191805
191800
|
try {
|
191806
191801
|
const data = await fs_extra_1.readFile(file);
|
@@ -191855,7 +191850,7 @@ exports.default = rename;
|
|
191855
191850
|
/***/ }),
|
191856
191851
|
|
191857
191852
|
/***/ 1442:
|
191858
|
-
/***/ (function(__unused_webpack_module, exports,
|
191853
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_860064__) {
|
191859
191854
|
|
191860
191855
|
"use strict";
|
191861
191856
|
|
@@ -191864,18 +191859,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191864
191859
|
};
|
191865
191860
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191866
191861
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runCustomInstallCommand = exports.getEnvForPackageManager = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
191867
|
-
const assert_1 = __importDefault(
|
191868
|
-
const fs_extra_1 = __importDefault(
|
191869
|
-
const path_1 = __importDefault(
|
191870
|
-
const async_sema_1 = __importDefault(
|
191871
|
-
const cross_spawn_1 = __importDefault(
|
191872
|
-
const semver_1 =
|
191873
|
-
const util_1 =
|
191874
|
-
const debug_1 = __importDefault(
|
191875
|
-
const errors_1 =
|
191876
|
-
const node_version_1 =
|
191877
|
-
const read_config_file_1 =
|
191878
|
-
const clone_env_1 =
|
191862
|
+
const assert_1 = __importDefault(__nested_webpack_require_860064__(2357));
|
191863
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_860064__(5392));
|
191864
|
+
const path_1 = __importDefault(__nested_webpack_require_860064__(5622));
|
191865
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_860064__(5758));
|
191866
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_860064__(7618));
|
191867
|
+
const semver_1 = __nested_webpack_require_860064__(2879);
|
191868
|
+
const util_1 = __nested_webpack_require_860064__(1669);
|
191869
|
+
const debug_1 = __importDefault(__nested_webpack_require_860064__(1868));
|
191870
|
+
const errors_1 = __nested_webpack_require_860064__(3983);
|
191871
|
+
const node_version_1 = __nested_webpack_require_860064__(7903);
|
191872
|
+
const read_config_file_1 = __nested_webpack_require_860064__(7792);
|
191873
|
+
const clone_env_1 = __nested_webpack_require_860064__(6548);
|
191879
191874
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
191880
191875
|
const runNpmInstallSema = new async_sema_1.default(1);
|
191881
191876
|
function spawnAsync(command, args, opts = {}) {
|
@@ -192346,7 +192341,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
192346
192341
|
/***/ }),
|
192347
192342
|
|
192348
192343
|
/***/ 2560:
|
192349
|
-
/***/ (function(__unused_webpack_module, exports,
|
192344
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_880398__) {
|
192350
192345
|
|
192351
192346
|
"use strict";
|
192352
192347
|
|
@@ -192354,7 +192349,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192354
192349
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192355
192350
|
};
|
192356
192351
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192357
|
-
const end_of_stream_1 = __importDefault(
|
192352
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_880398__(687));
|
192358
192353
|
function streamToBuffer(stream) {
|
192359
192354
|
return new Promise((resolve, reject) => {
|
192360
192355
|
const buffers = [];
|
@@ -192383,7 +192378,7 @@ exports.default = streamToBuffer;
|
|
192383
192378
|
/***/ }),
|
192384
192379
|
|
192385
192380
|
/***/ 1148:
|
192386
|
-
/***/ (function(__unused_webpack_module, exports,
|
192381
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_881466__) {
|
192387
192382
|
|
192388
192383
|
"use strict";
|
192389
192384
|
|
@@ -192391,9 +192386,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192391
192386
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192392
192387
|
};
|
192393
192388
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192394
|
-
const path_1 = __importDefault(
|
192395
|
-
const fs_extra_1 = __importDefault(
|
192396
|
-
const ignore_1 = __importDefault(
|
192389
|
+
const path_1 = __importDefault(__nested_webpack_require_881466__(5622));
|
192390
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_881466__(5392));
|
192391
|
+
const ignore_1 = __importDefault(__nested_webpack_require_881466__(3556));
|
192397
192392
|
function isCodedError(error) {
|
192398
192393
|
return (error !== null &&
|
192399
192394
|
error !== undefined &&
|
@@ -192450,13 +192445,13 @@ exports.default = default_1;
|
|
192450
192445
|
/***/ }),
|
192451
192446
|
|
192452
192447
|
/***/ 4678:
|
192453
|
-
/***/ ((__unused_webpack_module, exports,
|
192448
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_883840__) => {
|
192454
192449
|
|
192455
192450
|
"use strict";
|
192456
192451
|
|
192457
192452
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192458
192453
|
exports.getPlatformEnv = void 0;
|
192459
|
-
const errors_1 =
|
192454
|
+
const errors_1 = __nested_webpack_require_883840__(3983);
|
192460
192455
|
/**
|
192461
192456
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
192462
192457
|
* Throws an error if *both* env vars are defined.
|
@@ -192520,7 +192515,7 @@ exports.getPrefixedEnvVars = getPrefixedEnvVars;
|
|
192520
192515
|
/***/ }),
|
192521
192516
|
|
192522
192517
|
/***/ 2855:
|
192523
|
-
/***/ (function(__unused_webpack_module, exports,
|
192518
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_886099__) {
|
192524
192519
|
|
192525
192520
|
"use strict";
|
192526
192521
|
|
@@ -192551,31 +192546,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192551
192546
|
};
|
192552
192547
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192553
192548
|
exports.normalizePath = exports.readConfigFile = exports.EdgeFunction = exports.cloneEnv = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.streamToBuffer = exports.getPrefixedEnvVars = exports.getPlatformEnv = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.getEnvForPackageManager = exports.runCustomInstallCommand = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.downloadFile = exports.download = exports.Prerender = exports.createLambda = exports.NodejsLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
192554
|
-
const file_blob_1 = __importDefault(
|
192549
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_886099__(2397));
|
192555
192550
|
exports.FileBlob = file_blob_1.default;
|
192556
|
-
const file_fs_ref_1 = __importDefault(
|
192551
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_886099__(9331));
|
192557
192552
|
exports.FileFsRef = file_fs_ref_1.default;
|
192558
|
-
const file_ref_1 = __importDefault(
|
192553
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_886099__(5187));
|
192559
192554
|
exports.FileRef = file_ref_1.default;
|
192560
|
-
const lambda_1 =
|
192555
|
+
const lambda_1 = __nested_webpack_require_886099__(6721);
|
192561
192556
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
192562
192557
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
192563
192558
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
192564
|
-
const nodejs_lambda_1 =
|
192559
|
+
const nodejs_lambda_1 = __nested_webpack_require_886099__(7049);
|
192565
192560
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
192566
|
-
const prerender_1 =
|
192561
|
+
const prerender_1 = __nested_webpack_require_886099__(2850);
|
192567
192562
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
192568
|
-
const download_1 = __importStar(
|
192563
|
+
const download_1 = __importStar(__nested_webpack_require_886099__(1611));
|
192569
192564
|
exports.download = download_1.default;
|
192570
192565
|
Object.defineProperty(exports, "downloadFile", ({ enumerable: true, get: function () { return download_1.downloadFile; } }));
|
192571
192566
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
192572
|
-
const get_writable_directory_1 = __importDefault(
|
192567
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_886099__(3838));
|
192573
192568
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
192574
|
-
const glob_1 = __importDefault(
|
192569
|
+
const glob_1 = __importDefault(__nested_webpack_require_886099__(4240));
|
192575
192570
|
exports.glob = glob_1.default;
|
192576
|
-
const rename_1 = __importDefault(
|
192571
|
+
const rename_1 = __importDefault(__nested_webpack_require_886099__(6718));
|
192577
192572
|
exports.rename = rename_1.default;
|
192578
|
-
const run_user_scripts_1 =
|
192573
|
+
const run_user_scripts_1 = __nested_webpack_require_886099__(1442);
|
192579
192574
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
192580
192575
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
192581
192576
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -192594,37 +192589,37 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
192594
192589
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
192595
192590
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
192596
192591
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
192597
|
-
const node_version_1 =
|
192592
|
+
const node_version_1 = __nested_webpack_require_886099__(7903);
|
192598
192593
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
192599
192594
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
192600
|
-
const stream_to_buffer_1 = __importDefault(
|
192595
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_886099__(2560));
|
192601
192596
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
192602
|
-
const debug_1 = __importDefault(
|
192597
|
+
const debug_1 = __importDefault(__nested_webpack_require_886099__(1868));
|
192603
192598
|
exports.debug = debug_1.default;
|
192604
|
-
const get_ignore_filter_1 = __importDefault(
|
192599
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_886099__(1148));
|
192605
192600
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
192606
|
-
const get_platform_env_1 =
|
192601
|
+
const get_platform_env_1 = __nested_webpack_require_886099__(4678);
|
192607
192602
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
192608
|
-
const get_prefixed_env_vars_1 =
|
192603
|
+
const get_prefixed_env_vars_1 = __nested_webpack_require_886099__(6838);
|
192609
192604
|
Object.defineProperty(exports, "getPrefixedEnvVars", ({ enumerable: true, get: function () { return get_prefixed_env_vars_1.getPrefixedEnvVars; } }));
|
192610
|
-
const clone_env_1 =
|
192605
|
+
const clone_env_1 = __nested_webpack_require_886099__(6548);
|
192611
192606
|
Object.defineProperty(exports, "cloneEnv", ({ enumerable: true, get: function () { return clone_env_1.cloneEnv; } }));
|
192612
|
-
var edge_function_1 =
|
192607
|
+
var edge_function_1 = __nested_webpack_require_886099__(8038);
|
192613
192608
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
192614
|
-
var read_config_file_1 =
|
192609
|
+
var read_config_file_1 = __nested_webpack_require_886099__(7792);
|
192615
192610
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
192616
|
-
var normalize_path_1 =
|
192611
|
+
var normalize_path_1 = __nested_webpack_require_886099__(6261);
|
192617
192612
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
192618
|
-
__exportStar(
|
192619
|
-
__exportStar(
|
192620
|
-
__exportStar(
|
192621
|
-
__exportStar(
|
192613
|
+
__exportStar(__nested_webpack_require_886099__(2564), exports);
|
192614
|
+
__exportStar(__nested_webpack_require_886099__(2416), exports);
|
192615
|
+
__exportStar(__nested_webpack_require_886099__(5748), exports);
|
192616
|
+
__exportStar(__nested_webpack_require_886099__(3983), exports);
|
192622
192617
|
|
192623
192618
|
|
192624
192619
|
/***/ }),
|
192625
192620
|
|
192626
192621
|
/***/ 6721:
|
192627
|
-
/***/ (function(__unused_webpack_module, exports,
|
192622
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_894917__) {
|
192628
192623
|
|
192629
192624
|
"use strict";
|
192630
192625
|
|
@@ -192633,16 +192628,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192633
192628
|
};
|
192634
192629
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192635
192630
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
192636
|
-
const assert_1 = __importDefault(
|
192637
|
-
const async_sema_1 = __importDefault(
|
192638
|
-
const yazl_1 =
|
192639
|
-
const minimatch_1 = __importDefault(
|
192640
|
-
const fs_extra_1 =
|
192641
|
-
const download_1 =
|
192642
|
-
const stream_to_buffer_1 = __importDefault(
|
192631
|
+
const assert_1 = __importDefault(__nested_webpack_require_894917__(2357));
|
192632
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_894917__(5758));
|
192633
|
+
const yazl_1 = __nested_webpack_require_894917__(1223);
|
192634
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_894917__(9566));
|
192635
|
+
const fs_extra_1 = __nested_webpack_require_894917__(5392);
|
192636
|
+
const download_1 = __nested_webpack_require_894917__(1611);
|
192637
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_894917__(2560));
|
192643
192638
|
class Lambda {
|
192644
192639
|
constructor(opts) {
|
192645
|
-
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;
|
192646
192641
|
if ('files' in opts) {
|
192647
192642
|
assert_1.default(typeof opts.files === 'object', '"files" must be an object');
|
192648
192643
|
}
|
@@ -192673,6 +192668,7 @@ class Lambda {
|
|
192673
192668
|
assert_1.default(regions.every(r => typeof r === 'string'), '"regions" is not a string Array');
|
192674
192669
|
}
|
192675
192670
|
this.type = 'Lambda';
|
192671
|
+
this.operationType = operationType;
|
192676
192672
|
this.files = 'files' in opts ? opts.files : undefined;
|
192677
192673
|
this.handler = handler;
|
192678
192674
|
this.runtime = runtime;
|
@@ -192766,13 +192762,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
192766
192762
|
/***/ }),
|
192767
192763
|
|
192768
192764
|
/***/ 7049:
|
192769
|
-
/***/ ((__unused_webpack_module, exports,
|
192765
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_900766__) => {
|
192770
192766
|
|
192771
192767
|
"use strict";
|
192772
192768
|
|
192773
192769
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192774
192770
|
exports.NodejsLambda = void 0;
|
192775
|
-
const lambda_1 =
|
192771
|
+
const lambda_1 = __nested_webpack_require_900766__(6721);
|
192776
192772
|
class NodejsLambda extends lambda_1.Lambda {
|
192777
192773
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
192778
192774
|
super(opts);
|
@@ -192799,6 +192795,10 @@ class Prerender {
|
|
192799
192795
|
this.type = 'Prerender';
|
192800
192796
|
this.expiration = expiration;
|
192801
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
|
+
}
|
192802
192802
|
if (typeof group !== 'undefined' &&
|
192803
192803
|
(group <= 0 || !Number.isInteger(group))) {
|
192804
192804
|
throw new Error('The `group` argument for `Prerender` needs to be a natural number.');
|
@@ -192923,13 +192923,13 @@ exports.buildsSchema = {
|
|
192923
192923
|
/***/ }),
|
192924
192924
|
|
192925
192925
|
/***/ 2564:
|
192926
|
-
/***/ ((__unused_webpack_module, exports,
|
192926
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_906098__) => {
|
192927
192927
|
|
192928
192928
|
"use strict";
|
192929
192929
|
|
192930
192930
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192931
192931
|
exports.shouldServe = void 0;
|
192932
|
-
const path_1 =
|
192932
|
+
const path_1 = __nested_webpack_require_906098__(5622);
|
192933
192933
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
192934
192934
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
192935
192935
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -193174,7 +193174,7 @@ module.exports = __webpack_require__(78761);
|
|
193174
193174
|
/******/ var __webpack_module_cache__ = {};
|
193175
193175
|
/******/
|
193176
193176
|
/******/ // The require function
|
193177
|
-
/******/ function
|
193177
|
+
/******/ function __nested_webpack_require_1283463__(moduleId) {
|
193178
193178
|
/******/ // Check if module is in cache
|
193179
193179
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
193180
193180
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -193189,7 +193189,7 @@ module.exports = __webpack_require__(78761);
|
|
193189
193189
|
/******/ // Execute the module function
|
193190
193190
|
/******/ var threw = true;
|
193191
193191
|
/******/ try {
|
193192
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
193192
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1283463__);
|
193193
193193
|
/******/ threw = false;
|
193194
193194
|
/******/ } finally {
|
193195
193195
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -193202,11 +193202,11 @@ module.exports = __webpack_require__(78761);
|
|
193202
193202
|
/************************************************************************/
|
193203
193203
|
/******/ /* webpack/runtime/compat */
|
193204
193204
|
/******/
|
193205
|
-
/******/
|
193205
|
+
/******/ __nested_webpack_require_1283463__.ab = __dirname + "/";/************************************************************************/
|
193206
193206
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
193207
193207
|
/******/ // startup
|
193208
193208
|
/******/ // Load entry module and return exports
|
193209
|
-
/******/ return
|
193209
|
+
/******/ return __nested_webpack_require_1283463__(2855);
|
193210
193210
|
/******/ })()
|
193211
193211
|
;
|
193212
193212
|
|
@@ -214228,20 +214228,19 @@ const { readdir, readFile, unlink } = fs_1.promises;
|
|
214228
214228
|
*/
|
214229
214229
|
exports.frameworks = [
|
214230
214230
|
{
|
214231
|
-
name: 'Blitz.js',
|
214231
|
+
name: 'Blitz.js (Legacy)',
|
214232
214232
|
slug: 'blitzjs',
|
214233
214233
|
demo: 'https://blitz-template.vercel.app',
|
214234
214234
|
logo: 'https://api-frameworks.vercel.sh/framework-logos/blitz.svg',
|
214235
214235
|
tagline: 'Blitz.js: The Fullstack React Framework',
|
214236
|
-
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`.',
|
214237
214237
|
website: 'https://blitzjs.com',
|
214238
214238
|
envPrefix: 'NEXT_PUBLIC_',
|
214239
214239
|
useRuntime: { src: 'package.json', use: '@vercel/next' },
|
214240
214240
|
detectors: {
|
214241
214241
|
every: [
|
214242
214242
|
{
|
214243
|
-
path: '
|
214244
|
-
matchContent: '"(dev)?(d|D)ependencies":\\s*{[^}]*"blitz":\\s*".+?"[^}]*}',
|
214243
|
+
path: 'blitz.config.(js|ts)',
|
214245
214244
|
},
|
214246
214245
|
],
|
214247
214246
|
},
|
@@ -215860,6 +215859,72 @@ exports.frameworks = [
|
|
215860
215859
|
dependency: 'vite',
|
215861
215860
|
getOutputDirName: async () => 'dist',
|
215862
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
|
+
},
|
215863
215928
|
{
|
215864
215929
|
name: 'Parcel',
|
215865
215930
|
slug: 'parcel',
|
@@ -233667,7 +233732,6 @@ async function main(client) {
|
|
233667
233732
|
}
|
233668
233733
|
// Parse CLI args
|
233669
233734
|
const argv = (0, get_args_1.default)(client.argv.slice(2), {
|
233670
|
-
'--cwd': String,
|
233671
233735
|
'--output': String,
|
233672
233736
|
'--prod': Boolean,
|
233673
233737
|
'--yes': Boolean,
|
@@ -233676,10 +233740,6 @@ async function main(client) {
|
|
233676
233740
|
help();
|
233677
233741
|
return 2;
|
233678
233742
|
}
|
233679
|
-
// Set the working directory if necessary
|
233680
|
-
if (argv['--cwd']) {
|
233681
|
-
process.chdir(argv['--cwd']);
|
233682
|
-
}
|
233683
233743
|
const cwd = process.cwd();
|
233684
233744
|
// Build `target` influences which environment variables will be used
|
233685
233745
|
const target = argv['--prod'] ? 'production' : 'preview';
|
@@ -235402,6 +235462,8 @@ async function dev(client, opts, args) {
|
|
235402
235462
|
projectSettings,
|
235403
235463
|
envValues,
|
235404
235464
|
});
|
235465
|
+
// listen to SIGTERM for graceful shutdown
|
235466
|
+
process.on('SIGTERM', () => devServer.stop());
|
235405
235467
|
// If there is no Development Command, we must delete the
|
235406
235468
|
// v3 Build Output because it will incorrectly be detected by
|
235407
235469
|
// @vercel/static-build in BuildOutputV3.getBuildOutputDirectory()
|
@@ -242265,6 +242327,9 @@ async function writeBuildResultV2(outputDir, buildResult, vercelConfig) {
|
|
242265
242327
|
await writeLambda(outputDir, output, normalizedPath, undefined, lambdas);
|
242266
242328
|
}
|
242267
242329
|
else if (isPrerender(output)) {
|
242330
|
+
if (!output.lambda) {
|
242331
|
+
throw new Error(`Invalid Prerender with no "lambda" property: ${normalizedPath}`);
|
242332
|
+
}
|
242268
242333
|
await writeLambda(outputDir, output.lambda, normalizedPath, undefined, lambdas);
|
242269
242334
|
// Write the fallback file alongside the Lambda directory
|
242270
242335
|
let fallback = output.fallback;
|
@@ -243721,6 +243786,7 @@ function isDirty(directory, output) {
|
|
243721
243786
|
// in the background: https://git-scm.com/docs/git-status#_background_refresh
|
243722
243787
|
(0, child_process_1.exec)('git --no-optional-locks status -s', { cwd: directory }, function (err, stdout, stderr) {
|
243723
243788
|
let debugMessage = `Failed to determine if Git repo has been modified:`;
|
243789
|
+
stderr = stderr && stderr.trim();
|
243724
243790
|
if (err || stderr) {
|
243725
243791
|
if (err)
|
243726
243792
|
debugMessage += `\n${err}`;
|
@@ -244390,7 +244456,7 @@ async function createBuildProcess(match, envConfigs, workPath, output) {
|
|
244390
244456
|
env,
|
244391
244457
|
});
|
244392
244458
|
match.buildProcess = buildProcess;
|
244393
|
-
buildProcess.on('
|
244459
|
+
buildProcess.on('close', (code, signal) => {
|
244394
244460
|
output.debug(`Build process for "${match.entrypoint}" exited with ${signal || code}`);
|
244395
244461
|
match.buildProcess = undefined;
|
244396
244462
|
});
|
@@ -244472,10 +244538,10 @@ async function executeBuild(vercelConfig, devServer, files, match, requestPath,
|
|
244472
244538
|
reject(err);
|
244473
244539
|
}
|
244474
244540
|
function cleanup() {
|
244475
|
-
buildProcess.removeListener('
|
244541
|
+
buildProcess.removeListener('close', onExit);
|
244476
244542
|
buildProcess.removeListener('message', onMessage);
|
244477
244543
|
}
|
244478
|
-
buildProcess.on('
|
244544
|
+
buildProcess.on('close', onExit);
|
244479
244545
|
buildProcess.on('message', onMessage);
|
244480
244546
|
});
|
244481
244547
|
}
|
@@ -246596,7 +246662,7 @@ class DevServer {
|
|
246596
246662
|
debug(`Killing builder dev server with PID ${pid}`);
|
246597
246663
|
this.devServerPids.delete(pid);
|
246598
246664
|
try {
|
246599
|
-
|
246665
|
+
await (0, tree_kill_1.treeKill)(pid);
|
246600
246666
|
debug(`Killed builder dev server with PID ${pid}`);
|
246601
246667
|
}
|
246602
246668
|
catch (err) {
|
@@ -246913,6 +246979,9 @@ class DevServer {
|
|
246913
246979
|
});
|
246914
246980
|
p.on('exit', (code, signal) => {
|
246915
246981
|
this.output.debug(`Dev command exited with "${signal || code}"`);
|
246982
|
+
});
|
246983
|
+
p.on('close', (code, signal) => {
|
246984
|
+
this.output.debug(`Dev command closed with "${signal || code}"`);
|
246916
246985
|
this.devProcessOrigin = undefined;
|
246917
246986
|
});
|
246918
246987
|
const devProcessHost = await checkForPort(port, 1000 * 60 * 5);
|
@@ -247169,11 +247238,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
247169
247238
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
247170
247239
|
const escape_html_1 = __importDefault(__webpack_require__(84647));
|
247171
247240
|
function error(it) {
|
247172
|
-
let out = '<main>
|
247173
|
-
|
247174
|
-
|
247175
|
-
|
247176
|
-
|
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> ';
|
247177
247257
|
if (it.error_code) {
|
247178
247258
|
out +=
|
247179
247259
|
' <span class="devinfo-line">Code: <code>' +
|
@@ -247183,7 +247263,7 @@ function error(it) {
|
|
247183
247263
|
out +=
|
247184
247264
|
' <span class="devinfo-line">ID: <code>' +
|
247185
247265
|
(0, escape_html_1.default)(it.request_id) +
|
247186
|
-
'</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>';
|
247187
247267
|
return out;
|
247188
247268
|
}
|
247189
247269
|
exports.default = error;
|
@@ -247216,7 +247296,7 @@ function error_404(it) {
|
|
247216
247296
|
out +=
|
247217
247297
|
' <span class="devinfo-line">ID: <code>' +
|
247218
247298
|
(0, escape_html_1.default)(it.request_id) +
|
247219
|
-
'</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>';
|
247220
247300
|
return out;
|
247221
247301
|
}
|
247222
247302
|
exports.default = error_404;
|
@@ -247235,44 +247315,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
247235
247315
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
247236
247316
|
const escape_html_1 = __importDefault(__webpack_require__(84647));
|
247237
247317
|
function error_502(it) {
|
247238
|
-
let out = '<
|
247239
|
-
|
247240
|
-
|
247241
|
-
|
247242
|
-
|
247243
|
-
'"> <svg class="header-item-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> ';
|
247244
|
-
if (it.app_error) {
|
247245
|
-
out += ' <circle cx="8" cy="8" r="8" fill="#FF0080" /> ';
|
247246
|
-
}
|
247247
|
-
else {
|
247248
|
-
out += ' <circle cx="8" cy="8" r="7.5" stroke="#CCCCCC" /> ';
|
247249
|
-
}
|
247250
|
-
out +=
|
247251
|
-
' </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';
|
247252
|
-
if (!it.app_error) {
|
247253
|
-
out += ' active';
|
247254
|
-
}
|
247255
|
-
out +=
|
247256
|
-
'"> <svg class="header-item-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> ';
|
247257
|
-
if (!it.app_error) {
|
247258
|
-
out += ' <circle cx="8" cy="8" r="8" fill="#FF0080" /> ';
|
247259
|
-
}
|
247260
|
-
else {
|
247261
|
-
out += ' <circle cx="8" cy="8" r="7.5" stroke="#CCCCCC" /> ';
|
247262
|
-
}
|
247263
|
-
out +=
|
247264
|
-
' </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">' +
|
247265
|
-
(0, escape_html_1.default)(it.title) +
|
247266
|
-
'</h1> ';
|
247267
|
-
if (it.subtitle) {
|
247268
|
-
out += ' <p>' + (0, escape_html_1.default)(it.subtitle) + '</p> ';
|
247269
|
-
}
|
247270
|
-
out +=
|
247271
|
-
' </p> <p class="devinfo-container"> <span class="error-code"><strong>' +
|
247272
|
-
it.http_status_code +
|
247273
|
-
'</strong>: ' +
|
247274
|
-
(0, escape_html_1.default)(it.http_status_description) +
|
247275
|
-
'</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> ';
|
247276
247323
|
if (it.error_code) {
|
247277
247324
|
out +=
|
247278
247325
|
' <span class="devinfo-line">Code: <code>' +
|
@@ -247282,18 +247329,7 @@ function error_502(it) {
|
|
247282
247329
|
out +=
|
247283
247330
|
' <span class="devinfo-line">ID: <code>' +
|
247284
247331
|
(0, escape_html_1.default)(it.request_id) +
|
247285
|
-
'</code> </p> ';
|
247286
|
-
if (it.app_error) {
|
247287
|
-
out +=
|
247288
|
-
' <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/' +
|
247289
|
-
it.error_code +
|
247290
|
-
'" class="docs-link" rel="noopener noreferrer">Developer Documentation →</a> </p> ';
|
247291
|
-
}
|
247292
|
-
else {
|
247293
|
-
out +=
|
247294
|
-
' <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> ';
|
247295
|
-
}
|
247296
|
-
out += '</main>';
|
247332
|
+
'</code> </p> <p> <ul> <li> Check the logs in your terminal window to see the application error. </li> </ul> </p></main>';
|
247297
247333
|
return out;
|
247298
247334
|
}
|
247299
247335
|
exports.default = error_502;
|
@@ -247316,9 +247352,9 @@ function error_base(it) {
|
|
247316
247352
|
it.http_status_code +
|
247317
247353
|
': ' +
|
247318
247354
|
(0, escape_html_1.default)(it.http_status_description) +
|
247319
|
-
'</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"> ' +
|
247320
247356
|
it.view +
|
247321
|
-
'
|
247357
|
+
' </div> </body></html>';
|
247322
247358
|
return out;
|
247323
247359
|
}
|
247324
247360
|
exports.default = error_base;
|
@@ -251056,7 +251092,7 @@ class Now extends events_1.default {
|
|
251056
251092
|
const { key } = error;
|
251057
251093
|
err.message =
|
251058
251094
|
`The env key ${key} has an invalid type: ${typeof env[key]}. ` +
|
251059
|
-
'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)';
|
251060
251096
|
}
|
251061
251097
|
else if (code === 'unreferenced_build_specifications') {
|
251062
251098
|
const count = unreferencedBuildSpecs.length;
|
@@ -255861,7 +255897,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
255861
255897
|
/***/ ((module) => {
|
255862
255898
|
|
255863
255899
|
"use strict";
|
255864
|
-
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\"]}}");
|
255865
255901
|
|
255866
255902
|
/***/ }),
|
255867
255903
|
|
@@ -255869,7 +255905,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.5\",\"prefe
|
|
255869
255905
|
/***/ ((module) => {
|
255870
255906
|
|
255871
255907
|
"use strict";
|
255872
|
-
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\"}}");
|
255873
255909
|
|
255874
255910
|
/***/ }),
|
255875
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",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
},
|
13
13
|
"scripts": {
|
14
14
|
"preinstall": "node ./scripts/preinstall.js",
|
15
|
-
"test": "jest --env node --verbose --bail
|
15
|
+
"test": "jest --env node --verbose --bail",
|
16
16
|
"test-unit": "yarn test test/unit/",
|
17
17
|
"test-integration-cli": "rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose",
|
18
18
|
"test-integration-dev": "yarn test test/dev/",
|
@@ -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
|
}
|