@vercel/node 3.2.23 → 3.2.24
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 +652 -18
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -15449,9 +15449,9 @@ var require_cache = __commonJS({
|
|
15449
15449
|
}
|
15450
15450
|
});
|
15451
15451
|
|
15452
|
-
// ../../node_modules/.pnpm/ms@2.1.
|
15452
|
+
// ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
15453
15453
|
var require_ms = __commonJS({
|
15454
|
-
"../../node_modules/.pnpm/ms@2.1.
|
15454
|
+
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module2) {
|
15455
15455
|
var s = 1e3;
|
15456
15456
|
var m = s * 60;
|
15457
15457
|
var h = m * 60;
|
@@ -15565,9 +15565,9 @@ var require_ms = __commonJS({
|
|
15565
15565
|
}
|
15566
15566
|
});
|
15567
15567
|
|
15568
|
-
// ../../node_modules/.pnpm/debug@4.3.
|
15568
|
+
// ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js
|
15569
15569
|
var require_common = __commonJS({
|
15570
|
-
"../../node_modules/.pnpm/debug@4.3.
|
15570
|
+
"../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/common.js"(exports, module2) {
|
15571
15571
|
function setup(env) {
|
15572
15572
|
createDebug.debug = createDebug;
|
15573
15573
|
createDebug.default = createDebug;
|
@@ -15728,9 +15728,9 @@ var require_common = __commonJS({
|
|
15728
15728
|
}
|
15729
15729
|
});
|
15730
15730
|
|
15731
|
-
// ../../node_modules/.pnpm/debug@4.3.
|
15731
|
+
// ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js
|
15732
15732
|
var require_browser = __commonJS({
|
15733
|
-
"../../node_modules/.pnpm/debug@4.3.
|
15733
|
+
"../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/browser.js"(exports, module2) {
|
15734
15734
|
exports.formatArgs = formatArgs;
|
15735
15735
|
exports.save = save;
|
15736
15736
|
exports.load = load;
|
@@ -15830,10 +15830,11 @@ var require_browser = __commonJS({
|
|
15830
15830
|
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
15831
15831
|
return false;
|
15832
15832
|
}
|
15833
|
+
let m;
|
15833
15834
|
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
15834
15835
|
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
15835
15836
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
15836
|
-
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
15837
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
15837
15838
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
15838
15839
|
}
|
15839
15840
|
function formatArgs(args) {
|
@@ -16012,9 +16013,9 @@ var require_supports_color = __commonJS({
|
|
16012
16013
|
}
|
16013
16014
|
});
|
16014
16015
|
|
16015
|
-
// ../../node_modules/.pnpm/debug@4.3.
|
16016
|
+
// ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js
|
16016
16017
|
var require_node = __commonJS({
|
16017
|
-
"../../node_modules/.pnpm/debug@4.3.
|
16018
|
+
"../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/node.js"(exports, module2) {
|
16018
16019
|
var tty = require("tty");
|
16019
16020
|
var util = require("util");
|
16020
16021
|
exports.init = init;
|
@@ -16186,9 +16187,9 @@ var require_node = __commonJS({
|
|
16186
16187
|
}
|
16187
16188
|
});
|
16188
16189
|
|
16189
|
-
// ../../node_modules/.pnpm/debug@4.3.
|
16190
|
+
// ../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js
|
16190
16191
|
var require_src = __commonJS({
|
16191
|
-
"../../node_modules/.pnpm/debug@4.3.
|
16192
|
+
"../../node_modules/.pnpm/debug@4.3.7/node_modules/debug/src/index.js"(exports, module2) {
|
16192
16193
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
16193
16194
|
module2.exports = require_browser();
|
16194
16195
|
} else {
|
@@ -52949,6 +52950,639 @@ var require_package = __commonJS({
|
|
52949
52950
|
}
|
52950
52951
|
});
|
52951
52952
|
|
52953
|
+
// ../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js
|
52954
|
+
var require_ms2 = __commonJS({
|
52955
|
+
"../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"(exports, module2) {
|
52956
|
+
var s = 1e3;
|
52957
|
+
var m = s * 60;
|
52958
|
+
var h = m * 60;
|
52959
|
+
var d = h * 24;
|
52960
|
+
var w = d * 7;
|
52961
|
+
var y = d * 365.25;
|
52962
|
+
module2.exports = function(val, options) {
|
52963
|
+
options = options || {};
|
52964
|
+
var type = typeof val;
|
52965
|
+
if (type === "string" && val.length > 0) {
|
52966
|
+
return parse(val);
|
52967
|
+
} else if (type === "number" && isFinite(val)) {
|
52968
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
52969
|
+
}
|
52970
|
+
throw new Error(
|
52971
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
|
52972
|
+
);
|
52973
|
+
};
|
52974
|
+
function parse(str) {
|
52975
|
+
str = String(str);
|
52976
|
+
if (str.length > 100) {
|
52977
|
+
return;
|
52978
|
+
}
|
52979
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
52980
|
+
str
|
52981
|
+
);
|
52982
|
+
if (!match) {
|
52983
|
+
return;
|
52984
|
+
}
|
52985
|
+
var n = parseFloat(match[1]);
|
52986
|
+
var type = (match[2] || "ms").toLowerCase();
|
52987
|
+
switch (type) {
|
52988
|
+
case "years":
|
52989
|
+
case "year":
|
52990
|
+
case "yrs":
|
52991
|
+
case "yr":
|
52992
|
+
case "y":
|
52993
|
+
return n * y;
|
52994
|
+
case "weeks":
|
52995
|
+
case "week":
|
52996
|
+
case "w":
|
52997
|
+
return n * w;
|
52998
|
+
case "days":
|
52999
|
+
case "day":
|
53000
|
+
case "d":
|
53001
|
+
return n * d;
|
53002
|
+
case "hours":
|
53003
|
+
case "hour":
|
53004
|
+
case "hrs":
|
53005
|
+
case "hr":
|
53006
|
+
case "h":
|
53007
|
+
return n * h;
|
53008
|
+
case "minutes":
|
53009
|
+
case "minute":
|
53010
|
+
case "mins":
|
53011
|
+
case "min":
|
53012
|
+
case "m":
|
53013
|
+
return n * m;
|
53014
|
+
case "seconds":
|
53015
|
+
case "second":
|
53016
|
+
case "secs":
|
53017
|
+
case "sec":
|
53018
|
+
case "s":
|
53019
|
+
return n * s;
|
53020
|
+
case "milliseconds":
|
53021
|
+
case "millisecond":
|
53022
|
+
case "msecs":
|
53023
|
+
case "msec":
|
53024
|
+
case "ms":
|
53025
|
+
return n;
|
53026
|
+
default:
|
53027
|
+
return void 0;
|
53028
|
+
}
|
53029
|
+
}
|
53030
|
+
function fmtShort(ms) {
|
53031
|
+
var msAbs = Math.abs(ms);
|
53032
|
+
if (msAbs >= d) {
|
53033
|
+
return Math.round(ms / d) + "d";
|
53034
|
+
}
|
53035
|
+
if (msAbs >= h) {
|
53036
|
+
return Math.round(ms / h) + "h";
|
53037
|
+
}
|
53038
|
+
if (msAbs >= m) {
|
53039
|
+
return Math.round(ms / m) + "m";
|
53040
|
+
}
|
53041
|
+
if (msAbs >= s) {
|
53042
|
+
return Math.round(ms / s) + "s";
|
53043
|
+
}
|
53044
|
+
return ms + "ms";
|
53045
|
+
}
|
53046
|
+
function fmtLong(ms) {
|
53047
|
+
var msAbs = Math.abs(ms);
|
53048
|
+
if (msAbs >= d) {
|
53049
|
+
return plural(ms, msAbs, d, "day");
|
53050
|
+
}
|
53051
|
+
if (msAbs >= h) {
|
53052
|
+
return plural(ms, msAbs, h, "hour");
|
53053
|
+
}
|
53054
|
+
if (msAbs >= m) {
|
53055
|
+
return plural(ms, msAbs, m, "minute");
|
53056
|
+
}
|
53057
|
+
if (msAbs >= s) {
|
53058
|
+
return plural(ms, msAbs, s, "second");
|
53059
|
+
}
|
53060
|
+
return ms + " ms";
|
53061
|
+
}
|
53062
|
+
function plural(ms, msAbs, n, name) {
|
53063
|
+
var isPlural = msAbs >= n * 1.5;
|
53064
|
+
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
|
53065
|
+
}
|
53066
|
+
}
|
53067
|
+
});
|
53068
|
+
|
53069
|
+
// ../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js
|
53070
|
+
var require_common2 = __commonJS({
|
53071
|
+
"../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js"(exports, module2) {
|
53072
|
+
function setup(env) {
|
53073
|
+
createDebug.debug = createDebug;
|
53074
|
+
createDebug.default = createDebug;
|
53075
|
+
createDebug.coerce = coerce;
|
53076
|
+
createDebug.disable = disable;
|
53077
|
+
createDebug.enable = enable;
|
53078
|
+
createDebug.enabled = enabled;
|
53079
|
+
createDebug.humanize = require_ms2();
|
53080
|
+
createDebug.destroy = destroy;
|
53081
|
+
Object.keys(env).forEach((key) => {
|
53082
|
+
createDebug[key] = env[key];
|
53083
|
+
});
|
53084
|
+
createDebug.names = [];
|
53085
|
+
createDebug.skips = [];
|
53086
|
+
createDebug.formatters = {};
|
53087
|
+
function selectColor(namespace) {
|
53088
|
+
let hash = 0;
|
53089
|
+
for (let i = 0; i < namespace.length; i++) {
|
53090
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
53091
|
+
hash |= 0;
|
53092
|
+
}
|
53093
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
53094
|
+
}
|
53095
|
+
createDebug.selectColor = selectColor;
|
53096
|
+
function createDebug(namespace) {
|
53097
|
+
let prevTime;
|
53098
|
+
let enableOverride = null;
|
53099
|
+
let namespacesCache;
|
53100
|
+
let enabledCache;
|
53101
|
+
function debug4(...args) {
|
53102
|
+
if (!debug4.enabled) {
|
53103
|
+
return;
|
53104
|
+
}
|
53105
|
+
const self2 = debug4;
|
53106
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
53107
|
+
const ms = curr - (prevTime || curr);
|
53108
|
+
self2.diff = ms;
|
53109
|
+
self2.prev = prevTime;
|
53110
|
+
self2.curr = curr;
|
53111
|
+
prevTime = curr;
|
53112
|
+
args[0] = createDebug.coerce(args[0]);
|
53113
|
+
if (typeof args[0] !== "string") {
|
53114
|
+
args.unshift("%O");
|
53115
|
+
}
|
53116
|
+
let index = 0;
|
53117
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
53118
|
+
if (match === "%%") {
|
53119
|
+
return "%";
|
53120
|
+
}
|
53121
|
+
index++;
|
53122
|
+
const formatter = createDebug.formatters[format];
|
53123
|
+
if (typeof formatter === "function") {
|
53124
|
+
const val = args[index];
|
53125
|
+
match = formatter.call(self2, val);
|
53126
|
+
args.splice(index, 1);
|
53127
|
+
index--;
|
53128
|
+
}
|
53129
|
+
return match;
|
53130
|
+
});
|
53131
|
+
createDebug.formatArgs.call(self2, args);
|
53132
|
+
const logFn = self2.log || createDebug.log;
|
53133
|
+
logFn.apply(self2, args);
|
53134
|
+
}
|
53135
|
+
debug4.namespace = namespace;
|
53136
|
+
debug4.useColors = createDebug.useColors();
|
53137
|
+
debug4.color = createDebug.selectColor(namespace);
|
53138
|
+
debug4.extend = extend;
|
53139
|
+
debug4.destroy = createDebug.destroy;
|
53140
|
+
Object.defineProperty(debug4, "enabled", {
|
53141
|
+
enumerable: true,
|
53142
|
+
configurable: false,
|
53143
|
+
get: () => {
|
53144
|
+
if (enableOverride !== null) {
|
53145
|
+
return enableOverride;
|
53146
|
+
}
|
53147
|
+
if (namespacesCache !== createDebug.namespaces) {
|
53148
|
+
namespacesCache = createDebug.namespaces;
|
53149
|
+
enabledCache = createDebug.enabled(namespace);
|
53150
|
+
}
|
53151
|
+
return enabledCache;
|
53152
|
+
},
|
53153
|
+
set: (v) => {
|
53154
|
+
enableOverride = v;
|
53155
|
+
}
|
53156
|
+
});
|
53157
|
+
if (typeof createDebug.init === "function") {
|
53158
|
+
createDebug.init(debug4);
|
53159
|
+
}
|
53160
|
+
return debug4;
|
53161
|
+
}
|
53162
|
+
function extend(namespace, delimiter) {
|
53163
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
53164
|
+
newDebug.log = this.log;
|
53165
|
+
return newDebug;
|
53166
|
+
}
|
53167
|
+
function enable(namespaces) {
|
53168
|
+
createDebug.save(namespaces);
|
53169
|
+
createDebug.namespaces = namespaces;
|
53170
|
+
createDebug.names = [];
|
53171
|
+
createDebug.skips = [];
|
53172
|
+
let i;
|
53173
|
+
const split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
53174
|
+
const len = split.length;
|
53175
|
+
for (i = 0; i < len; i++) {
|
53176
|
+
if (!split[i]) {
|
53177
|
+
continue;
|
53178
|
+
}
|
53179
|
+
namespaces = split[i].replace(/\*/g, ".*?");
|
53180
|
+
if (namespaces[0] === "-") {
|
53181
|
+
createDebug.skips.push(new RegExp("^" + namespaces.slice(1) + "$"));
|
53182
|
+
} else {
|
53183
|
+
createDebug.names.push(new RegExp("^" + namespaces + "$"));
|
53184
|
+
}
|
53185
|
+
}
|
53186
|
+
}
|
53187
|
+
function disable() {
|
53188
|
+
const namespaces = [
|
53189
|
+
...createDebug.names.map(toNamespace),
|
53190
|
+
...createDebug.skips.map(toNamespace).map((namespace) => "-" + namespace)
|
53191
|
+
].join(",");
|
53192
|
+
createDebug.enable("");
|
53193
|
+
return namespaces;
|
53194
|
+
}
|
53195
|
+
function enabled(name) {
|
53196
|
+
if (name[name.length - 1] === "*") {
|
53197
|
+
return true;
|
53198
|
+
}
|
53199
|
+
let i;
|
53200
|
+
let len;
|
53201
|
+
for (i = 0, len = createDebug.skips.length; i < len; i++) {
|
53202
|
+
if (createDebug.skips[i].test(name)) {
|
53203
|
+
return false;
|
53204
|
+
}
|
53205
|
+
}
|
53206
|
+
for (i = 0, len = createDebug.names.length; i < len; i++) {
|
53207
|
+
if (createDebug.names[i].test(name)) {
|
53208
|
+
return true;
|
53209
|
+
}
|
53210
|
+
}
|
53211
|
+
return false;
|
53212
|
+
}
|
53213
|
+
function toNamespace(regexp) {
|
53214
|
+
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, "*");
|
53215
|
+
}
|
53216
|
+
function coerce(val) {
|
53217
|
+
if (val instanceof Error) {
|
53218
|
+
return val.stack || val.message;
|
53219
|
+
}
|
53220
|
+
return val;
|
53221
|
+
}
|
53222
|
+
function destroy() {
|
53223
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
53224
|
+
}
|
53225
|
+
createDebug.enable(createDebug.load());
|
53226
|
+
return createDebug;
|
53227
|
+
}
|
53228
|
+
module2.exports = setup;
|
53229
|
+
}
|
53230
|
+
});
|
53231
|
+
|
53232
|
+
// ../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js
|
53233
|
+
var require_browser2 = __commonJS({
|
53234
|
+
"../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js"(exports, module2) {
|
53235
|
+
exports.formatArgs = formatArgs;
|
53236
|
+
exports.save = save;
|
53237
|
+
exports.load = load;
|
53238
|
+
exports.useColors = useColors;
|
53239
|
+
exports.storage = localstorage();
|
53240
|
+
exports.destroy = (() => {
|
53241
|
+
let warned = false;
|
53242
|
+
return () => {
|
53243
|
+
if (!warned) {
|
53244
|
+
warned = true;
|
53245
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
53246
|
+
}
|
53247
|
+
};
|
53248
|
+
})();
|
53249
|
+
exports.colors = [
|
53250
|
+
"#0000CC",
|
53251
|
+
"#0000FF",
|
53252
|
+
"#0033CC",
|
53253
|
+
"#0033FF",
|
53254
|
+
"#0066CC",
|
53255
|
+
"#0066FF",
|
53256
|
+
"#0099CC",
|
53257
|
+
"#0099FF",
|
53258
|
+
"#00CC00",
|
53259
|
+
"#00CC33",
|
53260
|
+
"#00CC66",
|
53261
|
+
"#00CC99",
|
53262
|
+
"#00CCCC",
|
53263
|
+
"#00CCFF",
|
53264
|
+
"#3300CC",
|
53265
|
+
"#3300FF",
|
53266
|
+
"#3333CC",
|
53267
|
+
"#3333FF",
|
53268
|
+
"#3366CC",
|
53269
|
+
"#3366FF",
|
53270
|
+
"#3399CC",
|
53271
|
+
"#3399FF",
|
53272
|
+
"#33CC00",
|
53273
|
+
"#33CC33",
|
53274
|
+
"#33CC66",
|
53275
|
+
"#33CC99",
|
53276
|
+
"#33CCCC",
|
53277
|
+
"#33CCFF",
|
53278
|
+
"#6600CC",
|
53279
|
+
"#6600FF",
|
53280
|
+
"#6633CC",
|
53281
|
+
"#6633FF",
|
53282
|
+
"#66CC00",
|
53283
|
+
"#66CC33",
|
53284
|
+
"#9900CC",
|
53285
|
+
"#9900FF",
|
53286
|
+
"#9933CC",
|
53287
|
+
"#9933FF",
|
53288
|
+
"#99CC00",
|
53289
|
+
"#99CC33",
|
53290
|
+
"#CC0000",
|
53291
|
+
"#CC0033",
|
53292
|
+
"#CC0066",
|
53293
|
+
"#CC0099",
|
53294
|
+
"#CC00CC",
|
53295
|
+
"#CC00FF",
|
53296
|
+
"#CC3300",
|
53297
|
+
"#CC3333",
|
53298
|
+
"#CC3366",
|
53299
|
+
"#CC3399",
|
53300
|
+
"#CC33CC",
|
53301
|
+
"#CC33FF",
|
53302
|
+
"#CC6600",
|
53303
|
+
"#CC6633",
|
53304
|
+
"#CC9900",
|
53305
|
+
"#CC9933",
|
53306
|
+
"#CCCC00",
|
53307
|
+
"#CCCC33",
|
53308
|
+
"#FF0000",
|
53309
|
+
"#FF0033",
|
53310
|
+
"#FF0066",
|
53311
|
+
"#FF0099",
|
53312
|
+
"#FF00CC",
|
53313
|
+
"#FF00FF",
|
53314
|
+
"#FF3300",
|
53315
|
+
"#FF3333",
|
53316
|
+
"#FF3366",
|
53317
|
+
"#FF3399",
|
53318
|
+
"#FF33CC",
|
53319
|
+
"#FF33FF",
|
53320
|
+
"#FF6600",
|
53321
|
+
"#FF6633",
|
53322
|
+
"#FF9900",
|
53323
|
+
"#FF9933",
|
53324
|
+
"#FFCC00",
|
53325
|
+
"#FFCC33"
|
53326
|
+
];
|
53327
|
+
function useColors() {
|
53328
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
53329
|
+
return true;
|
53330
|
+
}
|
53331
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
53332
|
+
return false;
|
53333
|
+
}
|
53334
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
53335
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
53336
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
53337
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
53338
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
53339
|
+
}
|
53340
|
+
function formatArgs(args) {
|
53341
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
53342
|
+
if (!this.useColors) {
|
53343
|
+
return;
|
53344
|
+
}
|
53345
|
+
const c = "color: " + this.color;
|
53346
|
+
args.splice(1, 0, c, "color: inherit");
|
53347
|
+
let index = 0;
|
53348
|
+
let lastC = 0;
|
53349
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
53350
|
+
if (match === "%%") {
|
53351
|
+
return;
|
53352
|
+
}
|
53353
|
+
index++;
|
53354
|
+
if (match === "%c") {
|
53355
|
+
lastC = index;
|
53356
|
+
}
|
53357
|
+
});
|
53358
|
+
args.splice(lastC, 0, c);
|
53359
|
+
}
|
53360
|
+
exports.log = console.debug || console.log || (() => {
|
53361
|
+
});
|
53362
|
+
function save(namespaces) {
|
53363
|
+
try {
|
53364
|
+
if (namespaces) {
|
53365
|
+
exports.storage.setItem("debug", namespaces);
|
53366
|
+
} else {
|
53367
|
+
exports.storage.removeItem("debug");
|
53368
|
+
}
|
53369
|
+
} catch (error) {
|
53370
|
+
}
|
53371
|
+
}
|
53372
|
+
function load() {
|
53373
|
+
let r;
|
53374
|
+
try {
|
53375
|
+
r = exports.storage.getItem("debug");
|
53376
|
+
} catch (error) {
|
53377
|
+
}
|
53378
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
53379
|
+
r = process.env.DEBUG;
|
53380
|
+
}
|
53381
|
+
return r;
|
53382
|
+
}
|
53383
|
+
function localstorage() {
|
53384
|
+
try {
|
53385
|
+
return localStorage;
|
53386
|
+
} catch (error) {
|
53387
|
+
}
|
53388
|
+
}
|
53389
|
+
module2.exports = require_common2()(exports);
|
53390
|
+
var { formatters } = module2.exports;
|
53391
|
+
formatters.j = function(v) {
|
53392
|
+
try {
|
53393
|
+
return JSON.stringify(v);
|
53394
|
+
} catch (error) {
|
53395
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
53396
|
+
}
|
53397
|
+
};
|
53398
|
+
}
|
53399
|
+
});
|
53400
|
+
|
53401
|
+
// ../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js
|
53402
|
+
var require_node3 = __commonJS({
|
53403
|
+
"../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js"(exports, module2) {
|
53404
|
+
var tty = require("tty");
|
53405
|
+
var util = require("util");
|
53406
|
+
exports.init = init;
|
53407
|
+
exports.log = log;
|
53408
|
+
exports.formatArgs = formatArgs;
|
53409
|
+
exports.save = save;
|
53410
|
+
exports.load = load;
|
53411
|
+
exports.useColors = useColors;
|
53412
|
+
exports.destroy = util.deprecate(
|
53413
|
+
() => {
|
53414
|
+
},
|
53415
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
53416
|
+
);
|
53417
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
53418
|
+
try {
|
53419
|
+
const supportsColor = require_supports_color();
|
53420
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
53421
|
+
exports.colors = [
|
53422
|
+
20,
|
53423
|
+
21,
|
53424
|
+
26,
|
53425
|
+
27,
|
53426
|
+
32,
|
53427
|
+
33,
|
53428
|
+
38,
|
53429
|
+
39,
|
53430
|
+
40,
|
53431
|
+
41,
|
53432
|
+
42,
|
53433
|
+
43,
|
53434
|
+
44,
|
53435
|
+
45,
|
53436
|
+
56,
|
53437
|
+
57,
|
53438
|
+
62,
|
53439
|
+
63,
|
53440
|
+
68,
|
53441
|
+
69,
|
53442
|
+
74,
|
53443
|
+
75,
|
53444
|
+
76,
|
53445
|
+
77,
|
53446
|
+
78,
|
53447
|
+
79,
|
53448
|
+
80,
|
53449
|
+
81,
|
53450
|
+
92,
|
53451
|
+
93,
|
53452
|
+
98,
|
53453
|
+
99,
|
53454
|
+
112,
|
53455
|
+
113,
|
53456
|
+
128,
|
53457
|
+
129,
|
53458
|
+
134,
|
53459
|
+
135,
|
53460
|
+
148,
|
53461
|
+
149,
|
53462
|
+
160,
|
53463
|
+
161,
|
53464
|
+
162,
|
53465
|
+
163,
|
53466
|
+
164,
|
53467
|
+
165,
|
53468
|
+
166,
|
53469
|
+
167,
|
53470
|
+
168,
|
53471
|
+
169,
|
53472
|
+
170,
|
53473
|
+
171,
|
53474
|
+
172,
|
53475
|
+
173,
|
53476
|
+
178,
|
53477
|
+
179,
|
53478
|
+
184,
|
53479
|
+
185,
|
53480
|
+
196,
|
53481
|
+
197,
|
53482
|
+
198,
|
53483
|
+
199,
|
53484
|
+
200,
|
53485
|
+
201,
|
53486
|
+
202,
|
53487
|
+
203,
|
53488
|
+
204,
|
53489
|
+
205,
|
53490
|
+
206,
|
53491
|
+
207,
|
53492
|
+
208,
|
53493
|
+
209,
|
53494
|
+
214,
|
53495
|
+
215,
|
53496
|
+
220,
|
53497
|
+
221
|
53498
|
+
];
|
53499
|
+
}
|
53500
|
+
} catch (error) {
|
53501
|
+
}
|
53502
|
+
exports.inspectOpts = Object.keys(process.env).filter((key) => {
|
53503
|
+
return /^debug_/i.test(key);
|
53504
|
+
}).reduce((obj, key) => {
|
53505
|
+
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
53506
|
+
return k.toUpperCase();
|
53507
|
+
});
|
53508
|
+
let val = process.env[key];
|
53509
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
53510
|
+
val = true;
|
53511
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
53512
|
+
val = false;
|
53513
|
+
} else if (val === "null") {
|
53514
|
+
val = null;
|
53515
|
+
} else {
|
53516
|
+
val = Number(val);
|
53517
|
+
}
|
53518
|
+
obj[prop] = val;
|
53519
|
+
return obj;
|
53520
|
+
}, {});
|
53521
|
+
function useColors() {
|
53522
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
53523
|
+
}
|
53524
|
+
function formatArgs(args) {
|
53525
|
+
const { namespace: name, useColors: useColors2 } = this;
|
53526
|
+
if (useColors2) {
|
53527
|
+
const c = this.color;
|
53528
|
+
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
53529
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
53530
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
53531
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
53532
|
+
} else {
|
53533
|
+
args[0] = getDate() + name + " " + args[0];
|
53534
|
+
}
|
53535
|
+
}
|
53536
|
+
function getDate() {
|
53537
|
+
if (exports.inspectOpts.hideDate) {
|
53538
|
+
return "";
|
53539
|
+
}
|
53540
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
53541
|
+
}
|
53542
|
+
function log(...args) {
|
53543
|
+
return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
53544
|
+
}
|
53545
|
+
function save(namespaces) {
|
53546
|
+
if (namespaces) {
|
53547
|
+
process.env.DEBUG = namespaces;
|
53548
|
+
} else {
|
53549
|
+
delete process.env.DEBUG;
|
53550
|
+
}
|
53551
|
+
}
|
53552
|
+
function load() {
|
53553
|
+
return process.env.DEBUG;
|
53554
|
+
}
|
53555
|
+
function init(debug4) {
|
53556
|
+
debug4.inspectOpts = {};
|
53557
|
+
const keys = Object.keys(exports.inspectOpts);
|
53558
|
+
for (let i = 0; i < keys.length; i++) {
|
53559
|
+
debug4.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
53560
|
+
}
|
53561
|
+
}
|
53562
|
+
module2.exports = require_common2()(exports);
|
53563
|
+
var { formatters } = module2.exports;
|
53564
|
+
formatters.o = function(v) {
|
53565
|
+
this.inspectOpts.colors = this.useColors;
|
53566
|
+
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
53567
|
+
};
|
53568
|
+
formatters.O = function(v) {
|
53569
|
+
this.inspectOpts.colors = this.useColors;
|
53570
|
+
return util.inspect(v, this.inspectOpts);
|
53571
|
+
};
|
53572
|
+
}
|
53573
|
+
});
|
53574
|
+
|
53575
|
+
// ../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js
|
53576
|
+
var require_src2 = __commonJS({
|
53577
|
+
"../../node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js"(exports, module2) {
|
53578
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
53579
|
+
module2.exports = require_browser2();
|
53580
|
+
} else {
|
53581
|
+
module2.exports = require_node3();
|
53582
|
+
}
|
53583
|
+
}
|
53584
|
+
});
|
53585
|
+
|
52952
53586
|
// ../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/unicode.js
|
52953
53587
|
var require_unicode = __commonJS({
|
52954
53588
|
"../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/unicode.js"(exports, module2) {
|
@@ -54743,7 +55377,7 @@ var require_region = __commonJS({
|
|
54743
55377
|
});
|
54744
55378
|
|
54745
55379
|
// ../../node_modules/.pnpm/browserslist@4.23.0/node_modules/browserslist/node.js
|
54746
|
-
var
|
55380
|
+
var require_node4 = __commonJS({
|
54747
55381
|
"../../node_modules/.pnpm/browserslist@4.23.0/node_modules/browserslist/node.js"(exports, module2) {
|
54748
55382
|
var feature = require_feature().default;
|
54749
55383
|
var region = require_region().default;
|
@@ -55126,7 +55760,7 @@ var require_browserslist = __commonJS({
|
|
55126
55760
|
var e2c = require_versions();
|
55127
55761
|
var BrowserslistError = require_error();
|
55128
55762
|
var parse = require_parse3();
|
55129
|
-
var env =
|
55763
|
+
var env = require_node4();
|
55130
55764
|
var YEAR = 365.259641 * 24 * 60 * 60 * 1e3;
|
55131
55765
|
var ANDROID_EVERGREEN_FIRST = "37";
|
55132
55766
|
var OP_MOB_BLINK_FIRST = 14;
|
@@ -59375,7 +60009,7 @@ var require_config_chain = __commonJS({
|
|
59375
60009
|
return data;
|
59376
60010
|
}
|
59377
60011
|
function _debug() {
|
59378
|
-
const data =
|
60012
|
+
const data = require_src2();
|
59379
60013
|
_debug = function() {
|
59380
60014
|
return data;
|
59381
60015
|
};
|
@@ -61396,7 +62030,7 @@ var require_normalize_file = __commonJS({
|
|
61396
62030
|
return data;
|
61397
62031
|
}
|
61398
62032
|
function _debug() {
|
61399
|
-
const data =
|
62033
|
+
const data = require_src2();
|
61400
62034
|
_debug = function() {
|
61401
62035
|
return data;
|
61402
62036
|
};
|
@@ -67534,7 +68168,7 @@ var require_module_types = __commonJS({
|
|
67534
68168
|
return data;
|
67535
68169
|
}
|
67536
68170
|
function _debug() {
|
67537
|
-
const data =
|
68171
|
+
const data = require_src2();
|
67538
68172
|
_debug = function() {
|
67539
68173
|
return data;
|
67540
68174
|
};
|
@@ -67725,7 +68359,7 @@ var require_configuration = __commonJS({
|
|
67725
68359
|
exports.loadConfig = loadConfig;
|
67726
68360
|
exports.resolveShowConfigPath = resolveShowConfigPath;
|
67727
68361
|
function _debug() {
|
67728
|
-
const data =
|
68362
|
+
const data = require_src2();
|
67729
68363
|
_debug = function() {
|
67730
68364
|
return data;
|
67731
68365
|
};
|
@@ -69121,7 +69755,7 @@ var require_plugins4 = __commonJS({
|
|
69121
69755
|
exports.loadPreset = loadPreset;
|
69122
69756
|
exports.resolvePreset = exports.resolvePlugin = void 0;
|
69123
69757
|
function _debug() {
|
69124
|
-
const data =
|
69758
|
+
const data = require_src2();
|
69125
69759
|
_debug = function() {
|
69126
69760
|
return data;
|
69127
69761
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/node",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.24",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"@edge-runtime/primitives": "4.1.0",
|
18
18
|
"@edge-runtime/vm": "3.2.0",
|
19
19
|
"@types/node": "16.18.11",
|
20
|
-
"@vercel/build-utils": "8.4.
|
20
|
+
"@vercel/build-utils": "8.4.12",
|
21
21
|
"@vercel/error-utils": "2.0.2",
|
22
22
|
"@vercel/nft": "0.27.3",
|
23
23
|
"@vercel/static-config": "3.0.0",
|
@@ -55,7 +55,7 @@
|
|
55
55
|
"tree-kill": "1.2.2",
|
56
56
|
"vite": "5.1.6",
|
57
57
|
"vitest": "2.0.1",
|
58
|
-
"@vercel/functions": "1.
|
58
|
+
"@vercel/functions": "1.5.0"
|
59
59
|
},
|
60
60
|
"scripts": {
|
61
61
|
"build": "node build.mjs",
|