vercel-cli 48.2.9__py3-none-any.whl → 48.4.0__py3-none-any.whl

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.

Potentially problematic release.


This version of vercel-cli might be problematic. Click here for more details.

@@ -49550,7 +49550,7 @@ var require_package = __commonJS2({
49550
49550
  "../client/package.json"(exports2, module2) {
49551
49551
  module2.exports = {
49552
49552
  name: "@vercel/client",
49553
- version: "17.0.3",
49553
+ version: "17.0.4",
49554
49554
  main: "dist/index.js",
49555
49555
  typings: "dist/index.d.ts",
49556
49556
  homepage: "https://vercel.com",
@@ -49589,7 +49589,7 @@ var require_package = __commonJS2({
49589
49589
  vitest: "2.0.1"
49590
49590
  },
49591
49591
  dependencies: {
49592
- "@vercel/build-utils": "12.1.2",
49592
+ "@vercel/build-utils": "12.1.3",
49593
49593
  "@vercel/error-utils": "2.0.3",
49594
49594
  "@vercel/microfrontends": "1.2.2",
49595
49595
  "@vercel/routing-utils": "5.2.0",
@@ -66096,8 +66096,540 @@ var require_proxy_from_env = __commonJS2({
66096
66096
  }
66097
66097
  });
66098
66098
 
66099
- // ../../node_modules/.pnpm/data-uri-to-buffer@6.0.2/node_modules/data-uri-to-buffer/dist/common.js
66099
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js
66100
66100
  var require_common6 = __commonJS2({
66101
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js"(exports2, module2) {
66102
+ function setup(env) {
66103
+ createDebug.debug = createDebug;
66104
+ createDebug.default = createDebug;
66105
+ createDebug.coerce = coerce;
66106
+ createDebug.disable = disable3;
66107
+ createDebug.enable = enable3;
66108
+ createDebug.enabled = enabled;
66109
+ createDebug.humanize = require_ms2();
66110
+ createDebug.destroy = destroy;
66111
+ Object.keys(env).forEach((key) => {
66112
+ createDebug[key] = env[key];
66113
+ });
66114
+ createDebug.names = [];
66115
+ createDebug.skips = [];
66116
+ createDebug.formatters = {};
66117
+ function selectColor(namespace) {
66118
+ let hash = 0;
66119
+ for (let i = 0; i < namespace.length; i++) {
66120
+ hash = (hash << 5) - hash + namespace.charCodeAt(i);
66121
+ hash |= 0;
66122
+ }
66123
+ return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
66124
+ }
66125
+ createDebug.selectColor = selectColor;
66126
+ function createDebug(namespace) {
66127
+ let prevTime;
66128
+ let enableOverride = null;
66129
+ let namespacesCache;
66130
+ let enabledCache;
66131
+ function debug2(...args2) {
66132
+ if (!debug2.enabled) {
66133
+ return;
66134
+ }
66135
+ const self2 = debug2;
66136
+ const curr = Number(/* @__PURE__ */ new Date());
66137
+ const ms32 = curr - (prevTime || curr);
66138
+ self2.diff = ms32;
66139
+ self2.prev = prevTime;
66140
+ self2.curr = curr;
66141
+ prevTime = curr;
66142
+ args2[0] = createDebug.coerce(args2[0]);
66143
+ if (typeof args2[0] !== "string") {
66144
+ args2.unshift("%O");
66145
+ }
66146
+ let index = 0;
66147
+ args2[0] = args2[0].replace(/%([a-zA-Z%])/g, (match, format7) => {
66148
+ if (match === "%%") {
66149
+ return "%";
66150
+ }
66151
+ index++;
66152
+ const formatter = createDebug.formatters[format7];
66153
+ if (typeof formatter === "function") {
66154
+ const val = args2[index];
66155
+ match = formatter.call(self2, val);
66156
+ args2.splice(index, 1);
66157
+ index--;
66158
+ }
66159
+ return match;
66160
+ });
66161
+ createDebug.formatArgs.call(self2, args2);
66162
+ const logFn = self2.log || createDebug.log;
66163
+ logFn.apply(self2, args2);
66164
+ }
66165
+ debug2.namespace = namespace;
66166
+ debug2.useColors = createDebug.useColors();
66167
+ debug2.color = createDebug.selectColor(namespace);
66168
+ debug2.extend = extend;
66169
+ debug2.destroy = createDebug.destroy;
66170
+ Object.defineProperty(debug2, "enabled", {
66171
+ enumerable: true,
66172
+ configurable: false,
66173
+ get: () => {
66174
+ if (enableOverride !== null) {
66175
+ return enableOverride;
66176
+ }
66177
+ if (namespacesCache !== createDebug.namespaces) {
66178
+ namespacesCache = createDebug.namespaces;
66179
+ enabledCache = createDebug.enabled(namespace);
66180
+ }
66181
+ return enabledCache;
66182
+ },
66183
+ set: (v) => {
66184
+ enableOverride = v;
66185
+ }
66186
+ });
66187
+ if (typeof createDebug.init === "function") {
66188
+ createDebug.init(debug2);
66189
+ }
66190
+ return debug2;
66191
+ }
66192
+ function extend(namespace, delimiter3) {
66193
+ const newDebug = createDebug(this.namespace + (typeof delimiter3 === "undefined" ? ":" : delimiter3) + namespace);
66194
+ newDebug.log = this.log;
66195
+ return newDebug;
66196
+ }
66197
+ function enable3(namespaces) {
66198
+ createDebug.save(namespaces);
66199
+ createDebug.namespaces = namespaces;
66200
+ createDebug.names = [];
66201
+ createDebug.skips = [];
66202
+ const split3 = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
66203
+ for (const ns of split3) {
66204
+ if (ns[0] === "-") {
66205
+ createDebug.skips.push(ns.slice(1));
66206
+ } else {
66207
+ createDebug.names.push(ns);
66208
+ }
66209
+ }
66210
+ }
66211
+ function matchesTemplate(search, template) {
66212
+ let searchIndex = 0;
66213
+ let templateIndex = 0;
66214
+ let starIndex = -1;
66215
+ let matchIndex = 0;
66216
+ while (searchIndex < search.length) {
66217
+ if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
66218
+ if (template[templateIndex] === "*") {
66219
+ starIndex = templateIndex;
66220
+ matchIndex = searchIndex;
66221
+ templateIndex++;
66222
+ } else {
66223
+ searchIndex++;
66224
+ templateIndex++;
66225
+ }
66226
+ } else if (starIndex !== -1) {
66227
+ templateIndex = starIndex + 1;
66228
+ matchIndex++;
66229
+ searchIndex = matchIndex;
66230
+ } else {
66231
+ return false;
66232
+ }
66233
+ }
66234
+ while (templateIndex < template.length && template[templateIndex] === "*") {
66235
+ templateIndex++;
66236
+ }
66237
+ return templateIndex === template.length;
66238
+ }
66239
+ function disable3() {
66240
+ const namespaces = [
66241
+ ...createDebug.names,
66242
+ ...createDebug.skips.map((namespace) => "-" + namespace)
66243
+ ].join(",");
66244
+ createDebug.enable("");
66245
+ return namespaces;
66246
+ }
66247
+ function enabled(name) {
66248
+ for (const skip of createDebug.skips) {
66249
+ if (matchesTemplate(name, skip)) {
66250
+ return false;
66251
+ }
66252
+ }
66253
+ for (const ns of createDebug.names) {
66254
+ if (matchesTemplate(name, ns)) {
66255
+ return true;
66256
+ }
66257
+ }
66258
+ return false;
66259
+ }
66260
+ function coerce(val) {
66261
+ if (val instanceof Error) {
66262
+ return val.stack || val.message;
66263
+ }
66264
+ return val;
66265
+ }
66266
+ function destroy() {
66267
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
66268
+ }
66269
+ createDebug.enable(createDebug.load());
66270
+ return createDebug;
66271
+ }
66272
+ module2.exports = setup;
66273
+ }
66274
+ });
66275
+
66276
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js
66277
+ var require_browser3 = __commonJS2({
66278
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js"(exports2, module2) {
66279
+ exports2.formatArgs = formatArgs;
66280
+ exports2.save = save;
66281
+ exports2.load = load3;
66282
+ exports2.useColors = useColors;
66283
+ exports2.storage = localstorage();
66284
+ exports2.destroy = (() => {
66285
+ let warned = false;
66286
+ return () => {
66287
+ if (!warned) {
66288
+ warned = true;
66289
+ console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
66290
+ }
66291
+ };
66292
+ })();
66293
+ exports2.colors = [
66294
+ "#0000CC",
66295
+ "#0000FF",
66296
+ "#0033CC",
66297
+ "#0033FF",
66298
+ "#0066CC",
66299
+ "#0066FF",
66300
+ "#0099CC",
66301
+ "#0099FF",
66302
+ "#00CC00",
66303
+ "#00CC33",
66304
+ "#00CC66",
66305
+ "#00CC99",
66306
+ "#00CCCC",
66307
+ "#00CCFF",
66308
+ "#3300CC",
66309
+ "#3300FF",
66310
+ "#3333CC",
66311
+ "#3333FF",
66312
+ "#3366CC",
66313
+ "#3366FF",
66314
+ "#3399CC",
66315
+ "#3399FF",
66316
+ "#33CC00",
66317
+ "#33CC33",
66318
+ "#33CC66",
66319
+ "#33CC99",
66320
+ "#33CCCC",
66321
+ "#33CCFF",
66322
+ "#6600CC",
66323
+ "#6600FF",
66324
+ "#6633CC",
66325
+ "#6633FF",
66326
+ "#66CC00",
66327
+ "#66CC33",
66328
+ "#9900CC",
66329
+ "#9900FF",
66330
+ "#9933CC",
66331
+ "#9933FF",
66332
+ "#99CC00",
66333
+ "#99CC33",
66334
+ "#CC0000",
66335
+ "#CC0033",
66336
+ "#CC0066",
66337
+ "#CC0099",
66338
+ "#CC00CC",
66339
+ "#CC00FF",
66340
+ "#CC3300",
66341
+ "#CC3333",
66342
+ "#CC3366",
66343
+ "#CC3399",
66344
+ "#CC33CC",
66345
+ "#CC33FF",
66346
+ "#CC6600",
66347
+ "#CC6633",
66348
+ "#CC9900",
66349
+ "#CC9933",
66350
+ "#CCCC00",
66351
+ "#CCCC33",
66352
+ "#FF0000",
66353
+ "#FF0033",
66354
+ "#FF0066",
66355
+ "#FF0099",
66356
+ "#FF00CC",
66357
+ "#FF00FF",
66358
+ "#FF3300",
66359
+ "#FF3333",
66360
+ "#FF3366",
66361
+ "#FF3399",
66362
+ "#FF33CC",
66363
+ "#FF33FF",
66364
+ "#FF6600",
66365
+ "#FF6633",
66366
+ "#FF9900",
66367
+ "#FF9933",
66368
+ "#FFCC00",
66369
+ "#FFCC33"
66370
+ ];
66371
+ function useColors() {
66372
+ if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
66373
+ return true;
66374
+ }
66375
+ if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
66376
+ return false;
66377
+ }
66378
+ let m;
66379
+ return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
66380
+ typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
66381
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
66382
+ 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
66383
+ typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
66384
+ }
66385
+ function formatArgs(args2) {
66386
+ args2[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args2[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
66387
+ if (!this.useColors) {
66388
+ return;
66389
+ }
66390
+ const c = "color: " + this.color;
66391
+ args2.splice(1, 0, c, "color: inherit");
66392
+ let index = 0;
66393
+ let lastC = 0;
66394
+ args2[0].replace(/%[a-zA-Z%]/g, (match) => {
66395
+ if (match === "%%") {
66396
+ return;
66397
+ }
66398
+ index++;
66399
+ if (match === "%c") {
66400
+ lastC = index;
66401
+ }
66402
+ });
66403
+ args2.splice(lastC, 0, c);
66404
+ }
66405
+ exports2.log = console.debug || console.log || (() => {
66406
+ });
66407
+ function save(namespaces) {
66408
+ try {
66409
+ if (namespaces) {
66410
+ exports2.storage.setItem("debug", namespaces);
66411
+ } else {
66412
+ exports2.storage.removeItem("debug");
66413
+ }
66414
+ } catch (error3) {
66415
+ }
66416
+ }
66417
+ function load3() {
66418
+ let r;
66419
+ try {
66420
+ r = exports2.storage.getItem("debug") || exports2.storage.getItem("DEBUG");
66421
+ } catch (error3) {
66422
+ }
66423
+ if (!r && typeof process !== "undefined" && "env" in process) {
66424
+ r = process.env.DEBUG;
66425
+ }
66426
+ return r;
66427
+ }
66428
+ function localstorage() {
66429
+ try {
66430
+ return localStorage;
66431
+ } catch (error3) {
66432
+ }
66433
+ }
66434
+ module2.exports = require_common6()(exports2);
66435
+ var { formatters } = module2.exports;
66436
+ formatters.j = function(v) {
66437
+ try {
66438
+ return JSON.stringify(v);
66439
+ } catch (error3) {
66440
+ return "[UnexpectedJSONParseError]: " + error3.message;
66441
+ }
66442
+ };
66443
+ }
66444
+ });
66445
+
66446
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js
66447
+ var require_node4 = __commonJS2({
66448
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js"(exports2, module2) {
66449
+ var tty = require("tty");
66450
+ var util = require("util");
66451
+ exports2.init = init3;
66452
+ exports2.log = log2;
66453
+ exports2.formatArgs = formatArgs;
66454
+ exports2.save = save;
66455
+ exports2.load = load3;
66456
+ exports2.useColors = useColors;
66457
+ exports2.destroy = util.deprecate(
66458
+ () => {
66459
+ },
66460
+ "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
66461
+ );
66462
+ exports2.colors = [6, 2, 3, 4, 5, 1];
66463
+ try {
66464
+ const supportsColor = require_supports_color();
66465
+ if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
66466
+ exports2.colors = [
66467
+ 20,
66468
+ 21,
66469
+ 26,
66470
+ 27,
66471
+ 32,
66472
+ 33,
66473
+ 38,
66474
+ 39,
66475
+ 40,
66476
+ 41,
66477
+ 42,
66478
+ 43,
66479
+ 44,
66480
+ 45,
66481
+ 56,
66482
+ 57,
66483
+ 62,
66484
+ 63,
66485
+ 68,
66486
+ 69,
66487
+ 74,
66488
+ 75,
66489
+ 76,
66490
+ 77,
66491
+ 78,
66492
+ 79,
66493
+ 80,
66494
+ 81,
66495
+ 92,
66496
+ 93,
66497
+ 98,
66498
+ 99,
66499
+ 112,
66500
+ 113,
66501
+ 128,
66502
+ 129,
66503
+ 134,
66504
+ 135,
66505
+ 148,
66506
+ 149,
66507
+ 160,
66508
+ 161,
66509
+ 162,
66510
+ 163,
66511
+ 164,
66512
+ 165,
66513
+ 166,
66514
+ 167,
66515
+ 168,
66516
+ 169,
66517
+ 170,
66518
+ 171,
66519
+ 172,
66520
+ 173,
66521
+ 178,
66522
+ 179,
66523
+ 184,
66524
+ 185,
66525
+ 196,
66526
+ 197,
66527
+ 198,
66528
+ 199,
66529
+ 200,
66530
+ 201,
66531
+ 202,
66532
+ 203,
66533
+ 204,
66534
+ 205,
66535
+ 206,
66536
+ 207,
66537
+ 208,
66538
+ 209,
66539
+ 214,
66540
+ 215,
66541
+ 220,
66542
+ 221
66543
+ ];
66544
+ }
66545
+ } catch (error3) {
66546
+ }
66547
+ exports2.inspectOpts = Object.keys(process.env).filter((key) => {
66548
+ return /^debug_/i.test(key);
66549
+ }).reduce((obj, key) => {
66550
+ const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
66551
+ return k.toUpperCase();
66552
+ });
66553
+ let val = process.env[key];
66554
+ if (/^(yes|on|true|enabled)$/i.test(val)) {
66555
+ val = true;
66556
+ } else if (/^(no|off|false|disabled)$/i.test(val)) {
66557
+ val = false;
66558
+ } else if (val === "null") {
66559
+ val = null;
66560
+ } else {
66561
+ val = Number(val);
66562
+ }
66563
+ obj[prop] = val;
66564
+ return obj;
66565
+ }, {});
66566
+ function useColors() {
66567
+ return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(process.stderr.fd);
66568
+ }
66569
+ function formatArgs(args2) {
66570
+ const { namespace: name, useColors: useColors2 } = this;
66571
+ if (useColors2) {
66572
+ const c = this.color;
66573
+ const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
66574
+ const prefix = ` ${colorCode};1m${name} \x1B[0m`;
66575
+ args2[0] = prefix + args2[0].split("\n").join("\n" + prefix);
66576
+ args2.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
66577
+ } else {
66578
+ args2[0] = getDate() + name + " " + args2[0];
66579
+ }
66580
+ }
66581
+ function getDate() {
66582
+ if (exports2.inspectOpts.hideDate) {
66583
+ return "";
66584
+ }
66585
+ return (/* @__PURE__ */ new Date()).toISOString() + " ";
66586
+ }
66587
+ function log2(...args2) {
66588
+ return process.stderr.write(util.formatWithOptions(exports2.inspectOpts, ...args2) + "\n");
66589
+ }
66590
+ function save(namespaces) {
66591
+ if (namespaces) {
66592
+ process.env.DEBUG = namespaces;
66593
+ } else {
66594
+ delete process.env.DEBUG;
66595
+ }
66596
+ }
66597
+ function load3() {
66598
+ return process.env.DEBUG;
66599
+ }
66600
+ function init3(debug2) {
66601
+ debug2.inspectOpts = {};
66602
+ const keys = Object.keys(exports2.inspectOpts);
66603
+ for (let i = 0; i < keys.length; i++) {
66604
+ debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
66605
+ }
66606
+ }
66607
+ module2.exports = require_common6()(exports2);
66608
+ var { formatters } = module2.exports;
66609
+ formatters.o = function(v) {
66610
+ this.inspectOpts.colors = this.useColors;
66611
+ return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
66612
+ };
66613
+ formatters.O = function(v) {
66614
+ this.inspectOpts.colors = this.useColors;
66615
+ return util.inspect(v, this.inspectOpts);
66616
+ };
66617
+ }
66618
+ });
66619
+
66620
+ // ../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js
66621
+ var require_src2 = __commonJS2({
66622
+ "../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js"(exports2, module2) {
66623
+ if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
66624
+ module2.exports = require_browser3();
66625
+ } else {
66626
+ module2.exports = require_node4();
66627
+ }
66628
+ }
66629
+ });
66630
+
66631
+ // ../../node_modules/.pnpm/data-uri-to-buffer@6.0.2/node_modules/data-uri-to-buffer/dist/common.js
66632
+ var require_common7 = __commonJS2({
66101
66633
  "../../node_modules/.pnpm/data-uri-to-buffer@6.0.2/node_modules/data-uri-to-buffer/dist/common.js"(exports2) {
66102
66634
  "use strict";
66103
66635
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -66145,12 +66677,12 @@ var require_common6 = __commonJS2({
66145
66677
  });
66146
66678
 
66147
66679
  // ../../node_modules/.pnpm/data-uri-to-buffer@6.0.2/node_modules/data-uri-to-buffer/dist/node.js
66148
- var require_node4 = __commonJS2({
66680
+ var require_node5 = __commonJS2({
66149
66681
  "../../node_modules/.pnpm/data-uri-to-buffer@6.0.2/node_modules/data-uri-to-buffer/dist/node.js"(exports2) {
66150
66682
  "use strict";
66151
66683
  Object.defineProperty(exports2, "__esModule", { value: true });
66152
66684
  exports2.dataUriToBuffer = void 0;
66153
- var common_1 = require_common6();
66685
+ var common_1 = require_common7();
66154
66686
  function nodeBuffertoArrayBuffer(nodeBuf) {
66155
66687
  if (nodeBuf.byteLength === nodeBuf.buffer.byteLength) {
66156
66688
  return nodeBuf.buffer;
@@ -66194,10 +66726,10 @@ var require_data = __commonJS2({
66194
66726
  };
66195
66727
  Object.defineProperty(exports2, "__esModule", { value: true });
66196
66728
  exports2.data = void 0;
66197
- var debug_1 = __importDefault2(require_src());
66729
+ var debug_1 = __importDefault2(require_src2());
66198
66730
  var stream_1 = require("stream");
66199
66731
  var crypto_1 = require("crypto");
66200
- var data_uri_to_buffer_1 = require_node4();
66732
+ var data_uri_to_buffer_1 = require_node5();
66201
66733
  var notmodified_1 = __importDefault2(require_notmodified());
66202
66734
  var debug2 = (0, debug_1.default)("get-uri:data");
66203
66735
  var DataReadable = class extends stream_1.Readable {
@@ -66250,7 +66782,7 @@ var require_file3 = __commonJS2({
66250
66782
  };
66251
66783
  Object.defineProperty(exports2, "__esModule", { value: true });
66252
66784
  exports2.file = void 0;
66253
- var debug_1 = __importDefault2(require_src());
66785
+ var debug_1 = __importDefault2(require_src2());
66254
66786
  var fs_1 = require("fs");
66255
66787
  var notfound_1 = __importDefault2(require_notfound());
66256
66788
  var notmodified_1 = __importDefault2(require_notmodified());
@@ -68261,7 +68793,7 @@ var require_ftp = __commonJS2({
68261
68793
  var basic_ftp_1 = require_dist9();
68262
68794
  var stream_1 = require("stream");
68263
68795
  var path_1 = require("path");
68264
- var debug_1 = __importDefault2(require_src());
68796
+ var debug_1 = __importDefault2(require_src2());
68265
68797
  var notfound_1 = __importDefault2(require_notfound());
68266
68798
  var notmodified_1 = __importDefault2(require_notmodified());
68267
68799
  var debug2 = (0, debug_1.default)("get-uri:ftp");
@@ -68359,7 +68891,7 @@ var require_http4 = __commonJS2({
68359
68891
  var http_1 = __importDefault2(require("http"));
68360
68892
  var https_1 = __importDefault2(require("https"));
68361
68893
  var events_1 = require("events");
68362
- var debug_1 = __importDefault2(require_src());
68894
+ var debug_1 = __importDefault2(require_src2());
68363
68895
  var http_error_1 = __importDefault2(require_http_error());
68364
68896
  var notfound_1 = __importDefault2(require_notfound());
68365
68897
  var notmodified_1 = __importDefault2(require_notmodified());
@@ -68527,7 +69059,7 @@ var require_dist10 = __commonJS2({
68527
69059
  };
68528
69060
  Object.defineProperty(exports2, "__esModule", { value: true });
68529
69061
  exports2.getUri = exports2.isValidProtocol = exports2.protocols = void 0;
68530
- var debug_1 = __importDefault2(require_src());
69062
+ var debug_1 = __importDefault2(require_src2());
68531
69063
  var data_1 = require_data();
68532
69064
  var file_1 = require_file3();
68533
69065
  var ftp_1 = require_ftp();
@@ -88556,7 +89088,7 @@ var require_util6 = __commonJS2({
88556
89088
  });
88557
89089
 
88558
89090
  // ../../node_modules/.pnpm/ip-address@9.0.5/node_modules/ip-address/dist/common.js
88559
- var require_common7 = __commonJS2({
89091
+ var require_common8 = __commonJS2({
88560
89092
  "../../node_modules/.pnpm/ip-address@9.0.5/node_modules/ip-address/dist/common.js"(exports2) {
88561
89093
  "use strict";
88562
89094
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -90285,7 +90817,7 @@ var require_ipv4 = __commonJS2({
90285
90817
  };
90286
90818
  Object.defineProperty(exports2, "__esModule", { value: true });
90287
90819
  exports2.Address4 = void 0;
90288
- var common2 = __importStar2(require_common7());
90820
+ var common2 = __importStar2(require_common8());
90289
90821
  var constants = __importStar2(require_constants7());
90290
90822
  var address_error_1 = require_address_error();
90291
90823
  var jsbn_1 = require_jsbn();
@@ -90793,7 +91325,7 @@ var require_ipv6 = __commonJS2({
90793
91325
  };
90794
91326
  Object.defineProperty(exports2, "__esModule", { value: true });
90795
91327
  exports2.Address6 = void 0;
90796
- var common2 = __importStar2(require_common7());
91328
+ var common2 = __importStar2(require_common8());
90797
91329
  var constants4 = __importStar2(require_constants7());
90798
91330
  var constants6 = __importStar2(require_constants8());
90799
91331
  var helpers = __importStar2(require_helpers2());
@@ -92631,7 +93163,7 @@ var require_dist14 = __commonJS2({
92631
93163
  exports2.SocksProxyAgent = void 0;
92632
93164
  var socks_1 = require_build();
92633
93165
  var agent_base_1 = require_dist8();
92634
- var debug_1 = __importDefault2(require_src());
93166
+ var debug_1 = __importDefault2(require_src2());
92635
93167
  var dns2 = __importStar2(require("dns"));
92636
93168
  var net = __importStar2(require("net"));
92637
93169
  var tls = __importStar2(require("tls"));
@@ -92793,7 +93325,7 @@ var require_parse_proxy_response2 = __commonJS2({
92793
93325
  };
92794
93326
  Object.defineProperty(exports2, "__esModule", { value: true });
92795
93327
  exports2.parseProxyResponse = void 0;
92796
- var debug_1 = __importDefault2(require_src());
93328
+ var debug_1 = __importDefault2(require_src2());
92797
93329
  var debug2 = (0, debug_1.default)("https-proxy-agent:parse-proxy-response");
92798
93330
  function parseProxyResponse(socket) {
92799
93331
  return new Promise((resolve13, reject) => {
@@ -92924,7 +93456,7 @@ var require_dist15 = __commonJS2({
92924
93456
  var net = __importStar2(require("net"));
92925
93457
  var tls = __importStar2(require("tls"));
92926
93458
  var assert_1 = __importDefault2(require("assert"));
92927
- var debug_1 = __importDefault2(require_src());
93459
+ var debug_1 = __importDefault2(require_src2());
92928
93460
  var agent_base_1 = require_dist8();
92929
93461
  var url_1 = require("url");
92930
93462
  var parse_proxy_response_1 = require_parse_proxy_response2();
@@ -93078,7 +93610,7 @@ var require_dist16 = __commonJS2({
93078
93610
  exports2.HttpProxyAgent = void 0;
93079
93611
  var net = __importStar2(require("net"));
93080
93612
  var tls = __importStar2(require("tls"));
93081
- var debug_1 = __importDefault2(require_src());
93613
+ var debug_1 = __importDefault2(require_src2());
93082
93614
  var events_1 = require("events");
93083
93615
  var agent_base_1 = require_dist8();
93084
93616
  var url_1 = require("url");
@@ -93215,7 +93747,7 @@ var require_dist17 = __commonJS2({
93215
93747
  var tls = __importStar2(require("tls"));
93216
93748
  var crypto = __importStar2(require("crypto"));
93217
93749
  var events_1 = require("events");
93218
- var debug_1 = __importDefault2(require_src());
93750
+ var debug_1 = __importDefault2(require_src2());
93219
93751
  var url_1 = require("url");
93220
93752
  var agent_base_1 = require_dist8();
93221
93753
  var get_uri_1 = require_dist10();
@@ -98728,7 +99260,7 @@ var init_get_domain = __esm({
98728
99260
  });
98729
99261
 
98730
99262
  // src/util/domains/purchase-domain.ts
98731
- async function purchaseDomain(client2, name, expectedPrice, years, autoRenew = true) {
99263
+ async function purchaseDomain(client2, name, expectedPrice, years, autoRenew = true, contactInformation) {
98732
99264
  const { team, contextName } = await getScope(client2);
98733
99265
  const teamParam = team ? `?teamId=${team.slug}` : "";
98734
99266
  try {
@@ -98739,18 +99271,7 @@ async function purchaseDomain(client2, name, expectedPrice, years, autoRenew = t
98739
99271
  expectedPrice,
98740
99272
  autoRenew,
98741
99273
  years,
98742
- contactInformation: {
98743
- firstName: "Vercel",
98744
- lastName: "Whois",
98745
- email: "domains@registrar.vercel.com",
98746
- phone: "+14153985463",
98747
- address1: "100 First Street, Suite 2400",
98748
- city: "San Fransisco",
98749
- state: "CA",
98750
- zip: "94105",
98751
- country: "US",
98752
- companyName: "Vercel Inc."
98753
- }
99274
+ contactInformation
98754
99275
  },
98755
99276
  method: "POST"
98756
99277
  }
@@ -98804,6 +99325,87 @@ var init_purchase_domain = __esm({
98804
99325
  }
98805
99326
  });
98806
99327
 
99328
+ // src/util/domains/collect-contact-information.ts
99329
+ async function collectContactInformation(client2) {
99330
+ output_manager_default.log("");
99331
+ output_manager_default.log("Please provide contact information for domain registration:");
99332
+ const firstName = await client2.input.text({
99333
+ message: "First name:",
99334
+ validate: (val) => val.length > 0 || "First name is required"
99335
+ });
99336
+ const lastName = await client2.input.text({
99337
+ message: "Last name:",
99338
+ validate: (val) => val.length > 0 || "Last name is required"
99339
+ });
99340
+ const email2 = await client2.input.text({
99341
+ message: "Email:",
99342
+ validate: (val) => {
99343
+ if (val.length === 0)
99344
+ return "Email is required";
99345
+ if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(val))
99346
+ return "Invalid email format";
99347
+ return true;
99348
+ }
99349
+ });
99350
+ const phone = await client2.input.text({
99351
+ message: "Phone (include country code, e.g., +15551234567):",
99352
+ validate: (val) => {
99353
+ if (val.length === 0)
99354
+ return "Phone is required";
99355
+ if (!/^\+\d{10,15}$/.test(val))
99356
+ return "Phone must start with + and contain 10-15 digits";
99357
+ return true;
99358
+ }
99359
+ });
99360
+ const address1 = await client2.input.text({
99361
+ message: "Address:",
99362
+ validate: (val) => val.length > 0 || "Address is required"
99363
+ });
99364
+ const city = await client2.input.text({
99365
+ message: "City:",
99366
+ validate: (val) => val.length > 0 || "City is required"
99367
+ });
99368
+ const state = await client2.input.text({
99369
+ message: "State/Province:",
99370
+ validate: (val) => val.length > 0 || "State/Province is required"
99371
+ });
99372
+ const zip = await client2.input.text({
99373
+ message: "Postal/ZIP code:",
99374
+ validate: (val) => val.length > 0 || "Postal/ZIP code is required"
99375
+ });
99376
+ const country = await client2.input.text({
99377
+ message: "Country code (2 letters, e.g., US):",
99378
+ validate: (val) => {
99379
+ if (val.length === 0)
99380
+ return "Country code is required";
99381
+ if (!/^[A-Z]{2}$/i.test(val))
99382
+ return "Country code must be 2 letters";
99383
+ return true;
99384
+ }
99385
+ });
99386
+ const companyName = await client2.input.text({
99387
+ message: "Company name (optional):"
99388
+ });
99389
+ return {
99390
+ firstName,
99391
+ lastName,
99392
+ email: email2,
99393
+ phone,
99394
+ address1,
99395
+ city,
99396
+ state,
99397
+ zip,
99398
+ country: country.toUpperCase(),
99399
+ companyName: companyName || void 0
99400
+ };
99401
+ }
99402
+ var init_collect_contact_information = __esm({
99403
+ "src/util/domains/collect-contact-information.ts"() {
99404
+ "use strict";
99405
+ init_output_manager();
99406
+ }
99407
+ });
99408
+
98807
99409
  // src/util/domains/purchase-domain-if-available.ts
98808
99410
  async function purchaseDomainIfAvailable(client2, domain, contextName) {
98809
99411
  output_manager_default.spinner(`Checking status of ${import_chalk30.default.bold(domain)}`);
@@ -98847,7 +99449,15 @@ async function purchaseDomainIfAvailable(client2, domain, contextName) {
98847
99449
  return new UserAborted();
98848
99450
  }
98849
99451
  output_manager_default.print(eraseLines(1));
98850
- const result = await purchaseDomain(client2, domain, purchasePrice, years);
99452
+ const contactInformation = await collectContactInformation(client2);
99453
+ const result = await purchaseDomain(
99454
+ client2,
99455
+ domain,
99456
+ purchasePrice,
99457
+ years,
99458
+ true,
99459
+ contactInformation
99460
+ );
98851
99461
  if (result instanceof Error) {
98852
99462
  return result;
98853
99463
  }
@@ -98870,6 +99480,7 @@ var init_purchase_domain_if_available = __esm({
98870
99480
  init_errors_ts();
98871
99481
  init_output_manager();
98872
99482
  init_param();
99483
+ init_collect_contact_information();
98873
99484
  isTTY = process.stdout.isTTY;
98874
99485
  }
98875
99486
  });
@@ -109466,7 +110077,7 @@ var init_create_project = __esm({
109466
110077
  });
109467
110078
 
109468
110079
  // ../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/common.js
109469
- var require_common8 = __commonJS2({
110080
+ var require_common9 = __commonJS2({
109470
110081
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/common.js"(exports2, module2) {
109471
110082
  "use strict";
109472
110083
  function isNothing(subject) {
@@ -109546,7 +110157,7 @@ var require_exception = __commonJS2({
109546
110157
  var require_mark = __commonJS2({
109547
110158
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/mark.js"(exports2, module2) {
109548
110159
  "use strict";
109549
- var common2 = require_common8();
110160
+ var common2 = require_common9();
109550
110161
  function Mark(name, buffer, position, line, column) {
109551
110162
  this.name = name;
109552
110163
  this.buffer = buffer;
@@ -109664,7 +110275,7 @@ var require_type = __commonJS2({
109664
110275
  var require_schema = __commonJS2({
109665
110276
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/schema.js"(exports2, module2) {
109666
110277
  "use strict";
109667
- var common2 = require_common8();
110278
+ var common2 = require_common9();
109668
110279
  var YAMLException = require_exception();
109669
110280
  var Type = require_type();
109670
110281
  function compileList(schema, name, result) {
@@ -109888,7 +110499,7 @@ var require_bool = __commonJS2({
109888
110499
  var require_int = __commonJS2({
109889
110500
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/type/int.js"(exports2, module2) {
109890
110501
  "use strict";
109891
- var common2 = require_common8();
110502
+ var common2 = require_common9();
109892
110503
  var Type = require_type();
109893
110504
  function isHexCode(c) {
109894
110505
  return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
@@ -110039,7 +110650,7 @@ var require_int = __commonJS2({
110039
110650
  var require_float = __commonJS2({
110040
110651
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/type/float.js"(exports2, module2) {
110041
110652
  "use strict";
110042
- var common2 = require_common8();
110653
+ var common2 = require_common9();
110043
110654
  var Type = require_type();
110044
110655
  var YAML_FLOAT_PATTERN = new RegExp(
110045
110656
  // 2.5e4, 2.5 and integers
@@ -110639,7 +111250,7 @@ var require_default_full = __commonJS2({
110639
111250
  var require_loader = __commonJS2({
110640
111251
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/loader.js"(exports2, module2) {
110641
111252
  "use strict";
110642
- var common2 = require_common8();
111253
+ var common2 = require_common9();
110643
111254
  var YAMLException = require_exception();
110644
111255
  var Mark = require_mark();
110645
111256
  var DEFAULT_SAFE_SCHEMA = require_default_safe();
@@ -111739,7 +112350,7 @@ var require_loader = __commonJS2({
111739
112350
  var require_dumper = __commonJS2({
111740
112351
  "../../node_modules/.pnpm/js-yaml@3.13.1/node_modules/js-yaml/lib/js-yaml/dumper.js"(exports2, module2) {
111741
112352
  "use strict";
111742
- var common2 = require_common8();
112353
+ var common2 = require_common9();
111743
112354
  var YAMLException = require_exception();
111744
112355
  var DEFAULT_FULL_SCHEMA = require_default_full();
111745
112356
  var DEFAULT_SAFE_SCHEMA = require_default_safe();
@@ -116700,7 +117311,7 @@ var require_frameworks = __commonJS2({
116700
117311
  description: "Nitro lets you create web servers that run on multiple platforms.",
116701
117312
  website: "https://nitro.build/",
116702
117313
  detectors: {
116703
- every: [{ matchPackage: "nitropack" }]
117314
+ some: [{ matchPackage: "nitropack" }, { matchPackage: "nitro" }]
116704
117315
  },
116705
117316
  settings: {
116706
117317
  installCommand: {
@@ -116717,7 +117328,6 @@ var require_frameworks = __commonJS2({
116717
117328
  value: "dist"
116718
117329
  }
116719
117330
  },
116720
- dependency: "nitropack",
116721
117331
  getOutputDirName: async () => "public"
116722
117332
  },
116723
117333
  {
@@ -117298,9 +117908,197 @@ var require_frameworks = __commonJS2({
117298
117908
  detectors: {
117299
117909
  every: [{ matchPackage: "@nestjs/core" }],
117300
117910
  some: [
117911
+ {
117912
+ path: "src/main.js",
117913
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117914
+ },
117915
+ {
117916
+ path: "src/main.cjs",
117917
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117918
+ },
117919
+ {
117920
+ path: "src/main.mjs",
117921
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117922
+ },
117301
117923
  {
117302
117924
  path: "src/main.ts",
117303
117925
  matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117926
+ },
117927
+ {
117928
+ path: "src/main.cts",
117929
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117930
+ },
117931
+ {
117932
+ path: "src/main.mts",
117933
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117934
+ },
117935
+ {
117936
+ path: "main.js",
117937
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117938
+ },
117939
+ {
117940
+ path: "main.cjs",
117941
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117942
+ },
117943
+ {
117944
+ path: "main.mjs",
117945
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117946
+ },
117947
+ {
117948
+ path: "main.ts",
117949
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117950
+ },
117951
+ {
117952
+ path: "main.cts",
117953
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117954
+ },
117955
+ {
117956
+ path: "main.mts",
117957
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117958
+ },
117959
+ {
117960
+ path: "app.js",
117961
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117962
+ },
117963
+ {
117964
+ path: "app.cjs",
117965
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117966
+ },
117967
+ {
117968
+ path: "app.mjs",
117969
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117970
+ },
117971
+ {
117972
+ path: "app.ts",
117973
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117974
+ },
117975
+ {
117976
+ path: "app.cts",
117977
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117978
+ },
117979
+ {
117980
+ path: "app.mts",
117981
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117982
+ },
117983
+ {
117984
+ path: "index.js",
117985
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117986
+ },
117987
+ {
117988
+ path: "index.cjs",
117989
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117990
+ },
117991
+ {
117992
+ path: "index.mjs",
117993
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117994
+ },
117995
+ {
117996
+ path: "index.ts",
117997
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117998
+ },
117999
+ {
118000
+ path: "index.cts",
118001
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118002
+ },
118003
+ {
118004
+ path: "index.mts",
118005
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118006
+ },
118007
+ {
118008
+ path: "server.js",
118009
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118010
+ },
118011
+ {
118012
+ path: "server.cjs",
118013
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118014
+ },
118015
+ {
118016
+ path: "server.mjs",
118017
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118018
+ },
118019
+ {
118020
+ path: "server.ts",
118021
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118022
+ },
118023
+ {
118024
+ path: "server.cts",
118025
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118026
+ },
118027
+ {
118028
+ path: "server.mts",
118029
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118030
+ },
118031
+ {
118032
+ path: "src/app.js",
118033
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118034
+ },
118035
+ {
118036
+ path: "src/app.cjs",
118037
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118038
+ },
118039
+ {
118040
+ path: "src/app.mjs",
118041
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118042
+ },
118043
+ {
118044
+ path: "src/app.ts",
118045
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118046
+ },
118047
+ {
118048
+ path: "src/app.cts",
118049
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118050
+ },
118051
+ {
118052
+ path: "src/app.mts",
118053
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118054
+ },
118055
+ {
118056
+ path: "src/index.js",
118057
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118058
+ },
118059
+ {
118060
+ path: "src/index.cjs",
118061
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118062
+ },
118063
+ {
118064
+ path: "src/index.mjs",
118065
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118066
+ },
118067
+ {
118068
+ path: "src/index.ts",
118069
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118070
+ },
118071
+ {
118072
+ path: "src/index.cts",
118073
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118074
+ },
118075
+ {
118076
+ path: "src/index.mts",
118077
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118078
+ },
118079
+ {
118080
+ path: "src/server.js",
118081
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118082
+ },
118083
+ {
118084
+ path: "src/server.cjs",
118085
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118086
+ },
118087
+ {
118088
+ path: "src/server.mjs",
118089
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118090
+ },
118091
+ {
118092
+ path: "src/server.ts",
118093
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118094
+ },
118095
+ {
118096
+ path: "src/server.cts",
118097
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
118098
+ },
118099
+ {
118100
+ path: "src/server.mts",
118101
+ matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']@nestjs/core["']\\s*(?:\\))?`
117304
118102
  }
117305
118103
  ]
117306
118104
  },
@@ -121020,7 +121818,7 @@ var require_get_workspaces = __commonJS2({
121020
121818
  });
121021
121819
 
121022
121820
  // ../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/common.js
121023
- var require_common9 = __commonJS2({
121821
+ var require_common10 = __commonJS2({
121024
121822
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/common.js"(exports2, module2) {
121025
121823
  "use strict";
121026
121824
  function isNothing(subject) {
@@ -121108,7 +121906,7 @@ var require_exception2 = __commonJS2({
121108
121906
  var require_snippet = __commonJS2({
121109
121907
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/snippet.js"(exports2, module2) {
121110
121908
  "use strict";
121111
- var common2 = require_common9();
121909
+ var common2 = require_common10();
121112
121910
  function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
121113
121911
  var head = "";
121114
121912
  var tail = "";
@@ -121490,7 +122288,7 @@ var require_bool2 = __commonJS2({
121490
122288
  var require_int2 = __commonJS2({
121491
122289
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/type/int.js"(exports2, module2) {
121492
122290
  "use strict";
121493
- var common2 = require_common9();
122291
+ var common2 = require_common10();
121494
122292
  var Type = require_type2();
121495
122293
  function isHexCode(c) {
121496
122294
  return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102;
@@ -121629,7 +122427,7 @@ var require_int2 = __commonJS2({
121629
122427
  var require_float2 = __commonJS2({
121630
122428
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/type/float.js"(exports2, module2) {
121631
122429
  "use strict";
121632
- var common2 = require_common9();
122430
+ var common2 = require_common10();
121633
122431
  var Type = require_type2();
121634
122432
  var YAML_FLOAT_PATTERN = new RegExp(
121635
122433
  // 2.5e4, 2.5 and integers
@@ -122039,7 +122837,7 @@ var require_default = __commonJS2({
122039
122837
  var require_loader2 = __commonJS2({
122040
122838
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/loader.js"(exports2, module2) {
122041
122839
  "use strict";
122042
- var common2 = require_common9();
122840
+ var common2 = require_common10();
122043
122841
  var YAMLException = require_exception2();
122044
122842
  var makeSnippet = require_snippet();
122045
122843
  var DEFAULT_SCHEMA = require_default();
@@ -123207,7 +124005,7 @@ var require_loader2 = __commonJS2({
123207
124005
  var require_dumper2 = __commonJS2({
123208
124006
  "../../node_modules/.pnpm/js-yaml@4.1.0/node_modules/js-yaml/lib/dumper.js"(exports2, module2) {
123209
124007
  "use strict";
123210
- var common2 = require_common9();
124008
+ var common2 = require_common10();
123211
124009
  var YAMLException = require_exception2();
123212
124010
  var DEFAULT_SCHEMA = require_default();
123213
124011
  var _toString = Object.prototype.toString;
@@ -124157,7 +124955,7 @@ var require_fs7 = __commonJS2({
124157
124955
  });
124158
124956
 
124159
124957
  // ../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/common.js
124160
- var require_common10 = __commonJS2({
124958
+ var require_common11 = __commonJS2({
124161
124959
  "../../node_modules/.pnpm/glob@8.0.3/node_modules/glob/common.js"(exports2) {
124162
124960
  exports2.setopts = setopts;
124163
124961
  exports2.ownProp = ownProp;
@@ -124364,7 +125162,7 @@ var require_sync7 = __commonJS2({
124364
125162
  var path11 = require("path");
124365
125163
  var assert = require("assert");
124366
125164
  var isAbsolute2 = require("path").isAbsolute;
124367
- var common2 = require_common10();
125165
+ var common2 = require_common11();
124368
125166
  var setopts = common2.setopts;
124369
125167
  var ownProp = common2.ownProp;
124370
125168
  var childrenIgnored = common2.childrenIgnored;
@@ -124763,7 +125561,7 @@ var require_glob = __commonJS2({
124763
125561
  var assert = require("assert");
124764
125562
  var isAbsolute2 = require("path").isAbsolute;
124765
125563
  var globSync = require_sync7();
124766
- var common2 = require_common10();
125564
+ var common2 = require_common11();
124767
125565
  var setopts = common2.setopts;
124768
125566
  var ownProp = common2.ownProp;
124769
125567
  var inflight = require_inflight();
@@ -156086,7 +156884,7 @@ var require_requires_port = __commonJS2({
156086
156884
  });
156087
156885
 
156088
156886
  // ../../node_modules/.pnpm/http-proxy@1.18.1_debug@3.1.0/node_modules/http-proxy/lib/http-proxy/common.js
156089
- var require_common11 = __commonJS2({
156887
+ var require_common12 = __commonJS2({
156090
156888
  "../../node_modules/.pnpm/http-proxy@1.18.1_debug@3.1.0/node_modules/http-proxy/lib/http-proxy/common.js"(exports2) {
156091
156889
  var common2 = exports2;
156092
156890
  var url3 = require("url");
@@ -156199,7 +156997,7 @@ var require_common11 = __commonJS2({
156199
156997
  var require_web_outgoing = __commonJS2({
156200
156998
  "../../node_modules/.pnpm/http-proxy@1.18.1_debug@3.1.0/node_modules/http-proxy/lib/http-proxy/passes/web-outgoing.js"(exports2, module2) {
156201
156999
  var url3 = require("url");
156202
- var common2 = require_common11();
157000
+ var common2 = require_common12();
156203
157001
  var redirectRegex = /^201|30(1|2|7|8)$/;
156204
157002
  module2.exports = {
156205
157003
  // <--
@@ -156549,7 +157347,7 @@ var require_debug4 = __commonJS2({
156549
157347
  });
156550
157348
 
156551
157349
  // ../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/browser.js
156552
- var require_browser3 = __commonJS2({
157350
+ var require_browser4 = __commonJS2({
156553
157351
  "../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/browser.js"(exports2, module2) {
156554
157352
  exports2 = module2.exports = require_debug4();
156555
157353
  exports2.log = log2;
@@ -156710,7 +157508,7 @@ var require_browser3 = __commonJS2({
156710
157508
  });
156711
157509
 
156712
157510
  // ../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/node.js
156713
- var require_node5 = __commonJS2({
157511
+ var require_node6 = __commonJS2({
156714
157512
  "../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/node.js"(exports2, module2) {
156715
157513
  var tty = require("tty");
156716
157514
  var util = require("util");
@@ -156883,12 +157681,12 @@ var require_node5 = __commonJS2({
156883
157681
  });
156884
157682
 
156885
157683
  // ../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/index.js
156886
- var require_src2 = __commonJS2({
157684
+ var require_src3 = __commonJS2({
156887
157685
  "../../node_modules/.pnpm/debug@3.1.0/node_modules/debug/src/index.js"(exports2, module2) {
156888
157686
  if (typeof process === "undefined" || process.type === "renderer") {
156889
- module2.exports = require_browser3();
157687
+ module2.exports = require_browser4();
156890
157688
  } else {
156891
- module2.exports = require_node5();
157689
+ module2.exports = require_node6();
156892
157690
  }
156893
157691
  }
156894
157692
  });
@@ -156900,7 +157698,7 @@ var require_debug5 = __commonJS2({
156900
157698
  module2.exports = function() {
156901
157699
  if (!debug2) {
156902
157700
  try {
156903
- debug2 = require_src2()("follow-redirects");
157701
+ debug2 = require_src3()("follow-redirects");
156904
157702
  } catch (error3) {
156905
157703
  }
156906
157704
  if (typeof debug2 !== "function") {
@@ -157415,7 +158213,7 @@ var require_web_incoming = __commonJS2({
157415
158213
  var httpNative = require("http");
157416
158214
  var httpsNative = require("https");
157417
158215
  var web_o = require_web_outgoing();
157418
- var common2 = require_common11();
158216
+ var common2 = require_common12();
157419
158217
  var followRedirects = require_follow_redirects();
157420
158218
  web_o = Object.keys(web_o).map(function(pass) {
157421
158219
  return web_o[pass];
@@ -157568,7 +158366,7 @@ var require_ws_incoming = __commonJS2({
157568
158366
  "../../node_modules/.pnpm/http-proxy@1.18.1_debug@3.1.0/node_modules/http-proxy/lib/http-proxy/passes/ws-incoming.js"(exports2, module2) {
157569
158367
  var http3 = require("http");
157570
158368
  var https = require("https");
157571
- var common2 = require_common11();
158369
+ var common2 = require_common12();
157572
158370
  module2.exports = {
157573
158371
  /**
157574
158372
  * WebSocket requests must have the `GET` method and
@@ -167013,7 +167811,7 @@ var require_error4 = __commonJS2({
167013
167811
  });
167014
167812
 
167015
167813
  // ../../node_modules/.pnpm/serve-handler@6.1.1/node_modules/serve-handler/src/index.js
167016
- var require_src3 = __commonJS2({
167814
+ var require_src4 = __commonJS2({
167017
167815
  "../../node_modules/.pnpm/serve-handler@6.1.1/node_modules/serve-handler/src/index.js"(exports2, module2) {
167018
167816
  var { promisify: promisify3 } = require("util");
167019
167817
  var path11 = require("path");
@@ -168480,10 +169278,10 @@ async function getBuildMatches(vercelConfig, cwd, devServer, fileList) {
168480
169278
  if (src[0] === "/") {
168481
169279
  src = src.substring(1);
168482
169280
  }
168483
- if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express" || buildConfig.config?.framework === "h3") {
169281
+ if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express" || buildConfig.config?.framework === "h3" || buildConfig.config?.framework === "nestjs") {
168484
169282
  src = "package.json";
168485
169283
  }
168486
- if (buildConfig.config?.framework === "fastapi") {
169284
+ if (buildConfig.config?.framework === "fastapi" || buildConfig.config?.framework === "flask") {
168487
169285
  const candidateDirs = ["", "src", "app"];
168488
169286
  const candidateNames = ["app", "index", "server", "main"];
168489
169287
  const candidates = [];
@@ -169148,7 +169946,7 @@ var init_server = __esm({
169148
169946
  import_minimatch4 = __toESM3(require_minimatch2());
169149
169947
  import_http_proxy = __toESM3(require_http_proxy3());
169150
169948
  import_crypto2 = require("crypto");
169151
- import_serve_handler = __toESM3(require_src3());
169949
+ import_serve_handler = __toESM3(require_src4());
169152
169950
  import_chokidar = require("chokidar");
169153
169951
  import_dotenv2 = __toESM3(require_main3());
169154
169952
  import_path35 = __toESM3(require("path"));
@@ -172785,23 +173583,25 @@ async function buy(client2, argv) {
172785
173583
  "available"
172786
173584
  )} to buy under ${import_chalk83.default.bold(contextName)}! ${availableStamp()}`
172787
173585
  );
172788
- let autoRenew;
172789
173586
  if (skipConfirmation) {
172790
- autoRenew = true;
172791
- } else {
172792
- if (!await client2.input.confirm(
172793
- `Buy now for ${import_chalk83.default.bold(`$${purchasePrice}`)} (${`${years}yr${years > 1 ? "s" : ""}`})?`,
172794
- false
172795
- )) {
172796
- return 0;
172797
- }
172798
- autoRenew = await client2.input.confirm(
172799
- years === 1 ? `Auto renew yearly for ${import_chalk83.default.bold(`$${renewalPrice}`)}?` : `Auto renew every ${years} years for ${import_chalk83.default.bold(
172800
- `$${renewalPrice}`
172801
- )}?`,
172802
- true
173587
+ output_manager_default.error(
173588
+ "Domain purchase in CI mode is not supported. Please run this command interactively to provide contact information."
172803
173589
  );
173590
+ return 1;
173591
+ }
173592
+ if (!await client2.input.confirm(
173593
+ `Buy now for ${import_chalk83.default.bold(`$${purchasePrice}`)} (${`${years}yr${years > 1 ? "s" : ""}`})?`,
173594
+ false
173595
+ )) {
173596
+ return 0;
172804
173597
  }
173598
+ const autoRenew = await client2.input.confirm(
173599
+ years === 1 ? `Auto renew yearly for ${import_chalk83.default.bold(`$${renewalPrice}`)}?` : `Auto renew every ${years} years for ${import_chalk83.default.bold(
173600
+ `$${renewalPrice}`
173601
+ )}?`,
173602
+ true
173603
+ );
173604
+ const contactInformation = await collectContactInformation(client2);
172805
173605
  let buyResult;
172806
173606
  const purchaseStamp = stamp_default();
172807
173607
  output_manager_default.spinner("Purchasing");
@@ -172811,7 +173611,8 @@ async function buy(client2, argv) {
172811
173611
  domainName,
172812
173612
  purchasePrice,
172813
173613
  years,
172814
- autoRenew
173614
+ autoRenew,
173615
+ contactInformation
172815
173616
  );
172816
173617
  } catch (err) {
172817
173618
  output_manager_default.error(
@@ -172878,6 +173679,7 @@ var init_buy2 = __esm({
172878
173679
  init_get_args();
172879
173680
  init_get_flags_specification();
172880
173681
  init_error2();
173682
+ init_collect_contact_information();
172881
173683
  }
172882
173684
  });
172883
173685