vercel 28.5.5 → 28.5.6
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 +80 -79
- package/package.json +14 -14
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,13 +192628,13 @@ 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
192640
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, experimentalResponseStreaming, } = opts;
|
@@ -192766,13 +192761,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
192766
192761
|
/***/ }),
|
192767
192762
|
|
192768
192763
|
/***/ 7049:
|
192769
|
-
/***/ ((__unused_webpack_module, exports,
|
192764
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_900707__) => {
|
192770
192765
|
|
192771
192766
|
"use strict";
|
192772
192767
|
|
192773
192768
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192774
192769
|
exports.NodejsLambda = void 0;
|
192775
|
-
const lambda_1 =
|
192770
|
+
const lambda_1 = __nested_webpack_require_900707__(6721);
|
192776
192771
|
class NodejsLambda extends lambda_1.Lambda {
|
192777
192772
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
192778
192773
|
super(opts);
|
@@ -192923,13 +192918,13 @@ exports.buildsSchema = {
|
|
192923
192918
|
/***/ }),
|
192924
192919
|
|
192925
192920
|
/***/ 2564:
|
192926
|
-
/***/ ((__unused_webpack_module, exports,
|
192921
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_905844__) => {
|
192927
192922
|
|
192928
192923
|
"use strict";
|
192929
192924
|
|
192930
192925
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192931
192926
|
exports.shouldServe = void 0;
|
192932
|
-
const path_1 =
|
192927
|
+
const path_1 = __nested_webpack_require_905844__(5622);
|
192933
192928
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
192934
192929
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
192935
192930
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -193174,7 +193169,7 @@ module.exports = __webpack_require__(78761);
|
|
193174
193169
|
/******/ var __webpack_module_cache__ = {};
|
193175
193170
|
/******/
|
193176
193171
|
/******/ // The require function
|
193177
|
-
/******/ function
|
193172
|
+
/******/ function __nested_webpack_require_1283209__(moduleId) {
|
193178
193173
|
/******/ // Check if module is in cache
|
193179
193174
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
193180
193175
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -193189,7 +193184,7 @@ module.exports = __webpack_require__(78761);
|
|
193189
193184
|
/******/ // Execute the module function
|
193190
193185
|
/******/ var threw = true;
|
193191
193186
|
/******/ try {
|
193192
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
193187
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1283209__);
|
193193
193188
|
/******/ threw = false;
|
193194
193189
|
/******/ } finally {
|
193195
193190
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -193202,11 +193197,11 @@ module.exports = __webpack_require__(78761);
|
|
193202
193197
|
/************************************************************************/
|
193203
193198
|
/******/ /* webpack/runtime/compat */
|
193204
193199
|
/******/
|
193205
|
-
/******/
|
193200
|
+
/******/ __nested_webpack_require_1283209__.ab = __dirname + "/";/************************************************************************/
|
193206
193201
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
193207
193202
|
/******/ // startup
|
193208
193203
|
/******/ // Load entry module and return exports
|
193209
|
-
/******/ return
|
193204
|
+
/******/ return __nested_webpack_require_1283209__(2855);
|
193210
193205
|
/******/ })()
|
193211
193206
|
;
|
193212
193207
|
|
@@ -235402,6 +235397,8 @@ async function dev(client, opts, args) {
|
|
235402
235397
|
projectSettings,
|
235403
235398
|
envValues,
|
235404
235399
|
});
|
235400
|
+
// listen to SIGTERM for graceful shutdown
|
235401
|
+
process.on('SIGTERM', () => devServer.stop());
|
235405
235402
|
// If there is no Development Command, we must delete the
|
235406
235403
|
// v3 Build Output because it will incorrectly be detected by
|
235407
235404
|
// @vercel/static-build in BuildOutputV3.getBuildOutputDirectory()
|
@@ -243721,6 +243718,7 @@ function isDirty(directory, output) {
|
|
243721
243718
|
// in the background: https://git-scm.com/docs/git-status#_background_refresh
|
243722
243719
|
(0, child_process_1.exec)('git --no-optional-locks status -s', { cwd: directory }, function (err, stdout, stderr) {
|
243723
243720
|
let debugMessage = `Failed to determine if Git repo has been modified:`;
|
243721
|
+
stderr = stderr && stderr.trim();
|
243724
243722
|
if (err || stderr) {
|
243725
243723
|
if (err)
|
243726
243724
|
debugMessage += `\n${err}`;
|
@@ -244390,7 +244388,7 @@ async function createBuildProcess(match, envConfigs, workPath, output) {
|
|
244390
244388
|
env,
|
244391
244389
|
});
|
244392
244390
|
match.buildProcess = buildProcess;
|
244393
|
-
buildProcess.on('
|
244391
|
+
buildProcess.on('close', (code, signal) => {
|
244394
244392
|
output.debug(`Build process for "${match.entrypoint}" exited with ${signal || code}`);
|
244395
244393
|
match.buildProcess = undefined;
|
244396
244394
|
});
|
@@ -244472,10 +244470,10 @@ async function executeBuild(vercelConfig, devServer, files, match, requestPath,
|
|
244472
244470
|
reject(err);
|
244473
244471
|
}
|
244474
244472
|
function cleanup() {
|
244475
|
-
buildProcess.removeListener('
|
244473
|
+
buildProcess.removeListener('close', onExit);
|
244476
244474
|
buildProcess.removeListener('message', onMessage);
|
244477
244475
|
}
|
244478
|
-
buildProcess.on('
|
244476
|
+
buildProcess.on('close', onExit);
|
244479
244477
|
buildProcess.on('message', onMessage);
|
244480
244478
|
});
|
244481
244479
|
}
|
@@ -246596,7 +246594,7 @@ class DevServer {
|
|
246596
246594
|
debug(`Killing builder dev server with PID ${pid}`);
|
246597
246595
|
this.devServerPids.delete(pid);
|
246598
246596
|
try {
|
246599
|
-
|
246597
|
+
await (0, tree_kill_1.treeKill)(pid);
|
246600
246598
|
debug(`Killed builder dev server with PID ${pid}`);
|
246601
246599
|
}
|
246602
246600
|
catch (err) {
|
@@ -246913,6 +246911,9 @@ class DevServer {
|
|
246913
246911
|
});
|
246914
246912
|
p.on('exit', (code, signal) => {
|
246915
246913
|
this.output.debug(`Dev command exited with "${signal || code}"`);
|
246914
|
+
});
|
246915
|
+
p.on('close', (code, signal) => {
|
246916
|
+
this.output.debug(`Dev command closed with "${signal || code}"`);
|
246916
246917
|
this.devProcessOrigin = undefined;
|
246917
246918
|
});
|
246918
246919
|
const devProcessHost = await checkForPort(port, 1000 * 60 * 5);
|
@@ -255861,7 +255862,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
255861
255862
|
/***/ ((module) => {
|
255862
255863
|
|
255863
255864
|
"use strict";
|
255864
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.
|
255865
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.6\",\"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.5.9\",\"@vercel/go\":\"2.2.17\",\"@vercel/hydrogen\":\"0.0.31\",\"@vercel/next\":\"3.2.13\",\"@vercel/node\":\"2.6.4\",\"@vercel/python\":\"3.1.27\",\"@vercel/redwood\":\"1.0.37\",\"@vercel/remix\":\"1.0.37\",\"@vercel/ruby\":\"1.3.43\",\"@vercel/static-build\":\"1.0.39\",\"json5\":\"2.2.1\",\"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.19\",\"@vercel/error-utils\":\"1.0.3\",\"@vercel/frameworks\":\"1.1.12\",\"@vercel/fs-detectors\":\"3.5.2\",\"@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\",\"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
255866
|
|
255866
255867
|
/***/ }),
|
255867
255868
|
|
@@ -255869,7 +255870,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.5.5\",\"prefe
|
|
255869
255870
|
/***/ ((module) => {
|
255870
255871
|
|
255871
255872
|
"use strict";
|
255872
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.
|
255873
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.19\",\"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.5.9\",\"@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
255874
|
|
255874
255875
|
/***/ }),
|
255875
255876
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.5.
|
3
|
+
"version": "28.5.6",
|
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,16 +41,16 @@
|
|
41
41
|
"node": ">= 14"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@vercel/build-utils": "5.5.
|
45
|
-
"@vercel/go": "2.2.
|
46
|
-
"@vercel/hydrogen": "0.0.
|
47
|
-
"@vercel/next": "3.2.
|
48
|
-
"@vercel/node": "2.6.
|
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.
|
44
|
+
"@vercel/build-utils": "5.5.9",
|
45
|
+
"@vercel/go": "2.2.17",
|
46
|
+
"@vercel/hydrogen": "0.0.31",
|
47
|
+
"@vercel/next": "3.2.13",
|
48
|
+
"@vercel/node": "2.6.4",
|
49
|
+
"@vercel/python": "3.1.27",
|
50
|
+
"@vercel/redwood": "1.0.37",
|
51
|
+
"@vercel/remix": "1.0.37",
|
52
|
+
"@vercel/ruby": "1.3.43",
|
53
|
+
"@vercel/static-build": "1.0.39",
|
54
54
|
"json5": "2.2.1",
|
55
55
|
"update-notifier": "5.1.0"
|
56
56
|
},
|
@@ -96,7 +96,7 @@
|
|
96
96
|
"@types/which": "1.3.2",
|
97
97
|
"@types/write-json-file": "2.2.1",
|
98
98
|
"@types/yauzl-promise": "2.1.0",
|
99
|
-
"@vercel/client": "12.2.
|
99
|
+
"@vercel/client": "12.2.19",
|
100
100
|
"@vercel/error-utils": "1.0.3",
|
101
101
|
"@vercel/frameworks": "1.1.12",
|
102
102
|
"@vercel/fs-detectors": "3.5.2",
|
@@ -195,5 +195,5 @@
|
|
195
195
|
"<rootDir>/test/**/*.test.ts"
|
196
196
|
]
|
197
197
|
},
|
198
|
-
"gitHead": "
|
198
|
+
"gitHead": "7003531d5db7895fc3b2fa940c2d83b6e75bbd9e"
|
199
199
|
}
|