vercel 28.10.0 → 28.10.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 +131 -104
- package/package.json +15 -15
package/dist/index.js
CHANGED
@@ -191596,18 +191596,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191596
191596
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
191597
191597
|
};
|
191598
191598
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191599
|
-
exports.downloadFile = exports.isSymbolicLink = void 0;
|
191599
|
+
exports.downloadFile = exports.isDirectory = exports.isSymbolicLink = void 0;
|
191600
191600
|
const path_1 = __importDefault(__nested_webpack_require_846983__(5622));
|
191601
191601
|
const debug_1 = __importDefault(__nested_webpack_require_846983__(1868));
|
191602
191602
|
const file_fs_ref_1 = __importDefault(__nested_webpack_require_846983__(9331));
|
191603
191603
|
const fs_extra_1 = __nested_webpack_require_846983__(5392);
|
191604
191604
|
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_846983__(2560));
|
191605
|
-
const
|
191606
|
-
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
191605
|
+
const STAT = new fs_extra_1.Stats();
|
191607
191606
|
function isSymbolicLink(mode) {
|
191608
|
-
|
191607
|
+
STAT.mode = mode;
|
191608
|
+
return STAT.isSymbolicLink();
|
191609
191609
|
}
|
191610
191610
|
exports.isSymbolicLink = isSymbolicLink;
|
191611
|
+
function isDirectory(mode) {
|
191612
|
+
STAT.mode = mode;
|
191613
|
+
return STAT.isDirectory();
|
191614
|
+
}
|
191615
|
+
exports.isDirectory = isDirectory;
|
191611
191616
|
async function prepareSymlinkTarget(file, fsPath) {
|
191612
191617
|
const mkdirPromise = fs_extra_1.mkdirp(path_1.default.dirname(fsPath));
|
191613
191618
|
if (file.type === 'FileFsRef') {
|
@@ -191626,6 +191631,10 @@ async function prepareSymlinkTarget(file, fsPath) {
|
|
191626
191631
|
}
|
191627
191632
|
async function downloadFile(file, fsPath) {
|
191628
191633
|
const { mode } = file;
|
191634
|
+
if (isDirectory(mode)) {
|
191635
|
+
await fs_extra_1.mkdirp(fsPath);
|
191636
|
+
return file_fs_ref_1.default.fromFsPath({ mode, fsPath });
|
191637
|
+
}
|
191629
191638
|
// If the source is a symlink, try to create it instead of copying the file.
|
191630
191639
|
// Note: creating symlinks on Windows requires admin priviliges or symlinks
|
191631
191640
|
// enabled in the group policy. We may want to improve the error message.
|
@@ -191692,14 +191701,14 @@ exports.default = download;
|
|
191692
191701
|
/***/ }),
|
191693
191702
|
|
191694
191703
|
/***/ 3838:
|
191695
|
-
/***/ ((__unused_webpack_module, exports,
|
191704
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_851655__) => {
|
191696
191705
|
|
191697
191706
|
"use strict";
|
191698
191707
|
|
191699
191708
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191700
|
-
const path_1 =
|
191701
|
-
const os_1 =
|
191702
|
-
const fs_extra_1 =
|
191709
|
+
const path_1 = __nested_webpack_require_851655__(5622);
|
191710
|
+
const os_1 = __nested_webpack_require_851655__(2087);
|
191711
|
+
const fs_extra_1 = __nested_webpack_require_851655__(5392);
|
191703
191712
|
async function getWritableDirectory() {
|
191704
191713
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
191705
191714
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -191712,7 +191721,7 @@ exports.default = getWritableDirectory;
|
|
191712
191721
|
/***/ }),
|
191713
191722
|
|
191714
191723
|
/***/ 4240:
|
191715
|
-
/***/ (function(__unused_webpack_module, exports,
|
191724
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_852235__) {
|
191716
191725
|
|
191717
191726
|
"use strict";
|
191718
191727
|
|
@@ -191720,22 +191729,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191720
191729
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
191721
191730
|
};
|
191722
191731
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191723
|
-
const path_1 = __importDefault(
|
191724
|
-
const assert_1 = __importDefault(
|
191725
|
-
const glob_1 = __importDefault(
|
191726
|
-
const util_1 =
|
191727
|
-
const fs_extra_1 =
|
191728
|
-
const normalize_path_1 =
|
191729
|
-
const file_fs_ref_1 = __importDefault(
|
191732
|
+
const path_1 = __importDefault(__nested_webpack_require_852235__(5622));
|
191733
|
+
const assert_1 = __importDefault(__nested_webpack_require_852235__(2357));
|
191734
|
+
const glob_1 = __importDefault(__nested_webpack_require_852235__(1104));
|
191735
|
+
const util_1 = __nested_webpack_require_852235__(1669);
|
191736
|
+
const fs_extra_1 = __nested_webpack_require_852235__(5392);
|
191737
|
+
const normalize_path_1 = __nested_webpack_require_852235__(6261);
|
191738
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_852235__(9331));
|
191730
191739
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
191731
191740
|
async function glob(pattern, opts, mountpoint) {
|
191732
|
-
|
191733
|
-
if (typeof opts === 'string') {
|
191734
|
-
options = { cwd: opts };
|
191735
|
-
}
|
191736
|
-
else {
|
191737
|
-
options = opts;
|
191738
|
-
}
|
191741
|
+
const options = typeof opts === 'string' ? { cwd: opts } : opts;
|
191739
191742
|
if (!options.cwd) {
|
191740
191743
|
throw new Error('Second argument (basePath) must be specified for names of resulting files');
|
191741
191744
|
}
|
@@ -191744,20 +191747,32 @@ async function glob(pattern, opts, mountpoint) {
|
|
191744
191747
|
}
|
191745
191748
|
const results = {};
|
191746
191749
|
const statCache = {};
|
191747
|
-
|
191748
|
-
|
191749
|
-
|
191750
|
-
|
191751
|
-
|
191750
|
+
const symlinks = {};
|
191751
|
+
const files = await vanillaGlob(pattern, {
|
191752
|
+
...options,
|
191753
|
+
symlinks,
|
191754
|
+
statCache,
|
191755
|
+
stat: true,
|
191756
|
+
dot: true,
|
191757
|
+
});
|
191758
|
+
const dirs = new Set();
|
191759
|
+
const dirsWithEntries = new Set();
|
191752
191760
|
for (const relativePath of files) {
|
191753
191761
|
const fsPath = normalize_path_1.normalizePath(path_1.default.join(options.cwd, relativePath));
|
191754
191762
|
let stat = statCache[fsPath];
|
191755
191763
|
assert_1.default(stat, `statCache does not contain value for ${relativePath} (resolved to ${fsPath})`);
|
191756
|
-
const isSymlink =
|
191757
|
-
if (isSymlink || stat.isFile()) {
|
191764
|
+
const isSymlink = symlinks[fsPath];
|
191765
|
+
if (isSymlink || stat.isFile() || stat.isDirectory()) {
|
191758
191766
|
if (isSymlink) {
|
191759
191767
|
stat = await fs_extra_1.lstat(fsPath);
|
191760
191768
|
}
|
191769
|
+
// Some bookkeeping to track which directories already have entries within
|
191770
|
+
const dirname = path_1.default.dirname(relativePath);
|
191771
|
+
dirsWithEntries.add(dirname);
|
191772
|
+
if (stat.isDirectory()) {
|
191773
|
+
dirs.add(relativePath);
|
191774
|
+
continue;
|
191775
|
+
}
|
191761
191776
|
let finalPath = relativePath;
|
191762
191777
|
if (mountpoint) {
|
191763
191778
|
finalPath = path_1.default.join(mountpoint, finalPath);
|
@@ -191765,6 +191780,18 @@ async function glob(pattern, opts, mountpoint) {
|
|
191765
191780
|
results[finalPath] = new file_fs_ref_1.default({ mode: stat.mode, fsPath });
|
191766
191781
|
}
|
191767
191782
|
}
|
191783
|
+
// Add empty directory entries
|
191784
|
+
for (const relativePath of dirs) {
|
191785
|
+
if (dirsWithEntries.has(relativePath))
|
191786
|
+
continue;
|
191787
|
+
let finalPath = relativePath;
|
191788
|
+
if (mountpoint) {
|
191789
|
+
finalPath = path_1.default.join(mountpoint, finalPath);
|
191790
|
+
}
|
191791
|
+
const fsPath = normalize_path_1.normalizePath(path_1.default.join(options.cwd, relativePath));
|
191792
|
+
const stat = statCache[fsPath];
|
191793
|
+
results[finalPath] = new file_fs_ref_1.default({ mode: stat.mode, fsPath });
|
191794
|
+
}
|
191768
191795
|
return results;
|
191769
191796
|
}
|
191770
191797
|
exports.default = glob;
|
@@ -191773,7 +191800,7 @@ exports.default = glob;
|
|
191773
191800
|
/***/ }),
|
191774
191801
|
|
191775
191802
|
/***/ 7903:
|
191776
|
-
/***/ (function(__unused_webpack_module, exports,
|
191803
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_855315__) {
|
191777
191804
|
|
191778
191805
|
"use strict";
|
191779
191806
|
|
@@ -191782,9 +191809,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191782
191809
|
};
|
191783
191810
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191784
191811
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
191785
|
-
const semver_1 =
|
191786
|
-
const errors_1 =
|
191787
|
-
const debug_1 = __importDefault(
|
191812
|
+
const semver_1 = __nested_webpack_require_855315__(2879);
|
191813
|
+
const errors_1 = __nested_webpack_require_855315__(3983);
|
191814
|
+
const debug_1 = __importDefault(__nested_webpack_require_855315__(1868));
|
191788
191815
|
function getOptions() {
|
191789
191816
|
const options = [
|
191790
191817
|
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
@@ -191887,7 +191914,7 @@ exports.normalizePath = normalizePath;
|
|
191887
191914
|
/***/ }),
|
191888
191915
|
|
191889
191916
|
/***/ 7792:
|
191890
|
-
/***/ (function(__unused_webpack_module, exports,
|
191917
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_859367__) {
|
191891
191918
|
|
191892
191919
|
"use strict";
|
191893
191920
|
|
@@ -191896,9 +191923,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191896
191923
|
};
|
191897
191924
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191898
191925
|
exports.readConfigFile = void 0;
|
191899
|
-
const js_yaml_1 = __importDefault(
|
191900
|
-
const toml_1 = __importDefault(
|
191901
|
-
const fs_extra_1 =
|
191926
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_859367__(6540));
|
191927
|
+
const toml_1 = __importDefault(__nested_webpack_require_859367__(9434));
|
191928
|
+
const fs_extra_1 = __nested_webpack_require_859367__(5392);
|
191902
191929
|
async function readFileOrNull(file) {
|
191903
191930
|
try {
|
191904
191931
|
const data = await fs_extra_1.readFile(file);
|
@@ -191953,7 +191980,7 @@ exports.default = rename;
|
|
191953
191980
|
/***/ }),
|
191954
191981
|
|
191955
191982
|
/***/ 1442:
|
191956
|
-
/***/ (function(__unused_webpack_module, exports,
|
191983
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_861160__) {
|
191957
191984
|
|
191958
191985
|
"use strict";
|
191959
191986
|
|
@@ -191962,18 +191989,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191962
191989
|
};
|
191963
191990
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191964
191991
|
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;
|
191965
|
-
const assert_1 = __importDefault(
|
191966
|
-
const fs_extra_1 = __importDefault(
|
191967
|
-
const path_1 = __importDefault(
|
191968
|
-
const async_sema_1 = __importDefault(
|
191969
|
-
const cross_spawn_1 = __importDefault(
|
191970
|
-
const semver_1 =
|
191971
|
-
const util_1 =
|
191972
|
-
const debug_1 = __importDefault(
|
191973
|
-
const errors_1 =
|
191974
|
-
const node_version_1 =
|
191975
|
-
const read_config_file_1 =
|
191976
|
-
const clone_env_1 =
|
191992
|
+
const assert_1 = __importDefault(__nested_webpack_require_861160__(2357));
|
191993
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_861160__(5392));
|
191994
|
+
const path_1 = __importDefault(__nested_webpack_require_861160__(5622));
|
191995
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_861160__(5758));
|
191996
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_861160__(7618));
|
191997
|
+
const semver_1 = __nested_webpack_require_861160__(2879);
|
191998
|
+
const util_1 = __nested_webpack_require_861160__(1669);
|
191999
|
+
const debug_1 = __importDefault(__nested_webpack_require_861160__(1868));
|
192000
|
+
const errors_1 = __nested_webpack_require_861160__(3983);
|
192001
|
+
const node_version_1 = __nested_webpack_require_861160__(7903);
|
192002
|
+
const read_config_file_1 = __nested_webpack_require_861160__(7792);
|
192003
|
+
const clone_env_1 = __nested_webpack_require_861160__(6548);
|
191977
192004
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
191978
192005
|
const runNpmInstallSema = new async_sema_1.default(1);
|
191979
192006
|
function spawnAsync(command, args, opts = {}) {
|
@@ -192444,7 +192471,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
192444
192471
|
/***/ }),
|
192445
192472
|
|
192446
192473
|
/***/ 2560:
|
192447
|
-
/***/ (function(__unused_webpack_module, exports,
|
192474
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_881494__) {
|
192448
192475
|
|
192449
192476
|
"use strict";
|
192450
192477
|
|
@@ -192452,7 +192479,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192452
192479
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192453
192480
|
};
|
192454
192481
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192455
|
-
const end_of_stream_1 = __importDefault(
|
192482
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_881494__(687));
|
192456
192483
|
function streamToBuffer(stream) {
|
192457
192484
|
return new Promise((resolve, reject) => {
|
192458
192485
|
const buffers = [];
|
@@ -192481,7 +192508,7 @@ exports.default = streamToBuffer;
|
|
192481
192508
|
/***/ }),
|
192482
192509
|
|
192483
192510
|
/***/ 1148:
|
192484
|
-
/***/ (function(__unused_webpack_module, exports,
|
192511
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_882562__) {
|
192485
192512
|
|
192486
192513
|
"use strict";
|
192487
192514
|
|
@@ -192489,9 +192516,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192489
192516
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192490
192517
|
};
|
192491
192518
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192492
|
-
const path_1 = __importDefault(
|
192493
|
-
const fs_extra_1 = __importDefault(
|
192494
|
-
const ignore_1 = __importDefault(
|
192519
|
+
const path_1 = __importDefault(__nested_webpack_require_882562__(5622));
|
192520
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_882562__(5392));
|
192521
|
+
const ignore_1 = __importDefault(__nested_webpack_require_882562__(3556));
|
192495
192522
|
function isCodedError(error) {
|
192496
192523
|
return (error !== null &&
|
192497
192524
|
error !== undefined &&
|
@@ -192548,13 +192575,13 @@ exports.default = default_1;
|
|
192548
192575
|
/***/ }),
|
192549
192576
|
|
192550
192577
|
/***/ 4678:
|
192551
|
-
/***/ ((__unused_webpack_module, exports,
|
192578
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_884936__) => {
|
192552
192579
|
|
192553
192580
|
"use strict";
|
192554
192581
|
|
192555
192582
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192556
192583
|
exports.getPlatformEnv = void 0;
|
192557
|
-
const errors_1 =
|
192584
|
+
const errors_1 = __nested_webpack_require_884936__(3983);
|
192558
192585
|
/**
|
192559
192586
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
192560
192587
|
* Throws an error if *both* env vars are defined.
|
@@ -192618,7 +192645,7 @@ exports.getPrefixedEnvVars = getPrefixedEnvVars;
|
|
192618
192645
|
/***/ }),
|
192619
192646
|
|
192620
192647
|
/***/ 2855:
|
192621
|
-
/***/ (function(__unused_webpack_module, exports,
|
192648
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_887195__) {
|
192622
192649
|
|
192623
192650
|
"use strict";
|
192624
192651
|
|
@@ -192649,31 +192676,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192649
192676
|
};
|
192650
192677
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192651
192678
|
exports.normalizePath = exports.readConfigFile = exports.EdgeFunction = exports.cloneEnv = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.streamToBuffer = exports.getPrefixedEnvVars = exports.getPlatformEnv = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.getEnvForPackageManager = exports.runCustomInstallCommand = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.downloadFile = exports.download = exports.Prerender = exports.createLambda = exports.NodejsLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
192652
|
-
const file_blob_1 = __importDefault(
|
192679
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_887195__(2397));
|
192653
192680
|
exports.FileBlob = file_blob_1.default;
|
192654
|
-
const file_fs_ref_1 = __importDefault(
|
192681
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_887195__(9331));
|
192655
192682
|
exports.FileFsRef = file_fs_ref_1.default;
|
192656
|
-
const file_ref_1 = __importDefault(
|
192683
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_887195__(5187));
|
192657
192684
|
exports.FileRef = file_ref_1.default;
|
192658
|
-
const lambda_1 =
|
192685
|
+
const lambda_1 = __nested_webpack_require_887195__(6721);
|
192659
192686
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
192660
192687
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
192661
192688
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
192662
|
-
const nodejs_lambda_1 =
|
192689
|
+
const nodejs_lambda_1 = __nested_webpack_require_887195__(7049);
|
192663
192690
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
192664
|
-
const prerender_1 =
|
192691
|
+
const prerender_1 = __nested_webpack_require_887195__(2850);
|
192665
192692
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
192666
|
-
const download_1 = __importStar(
|
192693
|
+
const download_1 = __importStar(__nested_webpack_require_887195__(1611));
|
192667
192694
|
exports.download = download_1.default;
|
192668
192695
|
Object.defineProperty(exports, "downloadFile", ({ enumerable: true, get: function () { return download_1.downloadFile; } }));
|
192669
192696
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
192670
|
-
const get_writable_directory_1 = __importDefault(
|
192697
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_887195__(3838));
|
192671
192698
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
192672
|
-
const glob_1 = __importDefault(
|
192699
|
+
const glob_1 = __importDefault(__nested_webpack_require_887195__(4240));
|
192673
192700
|
exports.glob = glob_1.default;
|
192674
|
-
const rename_1 = __importDefault(
|
192701
|
+
const rename_1 = __importDefault(__nested_webpack_require_887195__(6718));
|
192675
192702
|
exports.rename = rename_1.default;
|
192676
|
-
const run_user_scripts_1 =
|
192703
|
+
const run_user_scripts_1 = __nested_webpack_require_887195__(1442);
|
192677
192704
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
192678
192705
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
192679
192706
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -192692,37 +192719,37 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
192692
192719
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
192693
192720
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
192694
192721
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
192695
|
-
const node_version_1 =
|
192722
|
+
const node_version_1 = __nested_webpack_require_887195__(7903);
|
192696
192723
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
192697
192724
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
192698
|
-
const stream_to_buffer_1 = __importDefault(
|
192725
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_887195__(2560));
|
192699
192726
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
192700
|
-
const debug_1 = __importDefault(
|
192727
|
+
const debug_1 = __importDefault(__nested_webpack_require_887195__(1868));
|
192701
192728
|
exports.debug = debug_1.default;
|
192702
|
-
const get_ignore_filter_1 = __importDefault(
|
192729
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_887195__(1148));
|
192703
192730
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
192704
|
-
const get_platform_env_1 =
|
192731
|
+
const get_platform_env_1 = __nested_webpack_require_887195__(4678);
|
192705
192732
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
192706
|
-
const get_prefixed_env_vars_1 =
|
192733
|
+
const get_prefixed_env_vars_1 = __nested_webpack_require_887195__(6838);
|
192707
192734
|
Object.defineProperty(exports, "getPrefixedEnvVars", ({ enumerable: true, get: function () { return get_prefixed_env_vars_1.getPrefixedEnvVars; } }));
|
192708
|
-
const clone_env_1 =
|
192735
|
+
const clone_env_1 = __nested_webpack_require_887195__(6548);
|
192709
192736
|
Object.defineProperty(exports, "cloneEnv", ({ enumerable: true, get: function () { return clone_env_1.cloneEnv; } }));
|
192710
|
-
var edge_function_1 =
|
192737
|
+
var edge_function_1 = __nested_webpack_require_887195__(8038);
|
192711
192738
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
192712
|
-
var read_config_file_1 =
|
192739
|
+
var read_config_file_1 = __nested_webpack_require_887195__(7792);
|
192713
192740
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
192714
|
-
var normalize_path_1 =
|
192741
|
+
var normalize_path_1 = __nested_webpack_require_887195__(6261);
|
192715
192742
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
192716
|
-
__exportStar(
|
192717
|
-
__exportStar(
|
192718
|
-
__exportStar(
|
192719
|
-
__exportStar(
|
192743
|
+
__exportStar(__nested_webpack_require_887195__(2564), exports);
|
192744
|
+
__exportStar(__nested_webpack_require_887195__(2416), exports);
|
192745
|
+
__exportStar(__nested_webpack_require_887195__(5748), exports);
|
192746
|
+
__exportStar(__nested_webpack_require_887195__(3983), exports);
|
192720
192747
|
|
192721
192748
|
|
192722
192749
|
/***/ }),
|
192723
192750
|
|
192724
192751
|
/***/ 6721:
|
192725
|
-
/***/ (function(__unused_webpack_module, exports,
|
192752
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_896013__) {
|
192726
192753
|
|
192727
192754
|
"use strict";
|
192728
192755
|
|
@@ -192731,13 +192758,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192731
192758
|
};
|
192732
192759
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192733
192760
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
192734
|
-
const assert_1 = __importDefault(
|
192735
|
-
const async_sema_1 = __importDefault(
|
192736
|
-
const yazl_1 =
|
192737
|
-
const minimatch_1 = __importDefault(
|
192738
|
-
const fs_extra_1 =
|
192739
|
-
const download_1 =
|
192740
|
-
const stream_to_buffer_1 = __importDefault(
|
192761
|
+
const assert_1 = __importDefault(__nested_webpack_require_896013__(2357));
|
192762
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_896013__(5758));
|
192763
|
+
const yazl_1 = __nested_webpack_require_896013__(1223);
|
192764
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_896013__(9566));
|
192765
|
+
const fs_extra_1 = __nested_webpack_require_896013__(5392);
|
192766
|
+
const download_1 = __nested_webpack_require_896013__(1611);
|
192767
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_896013__(2560));
|
192741
192768
|
class Lambda {
|
192742
192769
|
constructor(opts) {
|
192743
192770
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, experimentalResponseStreaming, operationType, } = opts;
|
@@ -192865,13 +192892,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
192865
192892
|
/***/ }),
|
192866
192893
|
|
192867
192894
|
/***/ 7049:
|
192868
|
-
/***/ ((__unused_webpack_module, exports,
|
192895
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_901862__) => {
|
192869
192896
|
|
192870
192897
|
"use strict";
|
192871
192898
|
|
192872
192899
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192873
192900
|
exports.NodejsLambda = void 0;
|
192874
|
-
const lambda_1 =
|
192901
|
+
const lambda_1 = __nested_webpack_require_901862__(6721);
|
192875
192902
|
class NodejsLambda extends lambda_1.Lambda {
|
192876
192903
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
192877
192904
|
super(opts);
|
@@ -193026,13 +193053,13 @@ exports.buildsSchema = {
|
|
193026
193053
|
/***/ }),
|
193027
193054
|
|
193028
193055
|
/***/ 2564:
|
193029
|
-
/***/ ((__unused_webpack_module, exports,
|
193056
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_907194__) => {
|
193030
193057
|
|
193031
193058
|
"use strict";
|
193032
193059
|
|
193033
193060
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
193034
193061
|
exports.shouldServe = void 0;
|
193035
|
-
const path_1 =
|
193062
|
+
const path_1 = __nested_webpack_require_907194__(5622);
|
193036
193063
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
193037
193064
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
193038
193065
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -193277,7 +193304,7 @@ module.exports = __webpack_require__(78761);
|
|
193277
193304
|
/******/ var __webpack_module_cache__ = {};
|
193278
193305
|
/******/
|
193279
193306
|
/******/ // The require function
|
193280
|
-
/******/ function
|
193307
|
+
/******/ function __nested_webpack_require_1284559__(moduleId) {
|
193281
193308
|
/******/ // Check if module is in cache
|
193282
193309
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
193283
193310
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -193292,7 +193319,7 @@ module.exports = __webpack_require__(78761);
|
|
193292
193319
|
/******/ // Execute the module function
|
193293
193320
|
/******/ var threw = true;
|
193294
193321
|
/******/ try {
|
193295
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
193322
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1284559__);
|
193296
193323
|
/******/ threw = false;
|
193297
193324
|
/******/ } finally {
|
193298
193325
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -193305,11 +193332,11 @@ module.exports = __webpack_require__(78761);
|
|
193305
193332
|
/************************************************************************/
|
193306
193333
|
/******/ /* webpack/runtime/compat */
|
193307
193334
|
/******/
|
193308
|
-
/******/
|
193335
|
+
/******/ __nested_webpack_require_1284559__.ab = __dirname + "/";/************************************************************************/
|
193309
193336
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
193310
193337
|
/******/ // startup
|
193311
193338
|
/******/ // Load entry module and return exports
|
193312
|
-
/******/ return
|
193339
|
+
/******/ return __nested_webpack_require_1284559__(2855);
|
193313
193340
|
/******/ })()
|
193314
193341
|
;
|
193315
193342
|
|
@@ -216089,7 +216116,7 @@ exports.frameworks = [
|
|
216089
216116
|
value: 'docs/.vitepress/dist',
|
216090
216117
|
},
|
216091
216118
|
},
|
216092
|
-
getOutputDirName: async () => '
|
216119
|
+
getOutputDirName: async () => 'docs/.vitepress/dist',
|
216093
216120
|
},
|
216094
216121
|
{
|
216095
216122
|
name: 'VuePress',
|
@@ -256591,7 +256618,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
256591
256618
|
/***/ ((module) => {
|
256592
256619
|
|
256593
256620
|
"use strict";
|
256594
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.
|
256621
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.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 --env node --verbose --bail\",\"test-unit\":\"yarn test test/unit/\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"yarn test test/dev/\",\"coverage\":\"codecov\",\"build\":\"ts-node ./scripts/build.ts\",\"dev\":\"ts-node ./src/index.ts\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 14\"},\"dependencies\":{\"@vercel/build-utils\":\"5.7.2\",\"@vercel/go\":\"2.2.21\",\"@vercel/hydrogen\":\"0.0.35\",\"@vercel/next\":\"3.3.5\",\"@vercel/node\":\"2.8.2\",\"@vercel/python\":\"3.1.31\",\"@vercel/redwood\":\"1.0.41\",\"@vercel/remix\":\"1.1.3\",\"@vercel/ruby\":\"1.3.47\",\"@vercel/static-build\":\"1.0.44\",\"update-notifier\":\"5.1.0\"},\"devDependencies\":{\"@alex_neo/jest-expect-message\":\"1.0.5\",\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@swc/core\":\"1.2.218\",\"@tootallnate/once\":\"1.1.2\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/ini\":\"1.3.31\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.4.1\",\"@types/jest-expect-message\":\"1.0.3\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"14.18.33\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@types/yauzl-promise\":\"2.1.0\",\"@vercel/client\":\"12.2.23\",\"@vercel/error-utils\":\"1.0.3\",\"@vercel/frameworks\":\"1.1.16\",\"@vercel/fs-detectors\":\"3.5.6\",\"@vercel/fun\":\"1.0.4\",\"@vercel/ncc\":\"0.24.0\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"4.3.2\",\"ansi-regex\":\"5.0.1\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"boxen\":\"4.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"git-last-commit\":\"1.0.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"ini\":\"3.0.0\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.1.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"json5\":\"2.2.1\",\"jsonlines\":\"0.1.1\",\"line-async-iterator\":\"3.0.0\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.4.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"6.0.1\",\"stripe\":\"5.1.0\",\"supports-hyperlinks\":\"2.2.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-node\":\"10.9.1\",\"typescript\":\"4.7.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\",\"yauzl-promise\":\"2.1.3\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"setupFilesAfterEnv\":[\"@alex_neo/jest-expect-message\"],\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]}}");
|
256595
256622
|
|
256596
256623
|
/***/ }),
|
256597
256624
|
|
@@ -256599,7 +256626,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.0\",\"pref
|
|
256599
256626
|
/***/ ((module) => {
|
256600
256627
|
|
256601
256628
|
"use strict";
|
256602
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.
|
256629
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.23\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"yarn test tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test\":\"jest --env node --verbose --runInBand --bail\",\"test-unit\":\"yarn test tests/unit.*test.*\"},\"engines\":{\"node\":\">= 14\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.4.1\",\"@types/minimatch\":\"3.0.5\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"14.18.33\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"@types/tar-fs\":\"1.16.1\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"5.7.2\",\"@vercel/routing-utils\":\"2.1.3\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"minimatch\":\"5.0.1\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.7\",\"querystring\":\"^0.2.0\",\"sleep-promise\":\"8.0.1\",\"tar-fs\":\"1.16.3\"}}");
|
256603
256630
|
|
256604
256631
|
/***/ }),
|
256605
256632
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.10.
|
3
|
+
"version": "28.10.1",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -41,16 +41,16 @@
|
|
41
41
|
"node": ">= 14"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@vercel/build-utils": "5.7.
|
45
|
-
"@vercel/go": "2.2.
|
46
|
-
"@vercel/hydrogen": "0.0.
|
47
|
-
"@vercel/next": "3.3.
|
48
|
-
"@vercel/node": "2.8.
|
49
|
-
"@vercel/python": "3.1.
|
50
|
-
"@vercel/redwood": "1.0.
|
51
|
-
"@vercel/remix": "1.1.
|
52
|
-
"@vercel/ruby": "1.3.
|
53
|
-
"@vercel/static-build": "1.0.
|
44
|
+
"@vercel/build-utils": "5.7.2",
|
45
|
+
"@vercel/go": "2.2.21",
|
46
|
+
"@vercel/hydrogen": "0.0.35",
|
47
|
+
"@vercel/next": "3.3.5",
|
48
|
+
"@vercel/node": "2.8.2",
|
49
|
+
"@vercel/python": "3.1.31",
|
50
|
+
"@vercel/redwood": "1.0.41",
|
51
|
+
"@vercel/remix": "1.1.3",
|
52
|
+
"@vercel/ruby": "1.3.47",
|
53
|
+
"@vercel/static-build": "1.0.44",
|
54
54
|
"update-notifier": "5.1.0"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
@@ -93,10 +93,10 @@
|
|
93
93
|
"@types/which": "1.3.2",
|
94
94
|
"@types/write-json-file": "2.2.1",
|
95
95
|
"@types/yauzl-promise": "2.1.0",
|
96
|
-
"@vercel/client": "12.2.
|
96
|
+
"@vercel/client": "12.2.23",
|
97
97
|
"@vercel/error-utils": "1.0.3",
|
98
|
-
"@vercel/frameworks": "1.1.
|
99
|
-
"@vercel/fs-detectors": "3.5.
|
98
|
+
"@vercel/frameworks": "1.1.16",
|
99
|
+
"@vercel/fs-detectors": "3.5.6",
|
100
100
|
"@vercel/fun": "1.0.4",
|
101
101
|
"@vercel/ncc": "0.24.0",
|
102
102
|
"@zeit/source-map-support": "0.6.2",
|
@@ -193,5 +193,5 @@
|
|
193
193
|
"<rootDir>/test/**/*.test.ts"
|
194
194
|
]
|
195
195
|
},
|
196
|
-
"gitHead": "
|
196
|
+
"gitHead": "cb29bfdd684893cace5454f50a11a777407a9e45"
|
197
197
|
}
|