@vercel/node 3.2.24 → 3.2.26
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 +7 -640
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -52950,639 +52950,6 @@ var require_package = __commonJS({
|
|
52950
52950
|
}
|
52951
52951
|
});
|
52952
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
|
-
|
53586
52953
|
// ../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/unicode.js
|
53587
52954
|
var require_unicode = __commonJS({
|
53588
52955
|
"../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/unicode.js"(exports, module2) {
|
@@ -55377,7 +54744,7 @@ var require_region = __commonJS({
|
|
55377
54744
|
});
|
55378
54745
|
|
55379
54746
|
// ../../node_modules/.pnpm/browserslist@4.23.0/node_modules/browserslist/node.js
|
55380
|
-
var
|
54747
|
+
var require_node3 = __commonJS({
|
55381
54748
|
"../../node_modules/.pnpm/browserslist@4.23.0/node_modules/browserslist/node.js"(exports, module2) {
|
55382
54749
|
var feature = require_feature().default;
|
55383
54750
|
var region = require_region().default;
|
@@ -55760,7 +55127,7 @@ var require_browserslist = __commonJS({
|
|
55760
55127
|
var e2c = require_versions();
|
55761
55128
|
var BrowserslistError = require_error();
|
55762
55129
|
var parse = require_parse3();
|
55763
|
-
var env =
|
55130
|
+
var env = require_node3();
|
55764
55131
|
var YEAR = 365.259641 * 24 * 60 * 60 * 1e3;
|
55765
55132
|
var ANDROID_EVERGREEN_FIRST = "37";
|
55766
55133
|
var OP_MOB_BLINK_FIRST = 14;
|
@@ -60009,7 +59376,7 @@ var require_config_chain = __commonJS({
|
|
60009
59376
|
return data;
|
60010
59377
|
}
|
60011
59378
|
function _debug() {
|
60012
|
-
const data =
|
59379
|
+
const data = require_src();
|
60013
59380
|
_debug = function() {
|
60014
59381
|
return data;
|
60015
59382
|
};
|
@@ -62030,7 +61397,7 @@ var require_normalize_file = __commonJS({
|
|
62030
61397
|
return data;
|
62031
61398
|
}
|
62032
61399
|
function _debug() {
|
62033
|
-
const data =
|
61400
|
+
const data = require_src();
|
62034
61401
|
_debug = function() {
|
62035
61402
|
return data;
|
62036
61403
|
};
|
@@ -68168,7 +67535,7 @@ var require_module_types = __commonJS({
|
|
68168
67535
|
return data;
|
68169
67536
|
}
|
68170
67537
|
function _debug() {
|
68171
|
-
const data =
|
67538
|
+
const data = require_src();
|
68172
67539
|
_debug = function() {
|
68173
67540
|
return data;
|
68174
67541
|
};
|
@@ -68359,7 +67726,7 @@ var require_configuration = __commonJS({
|
|
68359
67726
|
exports.loadConfig = loadConfig;
|
68360
67727
|
exports.resolveShowConfigPath = resolveShowConfigPath;
|
68361
67728
|
function _debug() {
|
68362
|
-
const data =
|
67729
|
+
const data = require_src();
|
68363
67730
|
_debug = function() {
|
68364
67731
|
return data;
|
68365
67732
|
};
|
@@ -69755,7 +69122,7 @@ var require_plugins4 = __commonJS({
|
|
69755
69122
|
exports.loadPreset = loadPreset;
|
69756
69123
|
exports.resolvePreset = exports.resolvePlugin = void 0;
|
69757
69124
|
function _debug() {
|
69758
|
-
const data =
|
69125
|
+
const data = require_src();
|
69759
69126
|
_debug = function() {
|
69760
69127
|
return data;
|
69761
69128
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/node",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.26",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
@@ -17,8 +17,8 @@
|
|
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.
|
21
|
-
"@vercel/error-utils": "2.0.
|
20
|
+
"@vercel/build-utils": "8.5.0",
|
21
|
+
"@vercel/error-utils": "2.0.3",
|
22
22
|
"@vercel/nft": "0.27.3",
|
23
23
|
"@vercel/static-config": "3.0.0",
|
24
24
|
"async-listen": "3.0.0",
|