vercel 28.10.1 → 28.10.2
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 +103 -130
- package/package.json +14 -14
package/dist/index.js
CHANGED
@@ -191596,23 +191596,18 @@ 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.
|
191599
|
+
exports.downloadFile = 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
|
191605
|
+
const S_IFMT = 61440; /* 0170000 type of file */
|
191606
|
+
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
191606
191607
|
function isSymbolicLink(mode) {
|
191607
|
-
|
191608
|
-
return STAT.isSymbolicLink();
|
191608
|
+
return (mode & S_IFMT) === S_IFLNK;
|
191609
191609
|
}
|
191610
191610
|
exports.isSymbolicLink = isSymbolicLink;
|
191611
|
-
function isDirectory(mode) {
|
191612
|
-
STAT.mode = mode;
|
191613
|
-
return STAT.isDirectory();
|
191614
|
-
}
|
191615
|
-
exports.isDirectory = isDirectory;
|
191616
191611
|
async function prepareSymlinkTarget(file, fsPath) {
|
191617
191612
|
const mkdirPromise = fs_extra_1.mkdirp(path_1.default.dirname(fsPath));
|
191618
191613
|
if (file.type === 'FileFsRef') {
|
@@ -191631,10 +191626,6 @@ async function prepareSymlinkTarget(file, fsPath) {
|
|
191631
191626
|
}
|
191632
191627
|
async function downloadFile(file, fsPath) {
|
191633
191628
|
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
|
-
}
|
191638
191629
|
// If the source is a symlink, try to create it instead of copying the file.
|
191639
191630
|
// Note: creating symlinks on Windows requires admin priviliges or symlinks
|
191640
191631
|
// enabled in the group policy. We may want to improve the error message.
|
@@ -191701,14 +191692,14 @@ exports.default = download;
|
|
191701
191692
|
/***/ }),
|
191702
191693
|
|
191703
191694
|
/***/ 3838:
|
191704
|
-
/***/ ((__unused_webpack_module, exports,
|
191695
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_851418__) => {
|
191705
191696
|
|
191706
191697
|
"use strict";
|
191707
191698
|
|
191708
191699
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191709
|
-
const path_1 =
|
191710
|
-
const os_1 =
|
191711
|
-
const fs_extra_1 =
|
191700
|
+
const path_1 = __nested_webpack_require_851418__(5622);
|
191701
|
+
const os_1 = __nested_webpack_require_851418__(2087);
|
191702
|
+
const fs_extra_1 = __nested_webpack_require_851418__(5392);
|
191712
191703
|
async function getWritableDirectory() {
|
191713
191704
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
191714
191705
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -191721,7 +191712,7 @@ exports.default = getWritableDirectory;
|
|
191721
191712
|
/***/ }),
|
191722
191713
|
|
191723
191714
|
/***/ 4240:
|
191724
|
-
/***/ (function(__unused_webpack_module, exports,
|
191715
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_851998__) {
|
191725
191716
|
|
191726
191717
|
"use strict";
|
191727
191718
|
|
@@ -191729,16 +191720,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191729
191720
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
191730
191721
|
};
|
191731
191722
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191732
|
-
const path_1 = __importDefault(
|
191733
|
-
const assert_1 = __importDefault(
|
191734
|
-
const glob_1 = __importDefault(
|
191735
|
-
const util_1 =
|
191736
|
-
const fs_extra_1 =
|
191737
|
-
const normalize_path_1 =
|
191738
|
-
const file_fs_ref_1 = __importDefault(
|
191723
|
+
const path_1 = __importDefault(__nested_webpack_require_851998__(5622));
|
191724
|
+
const assert_1 = __importDefault(__nested_webpack_require_851998__(2357));
|
191725
|
+
const glob_1 = __importDefault(__nested_webpack_require_851998__(1104));
|
191726
|
+
const util_1 = __nested_webpack_require_851998__(1669);
|
191727
|
+
const fs_extra_1 = __nested_webpack_require_851998__(5392);
|
191728
|
+
const normalize_path_1 = __nested_webpack_require_851998__(6261);
|
191729
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_851998__(9331));
|
191739
191730
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
191740
191731
|
async function glob(pattern, opts, mountpoint) {
|
191741
|
-
|
191732
|
+
let options;
|
191733
|
+
if (typeof opts === 'string') {
|
191734
|
+
options = { cwd: opts };
|
191735
|
+
}
|
191736
|
+
else {
|
191737
|
+
options = opts;
|
191738
|
+
}
|
191742
191739
|
if (!options.cwd) {
|
191743
191740
|
throw new Error('Second argument (basePath) must be specified for names of resulting files');
|
191744
191741
|
}
|
@@ -191747,32 +191744,20 @@ async function glob(pattern, opts, mountpoint) {
|
|
191747
191744
|
}
|
191748
191745
|
const results = {};
|
191749
191746
|
const statCache = {};
|
191750
|
-
|
191751
|
-
|
191752
|
-
|
191753
|
-
|
191754
|
-
|
191755
|
-
stat: true,
|
191756
|
-
dot: true,
|
191757
|
-
});
|
191758
|
-
const dirs = new Set();
|
191759
|
-
const dirsWithEntries = new Set();
|
191747
|
+
options.symlinks = {};
|
191748
|
+
options.statCache = statCache;
|
191749
|
+
options.stat = true;
|
191750
|
+
options.dot = true;
|
191751
|
+
const files = await vanillaGlob(pattern, options);
|
191760
191752
|
for (const relativePath of files) {
|
191761
191753
|
const fsPath = normalize_path_1.normalizePath(path_1.default.join(options.cwd, relativePath));
|
191762
191754
|
let stat = statCache[fsPath];
|
191763
191755
|
assert_1.default(stat, `statCache does not contain value for ${relativePath} (resolved to ${fsPath})`);
|
191764
|
-
const isSymlink = symlinks[fsPath];
|
191765
|
-
if (isSymlink || stat.isFile()
|
191756
|
+
const isSymlink = options.symlinks[fsPath];
|
191757
|
+
if (isSymlink || stat.isFile()) {
|
191766
191758
|
if (isSymlink) {
|
191767
191759
|
stat = await fs_extra_1.lstat(fsPath);
|
191768
191760
|
}
|
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
|
-
}
|
191776
191761
|
let finalPath = relativePath;
|
191777
191762
|
if (mountpoint) {
|
191778
191763
|
finalPath = path_1.default.join(mountpoint, finalPath);
|
@@ -191780,18 +191765,6 @@ async function glob(pattern, opts, mountpoint) {
|
|
191780
191765
|
results[finalPath] = new file_fs_ref_1.default({ mode: stat.mode, fsPath });
|
191781
191766
|
}
|
191782
191767
|
}
|
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
|
-
}
|
191795
191768
|
return results;
|
191796
191769
|
}
|
191797
191770
|
exports.default = glob;
|
@@ -191800,7 +191773,7 @@ exports.default = glob;
|
|
191800
191773
|
/***/ }),
|
191801
191774
|
|
191802
191775
|
/***/ 7903:
|
191803
|
-
/***/ (function(__unused_webpack_module, exports,
|
191776
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_854219__) {
|
191804
191777
|
|
191805
191778
|
"use strict";
|
191806
191779
|
|
@@ -191809,9 +191782,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191809
191782
|
};
|
191810
191783
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191811
191784
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
191812
|
-
const semver_1 =
|
191813
|
-
const errors_1 =
|
191814
|
-
const debug_1 = __importDefault(
|
191785
|
+
const semver_1 = __nested_webpack_require_854219__(2879);
|
191786
|
+
const errors_1 = __nested_webpack_require_854219__(3983);
|
191787
|
+
const debug_1 = __importDefault(__nested_webpack_require_854219__(1868));
|
191815
191788
|
function getOptions() {
|
191816
191789
|
const options = [
|
191817
191790
|
{ major: 18, range: '18.x', runtime: 'nodejs18.x' },
|
@@ -191914,7 +191887,7 @@ exports.normalizePath = normalizePath;
|
|
191914
191887
|
/***/ }),
|
191915
191888
|
|
191916
191889
|
/***/ 7792:
|
191917
|
-
/***/ (function(__unused_webpack_module, exports,
|
191890
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_858271__) {
|
191918
191891
|
|
191919
191892
|
"use strict";
|
191920
191893
|
|
@@ -191923,9 +191896,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191923
191896
|
};
|
191924
191897
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191925
191898
|
exports.readConfigFile = void 0;
|
191926
|
-
const js_yaml_1 = __importDefault(
|
191927
|
-
const toml_1 = __importDefault(
|
191928
|
-
const fs_extra_1 =
|
191899
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_858271__(6540));
|
191900
|
+
const toml_1 = __importDefault(__nested_webpack_require_858271__(9434));
|
191901
|
+
const fs_extra_1 = __nested_webpack_require_858271__(5392);
|
191929
191902
|
async function readFileOrNull(file) {
|
191930
191903
|
try {
|
191931
191904
|
const data = await fs_extra_1.readFile(file);
|
@@ -191980,7 +191953,7 @@ exports.default = rename;
|
|
191980
191953
|
/***/ }),
|
191981
191954
|
|
191982
191955
|
/***/ 1442:
|
191983
|
-
/***/ (function(__unused_webpack_module, exports,
|
191956
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_860064__) {
|
191984
191957
|
|
191985
191958
|
"use strict";
|
191986
191959
|
|
@@ -191989,18 +191962,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
191989
191962
|
};
|
191990
191963
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
191991
191964
|
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;
|
191992
|
-
const assert_1 = __importDefault(
|
191993
|
-
const fs_extra_1 = __importDefault(
|
191994
|
-
const path_1 = __importDefault(
|
191995
|
-
const async_sema_1 = __importDefault(
|
191996
|
-
const cross_spawn_1 = __importDefault(
|
191997
|
-
const semver_1 =
|
191998
|
-
const util_1 =
|
191999
|
-
const debug_1 = __importDefault(
|
192000
|
-
const errors_1 =
|
192001
|
-
const node_version_1 =
|
192002
|
-
const read_config_file_1 =
|
192003
|
-
const clone_env_1 =
|
191965
|
+
const assert_1 = __importDefault(__nested_webpack_require_860064__(2357));
|
191966
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_860064__(5392));
|
191967
|
+
const path_1 = __importDefault(__nested_webpack_require_860064__(5622));
|
191968
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_860064__(5758));
|
191969
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_860064__(7618));
|
191970
|
+
const semver_1 = __nested_webpack_require_860064__(2879);
|
191971
|
+
const util_1 = __nested_webpack_require_860064__(1669);
|
191972
|
+
const debug_1 = __importDefault(__nested_webpack_require_860064__(1868));
|
191973
|
+
const errors_1 = __nested_webpack_require_860064__(3983);
|
191974
|
+
const node_version_1 = __nested_webpack_require_860064__(7903);
|
191975
|
+
const read_config_file_1 = __nested_webpack_require_860064__(7792);
|
191976
|
+
const clone_env_1 = __nested_webpack_require_860064__(6548);
|
192004
191977
|
// Only allow one `runNpmInstall()` invocation to run concurrently
|
192005
191978
|
const runNpmInstallSema = new async_sema_1.default(1);
|
192006
191979
|
function spawnAsync(command, args, opts = {}) {
|
@@ -192471,7 +192444,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
192471
192444
|
/***/ }),
|
192472
192445
|
|
192473
192446
|
/***/ 2560:
|
192474
|
-
/***/ (function(__unused_webpack_module, exports,
|
192447
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_880398__) {
|
192475
192448
|
|
192476
192449
|
"use strict";
|
192477
192450
|
|
@@ -192479,7 +192452,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192479
192452
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192480
192453
|
};
|
192481
192454
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192482
|
-
const end_of_stream_1 = __importDefault(
|
192455
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_880398__(687));
|
192483
192456
|
function streamToBuffer(stream) {
|
192484
192457
|
return new Promise((resolve, reject) => {
|
192485
192458
|
const buffers = [];
|
@@ -192508,7 +192481,7 @@ exports.default = streamToBuffer;
|
|
192508
192481
|
/***/ }),
|
192509
192482
|
|
192510
192483
|
/***/ 1148:
|
192511
|
-
/***/ (function(__unused_webpack_module, exports,
|
192484
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_881466__) {
|
192512
192485
|
|
192513
192486
|
"use strict";
|
192514
192487
|
|
@@ -192516,9 +192489,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192516
192489
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
192517
192490
|
};
|
192518
192491
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192519
|
-
const path_1 = __importDefault(
|
192520
|
-
const fs_extra_1 = __importDefault(
|
192521
|
-
const ignore_1 = __importDefault(
|
192492
|
+
const path_1 = __importDefault(__nested_webpack_require_881466__(5622));
|
192493
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_881466__(5392));
|
192494
|
+
const ignore_1 = __importDefault(__nested_webpack_require_881466__(3556));
|
192522
192495
|
function isCodedError(error) {
|
192523
192496
|
return (error !== null &&
|
192524
192497
|
error !== undefined &&
|
@@ -192575,13 +192548,13 @@ exports.default = default_1;
|
|
192575
192548
|
/***/ }),
|
192576
192549
|
|
192577
192550
|
/***/ 4678:
|
192578
|
-
/***/ ((__unused_webpack_module, exports,
|
192551
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_883840__) => {
|
192579
192552
|
|
192580
192553
|
"use strict";
|
192581
192554
|
|
192582
192555
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192583
192556
|
exports.getPlatformEnv = void 0;
|
192584
|
-
const errors_1 =
|
192557
|
+
const errors_1 = __nested_webpack_require_883840__(3983);
|
192585
192558
|
/**
|
192586
192559
|
* Helper function to support both `VERCEL_` and legacy `NOW_` env vars.
|
192587
192560
|
* Throws an error if *both* env vars are defined.
|
@@ -192645,7 +192618,7 @@ exports.getPrefixedEnvVars = getPrefixedEnvVars;
|
|
192645
192618
|
/***/ }),
|
192646
192619
|
|
192647
192620
|
/***/ 2855:
|
192648
|
-
/***/ (function(__unused_webpack_module, exports,
|
192621
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_886099__) {
|
192649
192622
|
|
192650
192623
|
"use strict";
|
192651
192624
|
|
@@ -192676,31 +192649,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192676
192649
|
};
|
192677
192650
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192678
192651
|
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;
|
192679
|
-
const file_blob_1 = __importDefault(
|
192652
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_886099__(2397));
|
192680
192653
|
exports.FileBlob = file_blob_1.default;
|
192681
|
-
const file_fs_ref_1 = __importDefault(
|
192654
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_886099__(9331));
|
192682
192655
|
exports.FileFsRef = file_fs_ref_1.default;
|
192683
|
-
const file_ref_1 = __importDefault(
|
192656
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_886099__(5187));
|
192684
192657
|
exports.FileRef = file_ref_1.default;
|
192685
|
-
const lambda_1 =
|
192658
|
+
const lambda_1 = __nested_webpack_require_886099__(6721);
|
192686
192659
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
192687
192660
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
192688
192661
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
192689
|
-
const nodejs_lambda_1 =
|
192662
|
+
const nodejs_lambda_1 = __nested_webpack_require_886099__(7049);
|
192690
192663
|
Object.defineProperty(exports, "NodejsLambda", ({ enumerable: true, get: function () { return nodejs_lambda_1.NodejsLambda; } }));
|
192691
|
-
const prerender_1 =
|
192664
|
+
const prerender_1 = __nested_webpack_require_886099__(2850);
|
192692
192665
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
192693
|
-
const download_1 = __importStar(
|
192666
|
+
const download_1 = __importStar(__nested_webpack_require_886099__(1611));
|
192694
192667
|
exports.download = download_1.default;
|
192695
192668
|
Object.defineProperty(exports, "downloadFile", ({ enumerable: true, get: function () { return download_1.downloadFile; } }));
|
192696
192669
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
192697
|
-
const get_writable_directory_1 = __importDefault(
|
192670
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_886099__(3838));
|
192698
192671
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
192699
|
-
const glob_1 = __importDefault(
|
192672
|
+
const glob_1 = __importDefault(__nested_webpack_require_886099__(4240));
|
192700
192673
|
exports.glob = glob_1.default;
|
192701
|
-
const rename_1 = __importDefault(
|
192674
|
+
const rename_1 = __importDefault(__nested_webpack_require_886099__(6718));
|
192702
192675
|
exports.rename = rename_1.default;
|
192703
|
-
const run_user_scripts_1 =
|
192676
|
+
const run_user_scripts_1 = __nested_webpack_require_886099__(1442);
|
192704
192677
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
192705
192678
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
192706
192679
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -192719,37 +192692,37 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
192719
192692
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
192720
192693
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
192721
192694
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
192722
|
-
const node_version_1 =
|
192695
|
+
const node_version_1 = __nested_webpack_require_886099__(7903);
|
192723
192696
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
192724
192697
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
192725
|
-
const stream_to_buffer_1 = __importDefault(
|
192698
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_886099__(2560));
|
192726
192699
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
192727
|
-
const debug_1 = __importDefault(
|
192700
|
+
const debug_1 = __importDefault(__nested_webpack_require_886099__(1868));
|
192728
192701
|
exports.debug = debug_1.default;
|
192729
|
-
const get_ignore_filter_1 = __importDefault(
|
192702
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_886099__(1148));
|
192730
192703
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
192731
|
-
const get_platform_env_1 =
|
192704
|
+
const get_platform_env_1 = __nested_webpack_require_886099__(4678);
|
192732
192705
|
Object.defineProperty(exports, "getPlatformEnv", ({ enumerable: true, get: function () { return get_platform_env_1.getPlatformEnv; } }));
|
192733
|
-
const get_prefixed_env_vars_1 =
|
192706
|
+
const get_prefixed_env_vars_1 = __nested_webpack_require_886099__(6838);
|
192734
192707
|
Object.defineProperty(exports, "getPrefixedEnvVars", ({ enumerable: true, get: function () { return get_prefixed_env_vars_1.getPrefixedEnvVars; } }));
|
192735
|
-
const clone_env_1 =
|
192708
|
+
const clone_env_1 = __nested_webpack_require_886099__(6548);
|
192736
192709
|
Object.defineProperty(exports, "cloneEnv", ({ enumerable: true, get: function () { return clone_env_1.cloneEnv; } }));
|
192737
|
-
var edge_function_1 =
|
192710
|
+
var edge_function_1 = __nested_webpack_require_886099__(8038);
|
192738
192711
|
Object.defineProperty(exports, "EdgeFunction", ({ enumerable: true, get: function () { return edge_function_1.EdgeFunction; } }));
|
192739
|
-
var read_config_file_1 =
|
192712
|
+
var read_config_file_1 = __nested_webpack_require_886099__(7792);
|
192740
192713
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
192741
|
-
var normalize_path_1 =
|
192714
|
+
var normalize_path_1 = __nested_webpack_require_886099__(6261);
|
192742
192715
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
192743
|
-
__exportStar(
|
192744
|
-
__exportStar(
|
192745
|
-
__exportStar(
|
192746
|
-
__exportStar(
|
192716
|
+
__exportStar(__nested_webpack_require_886099__(2564), exports);
|
192717
|
+
__exportStar(__nested_webpack_require_886099__(2416), exports);
|
192718
|
+
__exportStar(__nested_webpack_require_886099__(5748), exports);
|
192719
|
+
__exportStar(__nested_webpack_require_886099__(3983), exports);
|
192747
192720
|
|
192748
192721
|
|
192749
192722
|
/***/ }),
|
192750
192723
|
|
192751
192724
|
/***/ 6721:
|
192752
|
-
/***/ (function(__unused_webpack_module, exports,
|
192725
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_894917__) {
|
192753
192726
|
|
192754
192727
|
"use strict";
|
192755
192728
|
|
@@ -192758,13 +192731,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
192758
192731
|
};
|
192759
192732
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192760
192733
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = void 0;
|
192761
|
-
const assert_1 = __importDefault(
|
192762
|
-
const async_sema_1 = __importDefault(
|
192763
|
-
const yazl_1 =
|
192764
|
-
const minimatch_1 = __importDefault(
|
192765
|
-
const fs_extra_1 =
|
192766
|
-
const download_1 =
|
192767
|
-
const stream_to_buffer_1 = __importDefault(
|
192734
|
+
const assert_1 = __importDefault(__nested_webpack_require_894917__(2357));
|
192735
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_894917__(5758));
|
192736
|
+
const yazl_1 = __nested_webpack_require_894917__(1223);
|
192737
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_894917__(9566));
|
192738
|
+
const fs_extra_1 = __nested_webpack_require_894917__(5392);
|
192739
|
+
const download_1 = __nested_webpack_require_894917__(1611);
|
192740
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_894917__(2560));
|
192768
192741
|
class Lambda {
|
192769
192742
|
constructor(opts) {
|
192770
192743
|
const { handler, runtime, maxDuration, memory, environment = {}, allowQuery, regions, supportsMultiPayloads, supportsWrapper, experimentalResponseStreaming, operationType, } = opts;
|
@@ -192892,13 +192865,13 @@ exports.getLambdaOptionsFromFunction = getLambdaOptionsFromFunction;
|
|
192892
192865
|
/***/ }),
|
192893
192866
|
|
192894
192867
|
/***/ 7049:
|
192895
|
-
/***/ ((__unused_webpack_module, exports,
|
192868
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_900766__) => {
|
192896
192869
|
|
192897
192870
|
"use strict";
|
192898
192871
|
|
192899
192872
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
192900
192873
|
exports.NodejsLambda = void 0;
|
192901
|
-
const lambda_1 =
|
192874
|
+
const lambda_1 = __nested_webpack_require_900766__(6721);
|
192902
192875
|
class NodejsLambda extends lambda_1.Lambda {
|
192903
192876
|
constructor({ shouldAddHelpers, shouldAddSourcemapSupport, awsLambdaHandler, ...opts }) {
|
192904
192877
|
super(opts);
|
@@ -193053,13 +193026,13 @@ exports.buildsSchema = {
|
|
193053
193026
|
/***/ }),
|
193054
193027
|
|
193055
193028
|
/***/ 2564:
|
193056
|
-
/***/ ((__unused_webpack_module, exports,
|
193029
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_906098__) => {
|
193057
193030
|
|
193058
193031
|
"use strict";
|
193059
193032
|
|
193060
193033
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
193061
193034
|
exports.shouldServe = void 0;
|
193062
|
-
const path_1 =
|
193035
|
+
const path_1 = __nested_webpack_require_906098__(5622);
|
193063
193036
|
const shouldServe = ({ entrypoint, files, requestPath, }) => {
|
193064
193037
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
193065
193038
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -193304,7 +193277,7 @@ module.exports = __webpack_require__(78761);
|
|
193304
193277
|
/******/ var __webpack_module_cache__ = {};
|
193305
193278
|
/******/
|
193306
193279
|
/******/ // The require function
|
193307
|
-
/******/ function
|
193280
|
+
/******/ function __nested_webpack_require_1283463__(moduleId) {
|
193308
193281
|
/******/ // Check if module is in cache
|
193309
193282
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
193310
193283
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -193319,7 +193292,7 @@ module.exports = __webpack_require__(78761);
|
|
193319
193292
|
/******/ // Execute the module function
|
193320
193293
|
/******/ var threw = true;
|
193321
193294
|
/******/ try {
|
193322
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
193295
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1283463__);
|
193323
193296
|
/******/ threw = false;
|
193324
193297
|
/******/ } finally {
|
193325
193298
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -193332,11 +193305,11 @@ module.exports = __webpack_require__(78761);
|
|
193332
193305
|
/************************************************************************/
|
193333
193306
|
/******/ /* webpack/runtime/compat */
|
193334
193307
|
/******/
|
193335
|
-
/******/
|
193308
|
+
/******/ __nested_webpack_require_1283463__.ab = __dirname + "/";/************************************************************************/
|
193336
193309
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
193337
193310
|
/******/ // startup
|
193338
193311
|
/******/ // Load entry module and return exports
|
193339
|
-
/******/ return
|
193312
|
+
/******/ return __nested_webpack_require_1283463__(2855);
|
193340
193313
|
/******/ })()
|
193341
193314
|
;
|
193342
193315
|
|
@@ -256618,7 +256591,7 @@ module.exports = JSON.parse("{\"application/1d-interleaved-parityfec\":{\"source
|
|
256618
256591
|
/***/ ((module) => {
|
256619
256592
|
|
256620
256593
|
"use strict";
|
256621
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.
|
256594
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.2\",\"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.3\",\"@vercel/go\":\"2.2.22\",\"@vercel/hydrogen\":\"0.0.36\",\"@vercel/next\":\"3.3.6\",\"@vercel/node\":\"2.8.3\",\"@vercel/python\":\"3.1.32\",\"@vercel/redwood\":\"1.0.42\",\"@vercel/remix\":\"1.1.4\",\"@vercel/ruby\":\"1.3.48\",\"@vercel/static-build\":\"1.0.45\",\"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.24\",\"@vercel/error-utils\":\"1.0.3\",\"@vercel/frameworks\":\"1.1.16\",\"@vercel/fs-detectors\":\"3.5.7\",\"@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\"]}}");
|
256622
256595
|
|
256623
256596
|
/***/ }),
|
256624
256597
|
|
@@ -256626,7 +256599,7 @@ module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"28.10.1\",\"pref
|
|
256626
256599
|
/***/ ((module) => {
|
256627
256600
|
|
256628
256601
|
"use strict";
|
256629
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.
|
256602
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"12.2.24\",\"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.3\",\"@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\"}}");
|
256630
256603
|
|
256631
256604
|
/***/ }),
|
256632
256605
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "28.10.
|
3
|
+
"version": "28.10.2",
|
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.3",
|
45
|
+
"@vercel/go": "2.2.22",
|
46
|
+
"@vercel/hydrogen": "0.0.36",
|
47
|
+
"@vercel/next": "3.3.6",
|
48
|
+
"@vercel/node": "2.8.3",
|
49
|
+
"@vercel/python": "3.1.32",
|
50
|
+
"@vercel/redwood": "1.0.42",
|
51
|
+
"@vercel/remix": "1.1.4",
|
52
|
+
"@vercel/ruby": "1.3.48",
|
53
|
+
"@vercel/static-build": "1.0.45",
|
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.24",
|
97
97
|
"@vercel/error-utils": "1.0.3",
|
98
98
|
"@vercel/frameworks": "1.1.16",
|
99
|
-
"@vercel/fs-detectors": "3.5.
|
99
|
+
"@vercel/fs-detectors": "3.5.7",
|
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": "d6cccd70f28969eec48b484b0e74b0942de9b6cd"
|
197
197
|
}
|