vercel 25.2.2 → 25.2.3
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 +197 -155
- package/package.json +12 -12
package/dist/index.js
CHANGED
@@ -204601,7 +204601,7 @@ function spawnAsync(command, args, opts = {}) {
|
|
204601
204601
|
}
|
204602
204602
|
child.on('error', reject);
|
204603
204603
|
child.on('close', (code, signal) => {
|
204604
|
-
if (code === 0) {
|
204604
|
+
if (code === 0 || opts.ignoreNon0Exit) {
|
204605
204605
|
return resolve();
|
204606
204606
|
}
|
204607
204607
|
const cmd = opts.prettyCommand
|
@@ -204631,20 +204631,20 @@ function execAsync(command, args, opts = {}) {
|
|
204631
204631
|
});
|
204632
204632
|
child.on('error', reject);
|
204633
204633
|
child.on('close', (code, signal) => {
|
204634
|
-
if (code
|
204635
|
-
|
204636
|
-
|
204637
|
-
:
|
204638
|
-
|
204639
|
-
|
204640
|
-
|
204641
|
-
|
204642
|
-
|
204643
|
-
|
204644
|
-
|
204645
|
-
|
204646
|
-
|
204647
|
-
});
|
204634
|
+
if (code === 0 || opts.ignoreNon0Exit) {
|
204635
|
+
return resolve({
|
204636
|
+
code,
|
204637
|
+
stdout: Buffer.concat(stdoutList).toString(),
|
204638
|
+
stderr: Buffer.concat(stderrList).toString(),
|
204639
|
+
});
|
204640
|
+
}
|
204641
|
+
const cmd = opts.prettyCommand
|
204642
|
+
? `Command "${opts.prettyCommand}"`
|
204643
|
+
: 'Command';
|
204644
|
+
return reject(new errors_1.NowBuildError({
|
204645
|
+
code: `BUILD_UTILS_EXEC_${code || signal}`,
|
204646
|
+
message: `${cmd} exited with ${code || signal}`,
|
204647
|
+
}));
|
204648
204648
|
});
|
204649
204649
|
});
|
204650
204650
|
}
|
@@ -204668,9 +204668,22 @@ async function execCommand(command, options = {}) {
|
|
204668
204668
|
return true;
|
204669
204669
|
}
|
204670
204670
|
exports.execCommand = execCommand;
|
204671
|
-
async function getNodeBinPath({ cwd }) {
|
204672
|
-
const { stdout } = await execAsync('npm', ['bin'], {
|
204673
|
-
|
204671
|
+
async function getNodeBinPath({ cwd, }) {
|
204672
|
+
const { code, stdout, stderr } = await execAsync('npm', ['bin'], {
|
204673
|
+
cwd,
|
204674
|
+
prettyCommand: 'npm bin',
|
204675
|
+
// in some rare cases, we saw `npm bin` exit with a non-0 code, but still
|
204676
|
+
// output the right bin path, so we ignore the exit code
|
204677
|
+
ignoreNon0Exit: true,
|
204678
|
+
});
|
204679
|
+
const nodeBinPath = stdout.trim();
|
204680
|
+
if (path_1.default.isAbsolute(nodeBinPath)) {
|
204681
|
+
return nodeBinPath;
|
204682
|
+
}
|
204683
|
+
throw new errors_1.NowBuildError({
|
204684
|
+
code: `BUILD_UTILS_GET_NODE_BIN_PATH`,
|
204685
|
+
message: `Running \`npm bin\` failed to return a valid bin path (code=${code}, stdout=${stdout}, stderr=${stderr})`,
|
204686
|
+
});
|
204674
204687
|
}
|
204675
204688
|
exports.getNodeBinPath = getNodeBinPath;
|
204676
204689
|
async function chmodPlusX(fsPath) {
|
@@ -205003,7 +205016,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
205003
205016
|
/***/ }),
|
205004
205017
|
|
205005
205018
|
/***/ 2560:
|
205006
|
-
/***/ (function(__unused_webpack_module, exports,
|
205019
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1038674__) {
|
205007
205020
|
|
205008
205021
|
"use strict";
|
205009
205022
|
|
@@ -205011,7 +205024,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205011
205024
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
205012
205025
|
};
|
205013
205026
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205014
|
-
const end_of_stream_1 = __importDefault(
|
205027
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1038674__(687));
|
205015
205028
|
function streamToBuffer(stream) {
|
205016
205029
|
return new Promise((resolve, reject) => {
|
205017
205030
|
const buffers = [];
|
@@ -205040,7 +205053,7 @@ exports.default = streamToBuffer;
|
|
205040
205053
|
/***/ }),
|
205041
205054
|
|
205042
205055
|
/***/ 1148:
|
205043
|
-
/***/ (function(__unused_webpack_module, exports,
|
205056
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1039742__) {
|
205044
205057
|
|
205045
205058
|
"use strict";
|
205046
205059
|
|
@@ -205048,9 +205061,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205048
205061
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
205049
205062
|
};
|
205050
205063
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205051
|
-
const path_1 = __importDefault(
|
205052
|
-
const fs_extra_1 = __importDefault(
|
205053
|
-
const ignore_1 = __importDefault(
|
205064
|
+
const path_1 = __importDefault(__nested_webpack_require_1039742__(5622));
|
205065
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1039742__(5392));
|
205066
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1039742__(3556));
|
205054
205067
|
function isCodedError(error) {
|
205055
205068
|
return (error !== null &&
|
205056
205069
|
error !== undefined &&
|
@@ -205107,13 +205120,13 @@ exports.default = default_1;
|
|
205107
205120
|
/***/ }),
|
205108
205121
|
|
205109
205122
|
/***/ 4678:
|
205110
|
-
/***/ ((__unused_webpack_module, exports,
|
205123
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1042116__) => {
|
205111
205124
|
|
205112
205125
|
"use strict";
|
205113
205126
|
|
205114
205127
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205115
205128
|
exports.getPlatformEnv = void 0;
|
205116
|
-
const errors_1 =
|
205129
|
+
const errors_1 = __nested_webpack_require_1042116__(3983);
|
205117
205130
|
/**
|
205118
205131
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
205119
205132
|
* Throws an error if *both* env vars are defined.
|
@@ -205141,7 +205154,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
205141
205154
|
/***/ }),
|
205142
205155
|
|
205143
205156
|
/***/ 1886:
|
205144
|
-
/***/ (function(__unused_webpack_module, exports,
|
205157
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1043153__) {
|
205145
205158
|
|
205146
205159
|
"use strict";
|
205147
205160
|
|
@@ -205150,8 +205163,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205150
205163
|
};
|
205151
205164
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205152
205165
|
exports.getProjectPaths = void 0;
|
205153
|
-
const detect_framework_1 =
|
205154
|
-
const frameworks_1 = __importDefault(
|
205166
|
+
const detect_framework_1 = __nested_webpack_require_1043153__(5224);
|
205167
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_1043153__(8438));
|
205155
205168
|
const MAX_DEPTH_TRAVERSE = 3;
|
205156
205169
|
const getProjectPaths = async ({ fs, path, skipPaths, depth = MAX_DEPTH_TRAVERSE, }) => {
|
205157
205170
|
if (depth === 0)
|
@@ -205188,7 +205201,7 @@ exports.getProjectPaths = getProjectPaths;
|
|
205188
205201
|
/***/ }),
|
205189
205202
|
|
205190
205203
|
/***/ 2855:
|
205191
|
-
/***/ (function(__unused_webpack_module, exports,
|
205204
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1044709__) {
|
205192
205205
|
|
205193
205206
|
"use strict";
|
205194
205207
|
|
@@ -205220,30 +205233,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205220
205233
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205221
205234
|
exports.isStaticRuntime = exports.isOfficialRuntime = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.getProjectPaths = exports.detectFramework = exports.detectFileSystemAPI = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.EdgeFunction = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.streamToBuffer = 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.download = exports.Prerender = exports.createLambda = exports.NodejsLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
205222
205235
|
exports.monorepoManagers = exports.getWorkspacePackagePaths = exports.getWorkspaces = exports.workspaceManagers = void 0;
|
205223
|
-
const file_blob_1 = __importDefault(
|
205236
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1044709__(2397));
|
205224
205237
|
exports.FileBlob = file_blob_1.default;
|
205225
|
-
const file_fs_ref_1 = __importDefault(
|
205238
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1044709__(9331));
|
205226
205239
|
exports.FileFsRef = file_fs_ref_1.default;
|
205227
|
-
const file_ref_1 = __importDefault(
|
205240
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1044709__(5187));
|
205228
205241
|
exports.FileRef = file_ref_1.default;
|
205229
|
-
const lambda_1 =
|
205242
|
+
const lambda_1 = __nested_webpack_require_1044709__(6721);
|
205230
205243
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
205231
205244
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
205232
205245
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
205233
|
-
const nodejs_lambda_1 =
|
205246
|
+
const nodejs_lambda_1 = __nested_webpack_require_1044709__(7049);
|
205234
205247
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
205235
|
-
const prerender_1 =
|
205248
|
+
const prerender_1 = __nested_webpack_require_1044709__(2850);
|
205236
205249
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
205237
|
-
const download_1 = __importStar(
|
205250
|
+
const download_1 = __importStar(__nested_webpack_require_1044709__(1611));
|
205238
205251
|
exports.download = download_1.default;
|
205239
205252
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
205240
|
-
const get_writable_directory_1 = __importDefault(
|
205253
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1044709__(3838));
|
205241
205254
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
205242
|
-
const glob_1 = __importDefault(
|
205255
|
+
const glob_1 = __importDefault(__nested_webpack_require_1044709__(4240));
|
205243
205256
|
exports.glob = glob_1.default;
|
205244
|
-
const rename_1 = __importDefault(
|
205257
|
+
const rename_1 = __importDefault(__nested_webpack_require_1044709__(6718));
|
205245
205258
|
exports.rename = rename_1.default;
|
205246
|
-
const run_user_scripts_1 =
|
205259
|
+
const run_user_scripts_1 = __nested_webpack_require_1044709__(1442);
|
205247
205260
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
205248
205261
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
205249
205262
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -205262,40 +205275,40 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
205262
205275
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
205263
205276
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
205264
205277
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
205265
|
-
const node_version_1 =
|
205278
|
+
const node_version_1 = __nested_webpack_require_1044709__(7903);
|
205266
205279
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
205267
205280
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
205268
|
-
const stream_to_buffer_1 = __importDefault(
|
205281
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1044709__(2560));
|
205269
205282
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
205270
|
-
const debug_1 = __importDefault(
|
205283
|
+
const debug_1 = __importDefault(__nested_webpack_require_1044709__(1868));
|
205271
205284
|
exports.debug = debug_1.default;
|
205272
|
-
const get_ignore_filter_1 = __importDefault(
|
205285
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1044709__(1148));
|
205273
205286
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
205274
|
-
const get_platform_env_1 =
|
205287
|
+
const get_platform_env_1 = __nested_webpack_require_1044709__(4678);
|
205275
205288
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
205276
|
-
var edge_function_1 =
|
205289
|
+
var edge_function_1 = __nested_webpack_require_1044709__(8038);
|
205277
205290
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
205278
|
-
var detect_builders_1 =
|
205291
|
+
var detect_builders_1 = __nested_webpack_require_1044709__(4246);
|
205279
205292
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
205280
205293
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
205281
205294
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
205282
205295
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
205283
|
-
var detect_file_system_api_1 =
|
205296
|
+
var detect_file_system_api_1 = __nested_webpack_require_1044709__(1182);
|
205284
205297
|
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
205285
|
-
var detect_framework_1 =
|
205298
|
+
var detect_framework_1 = __nested_webpack_require_1044709__(5224);
|
205286
205299
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
205287
|
-
var get_project_paths_1 =
|
205300
|
+
var get_project_paths_1 = __nested_webpack_require_1044709__(1886);
|
205288
205301
|
Object.defineProperty(exports, "getProjectPaths", ({ enumerable: true, get: function () { return get_project_paths_1.getProjectPaths; } }));
|
205289
|
-
var filesystem_1 =
|
205302
|
+
var filesystem_1 = __nested_webpack_require_1044709__(461);
|
205290
205303
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
205291
|
-
var read_config_file_1 =
|
205304
|
+
var read_config_file_1 = __nested_webpack_require_1044709__(7792);
|
205292
205305
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
205293
|
-
var normalize_path_1 =
|
205306
|
+
var normalize_path_1 = __nested_webpack_require_1044709__(6261);
|
205294
205307
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
205295
|
-
__exportStar(
|
205296
|
-
__exportStar(
|
205297
|
-
__exportStar(
|
205298
|
-
__exportStar(
|
205308
|
+
__exportStar(__nested_webpack_require_1044709__(2564), exports);
|
205309
|
+
__exportStar(__nested_webpack_require_1044709__(2416), exports);
|
205310
|
+
__exportStar(__nested_webpack_require_1044709__(5748), exports);
|
205311
|
+
__exportStar(__nested_webpack_require_1044709__(3983), exports);
|
205299
205312
|
/**
|
205300
205313
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
205301
205314
|
*/
|
@@ -205313,20 +205326,20 @@ const isStaticRuntime = (name) => {
|
|
205313
205326
|
return exports.isOfficialRuntime('static', name);
|
205314
205327
|
};
|
205315
205328
|
exports.isStaticRuntime = isStaticRuntime;
|
205316
|
-
var workspace_managers_1 =
|
205329
|
+
var workspace_managers_1 = __nested_webpack_require_1044709__(4896);
|
205317
205330
|
Object.defineProperty(exports, "workspaceManagers", ({ enumerable: true, get: function () { return workspace_managers_1.workspaceManagers; } }));
|
205318
|
-
var get_workspaces_1 =
|
205331
|
+
var get_workspaces_1 = __nested_webpack_require_1044709__(9740);
|
205319
205332
|
Object.defineProperty(exports, "getWorkspaces", ({ enumerable: true, get: function () { return get_workspaces_1.getWorkspaces; } }));
|
205320
|
-
var get_workspace_package_paths_1 =
|
205333
|
+
var get_workspace_package_paths_1 = __nested_webpack_require_1044709__(1953);
|
205321
205334
|
Object.defineProperty(exports, "getWorkspacePackagePaths", ({ enumerable: true, get: function () { return get_workspace_package_paths_1.getWorkspacePackagePaths; } }));
|
205322
|
-
var monorepo_managers_1 =
|
205335
|
+
var monorepo_managers_1 = __nested_webpack_require_1044709__(6418);
|
205323
205336
|
Object.defineProperty(exports, "monorepoManagers", ({ enumerable: true, get: function () { return monorepo_managers_1.monorepoManagers; } }));
|
205324
205337
|
|
205325
205338
|
|
205326
205339
|
/***/ }),
|
205327
205340
|
|
205328
205341
|
/***/ 6721:
|
205329
|
-
/***/ (function(__unused_webpack_module, exports,
|
205342
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1056149__) {
|
205330
205343
|
|
205331
205344
|
"use strict";
|
205332
205345
|
|
@@ -205335,13 +205348,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205335
205348
|
};
|
205336
205349
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205337
205350
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
205338
|
-
const assert_1 = __importDefault(
|
205339
|
-
const async_sema_1 = __importDefault(
|
205340
|
-
const yazl_1 =
|
205341
|
-
const minimatch_1 = __importDefault(
|
205342
|
-
const fs_extra_1 =
|
205343
|
-
const download_1 =
|
205344
|
-
const stream_to_buffer_1 = __importDefault(
|
205351
|
+
const assert_1 = __importDefault(__nested_webpack_require_1056149__(2357));
|
205352
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1056149__(5758));
|
205353
|
+
const yazl_1 = __nested_webpack_require_1056149__(1223);
|
205354
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1056149__(9566));
|
205355
|
+
const fs_extra_1 = __nested_webpack_require_1056149__(5392);
|
205356
|
+
const download_1 = __nested_webpack_require_1056149__(1611);
|
205357
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1056149__(2560));
|
205345
205358
|
class Lambda {
|
205346
205359
|
constructor(opts) {
|
205347
205360
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, } = opts;
|
@@ -205505,13 +205518,13 @@ exports.default = exports.monorepoManagers;
|
|
205505
205518
|
/***/ }),
|
205506
205519
|
|
205507
205520
|
/***/ 7049:
|
205508
|
-
/***/ ((__unused_webpack_module, exports,
|
205521
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1062659__) => {
|
205509
205522
|
|
205510
205523
|
"use strict";
|
205511
205524
|
|
205512
205525
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205513
205526
|
exports.NodejsLambda = void 0;
|
205514
|
-
const lambda_1 =
|
205527
|
+
const lambda_1 = __nested_webpack_require_1062659__(6721);
|
205515
205528
|
class NodejsLambda extends lambda_1.Lambda {
|
205516
205529
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
205517
205530
|
super(opts);
|
@@ -205648,13 +205661,13 @@ exports.buildsSchema = {
|
|
205648
205661
|
/***/ }),
|
205649
205662
|
|
205650
205663
|
/***/ 2564:
|
205651
|
-
/***/ ((__unused_webpack_module, exports,
|
205664
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1067004__) => {
|
205652
205665
|
|
205653
205666
|
"use strict";
|
205654
205667
|
|
205655
205668
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205656
205669
|
exports.shouldServe = void 0;
|
205657
|
-
const path_1 =
|
205670
|
+
const path_1 = __nested_webpack_require_1067004__(5622);
|
205658
205671
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
205659
205672
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
205660
205673
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -205686,7 +205699,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
205686
205699
|
/***/ }),
|
205687
205700
|
|
205688
205701
|
/***/ 1953:
|
205689
|
-
/***/ (function(__unused_webpack_module, exports,
|
205702
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1068013__) {
|
205690
205703
|
|
205691
205704
|
"use strict";
|
205692
205705
|
|
@@ -205695,11 +205708,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205695
205708
|
};
|
205696
205709
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205697
205710
|
exports.getWorkspacePackagePaths = void 0;
|
205698
|
-
const path_1 = __importDefault(
|
205699
|
-
const js_yaml_1 = __importDefault(
|
205700
|
-
const glob_1 = __importDefault(
|
205701
|
-
const get_glob_fs_1 =
|
205702
|
-
const normalize_path_1 =
|
205711
|
+
const path_1 = __importDefault(__nested_webpack_require_1068013__(5622));
|
205712
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_1068013__(6540));
|
205713
|
+
const glob_1 = __importDefault(__nested_webpack_require_1068013__(1104));
|
205714
|
+
const get_glob_fs_1 = __nested_webpack_require_1068013__(5706);
|
205715
|
+
const normalize_path_1 = __nested_webpack_require_1068013__(6261);
|
205703
205716
|
const posixPath = path_1.default.posix;
|
205704
205717
|
async function getWorkspacePackagePaths({ fs, workspace, }) {
|
205705
205718
|
const { type, rootPath } = workspace;
|
@@ -205756,7 +205769,7 @@ async function getPnpmWorkspacePackagePaths({ fs, }) {
|
|
205756
205769
|
/***/ }),
|
205757
205770
|
|
205758
205771
|
/***/ 9740:
|
205759
|
-
/***/ (function(__unused_webpack_module, exports,
|
205772
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1070572__) {
|
205760
205773
|
|
205761
205774
|
"use strict";
|
205762
205775
|
|
@@ -205765,9 +205778,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
205765
205778
|
};
|
205766
205779
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
205767
205780
|
exports.getWorkspaces = void 0;
|
205768
|
-
const path_1 = __importDefault(
|
205769
|
-
const workspace_managers_1 =
|
205770
|
-
const detect_framework_1 =
|
205781
|
+
const path_1 = __importDefault(__nested_webpack_require_1070572__(5622));
|
205782
|
+
const workspace_managers_1 = __nested_webpack_require_1070572__(4896);
|
205783
|
+
const detect_framework_1 = __nested_webpack_require_1070572__(5224);
|
205771
205784
|
const MAX_DEPTH_TRAVERSE = 3;
|
205772
205785
|
const posixPath = path_1.default.posix;
|
205773
205786
|
async function getWorkspaces({ fs, depth = MAX_DEPTH_TRAVERSE, cwd = '/', }) {
|
@@ -206064,7 +206077,7 @@ module.exports = __webpack_require__(78761);
|
|
206064
206077
|
/******/ var __webpack_module_cache__ = {};
|
206065
206078
|
/******/
|
206066
206079
|
/******/ // The require function
|
206067
|
-
/******/ function
|
206080
|
+
/******/ function __nested_webpack_require_1172348__(moduleId) {
|
206068
206081
|
/******/ // Check if module is in cache
|
206069
206082
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
206070
206083
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -206079,7 +206092,7 @@ module.exports = __webpack_require__(78761);
|
|
206079
206092
|
/******/ // Execute the module function
|
206080
206093
|
/******/ var threw = true;
|
206081
206094
|
/******/ try {
|
206082
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
206095
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1172348__);
|
206083
206096
|
/******/ threw = false;
|
206084
206097
|
/******/ } finally {
|
206085
206098
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -206092,11 +206105,11 @@ module.exports = __webpack_require__(78761);
|
|
206092
206105
|
/************************************************************************/
|
206093
206106
|
/******/ /* webpack/runtime/compat */
|
206094
206107
|
/******/
|
206095
|
-
/******/
|
206108
|
+
/******/ __nested_webpack_require_1172348__.ab = __dirname + "/";/************************************************************************/
|
206096
206109
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
206097
206110
|
/******/ // startup
|
206098
206111
|
/******/ // Load entry module and return exports
|
206099
|
-
/******/ return
|
206112
|
+
/******/ return __nested_webpack_require_1172348__(2855);
|
206100
206113
|
/******/ })()
|
206101
206114
|
;
|
206102
206115
|
|
@@ -216585,6 +216598,7 @@ let subcommand;
|
|
216585
216598
|
if (cardId) {
|
216586
216599
|
const label = `Are you sure that you to set this card as the default?`;
|
216587
216600
|
const confirmation = await (0,prompt_bool_default())(label, {
|
216601
|
+
...client,
|
216588
216602
|
trailing: '\n',
|
216589
216603
|
});
|
216590
216604
|
|
@@ -216660,7 +216674,7 @@ let subcommand;
|
|
216660
216674
|
// typed `vercel billing rm <some-id>`) is valid
|
216661
216675
|
if (cardId) {
|
216662
216676
|
const label = `Are you sure that you want to remove this card?`;
|
216663
|
-
const confirmation = await (0,prompt_bool_default())(label);
|
216677
|
+
const confirmation = await (0,prompt_bool_default())(label, client);
|
216664
216678
|
if (!confirmation) {
|
216665
216679
|
console.log('Aborted');
|
216666
216680
|
break;
|
@@ -230481,7 +230495,7 @@ async function rm(client, opts, args) {
|
|
230481
230495
|
return 1;
|
230482
230496
|
}
|
230483
230497
|
const removeStamp = stamp_1.default();
|
230484
|
-
if (!opts['--yes'] && !(await confirmAliasRemove(
|
230498
|
+
if (!opts['--yes'] && !(await confirmAliasRemove(client, alias))) {
|
230485
230499
|
output.log('Aborted');
|
230486
230500
|
return 0;
|
230487
230501
|
}
|
@@ -230490,7 +230504,7 @@ async function rm(client, opts, args) {
|
|
230490
230504
|
return 0;
|
230491
230505
|
}
|
230492
230506
|
exports.default = rm;
|
230493
|
-
async function confirmAliasRemove(
|
230507
|
+
async function confirmAliasRemove(client, alias) {
|
230494
230508
|
const srcUrl = alias.deployment
|
230495
230509
|
? chalk_1.default.underline(alias.deployment.url)
|
230496
230510
|
: null;
|
@@ -230505,9 +230519,9 @@ async function confirmAliasRemove(output, alias) {
|
|
230505
230519
|
hsep: ' '.repeat(4),
|
230506
230520
|
stringLength: strlen_1.default,
|
230507
230521
|
});
|
230508
|
-
output.log(`The following alias will be removed permanently`);
|
230509
|
-
output.print(` ${tbl}\n`);
|
230510
|
-
return confirm_1.default(chalk_1.default.red('Are you sure?'), false);
|
230522
|
+
client.output.log(`The following alias will be removed permanently`);
|
230523
|
+
client.output.print(` ${tbl}\n`);
|
230524
|
+
return confirm_1.default(client, chalk_1.default.red('Are you sure?'), false);
|
230511
230525
|
}
|
230512
230526
|
|
230513
230527
|
|
@@ -231210,7 +231224,7 @@ async function main(client) {
|
|
231210
231224
|
client.output.print(`No Project Settings found locally. Run ${cli.getCommandName('pull --yes')} to retreive them.`);
|
231211
231225
|
return 1;
|
231212
231226
|
}
|
231213
|
-
confirmed = await confirm_1.default(`No Project Settings found locally. Run ${cli.getCommandName('pull')} for retrieving them?`, true);
|
231227
|
+
confirmed = await confirm_1.default(client, `No Project Settings found locally. Run ${cli.getCommandName('pull')} for retrieving them?`, true);
|
231214
231228
|
}
|
231215
231229
|
if (!confirmed) {
|
231216
231230
|
client.output.print(`Aborted. No Project Settings retrieved.\n`);
|
@@ -232353,7 +232367,7 @@ exports.default = async (client) => {
|
|
232353
232367
|
const { log, debug, error, prettyError, isTTY } = output;
|
232354
232368
|
const quiet = !isTTY;
|
232355
232369
|
// check paths
|
232356
|
-
const pathValidation = await validate_paths_1.default(
|
232370
|
+
const pathValidation = await validate_paths_1.default(client, paths);
|
232357
232371
|
if (!pathValidation.valid) {
|
232358
232372
|
return pathValidation.exitCode;
|
232359
232373
|
}
|
@@ -232400,7 +232414,7 @@ exports.default = async (client) => {
|
|
232400
232414
|
let sourceFilesOutsideRootDirectory = true;
|
232401
232415
|
if (status === 'not_linked') {
|
232402
232416
|
const shouldStartSetup = autoConfirm ||
|
232403
|
-
(await confirm_1.default(`Set up and deploy ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
232417
|
+
(await confirm_1.default(client, `Set up and deploy ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
232404
232418
|
if (!shouldStartSetup) {
|
232405
232419
|
output.print(`Aborted. Project not set up.\n`);
|
232406
232420
|
return 0;
|
@@ -232428,7 +232442,7 @@ exports.default = async (client) => {
|
|
232428
232442
|
const projectOrNewProjectName = await input_project_1.default(client, org, detectedProjectName, autoConfirm);
|
232429
232443
|
if (typeof projectOrNewProjectName === 'string') {
|
232430
232444
|
newProjectName = projectOrNewProjectName;
|
232431
|
-
rootDirectory = await input_root_directory_1.inputRootDirectory(
|
232445
|
+
rootDirectory = await input_root_directory_1.inputRootDirectory(client, path, autoConfirm);
|
232432
232446
|
}
|
232433
232447
|
else {
|
232434
232448
|
project = projectOrNewProjectName;
|
@@ -232573,7 +232587,7 @@ exports.default = async (client) => {
|
|
232573
232587
|
projectSettings.sourceFilesOutsideRootDirectory =
|
232574
232588
|
sourceFilesOutsideRootDirectory;
|
232575
232589
|
}
|
232576
|
-
const settings = await edit_project_settings_1.default(
|
232590
|
+
const settings = await edit_project_settings_1.default(client, projectSettings, framework, false, localConfigurationOverrides);
|
232577
232591
|
// deploy again, but send projectSettings this time
|
232578
232592
|
createArgs.projectSettings = settings;
|
232579
232593
|
deployStamp = stamp_1.default();
|
@@ -233125,7 +233139,7 @@ async function add(client, opts, args) {
|
|
233125
233139
|
}
|
233126
233140
|
const addStamp = stamp_1.default();
|
233127
233141
|
const { domain, data: argData } = parsedParams;
|
233128
|
-
const data = await get_dns_data_1.default(
|
233142
|
+
const data = await get_dns_data_1.default(client, argData);
|
233129
233143
|
if (!data) {
|
233130
233144
|
output.log(`Aborted`);
|
233131
233145
|
return 1;
|
@@ -233698,12 +233712,12 @@ async function buy(client, opts, args) {
|
|
233698
233712
|
}
|
233699
233713
|
const { period, price } = domainPrice;
|
233700
233714
|
output.log(`The domain ${param_1.default(domainName)} is ${chalk_1.default.underline('available')} to buy under ${chalk_1.default.bold(contextName)}! ${availableStamp()}`);
|
233701
|
-
if (!(await prompt_bool_1.default(`Buy now for ${chalk_1.default.bold(`$${price}`)} (${`${period}yr${period > 1 ? 's' : ''}`})
|
233715
|
+
if (!(await prompt_bool_1.default(`Buy now for ${chalk_1.default.bold(`$${price}`)} (${`${period}yr${period > 1 ? 's' : ''}`})?`, client))) {
|
233702
233716
|
return 0;
|
233703
233717
|
}
|
233704
233718
|
const autoRenew = await prompt_bool_1.default(renewalPrice.period === 1
|
233705
233719
|
? `Auto renew yearly for ${chalk_1.default.bold(`$${price}`)}?`
|
233706
|
-
: `Auto renew every ${renewalPrice.period} years for ${chalk_1.default.bold(`$${price}`)}?`, { defaultValue: true });
|
233720
|
+
: `Auto renew every ${renewalPrice.period} years for ${chalk_1.default.bold(`$${price}`)}?`, { ...client, defaultValue: true });
|
233707
233721
|
let buyResult;
|
233708
233722
|
const purchaseStamp = stamp_1.default();
|
233709
233723
|
output.spinner('Purchasing');
|
@@ -234186,7 +234200,7 @@ async function move(client, opts, args) {
|
|
234186
234200
|
if (!matchId && !opts['--yes']) {
|
234187
234201
|
output.warn(`You're not a member of ${param_1.default(destination)}. ` +
|
234188
234202
|
`${param_1.default(destination)} will have 24 hours to accept your move request before it expires.`);
|
234189
|
-
if (!(await prompt_bool_1.default(`Are you sure you want to move ${param_1.default(domainName)} to ${param_1.default(destination)}
|
234203
|
+
if (!(await prompt_bool_1.default(`Are you sure you want to move ${param_1.default(domainName)} to ${param_1.default(destination)}?`, client))) {
|
234190
234204
|
output.log('Aborted');
|
234191
234205
|
return 0;
|
234192
234206
|
}
|
@@ -234195,7 +234209,7 @@ async function move(client, opts, args) {
|
|
234195
234209
|
const aliases = await get_domain_aliases_1.default(client, domainName);
|
234196
234210
|
if (aliases.length > 0) {
|
234197
234211
|
output.warn(`This domain's ${chalk_1.default.bold(pluralize_1.default('alias', aliases.length, true))} will be removed. Run ${pkg_name_1.getCommandName(`alias ls`)} to list them.`);
|
234198
|
-
if (!(await prompt_bool_1.default(`Are you sure you want to move ${param_1.default(domainName)}
|
234212
|
+
if (!(await prompt_bool_1.default(`Are you sure you want to move ${param_1.default(domainName)}?`, client))) {
|
234199
234213
|
output.log('Aborted');
|
234200
234214
|
return 0;
|
234201
234215
|
}
|
@@ -234353,7 +234367,7 @@ async function rm(client, opts, args) {
|
|
234353
234367
|
}
|
234354
234368
|
const skipConfirmation = opts['--yes'] || false;
|
234355
234369
|
if (!skipConfirmation &&
|
234356
|
-
!(await prompt_bool_1.default(`Are you sure you want to remove ${param_1.default(domainName)}
|
234370
|
+
!(await prompt_bool_1.default(`Are you sure you want to remove ${param_1.default(domainName)}?`, client))) {
|
234357
234371
|
output.log('Aborted');
|
234358
234372
|
return 0;
|
234359
234373
|
}
|
@@ -234430,7 +234444,7 @@ async function removeDomain(output, client, contextName, skipConfirmation, domai
|
|
234430
234444
|
output.warn(`The ${chalk_1.default.bold(`custom suffix`)} associated with this domain.`);
|
234431
234445
|
}
|
234432
234446
|
if (!skipConfirmation &&
|
234433
|
-
!(await prompt_bool_1.default(`Remove conflicts associated with domain
|
234447
|
+
!(await prompt_bool_1.default(`Remove conflicts associated with domain?`, client))) {
|
234434
234448
|
output.log('Aborted');
|
234435
234449
|
return 0;
|
234436
234450
|
}
|
@@ -234523,7 +234537,7 @@ async function transferIn(client, opts, args) {
|
|
234523
234537
|
const authCode = await get_auth_code_1.default(opts['--code']);
|
234524
234538
|
const shouldTransfer = await prompt_bool_1.default(transferPolicy === 'no-change'
|
234525
234539
|
? `Transfer now for ${chalk_1.default.bold(`$${price}`)}?`
|
234526
|
-
: `Transfer now with 1yr renewal for ${chalk_1.default.bold(`$${price}`)}
|
234540
|
+
: `Transfer now with 1yr renewal for ${chalk_1.default.bold(`$${price}`)}?`, client);
|
234527
234541
|
if (!shouldTransfer) {
|
234528
234542
|
return 0;
|
234529
234543
|
}
|
@@ -234589,7 +234603,7 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
234589
234603
|
async function add(client, project, opts, args, output) {
|
234590
234604
|
// improve the way we show inquirer prompts
|
234591
234605
|
__webpack_require__(37794);
|
234592
|
-
const stdInput = await read_standard_input_1.default();
|
234606
|
+
const stdInput = await read_standard_input_1.default(client.stdin);
|
234593
234607
|
let [envName, envTargetArg, envGitBranch] = args;
|
234594
234608
|
if (args.length > 3) {
|
234595
234609
|
output.error(`Invalid number of arguments. Usage: ${pkg_name_1.getCommandName(`env add <name> ${env_target_1.getEnvTargetPlaceholder()} <gitbranch>`)}`);
|
@@ -234966,7 +234980,7 @@ async function pull(client, project, environment, opts, args, output, cwd, sourc
|
|
234966
234980
|
}
|
234967
234981
|
else if (exists &&
|
234968
234982
|
!skipConfirmation &&
|
234969
|
-
!(await confirm_1.default(`Found existing file ${param_1.default(filename)}. Do you want to overwrite?`, false))) {
|
234983
|
+
!(await confirm_1.default(client, `Found existing file ${param_1.default(filename)}. Do you want to overwrite?`, false))) {
|
234970
234984
|
output.log('Aborted');
|
234971
234985
|
return 0;
|
234972
234986
|
}
|
@@ -235070,7 +235084,7 @@ async function rm(client, project, opts, args, output) {
|
|
235070
235084
|
const env = envs[0];
|
235071
235085
|
const skipConfirmation = opts['--yes'];
|
235072
235086
|
if (!skipConfirmation &&
|
235073
|
-
!(await confirm_1.default(`Removing Environment Variable ${param_1.default(env.key)} from ${format_env_target_1.default(env)} in Project ${chalk_1.default.bold(project.name)}. Are you sure?`, false))) {
|
235087
|
+
!(await confirm_1.default(client, `Removing Environment Variable ${param_1.default(env.key)} from ${format_env_target_1.default(env)} in Project ${chalk_1.default.bold(project.name)}. Are you sure?`, false))) {
|
235074
235088
|
output.log('Aborted');
|
235075
235089
|
return 0;
|
235076
235090
|
}
|
@@ -235276,7 +235290,7 @@ async function init(client, opts, args) {
|
|
235276
235290
|
if (oldExample) {
|
235277
235291
|
return extractExample(client, name, dir, force, 'v1');
|
235278
235292
|
}
|
235279
|
-
const found = await guess(exampleList, name);
|
235293
|
+
const found = await guess(client, exampleList, name);
|
235280
235294
|
if (typeof found === 'string') {
|
235281
235295
|
return extractExample(client, found, dir, force);
|
235282
235296
|
}
|
@@ -235369,14 +235383,14 @@ function prepareFolder(cwd, folder, force) {
|
|
235369
235383
|
/**
|
235370
235384
|
* Guess which example user try to init
|
235371
235385
|
*/
|
235372
|
-
async function guess(exampleList, name) {
|
235386
|
+
async function guess(client, exampleList, name) {
|
235373
235387
|
const GuessError = new Error(`No example found for ${chalk_1.default.bold(name)}, run ${pkg_name_1.getCommandName(`init`)} to see the list of available examples.`);
|
235374
235388
|
if (process.stdout.isTTY !== true) {
|
235375
235389
|
throw GuessError;
|
235376
235390
|
}
|
235377
235391
|
const found = did_you_mean_1.default(name, exampleList, 0.7);
|
235378
235392
|
if (typeof found === 'string') {
|
235379
|
-
if (await prompt_bool_1.default(`Did you mean ${chalk_1.default.bold(found)}
|
235393
|
+
if (await prompt_bool_1.default(`Did you mean ${chalk_1.default.bold(found)}?`, client)) {
|
235380
235394
|
return found;
|
235381
235395
|
}
|
235382
235396
|
}
|
@@ -238007,6 +238021,8 @@ const main = async () => {
|
|
238007
238021
|
// Shared API `Client` instance for all sub-commands to utilize
|
238008
238022
|
client = new client_1.default({
|
238009
238023
|
apiUrl,
|
238024
|
+
stdin: process.stdin,
|
238025
|
+
stdout: process.stdout,
|
238010
238026
|
output,
|
238011
238027
|
config,
|
238012
238028
|
authConfig,
|
@@ -239471,8 +239487,16 @@ async function* findDirs(name, dir, root = dir) {
|
|
239471
239487
|
}
|
239472
239488
|
for (const path of paths) {
|
239473
239489
|
const abs = path_1.join(dir, path);
|
239474
|
-
|
239475
|
-
|
239490
|
+
let stat;
|
239491
|
+
try {
|
239492
|
+
stat = await fs_extra_1.default.lstat(abs);
|
239493
|
+
}
|
239494
|
+
catch (err) {
|
239495
|
+
if (err.code === 'ENOENT')
|
239496
|
+
continue;
|
239497
|
+
throw err;
|
239498
|
+
}
|
239499
|
+
if (stat.isDirectory()) {
|
239476
239500
|
if (path === name) {
|
239477
239501
|
yield path_1.relative(root, abs);
|
239478
239502
|
}
|
@@ -240159,6 +240183,8 @@ class Client extends events_1.EventEmitter {
|
|
240159
240183
|
this.argv = opts.argv;
|
240160
240184
|
this.apiUrl = opts.apiUrl;
|
240161
240185
|
this.authConfig = opts.authConfig;
|
240186
|
+
this.stdin = opts.stdin;
|
240187
|
+
this.stdout = opts.stdout;
|
240162
240188
|
this.output = opts.output;
|
240163
240189
|
this.config = opts.config;
|
240164
240190
|
this.localConfig = opts.localConfig;
|
@@ -243125,6 +243151,7 @@ class DevServer {
|
|
243125
243151
|
async handleFileCreated(fsPath, changed, removed) {
|
243126
243152
|
const name = path_helpers_1.relative(this.cwd, fsPath);
|
243127
243153
|
try {
|
243154
|
+
await this.getVercelConfig();
|
243128
243155
|
this.files[name] = await build_utils_1.FileFsRef.fromFsPath({ fsPath });
|
243129
243156
|
const extensionless = this.getExtensionlessFile(name);
|
243130
243157
|
if (extensionless) {
|
@@ -244581,16 +244608,17 @@ const chalk_1 = __importDefault(__webpack_require__(961));
|
|
244581
244608
|
const text_1 = __importDefault(__webpack_require__(20606));
|
244582
244609
|
const prompt_bool_1 = __importDefault(__webpack_require__(45627));
|
244583
244610
|
const RECORD_TYPES = ['A', 'AAAA', 'ALIAS', 'CAA', 'CNAME', 'MX', 'SRV', 'TXT'];
|
244584
|
-
async function getDNSData(
|
244611
|
+
async function getDNSData(client, data) {
|
244585
244612
|
if (data) {
|
244586
244613
|
return data;
|
244587
244614
|
}
|
244615
|
+
const { output } = client;
|
244588
244616
|
try {
|
244589
244617
|
// first ask for type, branch from there
|
244590
244618
|
const possibleTypes = new Set(RECORD_TYPES);
|
244591
244619
|
const type = (await text_1.default({
|
244592
244620
|
label: `- Record type (${RECORD_TYPES.join(', ')}): `,
|
244593
|
-
validateValue: (v) => Boolean(v && possibleTypes.has(v.trim().toUpperCase()))
|
244621
|
+
validateValue: (v) => Boolean(v && possibleTypes.has(v.trim().toUpperCase())),
|
244594
244622
|
}))
|
244595
244623
|
.trim()
|
244596
244624
|
.toUpperCase();
|
@@ -244601,7 +244629,7 @@ async function getDNSData(output, data) {
|
|
244601
244629
|
const port = await getNumber(`- ${type} port: `);
|
244602
244630
|
const target = await getTrimmedString(`- ${type} target: `);
|
244603
244631
|
output.log(`${chalk_1.default.cyan(name)} ${chalk_1.default.bold(type)} ${chalk_1.default.cyan(`${priority}`)} ${chalk_1.default.cyan(`${weight}`)} ${chalk_1.default.cyan(`${port}`)} ${chalk_1.default.cyan(target)}.`);
|
244604
|
-
return (await verifyData())
|
244632
|
+
return (await verifyData(client))
|
244605
244633
|
? {
|
244606
244634
|
name,
|
244607
244635
|
type,
|
@@ -244609,8 +244637,8 @@ async function getDNSData(output, data) {
|
|
244609
244637
|
priority,
|
244610
244638
|
weight,
|
244611
244639
|
port,
|
244612
|
-
target
|
244613
|
-
}
|
244640
|
+
target,
|
244641
|
+
},
|
244614
244642
|
}
|
244615
244643
|
: null;
|
244616
244644
|
}
|
@@ -244618,22 +244646,22 @@ async function getDNSData(output, data) {
|
|
244618
244646
|
const mxPriority = await getNumber(`- ${type} priority: `);
|
244619
244647
|
const value = await getTrimmedString(`- ${type} host: `);
|
244620
244648
|
output.log(`${chalk_1.default.cyan(name)} ${chalk_1.default.bold(type)} ${chalk_1.default.cyan(`${mxPriority}`)} ${chalk_1.default.cyan(value)}`);
|
244621
|
-
return (await verifyData())
|
244649
|
+
return (await verifyData(client))
|
244622
244650
|
? {
|
244623
244651
|
name,
|
244624
244652
|
type,
|
244625
244653
|
value,
|
244626
|
-
mxPriority
|
244654
|
+
mxPriority,
|
244627
244655
|
}
|
244628
244656
|
: null;
|
244629
244657
|
}
|
244630
244658
|
const value = await getTrimmedString(`- ${type} value: `);
|
244631
244659
|
output.log(`${chalk_1.default.cyan(name)} ${chalk_1.default.bold(type)} ${chalk_1.default.cyan(value)}`);
|
244632
|
-
return (await verifyData())
|
244660
|
+
return (await verifyData(client))
|
244633
244661
|
? {
|
244634
244662
|
name,
|
244635
244663
|
type,
|
244636
|
-
value
|
244664
|
+
value,
|
244637
244665
|
}
|
244638
244666
|
: null;
|
244639
244667
|
}
|
@@ -244642,25 +244670,25 @@ async function getDNSData(output, data) {
|
|
244642
244670
|
}
|
244643
244671
|
}
|
244644
244672
|
exports.default = getDNSData;
|
244645
|
-
async function verifyData() {
|
244646
|
-
return prompt_bool_1.default('Is this correct?');
|
244673
|
+
async function verifyData(client) {
|
244674
|
+
return prompt_bool_1.default('Is this correct?', client);
|
244647
244675
|
}
|
244648
244676
|
async function getRecordName(type) {
|
244649
244677
|
const input = await text_1.default({
|
244650
|
-
label: `- ${type} name:
|
244678
|
+
label: `- ${type} name: `,
|
244651
244679
|
});
|
244652
244680
|
return input === '@' ? '' : input;
|
244653
244681
|
}
|
244654
244682
|
async function getNumber(label) {
|
244655
244683
|
return Number(await text_1.default({
|
244656
244684
|
label,
|
244657
|
-
validateValue: v => Boolean(v && Number(v))
|
244685
|
+
validateValue: v => Boolean(v && Number(v)),
|
244658
244686
|
}));
|
244659
244687
|
}
|
244660
244688
|
async function getTrimmedString(label) {
|
244661
244689
|
const res = await text_1.default({
|
244662
244690
|
label,
|
244663
|
-
validateValue: v => Boolean(v && v.trim().length > 0)
|
244691
|
+
validateValue: v => Boolean(v && v.trim().length > 0),
|
244664
244692
|
});
|
244665
244693
|
return res.trim();
|
244666
244694
|
}
|
@@ -245289,7 +245317,7 @@ async function purchaseDomainIfAvailable(output, client, domain, contextName) {
|
|
245289
245317
|
}
|
245290
245318
|
const { price, period } = domainPrice;
|
245291
245319
|
output.log(`Domain not found, but you can buy it under ${chalk_1.default.bold(contextName)}! ${buyDomainStamp()}`);
|
245292
|
-
if (!(await prompt_bool_1.default(`Buy ${chalk_1.default.underline(domain)} for ${chalk_1.default.bold(`$${price}`)} (${pluralize_1.default('yr', period, true)})
|
245320
|
+
if (!(await prompt_bool_1.default(`Buy ${chalk_1.default.underline(domain)} for ${chalk_1.default.bold(`$${price}`)} (${pluralize_1.default('yr', period, true)})?`, client))) {
|
245293
245321
|
output.print(erase_lines_1.default(1));
|
245294
245322
|
return new ERRORS.UserAborted();
|
245295
245323
|
}
|
@@ -248279,9 +248307,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
248279
248307
|
};
|
248280
248308
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
248281
248309
|
const inquirer_1 = __importDefault(__webpack_require__(64016));
|
248282
|
-
async function confirm(message, preferred) {
|
248310
|
+
async function confirm(client, message, preferred) {
|
248283
248311
|
__webpack_require__(37794);
|
248284
|
-
const
|
248312
|
+
const prompt = inquirer_1.default.createPromptModule({
|
248313
|
+
input: client.stdin,
|
248314
|
+
output: client.stdout,
|
248315
|
+
});
|
248316
|
+
const answers = await prompt({
|
248285
248317
|
type: 'confirm',
|
248286
248318
|
name: 'value',
|
248287
248319
|
message,
|
@@ -248317,7 +248349,8 @@ const settingMap = {
|
|
248317
248349
|
framework: 'Framework',
|
248318
248350
|
};
|
248319
248351
|
const settingKeys = Object.keys(settingMap).sort();
|
248320
|
-
async function editProjectSettings(
|
248352
|
+
async function editProjectSettings(client, projectSettings, framework, autoConfirm, localConfigurationOverrides) {
|
248353
|
+
const { output } = client;
|
248321
248354
|
// Create initial settings object defaulting everything to `null` and assigning what may exist in `projectSettings`
|
248322
248355
|
const settings = Object.assign({
|
248323
248356
|
buildCommand: null,
|
@@ -248377,7 +248410,7 @@ async function editProjectSettings(output, projectSettings, framework, autoConfi
|
|
248377
248410
|
}
|
248378
248411
|
// Prompt the user if they want to modify any settings not defined by local configuration.
|
248379
248412
|
if (autoConfirm ||
|
248380
|
-
!(await confirm_1.default('Want to modify these settings?', false))) {
|
248413
|
+
!(await confirm_1.default(client, 'Want to modify these settings?', false))) {
|
248381
248414
|
return settings;
|
248382
248415
|
}
|
248383
248416
|
const choices = settingKeys.reduce((acc, setting) => {
|
@@ -248454,21 +248487,25 @@ async function inputProject(client, org, detectedProjectName, autoConfirm = fals
|
|
248454
248487
|
let shouldLinkProject;
|
248455
248488
|
if (!detectedProject) {
|
248456
248489
|
// did not auto-detect a project to link
|
248457
|
-
shouldLinkProject = await confirm_1.default(`Link to existing project?`, false);
|
248490
|
+
shouldLinkProject = await confirm_1.default(client, `Link to existing project?`, false);
|
248458
248491
|
}
|
248459
248492
|
else {
|
248460
248493
|
// auto-detected a project to link
|
248461
|
-
if (await confirm_1.default(`Found project ${chalk_1.default.cyan(`“${org.slug}/${detectedProject.name}”`)}. Link to it?`, true)) {
|
248494
|
+
if (await confirm_1.default(client, `Found project ${chalk_1.default.cyan(`“${org.slug}/${detectedProject.name}”`)}. Link to it?`, true)) {
|
248462
248495
|
return detectedProject;
|
248463
248496
|
}
|
248464
248497
|
// user doesn't want to link the auto-detected project
|
248465
|
-
shouldLinkProject = await confirm_1.default(`Link to different existing project?`, true);
|
248498
|
+
shouldLinkProject = await confirm_1.default(client, `Link to different existing project?`, true);
|
248466
248499
|
}
|
248467
248500
|
if (shouldLinkProject) {
|
248468
248501
|
// user wants to link a project
|
248469
248502
|
let project = null;
|
248470
248503
|
while (!project || project instanceof errors_ts_1.ProjectNotFound) {
|
248471
|
-
const
|
248504
|
+
const prompt = inquirer_1.default.createPromptModule({
|
248505
|
+
input: client.stdin,
|
248506
|
+
output: client.stdout,
|
248507
|
+
});
|
248508
|
+
const answers = await prompt({
|
248472
248509
|
type: 'input',
|
248473
248510
|
name: 'existingProjectName',
|
248474
248511
|
message: `What’s the name of your existing project?`,
|
@@ -248539,13 +248576,17 @@ const path_1 = __importDefault(__webpack_require__(85622));
|
|
248539
248576
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
248540
248577
|
const inquirer_1 = __importDefault(__webpack_require__(64016));
|
248541
248578
|
const validate_paths_1 = __webpack_require__(54579);
|
248542
|
-
async function inputRootDirectory(
|
248579
|
+
async function inputRootDirectory(client, cwd, autoConfirm = false) {
|
248543
248580
|
if (autoConfirm) {
|
248544
248581
|
return null;
|
248545
248582
|
}
|
248546
248583
|
// eslint-disable-next-line no-constant-condition
|
248547
248584
|
while (true) {
|
248548
|
-
const
|
248585
|
+
const prompt = inquirer_1.default.createPromptModule({
|
248586
|
+
input: client.stdin,
|
248587
|
+
output: client.stdout,
|
248588
|
+
});
|
248589
|
+
const { rootDirectory } = await prompt({
|
248549
248590
|
type: 'input',
|
248550
248591
|
name: 'rootDirectory',
|
248551
248592
|
message: `In which directory is your code located?`,
|
@@ -248561,7 +248602,7 @@ async function inputRootDirectory(cwd, output, autoConfirm = false) {
|
|
248561
248602
|
return null;
|
248562
248603
|
}
|
248563
248604
|
const fullPath = path_1.default.join(cwd, normal);
|
248564
|
-
if ((await validate_paths_1.validateRootDirectory(output, cwd, fullPath, 'Please choose a different one.')) === false) {
|
248605
|
+
if ((await validate_paths_1.validateRootDirectory(client.output, cwd, fullPath, 'Please choose a different one.')) === false) {
|
248565
248606
|
continue;
|
248566
248607
|
}
|
248567
248608
|
return normal;
|
@@ -248894,8 +248935,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
248894
248935
|
};
|
248895
248936
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
248896
248937
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
248897
|
-
async function promptBool(label, options
|
248898
|
-
const { defaultValue = false, abortSequences = new Set(['\u0003']), resolveChars = new Set(['\r']), yesChar = 'y', noChar = 'n',
|
248938
|
+
async function promptBool(label, options) {
|
248939
|
+
const { stdin, stdout, defaultValue = false, abortSequences = new Set(['\u0003']), resolveChars = new Set(['\r']), yesChar = 'y', noChar = 'n', trailing = '', } = options;
|
248899
248940
|
return new Promise(resolve => {
|
248900
248941
|
const isRaw = Boolean(stdin && stdin.isRaw);
|
248901
248942
|
if (stdin) {
|
@@ -248962,16 +249003,16 @@ exports.default = promptBool;
|
|
248962
249003
|
"use strict";
|
248963
249004
|
|
248964
249005
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
248965
|
-
async function readStandardInput() {
|
249006
|
+
async function readStandardInput(stdin) {
|
248966
249007
|
return new Promise(resolve => {
|
248967
249008
|
setTimeout(() => resolve(''), 500);
|
248968
|
-
if (
|
249009
|
+
if (stdin.isTTY) {
|
248969
249010
|
// found tty so we know there is nothing piped to stdin
|
248970
249011
|
resolve('');
|
248971
249012
|
}
|
248972
249013
|
else {
|
248973
|
-
|
248974
|
-
|
249014
|
+
stdin.setEncoding('utf8');
|
249015
|
+
stdin.once('data', resolve);
|
248975
249016
|
}
|
248976
249017
|
});
|
248977
249018
|
}
|
@@ -249446,7 +249487,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
249446
249487
|
return { status: 'error', exitCode: 1, reason: 'HEADLESS' };
|
249447
249488
|
}
|
249448
249489
|
const shouldStartSetup = autoConfirm ||
|
249449
|
-
(await confirm_1.default(`${setupMsg} ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
249490
|
+
(await confirm_1.default(client, `${setupMsg} ${chalk_1.default.cyan(`“${humanize_path_1.default(path)}”`)}?`, true));
|
249450
249491
|
if (!shouldStartSetup) {
|
249451
249492
|
output.print(`Aborted. Project not set up.\n`);
|
249452
249493
|
return { status: 'not_linked', org: null, project: null };
|
@@ -249469,7 +249510,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
249469
249510
|
const projectOrNewProjectName = await input_project_1.default(client, org, detectedProjectName, autoConfirm);
|
249470
249511
|
if (typeof projectOrNewProjectName === 'string') {
|
249471
249512
|
newProjectName = projectOrNewProjectName;
|
249472
|
-
rootDirectory = await input_root_directory_1.inputRootDirectory(
|
249513
|
+
rootDirectory = await input_root_directory_1.inputRootDirectory(client, path, autoConfirm);
|
249473
249514
|
}
|
249474
249515
|
else {
|
249475
249516
|
const project = projectOrNewProjectName;
|
@@ -249539,7 +249580,7 @@ async function setupAndLink(client, path, { forceDelete = false, autoConfirm = f
|
|
249539
249580
|
};
|
249540
249581
|
}
|
249541
249582
|
const { projectSettings, framework } = deployment;
|
249542
|
-
settings = await edit_project_settings_1.default(
|
249583
|
+
settings = await edit_project_settings_1.default(client, projectSettings, framework, autoConfirm, localConfigurationOverrides);
|
249543
249584
|
}
|
249544
249585
|
if (rootDirectory) {
|
249545
249586
|
settings.rootDirectory = rootDirectory;
|
@@ -250000,7 +250041,7 @@ async function reauthenticate(client, error) {
|
|
250000
250041
|
if (error.teamId && error.enforced) {
|
250001
250042
|
// If team has SAML enforced then trigger the SSO login directly
|
250002
250043
|
client.output.log(`You must re-authenticate with SAML to use ${chalk_1.bold(error.scope)} scope.`);
|
250003
|
-
if (await confirm_1.default(`Log in with SAML?`, true)) {
|
250044
|
+
if (await confirm_1.default(client, `Log in with SAML?`, true)) {
|
250004
250045
|
return saml_1.default(client, error.teamId);
|
250005
250046
|
}
|
250006
250047
|
}
|
@@ -252170,7 +252211,8 @@ async function validateRootDirectory(output, cwd, path, errorSuffix) {
|
|
252170
252211
|
return true;
|
252171
252212
|
}
|
252172
252213
|
exports.validateRootDirectory = validateRootDirectory;
|
252173
|
-
async function validatePaths(
|
252214
|
+
async function validatePaths(client, paths) {
|
252215
|
+
const { output } = client;
|
252174
252216
|
// can't deploy more than 1 path
|
252175
252217
|
if (paths.length > 1) {
|
252176
252218
|
output.print(`${chalk_1.default.red('Error!')} Can't deploy more than one path.\n`);
|
@@ -252192,7 +252234,7 @@ async function validatePaths(output, paths) {
|
|
252192
252234
|
}
|
252193
252235
|
// ask confirmation if the directory is home
|
252194
252236
|
if (path === os_1.homedir()) {
|
252195
|
-
const shouldDeployHomeDirectory = await confirm_1.default(`You are deploying your home directory. Do you want to continue?`, false);
|
252237
|
+
const shouldDeployHomeDirectory = await confirm_1.default(client, `You are deploying your home directory. Do you want to continue?`, false);
|
252196
252238
|
if (!shouldDeployHomeDirectory) {
|
252197
252239
|
output.print(`Aborted\n`);
|
252198
252240
|
return { valid: false, exitCode: 0 };
|
@@ -252545,7 +252587,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
252545
252587
|
/***/ ((module) => {
|
252546
252588
|
|
252547
252589
|
"use strict";
|
252548
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"25.2.
|
252590
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"25.2.3\",\"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 --runInBand --bail --forceExit\",\"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/\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"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\":\"4.2.1\",\"@vercel/go\":\"2.0.3\",\"@vercel/next\":\"3.1.2\",\"@vercel/node\":\"2.3.3\",\"@vercel/python\":\"3.0.3\",\"@vercel/redwood\":\"1.0.4\",\"@vercel/remix\":\"1.0.4\",\"@vercel/ruby\":\"1.3.11\",\"@vercel/static-build\":\"1.0.3\",\"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\",\"@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\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@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.0.3\",\"@vercel/frameworks\":\"1.0.2\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/fun\":\"0.11.2\",\"@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\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"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\",\"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.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"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\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"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\"]},\"gitHead\":\"547e88228e180e883e5f07ab815a16960767bbf5\"}");
|
252549
252591
|
|
252550
252592
|
/***/ }),
|
252551
252593
|
|
@@ -252561,7 +252603,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
252561
252603
|
/***/ ((module) => {
|
252562
252604
|
|
252563
252605
|
"use strict";
|
252564
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.0.
|
252606
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.0.3\",\"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\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"4.2.1\",\"@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.1\",\"querystring\":\"^0.2.0\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"547e88228e180e883e5f07ab815a16960767bbf5\"}");
|
252565
252607
|
|
252566
252608
|
/***/ }),
|
252567
252609
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "25.2.
|
3
|
+
"version": "25.2.3",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -42,15 +42,15 @@
|
|
42
42
|
"node": ">= 14"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@vercel/build-utils": "4.2.
|
46
|
-
"@vercel/go": "2.0.
|
47
|
-
"@vercel/next": "3.1.
|
48
|
-
"@vercel/node": "2.3.
|
49
|
-
"@vercel/python": "3.0.
|
50
|
-
"@vercel/redwood": "1.0.
|
51
|
-
"@vercel/remix": "1.0.
|
52
|
-
"@vercel/ruby": "1.3.
|
53
|
-
"@vercel/static-build": "1.0.
|
45
|
+
"@vercel/build-utils": "4.2.1",
|
46
|
+
"@vercel/go": "2.0.3",
|
47
|
+
"@vercel/next": "3.1.2",
|
48
|
+
"@vercel/node": "2.3.3",
|
49
|
+
"@vercel/python": "3.0.3",
|
50
|
+
"@vercel/redwood": "1.0.4",
|
51
|
+
"@vercel/remix": "1.0.4",
|
52
|
+
"@vercel/ruby": "1.3.11",
|
53
|
+
"@vercel/static-build": "1.0.3",
|
54
54
|
"update-notifier": "5.1.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
@@ -95,7 +95,7 @@
|
|
95
95
|
"@types/which": "1.3.2",
|
96
96
|
"@types/write-json-file": "2.2.1",
|
97
97
|
"@types/yauzl-promise": "2.1.0",
|
98
|
-
"@vercel/client": "12.0.
|
98
|
+
"@vercel/client": "12.0.3",
|
99
99
|
"@vercel/frameworks": "1.0.2",
|
100
100
|
"@vercel/ncc": "0.24.0",
|
101
101
|
"@zeit/fun": "0.11.2",
|
@@ -194,5 +194,5 @@
|
|
194
194
|
"<rootDir>/test/**/*.test.ts"
|
195
195
|
]
|
196
196
|
},
|
197
|
-
"gitHead": "
|
197
|
+
"gitHead": "547e88228e180e883e5f07ab815a16960767bbf5"
|
198
198
|
}
|