vercel 41.0.0 → 41.0.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 +87 -172
- package/package.json +9 -9
package/dist/index.js
CHANGED
@@ -46157,7 +46157,7 @@ var require_package = __commonJS2({
|
|
46157
46157
|
"../client/package.json"(exports2, module2) {
|
46158
46158
|
module2.exports = {
|
46159
46159
|
name: "@vercel/client",
|
46160
|
-
version: "15.0.
|
46160
|
+
version: "15.0.1",
|
46161
46161
|
main: "dist/index.js",
|
46162
46162
|
typings: "dist/index.d.ts",
|
46163
46163
|
homepage: "https://vercel.com",
|
@@ -46198,7 +46198,7 @@ var require_package = __commonJS2({
|
|
46198
46198
|
dependencies: {
|
46199
46199
|
"@vercel/build-utils": "9.2.0",
|
46200
46200
|
"@vercel/error-utils": "2.0.3",
|
46201
|
-
"@vercel/routing-utils": "5.0.
|
46201
|
+
"@vercel/routing-utils": "5.0.3",
|
46202
46202
|
"async-retry": "1.2.3",
|
46203
46203
|
"async-sema": "3.0.0",
|
46204
46204
|
"fs-extra": "8.0.1",
|
@@ -47160,7 +47160,7 @@ var require_utils8 = __commonJS2({
|
|
47160
47160
|
var import_url23 = require("url");
|
47161
47161
|
var import_ignore = __toESM4(require_ignore());
|
47162
47162
|
var import_pkg5 = require_pkg();
|
47163
|
-
var
|
47163
|
+
var import_build_utils18 = require("@vercel/build-utils");
|
47164
47164
|
var import_async_sema = require_lib9();
|
47165
47165
|
var import_fs_extra24 = require_lib8();
|
47166
47166
|
var import_readdir_recursive = __toESM4(require_readdir_recursive());
|
@@ -47321,7 +47321,7 @@ var require_utils8 = __commonJS2({
|
|
47321
47321
|
maybeRead((0, import_path41.join)(cwd2, ".nowignore"), "")
|
47322
47322
|
]);
|
47323
47323
|
if (vercelignore && nowignore) {
|
47324
|
-
throw new
|
47324
|
+
throw new import_build_utils18.NowBuildError({
|
47325
47325
|
code: "CONFLICTING_IGNORE_FILES",
|
47326
47326
|
message: "Cannot use both a `.vercelignore` and `.nowignore` file. Please delete the `.nowignore` file.",
|
47327
47327
|
link: "https://vercel.link/combining-old-and-new-config"
|
@@ -52339,7 +52339,7 @@ var require_create_deployment = __commonJS2({
|
|
52339
52339
|
var import_utils4 = require_utils8();
|
52340
52340
|
var import_errors4 = require_errors2();
|
52341
52341
|
var import_error_utils37 = require_dist2();
|
52342
|
-
var
|
52342
|
+
var import_build_utils18 = require("@vercel/build-utils");
|
52343
52343
|
var import_tar_fs2 = __toESM4(require_tar_fs());
|
52344
52344
|
var import_zlib = require("zlib");
|
52345
52345
|
function buildCreateDeployment() {
|
@@ -52404,7 +52404,7 @@ var require_create_deployment = __commonJS2({
|
|
52404
52404
|
const tarStream = import_tar_fs2.default.pack(workPath, {
|
52405
52405
|
entries: fileList.map((file) => (0, import_path41.relative)(workPath, file))
|
52406
52406
|
}).pipe((0, import_zlib.createGzip)());
|
52407
|
-
const chunkedTarBuffers = await (0,
|
52407
|
+
const chunkedTarBuffers = await (0, import_build_utils18.streamToBufferChunks)(tarStream);
|
52408
52408
|
debug2(`Packed tarball into ${chunkedTarBuffers.length} chunks`);
|
52409
52409
|
files = new Map(
|
52410
52410
|
chunkedTarBuffers.map((chunk, index) => [
|
@@ -83951,106 +83951,11 @@ var require_is_stream = __commonJS2({
|
|
83951
83951
|
}
|
83952
83952
|
});
|
83953
83953
|
|
83954
|
-
// ../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js
|
83955
|
-
var require_end_of_stream2 = __commonJS2({
|
83956
|
-
"../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js"(exports2, module2) {
|
83957
|
-
var once2 = require_once();
|
83958
|
-
var noop = function() {
|
83959
|
-
};
|
83960
|
-
var isRequest = function(stream) {
|
83961
|
-
return stream.setHeader && typeof stream.abort === "function";
|
83962
|
-
};
|
83963
|
-
var isChildProcess = function(stream) {
|
83964
|
-
return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3;
|
83965
|
-
};
|
83966
|
-
var eos = function(stream, opts, callback) {
|
83967
|
-
if (typeof opts === "function")
|
83968
|
-
return eos(stream, null, opts);
|
83969
|
-
if (!opts)
|
83970
|
-
opts = {};
|
83971
|
-
callback = once2(callback || noop);
|
83972
|
-
var ws = stream._writableState;
|
83973
|
-
var rs = stream._readableState;
|
83974
|
-
var readable = opts.readable || opts.readable !== false && stream.readable;
|
83975
|
-
var writable = opts.writable || opts.writable !== false && stream.writable;
|
83976
|
-
var cancelled = false;
|
83977
|
-
var onlegacyfinish = function() {
|
83978
|
-
if (!stream.writable)
|
83979
|
-
onfinish();
|
83980
|
-
};
|
83981
|
-
var onfinish = function() {
|
83982
|
-
writable = false;
|
83983
|
-
if (!readable)
|
83984
|
-
callback.call(stream);
|
83985
|
-
};
|
83986
|
-
var onend = function() {
|
83987
|
-
readable = false;
|
83988
|
-
if (!writable)
|
83989
|
-
callback.call(stream);
|
83990
|
-
};
|
83991
|
-
var onexit = function(exitCode2) {
|
83992
|
-
callback.call(stream, exitCode2 ? new Error("exited with error code: " + exitCode2) : null);
|
83993
|
-
};
|
83994
|
-
var onerror = function(err) {
|
83995
|
-
callback.call(stream, err);
|
83996
|
-
};
|
83997
|
-
var onclose = function() {
|
83998
|
-
process.nextTick(onclosenexttick);
|
83999
|
-
};
|
84000
|
-
var onclosenexttick = function() {
|
84001
|
-
if (cancelled)
|
84002
|
-
return;
|
84003
|
-
if (readable && !(rs && (rs.ended && !rs.destroyed)))
|
84004
|
-
return callback.call(stream, new Error("premature close"));
|
84005
|
-
if (writable && !(ws && (ws.ended && !ws.destroyed)))
|
84006
|
-
return callback.call(stream, new Error("premature close"));
|
84007
|
-
};
|
84008
|
-
var onrequest = function() {
|
84009
|
-
stream.req.on("finish", onfinish);
|
84010
|
-
};
|
84011
|
-
if (isRequest(stream)) {
|
84012
|
-
stream.on("complete", onfinish);
|
84013
|
-
stream.on("abort", onclose);
|
84014
|
-
if (stream.req)
|
84015
|
-
onrequest();
|
84016
|
-
else
|
84017
|
-
stream.on("request", onrequest);
|
84018
|
-
} else if (writable && !ws) {
|
84019
|
-
stream.on("end", onlegacyfinish);
|
84020
|
-
stream.on("close", onlegacyfinish);
|
84021
|
-
}
|
84022
|
-
if (isChildProcess(stream))
|
84023
|
-
stream.on("exit", onexit);
|
84024
|
-
stream.on("end", onend);
|
84025
|
-
stream.on("finish", onfinish);
|
84026
|
-
if (opts.error !== false)
|
84027
|
-
stream.on("error", onerror);
|
84028
|
-
stream.on("close", onclose);
|
84029
|
-
return function() {
|
84030
|
-
cancelled = true;
|
84031
|
-
stream.removeListener("complete", onfinish);
|
84032
|
-
stream.removeListener("abort", onclose);
|
84033
|
-
stream.removeListener("request", onrequest);
|
84034
|
-
if (stream.req)
|
84035
|
-
stream.req.removeListener("finish", onfinish);
|
84036
|
-
stream.removeListener("end", onlegacyfinish);
|
84037
|
-
stream.removeListener("close", onlegacyfinish);
|
84038
|
-
stream.removeListener("finish", onfinish);
|
84039
|
-
stream.removeListener("exit", onexit);
|
84040
|
-
stream.removeListener("end", onend);
|
84041
|
-
stream.removeListener("error", onerror);
|
84042
|
-
stream.removeListener("close", onclose);
|
84043
|
-
};
|
84044
|
-
};
|
84045
|
-
module2.exports = eos;
|
84046
|
-
}
|
84047
|
-
});
|
84048
|
-
|
84049
83954
|
// ../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js
|
84050
83955
|
var require_pump2 = __commonJS2({
|
84051
83956
|
"../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js"(exports2, module2) {
|
84052
83957
|
var once2 = require_once();
|
84053
|
-
var eos =
|
83958
|
+
var eos = require_end_of_stream();
|
84054
83959
|
var fs15;
|
84055
83960
|
try {
|
84056
83961
|
fs15 = require("fs");
|
@@ -98212,12 +98117,11 @@ var require_frameworks = __commonJS2({
|
|
98212
98117
|
{
|
98213
98118
|
name: "React Router",
|
98214
98119
|
slug: "react-router",
|
98215
|
-
|
98216
|
-
//demo: 'https://react-router-v7-template.vercel.app',
|
98120
|
+
demo: "https://react-router-v7-template.vercel.app",
|
98217
98121
|
logo: "https://api-frameworks.vercel.sh/framework-logos/react-router.svg",
|
98218
98122
|
darkModeLogo: "https://api-frameworks.vercel.sh/framework-logos/react-router-dark.svg",
|
98219
98123
|
tagline: "Declarative routing for React",
|
98220
|
-
description: "A user
|
98124
|
+
description: "A user-obsessed, standards-focused, multi-strategy router you can deploy anywhere.",
|
98221
98125
|
website: "https://reactrouter.com",
|
98222
98126
|
sort: 7,
|
98223
98127
|
supersedes: ["hydrogen", "vite"],
|
@@ -110400,6 +110304,66 @@ var require_dist22 = __commonJS2({
|
|
110400
110304
|
}
|
110401
110305
|
});
|
110402
110306
|
|
110307
|
+
// ../../internals/path-to-regexp/dist/index.js
|
110308
|
+
var require_dist23 = __commonJS2({
|
110309
|
+
"../../internals/path-to-regexp/dist/index.js"(exports2) {
|
110310
|
+
"use strict";
|
110311
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
110312
|
+
exports2.compile = exports2.pathToRegexp = void 0;
|
110313
|
+
var path_to_regexp_1 = require_dist21();
|
110314
|
+
Object.defineProperty(exports2, "compile", { enumerable: true, get: function() {
|
110315
|
+
return path_to_regexp_1.compile;
|
110316
|
+
} });
|
110317
|
+
var path_to_regexp_updated_1 = require_dist22();
|
110318
|
+
function cloneKeys(keys) {
|
110319
|
+
if (typeof keys === "undefined") {
|
110320
|
+
return void 0;
|
110321
|
+
}
|
110322
|
+
return keys.slice(0);
|
110323
|
+
}
|
110324
|
+
function compareKeys(left, right) {
|
110325
|
+
const leftSerialized = typeof left === "undefined" ? "undefined" : left.toString();
|
110326
|
+
const rightSerialized = typeof right === "undefined" ? "undefined" : right.toString();
|
110327
|
+
return leftSerialized === rightSerialized;
|
110328
|
+
}
|
110329
|
+
function pathToRegexp(callerId, path11, keys, options) {
|
110330
|
+
const newKeys = cloneKeys(keys);
|
110331
|
+
const currentRegExp = (0, path_to_regexp_1.pathToRegexp)(path11, keys, options);
|
110332
|
+
try {
|
110333
|
+
const currentKeys = keys;
|
110334
|
+
const newRegExp = (0, path_to_regexp_updated_1.pathToRegexp)(path11, newKeys, options);
|
110335
|
+
const isDiffRegExp = currentRegExp.toString() !== newRegExp.toString();
|
110336
|
+
if (process.env.FORCE_PATH_TO_REGEXP_LOG || isDiffRegExp) {
|
110337
|
+
const message2 = JSON.stringify({
|
110338
|
+
path: path11,
|
110339
|
+
currentRegExp: currentRegExp.toString(),
|
110340
|
+
newRegExp: newRegExp.toString()
|
110341
|
+
});
|
110342
|
+
console.error(`[vc] PATH TO REGEXP PATH DIFF @ #${callerId}: ${message2}`);
|
110343
|
+
}
|
110344
|
+
const isDiffKeys = !compareKeys(keys, newKeys);
|
110345
|
+
if (process.env.FORCE_PATH_TO_REGEXP_LOG || isDiffKeys) {
|
110346
|
+
const message2 = JSON.stringify({
|
110347
|
+
isDiffKeys,
|
110348
|
+
currentKeys,
|
110349
|
+
newKeys
|
110350
|
+
});
|
110351
|
+
console.error(`[vc] PATH TO REGEXP KEYS DIFF @ #${callerId}: ${message2}`);
|
110352
|
+
}
|
110353
|
+
} catch (err) {
|
110354
|
+
const error3 = err;
|
110355
|
+
const message2 = JSON.stringify({
|
110356
|
+
path: path11,
|
110357
|
+
error: error3.message
|
110358
|
+
});
|
110359
|
+
console.error(`[vc] PATH TO REGEXP ERROR @ #${callerId}: ${message2}`);
|
110360
|
+
}
|
110361
|
+
return currentRegExp;
|
110362
|
+
}
|
110363
|
+
exports2.pathToRegexp = pathToRegexp;
|
110364
|
+
}
|
110365
|
+
});
|
110366
|
+
|
110403
110367
|
// ../routing-utils/dist/superstatic.js
|
110404
110368
|
var require_superstatic = __commonJS2({
|
110405
110369
|
"../routing-utils/dist/superstatic.js"(exports2, module2) {
|
@@ -110434,38 +110398,7 @@ var require_superstatic = __commonJS2({
|
|
110434
110398
|
});
|
110435
110399
|
module2.exports = __toCommonJS4(superstatic_exports);
|
110436
110400
|
var import_url23 = require("url");
|
110437
|
-
var import_path_to_regexp =
|
110438
|
-
var import_path_to_regexp_updated = require_dist22();
|
110439
|
-
function pathToRegexp(callerId, path11, keys, options) {
|
110440
|
-
const currentRegExp = (0, import_path_to_regexp.pathToRegexp)(path11, keys, options);
|
110441
|
-
try {
|
110442
|
-
const currentKeys = keys;
|
110443
|
-
const newKeys = [];
|
110444
|
-
const newRegExp = (0, import_path_to_regexp_updated.pathToRegexp)(path11, newKeys, options);
|
110445
|
-
const isDiffRegExp = currentRegExp.toString() !== newRegExp.toString();
|
110446
|
-
if (process.env.FORCE_PATH_TO_REGEXP_LOG || isDiffRegExp) {
|
110447
|
-
const message2 = JSON.stringify({
|
110448
|
-
path: path11,
|
110449
|
-
currentRegExp: currentRegExp.toString(),
|
110450
|
-
newRegExp: newRegExp.toString()
|
110451
|
-
});
|
110452
|
-
console.error(`[vc] PATH TO REGEXP PATH DIFF @ #${callerId}: ${message2}`);
|
110453
|
-
}
|
110454
|
-
const isDiffKeys = keys?.toString() !== newKeys?.toString();
|
110455
|
-
if (process.env.FORCE_PATH_TO_REGEXP_LOG || isDiffKeys) {
|
110456
|
-
const message2 = JSON.stringify({
|
110457
|
-
isDiffKeys,
|
110458
|
-
currentKeys,
|
110459
|
-
newKeys
|
110460
|
-
});
|
110461
|
-
console.error(`[vc] PATH TO REGEXP KEYS DIFF @ #${callerId}: ${message2}`);
|
110462
|
-
}
|
110463
|
-
} catch (err) {
|
110464
|
-
const error3 = err;
|
110465
|
-
console.error(`[vc] PATH TO REGEXP ERROR @ #${callerId}: ${error3.message}`);
|
110466
|
-
}
|
110467
|
-
return currentRegExp;
|
110468
|
-
}
|
110401
|
+
var import_path_to_regexp = require_dist23();
|
110469
110402
|
var UN_NAMED_SEGMENT = "__UN_NAMED_SEGMENT__";
|
110470
110403
|
function getCleanUrls2(filePaths) {
|
110471
110404
|
const htmlFiles = filePaths.map(toRoute).filter((f) => f.endsWith(".html")).map((f) => ({
|
@@ -110621,7 +110554,7 @@ var require_superstatic = __commonJS2({
|
|
110621
110554
|
}
|
110622
110555
|
function sourceToRegex(source) {
|
110623
110556
|
const keys = [];
|
110624
|
-
const r = pathToRegexp("632", source, keys, {
|
110557
|
+
const r = (0, import_path_to_regexp.pathToRegexp)("632", source, keys, {
|
110625
110558
|
strict: true,
|
110626
110559
|
sensitive: true,
|
110627
110560
|
delimiter: "/"
|
@@ -110694,9 +110627,9 @@ var require_superstatic = __commonJS2({
|
|
110694
110627
|
const hashKeys = [];
|
110695
110628
|
const hostnameKeys = [];
|
110696
110629
|
try {
|
110697
|
-
pathToRegexp("528", pathname, pathnameKeys);
|
110698
|
-
pathToRegexp("834", hash || "", hashKeys);
|
110699
|
-
pathToRegexp("712", hostname2 || "", hostnameKeys);
|
110630
|
+
(0, import_path_to_regexp.pathToRegexp)("528", pathname, pathnameKeys);
|
110631
|
+
(0, import_path_to_regexp.pathToRegexp)("834", hash || "", hashKeys);
|
110632
|
+
(0, import_path_to_regexp.pathToRegexp)("712", hostname2 || "", hostnameKeys);
|
110700
110633
|
} catch (_) {
|
110701
110634
|
}
|
110702
110635
|
destParams = new Set(
|
@@ -110804,7 +110737,7 @@ var require_append = __commonJS2({
|
|
110804
110737
|
appendRoutesToPhase: () => appendRoutesToPhase4
|
110805
110738
|
});
|
110806
110739
|
module2.exports = __toCommonJS4(append_exports);
|
110807
|
-
var import_index =
|
110740
|
+
var import_index = require_dist24();
|
110808
110741
|
function appendRoutesToPhase4({
|
110809
110742
|
routes: prevRoutes,
|
110810
110743
|
newRoutes,
|
@@ -110872,7 +110805,7 @@ var require_merge3 = __commonJS2({
|
|
110872
110805
|
mergeRoutes: () => mergeRoutes3
|
110873
110806
|
});
|
110874
110807
|
module2.exports = __toCommonJS4(merge_exports);
|
110875
|
-
var import_index =
|
110808
|
+
var import_index = require_dist24();
|
110876
110809
|
function getBuilderRoutesMapping(builds) {
|
110877
110810
|
const builderRoutes = {};
|
110878
110811
|
for (const { entrypoint, routes: routes2, use } of builds) {
|
@@ -111314,7 +111247,7 @@ var require_types6 = __commonJS2({
|
|
111314
111247
|
});
|
111315
111248
|
|
111316
111249
|
// ../routing-utils/dist/index.js
|
111317
|
-
var
|
111250
|
+
var require_dist24 = __commonJS2({
|
111318
111251
|
"../routing-utils/dist/index.js"(exports2, module2) {
|
111319
111252
|
"use strict";
|
111320
111253
|
var __defProp4 = Object.defineProperty;
|
@@ -132394,7 +132327,7 @@ var init_validate_config = __esm({
|
|
132394
132327
|
"src/util/validate-config.ts"() {
|
132395
132328
|
"use strict";
|
132396
132329
|
import_ajv2 = __toESM3(require_ajv());
|
132397
|
-
import_routing_utils = __toESM3(
|
132330
|
+
import_routing_utils = __toESM3(require_dist24());
|
132398
132331
|
import_build_utils12 = require("@vercel/build-utils");
|
132399
132332
|
import_client5 = __toESM3(require_dist7());
|
132400
132333
|
imagesSchema = {
|
@@ -134294,7 +134227,7 @@ var init_build2 = __esm({
|
|
134294
134227
|
import_client6 = __toESM3(require_dist7());
|
134295
134228
|
import_frameworks5 = __toESM3(require_frameworks());
|
134296
134229
|
import_fs_detectors4 = __toESM3(require_dist20());
|
134297
|
-
import_routing_utils2 = __toESM3(
|
134230
|
+
import_routing_utils2 = __toESM3(require_dist24());
|
134298
134231
|
init_output_manager();
|
134299
134232
|
init_corepack();
|
134300
134233
|
init_import_builders();
|
@@ -155893,7 +155826,7 @@ var require_src3 = __commonJS2({
|
|
155893
155826
|
});
|
155894
155827
|
|
155895
155828
|
// ../../node_modules/.pnpm/@tootallnate+once@1.1.2/node_modules/@tootallnate/once/dist/index.js
|
155896
|
-
var
|
155829
|
+
var require_dist25 = __commonJS2({
|
155897
155830
|
"../../node_modules/.pnpm/@tootallnate+once@1.1.2/node_modules/@tootallnate/once/dist/index.js"(exports2, module2) {
|
155898
155831
|
"use strict";
|
155899
155832
|
function noop() {
|
@@ -156070,7 +156003,7 @@ var init_path_helpers = __esm({
|
|
156070
156003
|
});
|
156071
156004
|
|
156072
156005
|
// ../../node_modules/.pnpm/pcre-to-regexp@1.0.0/node_modules/pcre-to-regexp/dist/index.js
|
156073
|
-
var
|
156006
|
+
var require_dist26 = __commonJS2({
|
156074
156007
|
"../../node_modules/.pnpm/pcre-to-regexp@1.0.0/node_modules/pcre-to-regexp/dist/index.js"(exports2, module2) {
|
156075
156008
|
"use strict";
|
156076
156009
|
var characterClasses = {
|
@@ -156405,9 +156338,9 @@ var init_router = __esm({
|
|
156405
156338
|
"src/util/dev/router.ts"() {
|
156406
156339
|
"use strict";
|
156407
156340
|
import_url16 = __toESM3(require("url"));
|
156408
|
-
import_pcre_to_regexp = __toESM3(
|
156341
|
+
import_pcre_to_regexp = __toESM3(require_dist26());
|
156409
156342
|
init_is_url();
|
156410
|
-
import_routing_utils3 = __toESM3(
|
156343
|
+
import_routing_utils3 = __toESM3(require_dist24());
|
156411
156344
|
init_parse_query_string();
|
156412
156345
|
}
|
156413
156346
|
});
|
@@ -156904,7 +156837,7 @@ var init_builder = __esm({
|
|
156904
156837
|
init_tree_kill();
|
156905
156838
|
init_path_helpers();
|
156906
156839
|
init_errors_ts();
|
156907
|
-
import_routing_utils4 = __toESM3(
|
156840
|
+
import_routing_utils4 = __toESM3(require_dist24());
|
156908
156841
|
init_get_update_command();
|
156909
156842
|
init_pkg_name();
|
156910
156843
|
init_import_builders();
|
@@ -157464,7 +157397,7 @@ var init_server = __esm({
|
|
157464
157397
|
import_chokidar = require("chokidar");
|
157465
157398
|
import_dotenv2 = __toESM3(require_main3());
|
157466
157399
|
import_path35 = __toESM3(require("path"));
|
157467
|
-
import_once = __toESM3(
|
157400
|
+
import_once = __toESM3(require_dist25());
|
157468
157401
|
import_directory = __toESM3(require_directory());
|
157469
157402
|
import_get_port = __toESM3(require_get_port());
|
157470
157403
|
import_is_port_reachable = __toESM3(require_is_port_reachable());
|
@@ -157472,7 +157405,7 @@ var init_server = __esm({
|
|
157472
157405
|
import_npm_package_arg2 = __toESM3(require_npa());
|
157473
157406
|
import_json_parse_better_errors3 = __toESM3(require_json_parse_better_errors());
|
157474
157407
|
import_client12 = __toESM3(require_dist7());
|
157475
|
-
import_routing_utils5 = __toESM3(
|
157408
|
+
import_routing_utils5 = __toESM3(require_dist24());
|
157476
157409
|
import_build_utils17 = require("@vercel/build-utils");
|
157477
157410
|
import_fs_detectors6 = __toESM3(require_dist20());
|
157478
157411
|
import_frameworks6 = __toESM3(require_frameworks());
|
@@ -167948,23 +167881,6 @@ async function list4(client2, argv) {
|
|
167948
167881
|
});
|
167949
167882
|
output_manager_default.stopSpinner();
|
167950
167883
|
const elapsed2 = (0, import_ms21.default)(Date.now() - start);
|
167951
|
-
if (deprecated) {
|
167952
|
-
const upcomingDiscontinuedVersionsList = [];
|
167953
|
-
for (const nodeVersion of import_build_utils18.NODE_VERSIONS) {
|
167954
|
-
const upcomingDiscontinueDate = nodeVersion.state === "deprecated";
|
167955
|
-
if (upcomingDiscontinueDate) {
|
167956
|
-
upcomingDiscontinuedVersionsList.push(nodeVersion.range);
|
167957
|
-
}
|
167958
|
-
}
|
167959
|
-
output_manager_default.warn(
|
167960
|
-
`The following Node.js versions are deprecated: ${upcomingDiscontinuedVersionsList.join(
|
167961
|
-
", "
|
167962
|
-
)} and will be discontinued soon. Please upgrade your projects immediately.`
|
167963
|
-
);
|
167964
|
-
output_manager_default.log(
|
167965
|
-
"For more information visit: https://vercel.com/docs/functions/serverless-functions/runtimes/node-js#node.js-version"
|
167966
|
-
);
|
167967
|
-
}
|
167968
167884
|
output_manager_default.log(
|
167969
167885
|
`${projectList.length > 0 ? "Projects" : "No projects"} found under ${import_chalk100.default.bold(contextName)} ${deprecated ? "that are using a deprecated Node.js version" : "\b"} ${import_chalk100.default.gray(`[${elapsed2}]`)}`
|
167970
167886
|
);
|
@@ -168006,7 +167922,7 @@ function getLatestProdUrl(project) {
|
|
168006
167922
|
return `https://${alias2}`;
|
168007
167923
|
return "--";
|
168008
167924
|
}
|
168009
|
-
var import_ms21, import_chalk100
|
167925
|
+
var import_ms21, import_chalk100;
|
168010
167926
|
var init_list8 = __esm({
|
168011
167927
|
"src/commands/project/list.ts"() {
|
168012
167928
|
"use strict";
|
@@ -168015,7 +167931,6 @@ var init_list8 = __esm({
|
|
168015
167931
|
init_table();
|
168016
167932
|
init_get_command_flags();
|
168017
167933
|
init_pkg_name();
|
168018
|
-
import_build_utils18 = require("@vercel/build-utils");
|
168019
167934
|
init_list7();
|
168020
167935
|
init_output_manager();
|
168021
167936
|
init_command21();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "41.0.
|
3
|
+
"version": "41.0.1",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -22,14 +22,14 @@
|
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
24
|
"@vercel/build-utils": "9.2.0",
|
25
|
-
"@vercel/fun": "1.1.
|
25
|
+
"@vercel/fun": "1.1.4",
|
26
26
|
"@vercel/go": "3.2.1",
|
27
27
|
"@vercel/hydrogen": "1.1.0",
|
28
|
-
"@vercel/next": "4.5.
|
29
|
-
"@vercel/node": "5.1.
|
28
|
+
"@vercel/next": "4.5.1",
|
29
|
+
"@vercel/node": "5.1.1",
|
30
30
|
"@vercel/python": "4.7.1",
|
31
31
|
"@vercel/redwood": "2.2.0",
|
32
|
-
"@vercel/remix-builder": "5.2.
|
32
|
+
"@vercel/remix-builder": "5.2.2",
|
33
33
|
"@vercel/ruby": "2.2.0",
|
34
34
|
"@vercel/static-build": "2.6.0",
|
35
35
|
"chokidar": "4.0.0"
|
@@ -80,11 +80,11 @@
|
|
80
80
|
"@vercel-internals/constants": "1.0.4",
|
81
81
|
"@vercel-internals/get-package-json": "1.0.0",
|
82
82
|
"@vercel-internals/types": "3.0.6",
|
83
|
-
"@vercel/client": "15.0.
|
83
|
+
"@vercel/client": "15.0.1",
|
84
84
|
"@vercel/error-utils": "2.0.3",
|
85
|
-
"@vercel/frameworks": "3.6.
|
86
|
-
"@vercel/fs-detectors": "5.3.
|
87
|
-
"@vercel/routing-utils": "5.0.
|
85
|
+
"@vercel/frameworks": "3.6.1",
|
86
|
+
"@vercel/fs-detectors": "5.3.7",
|
87
|
+
"@vercel/routing-utils": "5.0.3",
|
88
88
|
"@vitest/expect": "2.1.3",
|
89
89
|
"ajv": "6.12.3",
|
90
90
|
"alpha-sort": "2.0.1",
|