vercel 24.0.2-canary.0 → 24.1.1-canary.1
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 +267 -216
- package/package.json +9 -10
package/dist/index.js
CHANGED
@@ -195690,7 +195690,7 @@ function getMissingBuildScriptError() {
|
|
195690
195690
|
return {
|
195691
195691
|
code: 'missing_build_script',
|
195692
195692
|
message: 'Your `package.json` file is missing a `build` property inside the `scripts` property.' +
|
195693
|
-
'\nLearn More: https://vercel.
|
195693
|
+
'\nLearn More: https://vercel.link/missing-build-script',
|
195694
195694
|
};
|
195695
195695
|
}
|
195696
195696
|
function validateFunctions({ functions = {} }) {
|
@@ -196149,7 +196149,7 @@ function sortFilesBySegmentCount(fileA, fileB) {
|
|
196149
196149
|
/***/ }),
|
196150
196150
|
|
196151
196151
|
/***/ 1182:
|
196152
|
-
/***/ (function(__unused_webpack_module, exports,
|
196152
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_950228__) {
|
196153
196153
|
|
196154
196154
|
"use strict";
|
196155
196155
|
|
@@ -196158,8 +196158,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196158
196158
|
};
|
196159
196159
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196160
196160
|
exports.detectFileSystemAPI = void 0;
|
196161
|
-
const semver_1 = __importDefault(
|
196162
|
-
const _1 =
|
196161
|
+
const semver_1 = __importDefault(__nested_webpack_require_950228__(2879));
|
196162
|
+
const _1 = __nested_webpack_require_950228__(2855);
|
196163
196163
|
const enableFileSystemApiFrameworks = new Set(['solidstart']);
|
196164
196164
|
/**
|
196165
196165
|
* If the Deployment can be built with the new File System API,
|
@@ -196585,7 +196585,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
196585
196585
|
/***/ }),
|
196586
196586
|
|
196587
196587
|
/***/ 2397:
|
196588
|
-
/***/ (function(__unused_webpack_module, exports,
|
196588
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_965889__) {
|
196589
196589
|
|
196590
196590
|
"use strict";
|
196591
196591
|
|
@@ -196593,8 +196593,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196593
196593
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196594
196594
|
};
|
196595
196595
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196596
|
-
const assert_1 = __importDefault(
|
196597
|
-
const into_stream_1 = __importDefault(
|
196596
|
+
const assert_1 = __importDefault(__nested_webpack_require_965889__(2357));
|
196597
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_965889__(6130));
|
196598
196598
|
class FileBlob {
|
196599
196599
|
constructor({ mode = 0o100644, contentType, data }) {
|
196600
196600
|
assert_1.default(typeof mode === 'number');
|
@@ -196629,7 +196629,7 @@ exports.default = FileBlob;
|
|
196629
196629
|
/***/ }),
|
196630
196630
|
|
196631
196631
|
/***/ 9331:
|
196632
|
-
/***/ (function(__unused_webpack_module, exports,
|
196632
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_967407__) {
|
196633
196633
|
|
196634
196634
|
"use strict";
|
196635
196635
|
|
@@ -196637,11 +196637,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196637
196637
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196638
196638
|
};
|
196639
196639
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196640
|
-
const assert_1 = __importDefault(
|
196641
|
-
const fs_extra_1 = __importDefault(
|
196642
|
-
const multistream_1 = __importDefault(
|
196643
|
-
const path_1 = __importDefault(
|
196644
|
-
const async_sema_1 = __importDefault(
|
196640
|
+
const assert_1 = __importDefault(__nested_webpack_require_967407__(2357));
|
196641
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_967407__(5392));
|
196642
|
+
const multistream_1 = __importDefault(__nested_webpack_require_967407__(8179));
|
196643
|
+
const path_1 = __importDefault(__nested_webpack_require_967407__(5622));
|
196644
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_967407__(5758));
|
196645
196645
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
196646
196646
|
class FileFsRef {
|
196647
196647
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -196707,7 +196707,7 @@ exports.default = FileFsRef;
|
|
196707
196707
|
/***/ }),
|
196708
196708
|
|
196709
196709
|
/***/ 5187:
|
196710
|
-
/***/ (function(__unused_webpack_module, exports,
|
196710
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_970211__) {
|
196711
196711
|
|
196712
196712
|
"use strict";
|
196713
196713
|
|
@@ -196715,11 +196715,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196715
196715
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196716
196716
|
};
|
196717
196717
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196718
|
-
const assert_1 = __importDefault(
|
196719
|
-
const node_fetch_1 = __importDefault(
|
196720
|
-
const multistream_1 = __importDefault(
|
196721
|
-
const async_retry_1 = __importDefault(
|
196722
|
-
const async_sema_1 = __importDefault(
|
196718
|
+
const assert_1 = __importDefault(__nested_webpack_require_970211__(2357));
|
196719
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_970211__(2197));
|
196720
|
+
const multistream_1 = __importDefault(__nested_webpack_require_970211__(8179));
|
196721
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_970211__(3691));
|
196722
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_970211__(5758));
|
196723
196723
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
196724
196724
|
class BailableError extends Error {
|
196725
196725
|
constructor(...args) {
|
@@ -196800,7 +196800,7 @@ exports.default = FileRef;
|
|
196800
196800
|
/***/ }),
|
196801
196801
|
|
196802
196802
|
/***/ 1611:
|
196803
|
-
/***/ (function(__unused_webpack_module, exports,
|
196803
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_973612__) {
|
196804
196804
|
|
196805
196805
|
"use strict";
|
196806
196806
|
|
@@ -196809,11 +196809,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196809
196809
|
};
|
196810
196810
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196811
196811
|
exports.isSymbolicLink = void 0;
|
196812
|
-
const path_1 = __importDefault(
|
196813
|
-
const debug_1 = __importDefault(
|
196814
|
-
const file_fs_ref_1 = __importDefault(
|
196815
|
-
const fs_extra_1 =
|
196816
|
-
const stream_to_buffer_1 = __importDefault(
|
196812
|
+
const path_1 = __importDefault(__nested_webpack_require_973612__(5622));
|
196813
|
+
const debug_1 = __importDefault(__nested_webpack_require_973612__(1868));
|
196814
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_973612__(9331));
|
196815
|
+
const fs_extra_1 = __nested_webpack_require_973612__(5392);
|
196816
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_973612__(2560));
|
196817
196817
|
const S_IFMT = 61440; /* 0170000 type of file */
|
196818
196818
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
196819
196819
|
function isSymbolicLink(mode) {
|
@@ -196886,14 +196886,14 @@ exports.default = download;
|
|
196886
196886
|
/***/ }),
|
196887
196887
|
|
196888
196888
|
/***/ 3838:
|
196889
|
-
/***/ ((__unused_webpack_module, exports,
|
196889
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_977061__) => {
|
196890
196890
|
|
196891
196891
|
"use strict";
|
196892
196892
|
|
196893
196893
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196894
|
-
const path_1 =
|
196895
|
-
const os_1 =
|
196896
|
-
const fs_extra_1 =
|
196894
|
+
const path_1 = __nested_webpack_require_977061__(5622);
|
196895
|
+
const os_1 = __nested_webpack_require_977061__(2087);
|
196896
|
+
const fs_extra_1 = __nested_webpack_require_977061__(5392);
|
196897
196897
|
async function getWritableDirectory() {
|
196898
196898
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
196899
196899
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -196906,7 +196906,7 @@ exports.default = getWritableDirectory;
|
|
196906
196906
|
/***/ }),
|
196907
196907
|
|
196908
196908
|
/***/ 4240:
|
196909
|
-
/***/ (function(__unused_webpack_module, exports,
|
196909
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977641__) {
|
196910
196910
|
|
196911
196911
|
"use strict";
|
196912
196912
|
|
@@ -196914,13 +196914,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196914
196914
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
196915
196915
|
};
|
196916
196916
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196917
|
-
const path_1 = __importDefault(
|
196918
|
-
const assert_1 = __importDefault(
|
196919
|
-
const glob_1 = __importDefault(
|
196920
|
-
const util_1 =
|
196921
|
-
const fs_extra_1 =
|
196922
|
-
const normalize_path_1 =
|
196923
|
-
const file_fs_ref_1 = __importDefault(
|
196917
|
+
const path_1 = __importDefault(__nested_webpack_require_977641__(5622));
|
196918
|
+
const assert_1 = __importDefault(__nested_webpack_require_977641__(2357));
|
196919
|
+
const glob_1 = __importDefault(__nested_webpack_require_977641__(1104));
|
196920
|
+
const util_1 = __nested_webpack_require_977641__(1669);
|
196921
|
+
const fs_extra_1 = __nested_webpack_require_977641__(5392);
|
196922
|
+
const normalize_path_1 = __nested_webpack_require_977641__(6261);
|
196923
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_977641__(9331));
|
196924
196924
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
196925
196925
|
async function glob(pattern, opts, mountpoint) {
|
196926
196926
|
let options;
|
@@ -196966,7 +196966,7 @@ exports.default = glob;
|
|
196966
196966
|
/***/ }),
|
196967
196967
|
|
196968
196968
|
/***/ 7903:
|
196969
|
-
/***/ (function(__unused_webpack_module, exports,
|
196969
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_979837__) {
|
196970
196970
|
|
196971
196971
|
"use strict";
|
196972
196972
|
|
@@ -196975,9 +196975,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
196975
196975
|
};
|
196976
196976
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
196977
196977
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
196978
|
-
const semver_1 =
|
196979
|
-
const errors_1 =
|
196980
|
-
const debug_1 = __importDefault(
|
196978
|
+
const semver_1 = __nested_webpack_require_979837__(2879);
|
196979
|
+
const errors_1 = __nested_webpack_require_979837__(3983);
|
196980
|
+
const debug_1 = __importDefault(__nested_webpack_require_979837__(1868));
|
196981
196981
|
const allOptions = [
|
196982
196982
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
196983
196983
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -197071,7 +197071,7 @@ exports.normalizePath = normalizePath;
|
|
197071
197071
|
/***/ }),
|
197072
197072
|
|
197073
197073
|
/***/ 7792:
|
197074
|
-
/***/ (function(__unused_webpack_module, exports,
|
197074
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983705__) {
|
197075
197075
|
|
197076
197076
|
"use strict";
|
197077
197077
|
|
@@ -197080,9 +197080,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197080
197080
|
};
|
197081
197081
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197082
197082
|
exports.readConfigFile = void 0;
|
197083
|
-
const js_yaml_1 = __importDefault(
|
197084
|
-
const toml_1 = __importDefault(
|
197085
|
-
const fs_extra_1 =
|
197083
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_983705__(6540));
|
197084
|
+
const toml_1 = __importDefault(__nested_webpack_require_983705__(9434));
|
197085
|
+
const fs_extra_1 = __nested_webpack_require_983705__(5392);
|
197086
197086
|
async function readFileOrNull(file) {
|
197087
197087
|
try {
|
197088
197088
|
const data = await fs_extra_1.readFile(file);
|
@@ -197137,7 +197137,7 @@ exports.default = rename;
|
|
197137
197137
|
/***/ }),
|
197138
197138
|
|
197139
197139
|
/***/ 1442:
|
197140
|
-
/***/ (function(__unused_webpack_module, exports,
|
197140
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_985498__) {
|
197141
197141
|
|
197142
197142
|
"use strict";
|
197143
197143
|
|
@@ -197146,15 +197146,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197146
197146
|
};
|
197147
197147
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197148
197148
|
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;
|
197149
|
-
const assert_1 = __importDefault(
|
197150
|
-
const fs_extra_1 = __importDefault(
|
197151
|
-
const path_1 = __importDefault(
|
197152
|
-
const
|
197153
|
-
const cross_spawn_1 = __importDefault(
|
197154
|
-
const util_1 =
|
197155
|
-
const
|
197156
|
-
const
|
197157
|
-
const
|
197149
|
+
const assert_1 = __importDefault(__nested_webpack_require_985498__(2357));
|
197150
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_985498__(5392));
|
197151
|
+
const path_1 = __importDefault(__nested_webpack_require_985498__(5622));
|
197152
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_985498__(5758));
|
197153
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_985498__(7618));
|
197154
|
+
const util_1 = __nested_webpack_require_985498__(1669);
|
197155
|
+
const debug_1 = __importDefault(__nested_webpack_require_985498__(1868));
|
197156
|
+
const errors_1 = __nested_webpack_require_985498__(3983);
|
197157
|
+
const node_version_1 = __nested_webpack_require_985498__(7903);
|
197158
|
+
const read_config_file_1 = __nested_webpack_require_985498__(7792);
|
197159
|
+
// Only allow one `runNpmInstall()` invocation to run concurrently
|
197160
|
+
const runNpmInstallSema = new async_sema_1.default(1);
|
197158
197161
|
function spawnAsync(command, args, opts = {}) {
|
197159
197162
|
return new Promise((resolve, reject) => {
|
197160
197163
|
const stderrLogs = [];
|
@@ -197293,11 +197296,12 @@ async function scanParentDirs(destPath, readPackageJson = false) {
|
|
197293
197296
|
assert_1.default(path_1.default.isAbsolute(destPath));
|
197294
197297
|
let cliType = 'yarn';
|
197295
197298
|
let packageJson;
|
197299
|
+
let packageJsonPath;
|
197296
197300
|
let currentDestPath = destPath;
|
197297
197301
|
let lockfileVersion;
|
197298
197302
|
// eslint-disable-next-line no-constant-condition
|
197299
197303
|
while (true) {
|
197300
|
-
|
197304
|
+
packageJsonPath = path_1.default.join(currentDestPath, 'package.json');
|
197301
197305
|
// eslint-disable-next-line no-await-in-loop
|
197302
197306
|
if (await fs_extra_1.default.pathExists(packageJsonPath)) {
|
197303
197307
|
// Only read the contents of the *first* `package.json` file found,
|
@@ -197341,7 +197345,7 @@ async function scanParentDirs(destPath, readPackageJson = false) {
|
|
197341
197345
|
break;
|
197342
197346
|
currentDestPath = newDestPath;
|
197343
197347
|
}
|
197344
|
-
return { cliType, packageJson, lockfileVersion };
|
197348
|
+
return { cliType, packageJson, lockfileVersion, packageJsonPath };
|
197345
197349
|
}
|
197346
197350
|
exports.scanParentDirs = scanParentDirs;
|
197347
197351
|
async function walkParentDirs({ base, start, filename, }) {
|
@@ -197359,46 +197363,75 @@ async function walkParentDirs({ base, start, filename, }) {
|
|
197359
197363
|
return null;
|
197360
197364
|
}
|
197361
197365
|
exports.walkParentDirs = walkParentDirs;
|
197366
|
+
function isSet(v) {
|
197367
|
+
var _a;
|
197368
|
+
return ((_a = v === null || v === void 0 ? void 0 : v.constructor) === null || _a === void 0 ? void 0 : _a.name) === 'Set';
|
197369
|
+
}
|
197362
197370
|
async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion) {
|
197363
197371
|
if (meta === null || meta === void 0 ? void 0 : meta.isDev) {
|
197364
197372
|
debug_1.default('Skipping dependency installation because dev mode is enabled');
|
197365
|
-
return;
|
197373
|
+
return false;
|
197366
197374
|
}
|
197367
197375
|
assert_1.default(path_1.default.isAbsolute(destPath));
|
197368
|
-
|
197369
|
-
|
197370
|
-
|
197371
|
-
|
197372
|
-
|
197373
|
-
|
197374
|
-
|
197375
|
-
|
197376
|
-
|
197377
|
-
|
197378
|
-
|
197379
|
-
|
197380
|
-
|
197381
|
-
|
197382
|
-
|
197383
|
-
|
197384
|
-
|
197385
|
-
|
197386
|
-
|
197387
|
-
|
197388
|
-
|
197389
|
-
opts
|
197390
|
-
|
197391
|
-
|
197392
|
-
|
197393
|
-
|
197394
|
-
|
197395
|
-
|
197396
|
-
|
197376
|
+
try {
|
197377
|
+
await runNpmInstallSema.acquire();
|
197378
|
+
const { cliType, packageJsonPath, lockfileVersion } = await scanParentDirs(destPath);
|
197379
|
+
// Only allow `runNpmInstall()` to run once per `package.json`
|
197380
|
+
// when doing a default install (no additional args)
|
197381
|
+
if (meta && packageJsonPath && args.length === 0) {
|
197382
|
+
if (!isSet(meta.runNpmInstallSet)) {
|
197383
|
+
meta.runNpmInstallSet = new Set();
|
197384
|
+
}
|
197385
|
+
if (isSet(meta.runNpmInstallSet)) {
|
197386
|
+
if (meta.runNpmInstallSet.has(packageJsonPath)) {
|
197387
|
+
return false;
|
197388
|
+
}
|
197389
|
+
else {
|
197390
|
+
meta.runNpmInstallSet.add(packageJsonPath);
|
197391
|
+
}
|
197392
|
+
}
|
197393
|
+
}
|
197394
|
+
const installTime = Date.now();
|
197395
|
+
console.log('Installing dependencies...');
|
197396
|
+
debug_1.default(`Installing to ${destPath}`);
|
197397
|
+
const opts = { cwd: destPath, ...spawnOpts };
|
197398
|
+
const env = opts.env ? { ...opts.env } : { ...process.env };
|
197399
|
+
delete env.NODE_ENV;
|
197400
|
+
opts.env = getEnvForPackageManager({
|
197401
|
+
cliType,
|
197402
|
+
lockfileVersion,
|
197403
|
+
nodeVersion,
|
197404
|
+
env,
|
197405
|
+
});
|
197406
|
+
let commandArgs;
|
197407
|
+
if (cliType === 'npm') {
|
197408
|
+
opts.prettyCommand = 'npm install';
|
197409
|
+
commandArgs = args
|
197410
|
+
.filter(a => a !== '--prefer-offline')
|
197411
|
+
.concat(['install', '--no-audit', '--unsafe-perm']);
|
197412
|
+
}
|
197413
|
+
else if (cliType === 'pnpm') {
|
197414
|
+
// PNPM's install command is similar to NPM's but without the audit nonsense
|
197415
|
+
// @see options https://pnpm.io/cli/install
|
197416
|
+
opts.prettyCommand = 'pnpm install';
|
197417
|
+
commandArgs = args
|
197418
|
+
.filter(a => a !== '--prefer-offline')
|
197419
|
+
.concat(['install', '--unsafe-perm']);
|
197420
|
+
}
|
197421
|
+
else {
|
197422
|
+
opts.prettyCommand = 'yarn install';
|
197423
|
+
commandArgs = ['install', ...args];
|
197424
|
+
}
|
197425
|
+
if (process.env.NPM_ONLY_PRODUCTION) {
|
197426
|
+
commandArgs.push('--production');
|
197427
|
+
}
|
197428
|
+
await spawnAsync(cliType, commandArgs, opts);
|
197429
|
+
debug_1.default(`Install complete [${Date.now() - installTime}ms]`);
|
197430
|
+
return true;
|
197397
197431
|
}
|
197398
|
-
|
197399
|
-
|
197432
|
+
finally {
|
197433
|
+
runNpmInstallSema.release();
|
197400
197434
|
}
|
197401
|
-
return spawnAsync(cliType, commandArgs, opts);
|
197402
197435
|
}
|
197403
197436
|
exports.runNpmInstall = runNpmInstall;
|
197404
197437
|
function getEnvForPackageManager({ cliType, lockfileVersion, nodeVersion, env, }) {
|
@@ -197515,7 +197548,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
197515
197548
|
/***/ }),
|
197516
197549
|
|
197517
197550
|
/***/ 2560:
|
197518
|
-
/***/ (function(__unused_webpack_module, exports,
|
197551
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1002736__) {
|
197519
197552
|
|
197520
197553
|
"use strict";
|
197521
197554
|
|
@@ -197523,7 +197556,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197523
197556
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197524
197557
|
};
|
197525
197558
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197526
|
-
const end_of_stream_1 = __importDefault(
|
197559
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1002736__(687));
|
197527
197560
|
function streamToBuffer(stream) {
|
197528
197561
|
return new Promise((resolve, reject) => {
|
197529
197562
|
const buffers = [];
|
@@ -197552,7 +197585,7 @@ exports.default = streamToBuffer;
|
|
197552
197585
|
/***/ }),
|
197553
197586
|
|
197554
197587
|
/***/ 1148:
|
197555
|
-
/***/ (function(__unused_webpack_module, exports,
|
197588
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1003804__) {
|
197556
197589
|
|
197557
197590
|
"use strict";
|
197558
197591
|
|
@@ -197560,9 +197593,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197560
197593
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
197561
197594
|
};
|
197562
197595
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197563
|
-
const path_1 = __importDefault(
|
197564
|
-
const fs_extra_1 = __importDefault(
|
197565
|
-
const ignore_1 = __importDefault(
|
197596
|
+
const path_1 = __importDefault(__nested_webpack_require_1003804__(5622));
|
197597
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1003804__(5392));
|
197598
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1003804__(3556));
|
197566
197599
|
function isCodedError(error) {
|
197567
197600
|
return (error !== null &&
|
197568
197601
|
error !== undefined &&
|
@@ -197619,13 +197652,13 @@ exports.default = default_1;
|
|
197619
197652
|
/***/ }),
|
197620
197653
|
|
197621
197654
|
/***/ 4678:
|
197622
|
-
/***/ ((__unused_webpack_module, exports,
|
197655
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1006178__) => {
|
197623
197656
|
|
197624
197657
|
"use strict";
|
197625
197658
|
|
197626
197659
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197627
197660
|
exports.getPlatformEnv = void 0;
|
197628
|
-
const errors_1 =
|
197661
|
+
const errors_1 = __nested_webpack_require_1006178__(3983);
|
197629
197662
|
/**
|
197630
197663
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
197631
197664
|
* Throws an error if *both* env vars are defined.
|
@@ -197653,7 +197686,7 @@ exports.getPlatformEnv = getPlatformEnv;
|
|
197653
197686
|
/***/ }),
|
197654
197687
|
|
197655
197688
|
/***/ 2855:
|
197656
|
-
/***/ (function(__unused_webpack_module, exports,
|
197689
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1007215__) {
|
197657
197690
|
|
197658
197691
|
"use strict";
|
197659
197692
|
|
@@ -197684,30 +197717,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197684
197717
|
};
|
197685
197718
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197686
197719
|
exports.isStaticRuntime = exports.isOfficialRuntime = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = 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.shouldServe = 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;
|
197687
|
-
const file_blob_1 = __importDefault(
|
197720
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1007215__(2397));
|
197688
197721
|
exports.FileBlob = file_blob_1.default;
|
197689
|
-
const file_fs_ref_1 = __importDefault(
|
197722
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1007215__(9331));
|
197690
197723
|
exports.FileFsRef = file_fs_ref_1.default;
|
197691
|
-
const file_ref_1 = __importDefault(
|
197724
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1007215__(5187));
|
197692
197725
|
exports.FileRef = file_ref_1.default;
|
197693
|
-
const lambda_1 =
|
197726
|
+
const lambda_1 = __nested_webpack_require_1007215__(6721);
|
197694
197727
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
197695
197728
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
197696
197729
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
197697
|
-
const nodejs_lambda_1 =
|
197730
|
+
const nodejs_lambda_1 = __nested_webpack_require_1007215__(7049);
|
197698
197731
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
197699
|
-
const prerender_1 =
|
197732
|
+
const prerender_1 = __nested_webpack_require_1007215__(2850);
|
197700
197733
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
197701
|
-
const download_1 = __importStar(
|
197734
|
+
const download_1 = __importStar(__nested_webpack_require_1007215__(1611));
|
197702
197735
|
exports.download = download_1.default;
|
197703
197736
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
197704
|
-
const get_writable_directory_1 = __importDefault(
|
197737
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1007215__(3838));
|
197705
197738
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
197706
|
-
const glob_1 = __importDefault(
|
197739
|
+
const glob_1 = __importDefault(__nested_webpack_require_1007215__(4240));
|
197707
197740
|
exports.glob = glob_1.default;
|
197708
|
-
const rename_1 = __importDefault(
|
197741
|
+
const rename_1 = __importDefault(__nested_webpack_require_1007215__(6718));
|
197709
197742
|
exports.rename = rename_1.default;
|
197710
|
-
const run_user_scripts_1 =
|
197743
|
+
const run_user_scripts_1 = __nested_webpack_require_1007215__(1442);
|
197711
197744
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
197712
197745
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
197713
197746
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -197726,39 +197759,39 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
197726
197759
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
197727
197760
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
197728
197761
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
197729
|
-
const node_version_1 =
|
197762
|
+
const node_version_1 = __nested_webpack_require_1007215__(7903);
|
197730
197763
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
197731
197764
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
197732
|
-
const stream_to_buffer_1 = __importDefault(
|
197765
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1007215__(2560));
|
197733
197766
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
197734
|
-
const should_serve_1 = __importDefault(
|
197767
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_1007215__(2564));
|
197735
197768
|
exports.shouldServe = should_serve_1.default;
|
197736
|
-
const debug_1 = __importDefault(
|
197769
|
+
const debug_1 = __importDefault(__nested_webpack_require_1007215__(1868));
|
197737
197770
|
exports.debug = debug_1.default;
|
197738
|
-
const get_ignore_filter_1 = __importDefault(
|
197771
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1007215__(1148));
|
197739
197772
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
197740
|
-
const get_platform_env_1 =
|
197773
|
+
const get_platform_env_1 = __nested_webpack_require_1007215__(4678);
|
197741
197774
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
197742
|
-
var edge_function_1 =
|
197775
|
+
var edge_function_1 = __nested_webpack_require_1007215__(8038);
|
197743
197776
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
197744
|
-
var detect_builders_1 =
|
197777
|
+
var detect_builders_1 = __nested_webpack_require_1007215__(4246);
|
197745
197778
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
197746
197779
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
197747
197780
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
197748
197781
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
197749
|
-
var detect_file_system_api_1 =
|
197782
|
+
var detect_file_system_api_1 = __nested_webpack_require_1007215__(1182);
|
197750
197783
|
Object.defineProperty(exports, "detectFileSystemAPI", ({ enumerable: true, get: function () { return detect_file_system_api_1.detectFileSystemAPI; } }));
|
197751
|
-
var detect_framework_1 =
|
197784
|
+
var detect_framework_1 = __nested_webpack_require_1007215__(5224);
|
197752
197785
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
197753
|
-
var filesystem_1 =
|
197786
|
+
var filesystem_1 = __nested_webpack_require_1007215__(461);
|
197754
197787
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
197755
|
-
var read_config_file_1 =
|
197788
|
+
var read_config_file_1 = __nested_webpack_require_1007215__(7792);
|
197756
197789
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
197757
|
-
var normalize_path_1 =
|
197790
|
+
var normalize_path_1 = __nested_webpack_require_1007215__(6261);
|
197758
197791
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
197759
|
-
__exportStar(
|
197760
|
-
__exportStar(
|
197761
|
-
__exportStar(
|
197792
|
+
__exportStar(__nested_webpack_require_1007215__(2416), exports);
|
197793
|
+
__exportStar(__nested_webpack_require_1007215__(5748), exports);
|
197794
|
+
__exportStar(__nested_webpack_require_1007215__(3983), exports);
|
197762
197795
|
/**
|
197763
197796
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
197764
197797
|
*/
|
@@ -197781,7 +197814,7 @@ exports.isStaticRuntime = isStaticRuntime;
|
|
197781
197814
|
/***/ }),
|
197782
197815
|
|
197783
197816
|
/***/ 6721:
|
197784
|
-
/***/ (function(__unused_webpack_module, exports,
|
197817
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1017586__) {
|
197785
197818
|
|
197786
197819
|
"use strict";
|
197787
197820
|
|
@@ -197790,13 +197823,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
197790
197823
|
};
|
197791
197824
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197792
197825
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
197793
|
-
const assert_1 = __importDefault(
|
197794
|
-
const async_sema_1 = __importDefault(
|
197795
|
-
const yazl_1 =
|
197796
|
-
const minimatch_1 = __importDefault(
|
197797
|
-
const fs_extra_1 =
|
197798
|
-
const download_1 =
|
197799
|
-
const stream_to_buffer_1 = __importDefault(
|
197826
|
+
const assert_1 = __importDefault(__nested_webpack_require_1017586__(2357));
|
197827
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1017586__(5758));
|
197828
|
+
const yazl_1 = __nested_webpack_require_1017586__(1223);
|
197829
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1017586__(9566));
|
197830
|
+
const fs_extra_1 = __nested_webpack_require_1017586__(5392);
|
197831
|
+
const download_1 = __nested_webpack_require_1017586__(1611);
|
197832
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1017586__(2560));
|
197800
197833
|
class Lambda {
|
197801
197834
|
constructor(opts) {
|
197802
197835
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, } = opts;
|
@@ -197918,13 +197951,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
197918
197951
|
/***/ }),
|
197919
197952
|
|
197920
197953
|
/***/ 7049:
|
197921
|
-
/***/ ((__unused_webpack_module, exports,
|
197954
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1023090__) => {
|
197922
197955
|
|
197923
197956
|
"use strict";
|
197924
197957
|
|
197925
197958
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
197926
197959
|
exports.NodejsLambda = void 0;
|
197927
|
-
const lambda_1 =
|
197960
|
+
const lambda_1 = __nested_webpack_require_1023090__(6721);
|
197928
197961
|
class NodejsLambda extends lambda_1.Lambda {
|
197929
197962
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
197930
197963
|
super(opts);
|
@@ -198061,12 +198094,12 @@ exports.buildsSchema = {
|
|
198061
198094
|
/***/ }),
|
198062
198095
|
|
198063
198096
|
/***/ 2564:
|
198064
|
-
/***/ ((__unused_webpack_module, exports,
|
198097
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1027435__) => {
|
198065
198098
|
|
198066
198099
|
"use strict";
|
198067
198100
|
|
198068
198101
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
198069
|
-
const path_1 =
|
198102
|
+
const path_1 = __nested_webpack_require_1027435__(5622);
|
198070
198103
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
198071
198104
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
198072
198105
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -198295,7 +198328,7 @@ module.exports = __webpack_require__(78761);
|
|
198295
198328
|
/******/ var __webpack_module_cache__ = {};
|
198296
198329
|
/******/
|
198297
198330
|
/******/ // The require function
|
198298
|
-
/******/ function
|
198331
|
+
/******/ function __nested_webpack_require_1127074__(moduleId) {
|
198299
198332
|
/******/ // Check if module is in cache
|
198300
198333
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
198301
198334
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -198310,7 +198343,7 @@ module.exports = __webpack_require__(78761);
|
|
198310
198343
|
/******/ // Execute the module function
|
198311
198344
|
/******/ var threw = true;
|
198312
198345
|
/******/ try {
|
198313
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
198346
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1127074__);
|
198314
198347
|
/******/ threw = false;
|
198315
198348
|
/******/ } finally {
|
198316
198349
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -198323,11 +198356,11 @@ module.exports = __webpack_require__(78761);
|
|
198323
198356
|
/************************************************************************/
|
198324
198357
|
/******/ /* webpack/runtime/compat */
|
198325
198358
|
/******/
|
198326
|
-
/******/
|
198359
|
+
/******/ __nested_webpack_require_1127074__.ab = __dirname + "/";/************************************************************************/
|
198327
198360
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
198328
198361
|
/******/ // startup
|
198329
198362
|
/******/ // Load entry module and return exports
|
198330
|
-
/******/ return
|
198363
|
+
/******/ return __nested_webpack_require_1127074__(2855);
|
198331
198364
|
/******/ })()
|
198332
198365
|
;
|
198333
198366
|
|
@@ -224281,7 +224314,7 @@ async function set(client, opts, args) {
|
|
224281
224314
|
return 1;
|
224282
224315
|
}
|
224283
224316
|
if (args.length === 0) {
|
224284
|
-
output.error(`To ship to production, optionally configure your domains (${link_1.default('https://vercel.
|
224317
|
+
output.error(`To ship to production, optionally configure your domains (${link_1.default('https://vercel.link/domain-configuration')}) and run ${pkg_name_1.getCommandName(`--prod`)}.`);
|
224285
224318
|
return 1;
|
224286
224319
|
}
|
224287
224320
|
// For `vercel alias set <argument>`
|
@@ -225414,6 +225447,7 @@ const help = () => `
|
|
225414
225447
|
|
225415
225448
|
-h, --help Output usage information
|
225416
225449
|
-v, --version Output the version number
|
225450
|
+
--cwd Current working directory
|
225417
225451
|
-V, --platform-version Set the platform version to deploy to
|
225418
225452
|
-A ${chalk_1.default.bold.underline('FILE')}, --local-config=${chalk_1.default.bold.underline('FILE')} Path to the local ${'`vercel.json`'} file
|
225419
225453
|
-Q ${chalk_1.default.bold.underline('DIR')}, --global-config=${chalk_1.default.bold.underline('DIR')} Path to the global ${'`.vercel`'} directory
|
@@ -227905,6 +227939,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
227905
227939
|
};
|
227906
227940
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
227907
227941
|
const chalk_1 = __importDefault(__webpack_require__(961));
|
227942
|
+
const types_1 = __webpack_require__(25748);
|
227908
227943
|
const env_target_1 = __webpack_require__(65373);
|
227909
227944
|
const get_args_1 = __importDefault(__webpack_require__(87612));
|
227910
227945
|
const get_invalid_subcommand_1 = __importDefault(__webpack_require__(89543));
|
@@ -228019,8 +228054,7 @@ async function main(client) {
|
|
228019
228054
|
case 'rm':
|
228020
228055
|
return rm_1.default(client, project, argv, args, output);
|
228021
228056
|
case 'pull':
|
228022
|
-
|
228023
|
-
return pull_1.default(client, project, argv, args, output);
|
228057
|
+
return pull_1.default(client, project, types_1.ProjectEnvTarget.Development, argv, args, output);
|
228024
228058
|
default:
|
228025
228059
|
output.error(get_invalid_subcommand_1.default(COMMAND_CONFIG));
|
228026
228060
|
help();
|
@@ -228158,14 +228192,14 @@ function tryReadHeadSync(path, length) {
|
|
228158
228192
|
}
|
228159
228193
|
}
|
228160
228194
|
}
|
228161
|
-
async function pull(client, project, opts, args, output) {
|
228195
|
+
async function pull(client, project, environment, opts, args, output, cwd = process.cwd()) {
|
228162
228196
|
if (args.length > 1) {
|
228163
228197
|
output.error(`Invalid number of arguments. Usage: ${pkg_name_1.getCommandName(`env pull <file>`)}`);
|
228164
228198
|
return 1;
|
228165
228199
|
}
|
228166
228200
|
// handle relative or absolute filename
|
228167
228201
|
const [filename = '.env'] = args;
|
228168
|
-
const fullPath = path_1.resolve(filename);
|
228202
|
+
const fullPath = path_1.resolve(cwd, filename);
|
228169
228203
|
const skipConfirmation = opts['--yes'];
|
228170
228204
|
const head = tryReadHeadSync(fullPath, Buffer.byteLength(CONTENTS_PREFIX));
|
228171
228205
|
const exists = typeof head !== 'undefined';
|
@@ -228182,7 +228216,7 @@ async function pull(client, project, opts, args, output) {
|
|
228182
228216
|
const pullStamp = stamp_1.default();
|
228183
228217
|
output.spinner('Downloading');
|
228184
228218
|
const [{ envs: projectEnvs }, { systemEnvValues }] = await Promise.all([
|
228185
|
-
get_decrypted_env_records_1.default(output, client, project.id),
|
228219
|
+
get_decrypted_env_records_1.default(output, client, project.id, environment),
|
228186
228220
|
project.autoExposeSystemEnvs
|
228187
228221
|
? get_system_env_values_1.default(output, client, project.id)
|
228188
228222
|
: { systemEnvValues: [] },
|
@@ -229797,6 +229831,7 @@ const pkg_name_1 = __webpack_require__(98106);
|
|
229797
229831
|
const link_1 = __webpack_require__(67630);
|
229798
229832
|
const project_settings_1 = __webpack_require__(42697);
|
229799
229833
|
const pull_1 = __importDefault(__webpack_require__(57571));
|
229834
|
+
const env_target_1 = __webpack_require__(65373);
|
229800
229835
|
const help = () => {
|
229801
229836
|
return console.log(`
|
229802
229837
|
${chalk_1.default.bold(`${logo_1.default} ${pkg_name_1.getPkgName()} pull`)} [path]
|
@@ -229807,7 +229842,7 @@ const help = () => {
|
|
229807
229842
|
-A ${chalk_1.default.bold.underline('FILE')}, --local-config=${chalk_1.default.bold.underline('FILE')} Path to the local ${'`vercel.json`'} file
|
229808
229843
|
-Q ${chalk_1.default.bold.underline('DIR')}, --global-config=${chalk_1.default.bold.underline('DIR')} Path to the global ${'`.vercel`'} directory
|
229809
229844
|
-d, --debug Debug mode [off]
|
229810
|
-
--
|
229845
|
+
--environment [environment] Deployment environment [development]
|
229811
229846
|
-y, --yes Skip the confirmation prompt
|
229812
229847
|
|
229813
229848
|
${chalk_1.default.dim('Examples:')}
|
@@ -229818,32 +229853,37 @@ const help = () => {
|
|
229818
229853
|
${chalk_1.default.cyan(`$ ${pkg_name_1.getPkgName()} pull ./path-to-project`)}
|
229819
229854
|
${chalk_1.default.cyan(`$ ${pkg_name_1.getPkgName()} pull --env .env.local`)}
|
229820
229855
|
${chalk_1.default.cyan(`$ ${pkg_name_1.getPkgName()} pull ./path-to-project --env .env.local`)}
|
229856
|
+
|
229857
|
+
${chalk_1.default.gray('–')} Pull specific environment's Project Settings from the cloud
|
229858
|
+
|
229859
|
+
${chalk_1.default.cyan(`$ ${pkg_name_1.getPkgName()} pull --environment=${env_target_1.getEnvTargetPlaceholder()}`)}
|
229821
229860
|
`);
|
229822
229861
|
};
|
229823
|
-
|
229824
|
-
|
229825
|
-
|
229862
|
+
function processArgs(client) {
|
229863
|
+
return get_args_1.default(client.argv.slice(2), {
|
229864
|
+
'--yes': Boolean,
|
229865
|
+
'--env': String,
|
229866
|
+
'--environment': String,
|
229867
|
+
'--debug': Boolean,
|
229868
|
+
'-d': '--debug',
|
229869
|
+
'-y': '--yes',
|
229870
|
+
});
|
229871
|
+
}
|
229872
|
+
function parseArgs(client) {
|
229826
229873
|
try {
|
229827
|
-
argv =
|
229828
|
-
|
229829
|
-
|
229830
|
-
|
229831
|
-
|
229832
|
-
|
229833
|
-
});
|
229874
|
+
const argv = processArgs(client);
|
229875
|
+
if (argv['--help']) {
|
229876
|
+
help();
|
229877
|
+
return 2;
|
229878
|
+
}
|
229879
|
+
return argv;
|
229834
229880
|
}
|
229835
229881
|
catch (err) {
|
229836
229882
|
handle_error_1.default(err);
|
229837
229883
|
return 1;
|
229838
229884
|
}
|
229839
|
-
|
229840
|
-
|
229841
|
-
return 2;
|
229842
|
-
}
|
229843
|
-
const cwd = argv._[1] || process.cwd();
|
229844
|
-
const yes = argv['--yes'];
|
229845
|
-
const env = (_a = argv['--env']) !== null && _a !== void 0 ? _a : '.env';
|
229846
|
-
const settingsStamp = stamp_1.default();
|
229885
|
+
}
|
229886
|
+
async function ensureLink(client, cwd, yes) {
|
229847
229887
|
let link = await link_1.getLinkedProject(client, cwd);
|
229848
229888
|
if (link.status === 'not_linked') {
|
229849
229889
|
link = await setup_and_link_1.default(client, cwd, {
|
@@ -229859,14 +229899,38 @@ async function main(client) {
|
|
229859
229899
|
if (link.status === 'error') {
|
229860
229900
|
return link.exitCode;
|
229861
229901
|
}
|
229902
|
+
return { org: link.org, project: link.project };
|
229903
|
+
}
|
229904
|
+
async function pullAllEnvFiles(environment, client, project, argv, cwd) {
|
229905
|
+
const environmentFile = `.env.${environment}.local`;
|
229906
|
+
return pull_1.default(client, project, environment, argv, [path_1.join('.vercel', environmentFile)], client.output, cwd);
|
229907
|
+
}
|
229908
|
+
function parseEnvironment(environment = 'development') {
|
229909
|
+
if (!env_target_1.isValidEnvTarget(environment)) {
|
229910
|
+
throw new Error(`environment "${environment}" not supported; must be one of ${env_target_1.getEnvTargetPlaceholder()}`);
|
229911
|
+
}
|
229912
|
+
return environment;
|
229913
|
+
}
|
229914
|
+
async function main(client) {
|
229915
|
+
const argv = parseArgs(client);
|
229916
|
+
if (typeof argv === 'number') {
|
229917
|
+
return argv;
|
229918
|
+
}
|
229919
|
+
const cwd = argv._[1] || process.cwd();
|
229920
|
+
const yes = Boolean(argv['--yes']);
|
229921
|
+
const environment = parseEnvironment(argv['--environment'] || undefined);
|
229922
|
+
const link = await ensureLink(client, cwd, yes);
|
229923
|
+
if (typeof link === 'number') {
|
229924
|
+
return link;
|
229925
|
+
}
|
229862
229926
|
const { project, org } = link;
|
229863
229927
|
client.config.currentTeam = org.type === 'team' ? org.id : undefined;
|
229864
|
-
const
|
229865
|
-
if (
|
229866
|
-
|
229867
|
-
return result;
|
229928
|
+
const pullResultCode = await pullAllEnvFiles(environment, client, project, argv, cwd);
|
229929
|
+
if (pullResultCode !== 0) {
|
229930
|
+
return pullResultCode;
|
229868
229931
|
}
|
229869
229932
|
await project_settings_1.writeProjectSettings(cwd, project, org);
|
229933
|
+
const settingsStamp = stamp_1.default();
|
229870
229934
|
client.output.print(`${emoji_1.prependEmoji(`Downloaded project settings to ${chalk_1.default.bold(path_1.join(link_1.VERCEL_DIR, link_1.VERCEL_DIR_PROJECT))} ${chalk_1.default.gray(settingsStamp())}`, emoji_1.emoji('success'))}\n`);
|
229871
229935
|
return 0;
|
229872
229936
|
}
|
@@ -231019,6 +231083,10 @@ const main = async () => {
|
|
231019
231083
|
output.prettyError(localConfig);
|
231020
231084
|
return 1;
|
231021
231085
|
}
|
231086
|
+
const cwd = argv['--cwd'];
|
231087
|
+
if (cwd) {
|
231088
|
+
process.chdir(cwd);
|
231089
|
+
}
|
231022
231090
|
// Print update information, if available
|
231023
231091
|
if (notifier.update && notifier.update.latest !== pkg_1.default.version && isTTY) {
|
231024
231092
|
const { latest } = notifier.update;
|
@@ -231178,27 +231246,9 @@ const main = async () => {
|
|
231178
231246
|
const targetPathExists = fs_1.existsSync(targetPath);
|
231179
231247
|
const subcommandExists = GLOBAL_COMMANDS.has(targetOrSubcommand) ||
|
231180
231248
|
commands_1.default.has(targetOrSubcommand);
|
231181
|
-
if (targetPathExists && subcommandExists) {
|
231182
|
-
|
231183
|
-
|
231184
|
-
: 'file';
|
231185
|
-
const plural = targetOrSubcommand + 's';
|
231186
|
-
const singular = targetOrSubcommand.endsWith('s')
|
231187
|
-
? targetOrSubcommand.slice(0, -1)
|
231188
|
-
: '';
|
231189
|
-
let alternative = '';
|
231190
|
-
if (commands_1.default.has(plural)) {
|
231191
|
-
alternative = plural;
|
231192
|
-
}
|
231193
|
-
else if (commands_1.default.has(singular)) {
|
231194
|
-
alternative = singular;
|
231195
|
-
}
|
231196
|
-
console.error(error_1.default(`The supplied argument ${param_1.default(targetOrSubcommand)} is ambiguous.` +
|
231197
|
-
`\nIf you wish to deploy the ${fileType} ${param_1.default(targetOrSubcommand)}, first run "cd ${targetOrSubcommand}". ` +
|
231198
|
-
(alternative
|
231199
|
-
? `\nIf you wish to use the subcommand ${param_1.default(targetOrSubcommand)}, use ${param_1.default(alternative)} instead.`
|
231200
|
-
: '')));
|
231201
|
-
return 1;
|
231249
|
+
if (targetPathExists && subcommandExists && !argv['--cwd']) {
|
231250
|
+
output.warn(`Did you mean to deploy the subdirectory "${targetOrSubcommand}"? ` +
|
231251
|
+
`Use \`vc --cwd ${targetOrSubcommand}\` instead.`);
|
231202
231252
|
}
|
231203
231253
|
if (subcommandExists) {
|
231204
231254
|
debug(`user supplied known subcommand: "${targetOrSubcommand}"`);
|
@@ -231860,7 +231910,8 @@ const ARG_COMMON = {
|
|
231860
231910
|
'--global-config': String,
|
231861
231911
|
'-Q': '--global-config',
|
231862
231912
|
'--api': String,
|
231863
|
-
'--target': String
|
231913
|
+
'--target': String,
|
231914
|
+
'--cwd': String,
|
231864
231915
|
};
|
231865
231916
|
exports.default = () => ARG_COMMON;
|
231866
231917
|
|
@@ -234292,11 +234343,11 @@ function getSystemEnvValue(systemEnvRef, { vercelUrl }) {
|
|
234292
234343
|
}
|
234293
234344
|
return '';
|
234294
234345
|
}
|
234295
|
-
function exposeSystemEnvs(projectEnvs, systemEnvValues, autoExposeSystemEnvs, vercelUrl) {
|
234346
|
+
function exposeSystemEnvs(projectEnvs, systemEnvValues, autoExposeSystemEnvs, vercelUrl, target) {
|
234296
234347
|
const envs = {};
|
234297
234348
|
if (autoExposeSystemEnvs) {
|
234298
234349
|
envs['VERCEL'] = '1';
|
234299
|
-
envs['VERCEL_ENV'] = 'development';
|
234350
|
+
envs['VERCEL_ENV'] = target || 'development';
|
234300
234351
|
for (const key of systemEnvValues) {
|
234301
234352
|
envs[key] = getSystemEnvValue(key, { vercelUrl });
|
234302
234353
|
}
|
@@ -237845,7 +237896,7 @@ async function addEnvRecord(output, client, projectId, type, key, value, targets
|
|
237845
237896
|
target: targets,
|
237846
237897
|
gitBranch: gitBranch || undefined,
|
237847
237898
|
};
|
237848
|
-
const url = `/
|
237899
|
+
const url = `/v8/projects/${projectId}/env`;
|
237849
237900
|
await client.fetch(url, {
|
237850
237901
|
method: 'POST',
|
237851
237902
|
body: JSON.stringify(body),
|
@@ -237926,7 +237977,7 @@ async function getEnvRecords(output, client, projectId, { target, gitBranch, dec
|
|
237926
237977
|
if (decrypt) {
|
237927
237978
|
query.set('decrypt', decrypt.toString());
|
237928
237979
|
}
|
237929
|
-
const url = `/
|
237980
|
+
const url = `/v8/projects/${projectId}/env?${query}`;
|
237930
237981
|
return client.fetch(url);
|
237931
237982
|
}
|
237932
237983
|
exports.default = getEnvRecords;
|
@@ -237982,7 +238033,7 @@ exports.isKnownError = isKnownError;
|
|
237982
238033
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
237983
238034
|
async function removeEnvRecord(output, client, projectId, env) {
|
237984
238035
|
output.debug(`Removing Environment Variable ${env.key}`);
|
237985
|
-
const urlProject = `/
|
238036
|
+
const urlProject = `/v8/projects/${projectId}/env/${env.id}`;
|
237986
238037
|
await client.fetch(urlProject, {
|
237987
238038
|
method: 'DELETE',
|
237988
238039
|
});
|
@@ -239397,9 +239448,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
239397
239448
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
239398
239449
|
const types_1 = __webpack_require__(25748);
|
239399
239450
|
const get_env_records_1 = __importDefault(__webpack_require__(4622));
|
239400
|
-
async function getDecryptedEnvRecords(output, client, projectId) {
|
239451
|
+
async function getDecryptedEnvRecords(output, client, projectId, target) {
|
239401
239452
|
const { envs } = await get_env_records_1.default(output, client, projectId, {
|
239402
|
-
target: types_1.ProjectEnvTarget.Development,
|
239453
|
+
target: target || types_1.ProjectEnvTarget.Development,
|
239403
239454
|
decrypt: true,
|
239404
239455
|
});
|
239405
239456
|
const envsWithDecryptedSecrets = await Promise.all(envs.map(async ({ id, type, key, value }) => {
|
@@ -240552,20 +240603,20 @@ async function inputProject(client, org, detectedProjectName, autoConfirm = fals
|
|
240552
240603
|
// attempt to auto-detect a project to link
|
240553
240604
|
let detectedProject = null;
|
240554
240605
|
output.spinner('Searching for existing projects…', 1000);
|
240555
|
-
|
240556
|
-
|
240557
|
-
|
240558
|
-
slugifiedName
|
240559
|
-
|
240560
|
-
|
240561
|
-
|
240562
|
-
|
240563
|
-
|
240564
|
-
|
240565
|
-
|
240566
|
-
|
240606
|
+
const [project, slugifiedProject] = await Promise.all([
|
240607
|
+
get_project_by_id_or_name_1.default(client, detectedProjectName, org.id),
|
240608
|
+
slugifiedName !== detectedProjectName
|
240609
|
+
? get_project_by_id_or_name_1.default(client, slugifiedName, org.id)
|
240610
|
+
: null,
|
240611
|
+
]);
|
240612
|
+
detectedProject = !(project instanceof errors_ts_1.ProjectNotFound)
|
240613
|
+
? project
|
240614
|
+
: !(slugifiedProject instanceof errors_ts_1.ProjectNotFound)
|
240615
|
+
? slugifiedProject
|
240616
|
+
: null;
|
240617
|
+
if (detectedProject && !detectedProject.id) {
|
240618
|
+
throw new Error(`Detected linked project does not have "id".`);
|
240567
240619
|
}
|
240568
|
-
catch (error) { }
|
240569
240620
|
output.stopSpinner();
|
240570
240621
|
if (autoConfirm) {
|
240571
240622
|
return detectedProject || detectedProjectName;
|
@@ -243404,7 +243455,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
243404
243455
|
const errors_ts_1 = __webpack_require__(60156);
|
243405
243456
|
async function getProjectByNameOrId(client, projectNameOrId, accountId) {
|
243406
243457
|
try {
|
243407
|
-
const project = await client.fetch(`/projects/${encodeURIComponent(projectNameOrId)}`, { accountId });
|
243458
|
+
const project = await client.fetch(`/v8/projects/${encodeURIComponent(projectNameOrId)}`, { accountId });
|
243408
243459
|
return project;
|
243409
243460
|
}
|
243410
243461
|
catch (error) {
|
@@ -244630,7 +244681,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
244630
244681
|
/***/ ((module) => {
|
244631
244682
|
|
244632
244683
|
"use strict";
|
244633
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.
|
244684
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"24.1.1-canary.1\",\"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\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"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\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.15.2-canary.1\",\"@vercel/go\":\"1.3.3-canary.1\",\"@vercel/node\":\"1.14.2-canary.1\",\"@vercel/python\":\"2.2.3-canary.1\",\"@vercel/ruby\":\"1.3.3-canary.1\",\"update-notifier\":\"4.1.0\"},\"devDependencies\":{\"@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/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@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\",\"@vercel/client\":\"10.4.2-canary.1\",\"@vercel/fetch-retry\":\"5.0.3\",\"@vercel/frameworks\":\"0.7.1\",\"@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\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.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\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"71b83d5587b549a1458697b50596a5534cb783d3\"}");
|
244634
244685
|
|
244635
244686
|
/***/ }),
|
244636
244687
|
|
@@ -244646,7 +244697,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
244646
244697
|
/***/ ((module) => {
|
244647
244698
|
|
244648
244699
|
"use strict";
|
244649
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.4.
|
244700
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.4.2-canary.1\",\"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\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.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\":\"2.15.2-canary.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\":\"71b83d5587b549a1458697b50596a5534cb783d3\"}");
|
244650
244701
|
|
244651
244702
|
/***/ }),
|
244652
244703
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "24.
|
3
|
+
"version": "24.1.1-canary.1",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -43,11 +43,11 @@
|
|
43
43
|
"node": ">= 12"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@vercel/build-utils": "2.15.
|
47
|
-
"@vercel/go": "1.3.
|
48
|
-
"@vercel/node": "1.14.
|
49
|
-
"@vercel/python": "2.2.
|
50
|
-
"@vercel/ruby": "1.3.
|
46
|
+
"@vercel/build-utils": "2.15.2-canary.1",
|
47
|
+
"@vercel/go": "1.3.3-canary.1",
|
48
|
+
"@vercel/node": "1.14.2-canary.1",
|
49
|
+
"@vercel/python": "2.2.3-canary.1",
|
50
|
+
"@vercel/ruby": "1.3.3-canary.1",
|
51
51
|
"update-notifier": "4.1.0"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
@@ -88,11 +88,10 @@
|
|
88
88
|
"@types/update-notifier": "5.1.0",
|
89
89
|
"@types/which": "1.3.2",
|
90
90
|
"@types/write-json-file": "2.2.1",
|
91
|
-
"@vercel/client": "10.4.
|
91
|
+
"@vercel/client": "10.4.2-canary.1",
|
92
92
|
"@vercel/fetch-retry": "5.0.3",
|
93
|
-
"@vercel/frameworks": "0.7.1
|
93
|
+
"@vercel/frameworks": "0.7.1",
|
94
94
|
"@vercel/ncc": "0.24.0",
|
95
|
-
"@vercel/nft": "0.17.5",
|
96
95
|
"@zeit/fun": "0.11.2",
|
97
96
|
"@zeit/source-map-support": "0.6.2",
|
98
97
|
"ajv": "6.12.2",
|
@@ -183,5 +182,5 @@
|
|
183
182
|
"<rootDir>/test/**/*.test.ts"
|
184
183
|
]
|
185
184
|
},
|
186
|
-
"gitHead": "
|
185
|
+
"gitHead": "71b83d5587b549a1458697b50596a5534cb783d3"
|
187
186
|
}
|