ph-cmd 6.0.0-dev.42 → 6.0.0-dev.44
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/build/cli.js +276 -260
- package/build/cli.old.js +12 -1
- package/build/generate-commands-docs.js +277 -261
- package/package.json +3 -3
package/build/cli.js
CHANGED
|
@@ -13774,7 +13774,7 @@ var require_state = __commonJS((exports, module3) => {
|
|
|
13774
13774
|
|
|
13775
13775
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/styles.js
|
|
13776
13776
|
var require_styles = __commonJS((exports, module3) => {
|
|
13777
|
-
var
|
|
13777
|
+
var utils5 = require_utils2();
|
|
13778
13778
|
var colors = require_ansi_colors();
|
|
13779
13779
|
var styles3 = {
|
|
13780
13780
|
default: colors.noop,
|
|
@@ -13783,13 +13783,13 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13783
13783
|
this._inverse = custom;
|
|
13784
13784
|
},
|
|
13785
13785
|
get inverse() {
|
|
13786
|
-
return this._inverse ||
|
|
13786
|
+
return this._inverse || utils5.inverse(this.primary);
|
|
13787
13787
|
},
|
|
13788
13788
|
set complement(custom) {
|
|
13789
13789
|
this._complement = custom;
|
|
13790
13790
|
},
|
|
13791
13791
|
get complement() {
|
|
13792
|
-
return this._complement ||
|
|
13792
|
+
return this._complement || utils5.complement(this.primary);
|
|
13793
13793
|
},
|
|
13794
13794
|
primary: colors.cyan,
|
|
13795
13795
|
success: colors.green,
|
|
@@ -13862,7 +13862,7 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13862
13862
|
if (options.styles && typeof options.styles.visible === "boolean") {
|
|
13863
13863
|
colors.visible = options.styles.visible;
|
|
13864
13864
|
}
|
|
13865
|
-
let result =
|
|
13865
|
+
let result = utils5.merge({}, styles3, options.styles);
|
|
13866
13866
|
delete result.merge;
|
|
13867
13867
|
for (let key of Object.keys(colors)) {
|
|
13868
13868
|
if (!hasOwnProperty.call(result, key)) {
|
|
@@ -13883,7 +13883,7 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13883
13883
|
var require_symbols2 = __commonJS((exports, module3) => {
|
|
13884
13884
|
var isWindows = process.platform === "win32";
|
|
13885
13885
|
var colors = require_ansi_colors();
|
|
13886
|
-
var
|
|
13886
|
+
var utils5 = require_utils2();
|
|
13887
13887
|
var symbols = {
|
|
13888
13888
|
...colors.symbols,
|
|
13889
13889
|
upDownDoubleArrow: "⇕",
|
|
@@ -13936,7 +13936,7 @@ var require_symbols2 = __commonJS((exports, module3) => {
|
|
|
13936
13936
|
numbers: ["⓪", "①", "②", "③", "④", "⑤", "⑥", "⑦", "⑧", "⑨", "⑩", "⑪", "⑫", "⑬", "⑭", "⑮", "⑯", "⑰", "⑱", "⑲", "⑳", "㉑", "㉒", "㉓", "㉔", "㉕", "㉖", "㉗", "㉘", "㉙", "㉚", "㉛", "㉜", "㉝", "㉞", "㉟", "㊱", "㊲", "㊳", "㊴", "㊵", "㊶", "㊷", "㊸", "㊹", "㊺", "㊻", "㊼", "㊽", "㊾", "㊿"]
|
|
13937
13937
|
};
|
|
13938
13938
|
symbols.merge = (options) => {
|
|
13939
|
-
let result =
|
|
13939
|
+
let result = utils5.merge({}, colors.symbols, symbols, options.symbols);
|
|
13940
13940
|
delete result.merge;
|
|
13941
13941
|
return result;
|
|
13942
13942
|
};
|
|
@@ -13947,9 +13947,9 @@ var require_symbols2 = __commonJS((exports, module3) => {
|
|
|
13947
13947
|
var require_theme = __commonJS((exports, module3) => {
|
|
13948
13948
|
var styles3 = require_styles();
|
|
13949
13949
|
var symbols = require_symbols2();
|
|
13950
|
-
var
|
|
13950
|
+
var utils5 = require_utils2();
|
|
13951
13951
|
module3.exports = (prompt) => {
|
|
13952
|
-
prompt.options =
|
|
13952
|
+
prompt.options = utils5.merge({}, prompt.options.theme, prompt.options);
|
|
13953
13953
|
prompt.symbols = symbols.merge(prompt.options);
|
|
13954
13954
|
prompt.styles = styles3.merge(prompt.options);
|
|
13955
13955
|
};
|
|
@@ -13959,7 +13959,7 @@ var require_theme = __commonJS((exports, module3) => {
|
|
|
13959
13959
|
var require_ansi = __commonJS((exports, module3) => {
|
|
13960
13960
|
var isTerm = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
13961
13961
|
var stripAnsi2 = require_strip_ansi();
|
|
13962
|
-
var
|
|
13962
|
+
var utils5 = require_utils2();
|
|
13963
13963
|
var ansi = module3.exports = exports;
|
|
13964
13964
|
var ESC = "\x1B[";
|
|
13965
13965
|
var BEL = "\x07";
|
|
@@ -14023,9 +14023,9 @@ var require_ansi = __commonJS((exports, module3) => {
|
|
|
14023
14023
|
},
|
|
14024
14024
|
restore(state = {}) {
|
|
14025
14025
|
let { after, cursor: cursor2, initial, input, prompt, size, value: value2 } = state;
|
|
14026
|
-
initial =
|
|
14027
|
-
input =
|
|
14028
|
-
value2 =
|
|
14026
|
+
initial = utils5.isPrimitive(initial) ? String(initial) : "";
|
|
14027
|
+
input = utils5.isPrimitive(input) ? String(input) : "";
|
|
14028
|
+
value2 = utils5.isPrimitive(value2) ? String(value2) : "";
|
|
14029
14029
|
if (size) {
|
|
14030
14030
|
let codes = ansi.cursor.up(size) + ansi.cursor.to(this.strLen(prompt));
|
|
14031
14031
|
let diff2 = input.length - cursor2;
|
|
@@ -14083,7 +14083,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14083
14083
|
var timer = require_timer();
|
|
14084
14084
|
var State = require_state();
|
|
14085
14085
|
var theme = require_theme();
|
|
14086
|
-
var
|
|
14086
|
+
var utils5 = require_utils2();
|
|
14087
14087
|
var ansi = require_ansi();
|
|
14088
14088
|
|
|
14089
14089
|
class Prompt extends Events {
|
|
@@ -14126,7 +14126,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14126
14126
|
}
|
|
14127
14127
|
cursorHide() {
|
|
14128
14128
|
this.stdout.write(ansi.cursor.hide());
|
|
14129
|
-
const releaseOnExit =
|
|
14129
|
+
const releaseOnExit = utils5.onExit(() => this.cursorShow());
|
|
14130
14130
|
this.on("close", () => {
|
|
14131
14131
|
this.cursorShow();
|
|
14132
14132
|
releaseOnExit();
|
|
@@ -14300,9 +14300,9 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14300
14300
|
let timer2 = this.timers && this.timers.prefix;
|
|
14301
14301
|
let state = this.state;
|
|
14302
14302
|
state.timer = timer2;
|
|
14303
|
-
if (
|
|
14303
|
+
if (utils5.isObject(element))
|
|
14304
14304
|
element = element[state.status] || element.pending;
|
|
14305
|
-
if (!
|
|
14305
|
+
if (!utils5.hasColor(element)) {
|
|
14306
14306
|
let style = this.styles[state.status] || this.styles.pending;
|
|
14307
14307
|
return style(element);
|
|
14308
14308
|
}
|
|
@@ -14310,7 +14310,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14310
14310
|
}
|
|
14311
14311
|
async message() {
|
|
14312
14312
|
let message = await this.element("message");
|
|
14313
|
-
if (!
|
|
14313
|
+
if (!utils5.hasColor(message)) {
|
|
14314
14314
|
return this.styles.strong(message);
|
|
14315
14315
|
}
|
|
14316
14316
|
return message;
|
|
@@ -14322,16 +14322,16 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14322
14322
|
state.timer = timer2;
|
|
14323
14323
|
let value2 = element[state.status] || element.pending || state.separator;
|
|
14324
14324
|
let ele = await this.resolve(value2, state);
|
|
14325
|
-
if (
|
|
14325
|
+
if (utils5.isObject(ele))
|
|
14326
14326
|
ele = ele[state.status] || ele.pending;
|
|
14327
|
-
if (!
|
|
14327
|
+
if (!utils5.hasColor(ele)) {
|
|
14328
14328
|
return this.styles.muted(ele);
|
|
14329
14329
|
}
|
|
14330
14330
|
return ele;
|
|
14331
14331
|
}
|
|
14332
14332
|
async pointer(choice, i) {
|
|
14333
14333
|
let val = await this.element("pointer", choice, i);
|
|
14334
|
-
if (typeof val === "string" &&
|
|
14334
|
+
if (typeof val === "string" && utils5.hasColor(val)) {
|
|
14335
14335
|
return val;
|
|
14336
14336
|
}
|
|
14337
14337
|
if (val) {
|
|
@@ -14339,13 +14339,13 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14339
14339
|
let focused = this.index === i;
|
|
14340
14340
|
let style = focused ? styles3.primary : (val2) => val2;
|
|
14341
14341
|
let ele = await this.resolve(val[focused ? "on" : "off"] || val, this.state);
|
|
14342
|
-
let styled = !
|
|
14342
|
+
let styled = !utils5.hasColor(ele) ? style(ele) : ele;
|
|
14343
14343
|
return focused ? styled : " ".repeat(ele.length);
|
|
14344
14344
|
}
|
|
14345
14345
|
}
|
|
14346
14346
|
async indicator(choice, i) {
|
|
14347
14347
|
let val = await this.element("indicator", choice, i);
|
|
14348
|
-
if (typeof val === "string" &&
|
|
14348
|
+
if (typeof val === "string" && utils5.hasColor(val)) {
|
|
14349
14349
|
return val;
|
|
14350
14350
|
}
|
|
14351
14351
|
if (val) {
|
|
@@ -14353,7 +14353,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14353
14353
|
let enabled = choice.enabled === true;
|
|
14354
14354
|
let style = enabled ? styles3.success : styles3.dark;
|
|
14355
14355
|
let ele = val[enabled ? "on" : "off"] || val;
|
|
14356
|
-
return !
|
|
14356
|
+
return !utils5.hasColor(ele) ? style(ele) : ele;
|
|
14357
14357
|
}
|
|
14358
14358
|
return "";
|
|
14359
14359
|
}
|
|
@@ -14373,7 +14373,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14373
14373
|
async hint() {
|
|
14374
14374
|
if (this.state.status === "pending" && !this.isValue(this.state.input)) {
|
|
14375
14375
|
let hint = await this.element("hint");
|
|
14376
|
-
if (!
|
|
14376
|
+
if (!utils5.hasColor(hint)) {
|
|
14377
14377
|
return this.styles.muted(hint);
|
|
14378
14378
|
}
|
|
14379
14379
|
return hint;
|
|
@@ -14398,7 +14398,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14398
14398
|
return value2 != null && value2 !== "";
|
|
14399
14399
|
}
|
|
14400
14400
|
resolve(value2, ...args) {
|
|
14401
|
-
return
|
|
14401
|
+
return utils5.resolve(this, value2, ...args);
|
|
14402
14402
|
}
|
|
14403
14403
|
get base() {
|
|
14404
14404
|
return Prompt.prototype;
|
|
@@ -14407,10 +14407,10 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14407
14407
|
return this.styles[this.state.status];
|
|
14408
14408
|
}
|
|
14409
14409
|
get height() {
|
|
14410
|
-
return this.options.rows ||
|
|
14410
|
+
return this.options.rows || utils5.height(this.stdout, 25);
|
|
14411
14411
|
}
|
|
14412
14412
|
get width() {
|
|
14413
|
-
return this.options.columns ||
|
|
14413
|
+
return this.options.columns || utils5.width(this.stdout, 80);
|
|
14414
14414
|
}
|
|
14415
14415
|
get size() {
|
|
14416
14416
|
return { width: this.width, height: this.height };
|
|
@@ -14505,7 +14505,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14505
14505
|
|
|
14506
14506
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/roles.js
|
|
14507
14507
|
var require_roles = __commonJS((exports, module3) => {
|
|
14508
|
-
var
|
|
14508
|
+
var utils5 = require_utils2();
|
|
14509
14509
|
var roles = {
|
|
14510
14510
|
default(prompt, choice) {
|
|
14511
14511
|
return choice;
|
|
@@ -14545,7 +14545,7 @@ var require_roles = __commonJS((exports, module3) => {
|
|
|
14545
14545
|
}
|
|
14546
14546
|
};
|
|
14547
14547
|
module3.exports = (name, options = {}) => {
|
|
14548
|
-
let role =
|
|
14548
|
+
let role = utils5.merge({}, roles, options.roles);
|
|
14549
14549
|
return role[name] || role.default;
|
|
14550
14550
|
};
|
|
14551
14551
|
});
|
|
@@ -14555,8 +14555,8 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
14555
14555
|
var stripAnsi2 = require_strip_ansi();
|
|
14556
14556
|
var Prompt = require_prompt();
|
|
14557
14557
|
var roles = require_roles();
|
|
14558
|
-
var
|
|
14559
|
-
var { reorder, scrollUp, scrollDown, isObject: isObject2, swap } =
|
|
14558
|
+
var utils5 = require_utils2();
|
|
14559
|
+
var { reorder, scrollUp, scrollDown, isObject: isObject2, swap } = utils5;
|
|
14560
14560
|
|
|
14561
14561
|
class ArrayPrompt extends Prompt {
|
|
14562
14562
|
constructor(options) {
|
|
@@ -14657,7 +14657,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
14657
14657
|
ele.input = "";
|
|
14658
14658
|
ele.index = i;
|
|
14659
14659
|
ele.cursor = 0;
|
|
14660
|
-
|
|
14660
|
+
utils5.define(ele, "parent", parent);
|
|
14661
14661
|
ele.level = parent ? parent.level + 1 : 1;
|
|
14662
14662
|
if (ele.indent == null) {
|
|
14663
14663
|
ele.indent = parent ? parent.indent + " " : ele.indent || "";
|
|
@@ -15044,7 +15044,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15044
15044
|
return this.alert();
|
|
15045
15045
|
}
|
|
15046
15046
|
if (Array.isArray(value2) && reorder2 !== false && sort !== true) {
|
|
15047
|
-
value2 =
|
|
15047
|
+
value2 = utils5.reorder(value2);
|
|
15048
15048
|
}
|
|
15049
15049
|
this.value = multi ? value2.map((ch) => ch.name) : value2.name;
|
|
15050
15050
|
return super.submit();
|
|
@@ -15122,7 +15122,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15122
15122
|
if (choices instanceof Promise)
|
|
15123
15123
|
return choices;
|
|
15124
15124
|
if (typeof choices === "function") {
|
|
15125
|
-
if (
|
|
15125
|
+
if (utils5.isAsyncFn(choices))
|
|
15126
15126
|
return choices;
|
|
15127
15127
|
choices = choices.call(prompt, prompt);
|
|
15128
15128
|
}
|
|
@@ -15143,7 +15143,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15143
15143
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/prompts/select.js
|
|
15144
15144
|
var require_select = __commonJS((exports, module3) => {
|
|
15145
15145
|
var ArrayPrompt = require_array();
|
|
15146
|
-
var
|
|
15146
|
+
var utils5 = require_utils2();
|
|
15147
15147
|
|
|
15148
15148
|
class SelectPrompt extends ArrayPrompt {
|
|
15149
15149
|
constructor(options) {
|
|
@@ -15170,7 +15170,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15170
15170
|
}
|
|
15171
15171
|
choiceMessage(choice, i) {
|
|
15172
15172
|
let message = this.resolve(choice.message, this.state, choice, i);
|
|
15173
|
-
if (choice.role === "heading" && !
|
|
15173
|
+
if (choice.role === "heading" && !utils5.hasColor(message)) {
|
|
15174
15174
|
message = this.styles.strong(message);
|
|
15175
15175
|
}
|
|
15176
15176
|
return this.resolve(message, this.state, choice, i);
|
|
@@ -15184,7 +15184,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15184
15184
|
let pointer = await this.pointer(choice, i);
|
|
15185
15185
|
let check = await this.indicator(choice, i) + (choice.pad || "");
|
|
15186
15186
|
let hint = await this.resolve(choice.hint, this.state, choice, i);
|
|
15187
|
-
if (hint && !
|
|
15187
|
+
if (hint && !utils5.hasColor(hint)) {
|
|
15188
15188
|
hint = this.styles.muted(hint);
|
|
15189
15189
|
}
|
|
15190
15190
|
let ind = this.indent(choice);
|
|
@@ -15194,7 +15194,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15194
15194
|
return line();
|
|
15195
15195
|
}
|
|
15196
15196
|
if (choice.disabled) {
|
|
15197
|
-
if (!
|
|
15197
|
+
if (!utils5.hasColor(msg)) {
|
|
15198
15198
|
msg = this.styles.disabled(msg);
|
|
15199
15199
|
}
|
|
15200
15200
|
return line();
|
|
@@ -15370,12 +15370,12 @@ var require_autocomplete = __commonJS((exports, module3) => {
|
|
|
15370
15370
|
|
|
15371
15371
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/placeholder.js
|
|
15372
15372
|
var require_placeholder = __commonJS((exports, module3) => {
|
|
15373
|
-
var
|
|
15373
|
+
var utils5 = require_utils2();
|
|
15374
15374
|
module3.exports = (prompt, options = {}) => {
|
|
15375
15375
|
prompt.cursorHide();
|
|
15376
15376
|
let { input = "", initial = "", pos, showCursor = true, color } = options;
|
|
15377
15377
|
let style = color || prompt.styles.placeholder;
|
|
15378
|
-
let inverse =
|
|
15378
|
+
let inverse = utils5.inverse(prompt.styles.primary);
|
|
15379
15379
|
let blinker = (str2) => inverse(prompt.styles.black(str2));
|
|
15380
15380
|
let output = input;
|
|
15381
15381
|
let char = " ";
|
|
@@ -15390,8 +15390,8 @@ var require_placeholder = __commonJS((exports, module3) => {
|
|
|
15390
15390
|
if (showCursor && pos === 0 && (input === initial || input === "")) {
|
|
15391
15391
|
return blinker(initial[0]) + style(initial.slice(1));
|
|
15392
15392
|
}
|
|
15393
|
-
initial =
|
|
15394
|
-
input =
|
|
15393
|
+
initial = utils5.isPrimitive(initial) ? `${initial}` : "";
|
|
15394
|
+
input = utils5.isPrimitive(input) ? `${input}` : "";
|
|
15395
15395
|
let placeholder = initial && initial.startsWith(input) && initial !== input;
|
|
15396
15396
|
let cursor = placeholder ? blinker(initial[input.length]) : reverse;
|
|
15397
15397
|
if (pos !== input.length && showCursor === true) {
|
|
@@ -16295,7 +16295,7 @@ var require_password = __commonJS((exports, module3) => {
|
|
|
16295
16295
|
var require_scale = __commonJS((exports, module3) => {
|
|
16296
16296
|
var stripAnsi2 = require_strip_ansi();
|
|
16297
16297
|
var ArrayPrompt = require_array();
|
|
16298
|
-
var
|
|
16298
|
+
var utils5 = require_utils2();
|
|
16299
16299
|
|
|
16300
16300
|
class LikertScale extends ArrayPrompt {
|
|
16301
16301
|
constructor(options = {}) {
|
|
@@ -16414,7 +16414,7 @@ var require_scale = __commonJS((exports, module3) => {
|
|
|
16414
16414
|
let focused = this.index === i;
|
|
16415
16415
|
let pointer = await this.pointer(choice, i);
|
|
16416
16416
|
let hint = await choice.hint;
|
|
16417
|
-
if (hint && !
|
|
16417
|
+
if (hint && !utils5.hasColor(hint)) {
|
|
16418
16418
|
hint = this.styles.muted(hint);
|
|
16419
16419
|
}
|
|
16420
16420
|
let pad = (str2) => this.margin[3] + str2.replace(/\s+$/, "").padEnd(this.widths[0], " ");
|
|
@@ -16425,7 +16425,7 @@ var require_scale = __commonJS((exports, module3) => {
|
|
|
16425
16425
|
let margin = this.margin[1] + this.margin[3];
|
|
16426
16426
|
this.scaleLength = stripAnsi2(scale).length;
|
|
16427
16427
|
this.widths[0] = Math.min(this.widths[0], this.width - this.scaleLength - margin.length);
|
|
16428
|
-
let msg =
|
|
16428
|
+
let msg = utils5.wordWrap(message, { width: this.widths[0], newline });
|
|
16429
16429
|
let lines = msg.split(`
|
|
16430
16430
|
`).map((line) => pad(line) + this.margin[1]);
|
|
16431
16431
|
if (focused) {
|
|
@@ -17202,10 +17202,10 @@ var require_quiz = __commonJS((exports, module3) => {
|
|
|
17202
17202
|
|
|
17203
17203
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/prompts/index.js
|
|
17204
17204
|
var require_prompts = __commonJS((exports) => {
|
|
17205
|
-
var
|
|
17205
|
+
var utils5 = require_utils2();
|
|
17206
17206
|
var define2 = (key, fn) => {
|
|
17207
|
-
|
|
17208
|
-
|
|
17207
|
+
utils5.defineExport(exports, key, fn);
|
|
17208
|
+
utils5.defineExport(exports, key.toLowerCase(), fn);
|
|
17209
17209
|
};
|
|
17210
17210
|
define2("AutoComplete", () => require_autocomplete());
|
|
17211
17211
|
define2("BasicAuth", () => require_basicauth());
|
|
@@ -17243,16 +17243,16 @@ var require_types2 = __commonJS((exports, module3) => {
|
|
|
17243
17243
|
var require_enquirer = __commonJS((exports, module3) => {
|
|
17244
17244
|
var assert = __require("assert");
|
|
17245
17245
|
var Events = __require("events");
|
|
17246
|
-
var
|
|
17246
|
+
var utils5 = require_utils2();
|
|
17247
17247
|
|
|
17248
17248
|
class Enquirer extends Events {
|
|
17249
17249
|
constructor(options, answers) {
|
|
17250
17250
|
super();
|
|
17251
|
-
this.options =
|
|
17251
|
+
this.options = utils5.merge({}, options);
|
|
17252
17252
|
this.answers = { ...answers };
|
|
17253
17253
|
}
|
|
17254
17254
|
register(type, fn) {
|
|
17255
|
-
if (
|
|
17255
|
+
if (utils5.isObject(type)) {
|
|
17256
17256
|
for (let key of Object.keys(type))
|
|
17257
17257
|
this.register(key, type[key]);
|
|
17258
17258
|
return this;
|
|
@@ -17271,7 +17271,7 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17271
17271
|
try {
|
|
17272
17272
|
if (typeof question === "function")
|
|
17273
17273
|
question = await question.call(this);
|
|
17274
|
-
await this.ask(
|
|
17274
|
+
await this.ask(utils5.merge({}, this.options, question));
|
|
17275
17275
|
} catch (err) {
|
|
17276
17276
|
return Promise.reject(err);
|
|
17277
17277
|
}
|
|
@@ -17282,9 +17282,9 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17282
17282
|
if (typeof question === "function") {
|
|
17283
17283
|
question = await question.call(this);
|
|
17284
17284
|
}
|
|
17285
|
-
let opts =
|
|
17285
|
+
let opts = utils5.merge({}, this.options, question);
|
|
17286
17286
|
let { type, name } = question;
|
|
17287
|
-
let { set: set2, get } =
|
|
17287
|
+
let { set: set2, get } = utils5;
|
|
17288
17288
|
if (typeof type === "function") {
|
|
17289
17289
|
type = await type.call(this, question, this.answers);
|
|
17290
17290
|
}
|
|
@@ -17354,11 +17354,11 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17354
17354
|
};
|
|
17355
17355
|
return enquirer.prompt(questions);
|
|
17356
17356
|
};
|
|
17357
|
-
|
|
17357
|
+
utils5.mixinEmitter(fn, new Events);
|
|
17358
17358
|
return fn;
|
|
17359
17359
|
}
|
|
17360
17360
|
}
|
|
17361
|
-
|
|
17361
|
+
utils5.mixinEmitter(Enquirer, new Events);
|
|
17362
17362
|
var prompts = Enquirer.prompts;
|
|
17363
17363
|
for (let name of Object.keys(prompts)) {
|
|
17364
17364
|
let key = name.toLowerCase();
|
|
@@ -17370,7 +17370,7 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17370
17370
|
}
|
|
17371
17371
|
}
|
|
17372
17372
|
var define2 = (name) => {
|
|
17373
|
-
|
|
17373
|
+
utils5.defineExport(Enquirer, name, () => Enquirer.types[name]);
|
|
17374
17374
|
};
|
|
17375
17375
|
define2("ArrayPrompt");
|
|
17376
17376
|
define2("AuthPrompt");
|
|
@@ -190377,7 +190377,7 @@ var require_utils3 = __commonJS((exports) => {
|
|
|
190377
190377
|
|
|
190378
190378
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
|
|
190379
190379
|
var require_scan2 = __commonJS((exports, module3) => {
|
|
190380
|
-
var
|
|
190380
|
+
var utils5 = require_utils3();
|
|
190381
190381
|
var {
|
|
190382
190382
|
CHAR_ASTERISK,
|
|
190383
190383
|
CHAR_AT,
|
|
@@ -190626,9 +190626,9 @@ var require_scan2 = __commonJS((exports, module3) => {
|
|
|
190626
190626
|
}
|
|
190627
190627
|
if (opts.unescape === true) {
|
|
190628
190628
|
if (glob)
|
|
190629
|
-
glob =
|
|
190629
|
+
glob = utils5.removeBackslashes(glob);
|
|
190630
190630
|
if (base && backslashes === true) {
|
|
190631
|
-
base =
|
|
190631
|
+
base = utils5.removeBackslashes(base);
|
|
190632
190632
|
}
|
|
190633
190633
|
}
|
|
190634
190634
|
const state = {
|
|
@@ -190693,7 +190693,7 @@ var require_scan2 = __commonJS((exports, module3) => {
|
|
|
190693
190693
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
|
|
190694
190694
|
var require_parse3 = __commonJS((exports, module3) => {
|
|
190695
190695
|
var constants2 = require_constants2();
|
|
190696
|
-
var
|
|
190696
|
+
var utils5 = require_utils3();
|
|
190697
190697
|
var {
|
|
190698
190698
|
MAX_LENGTH: MAX_LENGTH2,
|
|
190699
190699
|
POSIX_REGEX_SOURCE,
|
|
@@ -190710,7 +190710,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190710
190710
|
try {
|
|
190711
190711
|
new RegExp(value2);
|
|
190712
190712
|
} catch (ex) {
|
|
190713
|
-
return args.map((v) =>
|
|
190713
|
+
return args.map((v) => utils5.escapeRegex(v)).join("..");
|
|
190714
190714
|
}
|
|
190715
190715
|
return value2;
|
|
190716
190716
|
};
|
|
@@ -190776,7 +190776,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190776
190776
|
globstar: false,
|
|
190777
190777
|
tokens
|
|
190778
190778
|
};
|
|
190779
|
-
input =
|
|
190779
|
+
input = utils5.removePrefix(input, state);
|
|
190780
190780
|
len = input.length;
|
|
190781
190781
|
const extglobs = [];
|
|
190782
190782
|
const braces = [];
|
|
@@ -190916,7 +190916,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190916
190916
|
state.output = input;
|
|
190917
190917
|
return state;
|
|
190918
190918
|
}
|
|
190919
|
-
state.output =
|
|
190919
|
+
state.output = utils5.wrapOutput(output, state, options);
|
|
190920
190920
|
return state;
|
|
190921
190921
|
}
|
|
190922
190922
|
while (!eos()) {
|
|
@@ -190992,7 +190992,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190992
190992
|
continue;
|
|
190993
190993
|
}
|
|
190994
190994
|
if (state.quotes === 1 && value2 !== '"') {
|
|
190995
|
-
value2 =
|
|
190995
|
+
value2 = utils5.escapeRegex(value2);
|
|
190996
190996
|
prev.value += value2;
|
|
190997
190997
|
append({ value: value2 });
|
|
190998
190998
|
continue;
|
|
@@ -191053,10 +191053,10 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191053
191053
|
}
|
|
191054
191054
|
prev.value += value2;
|
|
191055
191055
|
append({ value: value2 });
|
|
191056
|
-
if (opts.literalBrackets === false ||
|
|
191056
|
+
if (opts.literalBrackets === false || utils5.hasRegexChars(prevValue)) {
|
|
191057
191057
|
continue;
|
|
191058
191058
|
}
|
|
191059
|
-
const escaped =
|
|
191059
|
+
const escaped = utils5.escapeRegex(prev.value);
|
|
191060
191060
|
state.output = state.output.slice(0, -prev.value.length);
|
|
191061
191061
|
if (opts.literalBrackets === true) {
|
|
191062
191062
|
state.output += escaped;
|
|
@@ -191363,19 +191363,19 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191363
191363
|
while (state.brackets > 0) {
|
|
191364
191364
|
if (opts.strictBrackets === true)
|
|
191365
191365
|
throw new SyntaxError(syntaxError("closing", "]"));
|
|
191366
|
-
state.output =
|
|
191366
|
+
state.output = utils5.escapeLast(state.output, "[");
|
|
191367
191367
|
decrement("brackets");
|
|
191368
191368
|
}
|
|
191369
191369
|
while (state.parens > 0) {
|
|
191370
191370
|
if (opts.strictBrackets === true)
|
|
191371
191371
|
throw new SyntaxError(syntaxError("closing", ")"));
|
|
191372
|
-
state.output =
|
|
191372
|
+
state.output = utils5.escapeLast(state.output, "(");
|
|
191373
191373
|
decrement("parens");
|
|
191374
191374
|
}
|
|
191375
191375
|
while (state.braces > 0) {
|
|
191376
191376
|
if (opts.strictBrackets === true)
|
|
191377
191377
|
throw new SyntaxError(syntaxError("closing", "}"));
|
|
191378
|
-
state.output =
|
|
191378
|
+
state.output = utils5.escapeLast(state.output, "{");
|
|
191379
191379
|
decrement("braces");
|
|
191380
191380
|
}
|
|
191381
191381
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -191453,7 +191453,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191453
191453
|
}
|
|
191454
191454
|
}
|
|
191455
191455
|
};
|
|
191456
|
-
const output =
|
|
191456
|
+
const output = utils5.removePrefix(input, state);
|
|
191457
191457
|
let source = create(output);
|
|
191458
191458
|
if (source && opts.strictSlashes !== true) {
|
|
191459
191459
|
source += `${SLASH_LITERAL}?`;
|
|
@@ -191467,7 +191467,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191467
191467
|
var require_picomatch = __commonJS((exports, module3) => {
|
|
191468
191468
|
var scan = require_scan2();
|
|
191469
191469
|
var parse3 = require_parse3();
|
|
191470
|
-
var
|
|
191470
|
+
var utils5 = require_utils3();
|
|
191471
191471
|
var constants2 = require_constants2();
|
|
191472
191472
|
var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
191473
191473
|
var picomatch = (glob, options, returnState = false) => {
|
|
@@ -191532,7 +191532,7 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191532
191532
|
return { isMatch: false, output: "" };
|
|
191533
191533
|
}
|
|
191534
191534
|
const opts = options || {};
|
|
191535
|
-
const format = opts.format || (posix ?
|
|
191535
|
+
const format = opts.format || (posix ? utils5.toPosixSlashes : null);
|
|
191536
191536
|
let match = input === glob;
|
|
191537
191537
|
let output = match && format ? format(input) : input;
|
|
191538
191538
|
if (match === false) {
|
|
@@ -191550,7 +191550,7 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191550
191550
|
};
|
|
191551
191551
|
picomatch.matchBase = (input, glob, options) => {
|
|
191552
191552
|
const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
191553
|
-
return regex2.test(
|
|
191553
|
+
return regex2.test(utils5.basename(input));
|
|
191554
191554
|
};
|
|
191555
191555
|
picomatch.isMatch = (str2, patterns, options) => picomatch(patterns, options)(str2);
|
|
191556
191556
|
picomatch.parse = (pattern, options) => {
|
|
@@ -191606,10 +191606,10 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191606
191606
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
|
|
191607
191607
|
var require_picomatch2 = __commonJS((exports, module3) => {
|
|
191608
191608
|
var pico = require_picomatch();
|
|
191609
|
-
var
|
|
191609
|
+
var utils5 = require_utils3();
|
|
191610
191610
|
function picomatch(glob, options, returnState = false) {
|
|
191611
191611
|
if (options && (options.windows === null || options.windows === undefined)) {
|
|
191612
|
-
options = { ...options, windows:
|
|
191612
|
+
options = { ...options, windows: utils5.isWindows() };
|
|
191613
191613
|
}
|
|
191614
191614
|
return pico(glob, options, returnState);
|
|
191615
191615
|
}
|
|
@@ -259593,7 +259593,7 @@ Node text: ${this.#forgottenText}`;
|
|
|
259593
259593
|
// ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/doc.mjs
|
|
259594
259594
|
var exports_doc = {};
|
|
259595
259595
|
__export(exports_doc, {
|
|
259596
|
-
utils: () =>
|
|
259596
|
+
utils: () => utils5,
|
|
259597
259597
|
printer: () => printer,
|
|
259598
259598
|
default: () => public_default,
|
|
259599
259599
|
builders: () => builders
|
|
@@ -260538,14 +260538,14 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
260538
260538
|
return original.split(pattern).join(replacement);
|
|
260539
260539
|
}, string_replace_all_default, emoji_regex_default = () => {
|
|
260540
260540
|
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
260541
|
-
}, _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)), notAsciiRegex, get_string_width_default, MODE_BREAK, MODE_FLAT, CURSOR_PLACEHOLDER, DOC_FILL_PRINTED_LENGTH, builders, printer,
|
|
260541
|
+
}, _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)), notAsciiRegex, get_string_width_default, MODE_BREAK, MODE_FLAT, CURSOR_PLACEHOLDER, DOC_FILL_PRINTED_LENGTH, builders, printer, utils5, public_default;
|
|
260542
260542
|
var init_doc = __esm(() => {
|
|
260543
260543
|
__defProp2 = Object.defineProperty;
|
|
260544
260544
|
public_exports = {};
|
|
260545
260545
|
__export2(public_exports, {
|
|
260546
260546
|
builders: () => builders,
|
|
260547
260547
|
printer: () => printer,
|
|
260548
|
-
utils: () =>
|
|
260548
|
+
utils: () => utils5
|
|
260549
260549
|
});
|
|
260550
260550
|
VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([
|
|
260551
260551
|
DOC_TYPE_CURSOR,
|
|
@@ -260626,7 +260626,7 @@ var init_doc = __esm(() => {
|
|
|
260626
260626
|
concat: (parts) => parts
|
|
260627
260627
|
};
|
|
260628
260628
|
printer = { printDocToString };
|
|
260629
|
-
|
|
260629
|
+
utils5 = {
|
|
260630
260630
|
willBreak,
|
|
260631
260631
|
traverseDoc: traverse_doc_default,
|
|
260632
260632
|
findInDoc,
|
|
@@ -351038,9 +351038,9 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
|
|
|
351038
351038
|
throw new Error(`Unexpected type ${optionInfo.type}`);
|
|
351039
351039
|
}
|
|
351040
351040
|
if (optionInfo.exception) {
|
|
351041
|
-
parameters.validate = (value2, schema3,
|
|
351041
|
+
parameters.validate = (value2, schema3, utils6) => optionInfo.exception(value2) || schema3.validate(value2, utils6);
|
|
351042
351042
|
} else {
|
|
351043
|
-
parameters.validate = (value2, schema3,
|
|
351043
|
+
parameters.validate = (value2, schema3, utils6) => value2 === undefined || schema3.validate(value2, utils6);
|
|
351044
351044
|
}
|
|
351045
351045
|
if (optionInfo.redirect) {
|
|
351046
351046
|
handlers.redirect = (value2) => !value2 ? undefined : {
|
|
@@ -351055,7 +351055,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
|
|
|
351055
351055
|
}
|
|
351056
351056
|
if (isCLI && !optionInfo.array) {
|
|
351057
351057
|
const originalPreprocess = parameters.preprocess || ((x7) => x7);
|
|
351058
|
-
parameters.preprocess = (value2, schema3,
|
|
351058
|
+
parameters.preprocess = (value2, schema3, utils6) => schema3.preprocess(originalPreprocess(Array.isArray(value2) ? at_default2(false, value2, -1) : value2), utils6);
|
|
351059
351059
|
}
|
|
351060
351060
|
return optionInfo.array ? ArraySchema.create({
|
|
351061
351061
|
...isCLI ? { preprocess: (v7) => Array.isArray(v7) ? v7 : [v7] } : {},
|
|
@@ -352320,17 +352320,17 @@ var require2, __filename2, __dirname2, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
352320
352320
|
messages2.push(`we now treat it as ${import_picocolors.default.blue(typeof redirectTo === "string" ? descriptor.key(redirectTo) : descriptor.pair(redirectTo))}`);
|
|
352321
352321
|
}
|
|
352322
352322
|
return messages2.join("; ") + ".";
|
|
352323
|
-
}, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler = (key2, value2,
|
|
352324
|
-
const { text, list } =
|
|
352323
|
+
}, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler = (key2, value2, utils6) => {
|
|
352324
|
+
const { text, list } = utils6.normalizeExpectedResult(utils6.schemas[key2].expected(utils6));
|
|
352325
352325
|
const descriptions = [];
|
|
352326
352326
|
if (text) {
|
|
352327
|
-
descriptions.push(getDescription(key2, value2, text,
|
|
352327
|
+
descriptions.push(getDescription(key2, value2, text, utils6.descriptor));
|
|
352328
352328
|
}
|
|
352329
352329
|
if (list) {
|
|
352330
|
-
descriptions.push([getDescription(key2, value2, list.title,
|
|
352330
|
+
descriptions.push([getDescription(key2, value2, list.title, utils6.descriptor)].concat(list.values.map((valueDescription) => getListDescription(valueDescription, utils6.loggerPrintWidth))).join(`
|
|
352331
352331
|
`));
|
|
352332
352332
|
}
|
|
352333
|
-
return chooseDescription(descriptions,
|
|
352333
|
+
return chooseDescription(descriptions, utils6.loggerPrintWidth);
|
|
352334
352334
|
}, import_picocolors3, levenUnknownHandler = (key2, value2, { descriptor, logger, schemas }) => {
|
|
352335
352335
|
const messages2 = [
|
|
352336
352336
|
`Ignored unknown option ${import_picocolors3.default.yellow(descriptor.pair({ key: key2, value: value2 }))}.`
|
|
@@ -353201,14 +353201,14 @@ var init_prettier = __esm(() => {
|
|
|
353201
353201
|
});
|
|
353202
353202
|
require_stringify = __commonJS2({
|
|
353203
353203
|
"node_modules/braces/lib/stringify.js"(exports, module3) {
|
|
353204
|
-
var
|
|
353204
|
+
var utils6 = require_utils4();
|
|
353205
353205
|
module3.exports = (ast, options8 = {}) => {
|
|
353206
353206
|
const stringify2 = (node, parent = {}) => {
|
|
353207
|
-
const invalidBlock = options8.escapeInvalid &&
|
|
353207
|
+
const invalidBlock = options8.escapeInvalid && utils6.isInvalidBrace(parent);
|
|
353208
353208
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
353209
353209
|
let output = "";
|
|
353210
353210
|
if (node.value) {
|
|
353211
|
-
if ((invalidBlock || invalidNode) &&
|
|
353211
|
+
if ((invalidBlock || invalidNode) && utils6.isOpenOrClose(node)) {
|
|
353212
353212
|
return "\\" + node.value;
|
|
353213
353213
|
}
|
|
353214
353214
|
return node.value;
|
|
@@ -353655,10 +353655,10 @@ var init_prettier = __esm(() => {
|
|
|
353655
353655
|
require_compile = __commonJS2({
|
|
353656
353656
|
"node_modules/braces/lib/compile.js"(exports, module3) {
|
|
353657
353657
|
var fill2 = require_fill_range();
|
|
353658
|
-
var
|
|
353658
|
+
var utils6 = require_utils4();
|
|
353659
353659
|
var compile = (ast, options8 = {}) => {
|
|
353660
353660
|
const walk = (node, parent = {}) => {
|
|
353661
|
-
const invalidBlock =
|
|
353661
|
+
const invalidBlock = utils6.isInvalidBrace(parent);
|
|
353662
353662
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
353663
353663
|
const invalid = invalidBlock === true || invalidNode === true;
|
|
353664
353664
|
const prefix = options8.escapeInvalid === true ? "\\" : "";
|
|
@@ -353683,7 +353683,7 @@ var init_prettier = __esm(() => {
|
|
|
353683
353683
|
return node.value;
|
|
353684
353684
|
}
|
|
353685
353685
|
if (node.nodes && node.ranges > 0) {
|
|
353686
|
-
const args =
|
|
353686
|
+
const args = utils6.reduce(node.nodes);
|
|
353687
353687
|
const range = fill2(...args, { ...options8, wrap: false, toRegex: true, strictZeros: true });
|
|
353688
353688
|
if (range.length !== 0) {
|
|
353689
353689
|
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
@@ -353705,7 +353705,7 @@ var init_prettier = __esm(() => {
|
|
|
353705
353705
|
"node_modules/braces/lib/expand.js"(exports, module3) {
|
|
353706
353706
|
var fill2 = require_fill_range();
|
|
353707
353707
|
var stringify2 = require_stringify();
|
|
353708
|
-
var
|
|
353708
|
+
var utils6 = require_utils4();
|
|
353709
353709
|
var append = (queue = "", stash = "", enclose = false) => {
|
|
353710
353710
|
const result = [];
|
|
353711
353711
|
queue = [].concat(queue);
|
|
@@ -353713,7 +353713,7 @@ var init_prettier = __esm(() => {
|
|
|
353713
353713
|
if (!stash.length)
|
|
353714
353714
|
return queue;
|
|
353715
353715
|
if (!queue.length) {
|
|
353716
|
-
return enclose ?
|
|
353716
|
+
return enclose ? utils6.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
353717
353717
|
}
|
|
353718
353718
|
for (const item of queue) {
|
|
353719
353719
|
if (Array.isArray(item)) {
|
|
@@ -353728,7 +353728,7 @@ var init_prettier = __esm(() => {
|
|
|
353728
353728
|
}
|
|
353729
353729
|
}
|
|
353730
353730
|
}
|
|
353731
|
-
return
|
|
353731
|
+
return utils6.flatten(result);
|
|
353732
353732
|
};
|
|
353733
353733
|
var expand = (ast, options8 = {}) => {
|
|
353734
353734
|
const rangeLimit = options8.rangeLimit === undefined ? 1000 : options8.rangeLimit;
|
|
@@ -353749,8 +353749,8 @@ var init_prettier = __esm(() => {
|
|
|
353749
353749
|
return;
|
|
353750
353750
|
}
|
|
353751
353751
|
if (node.nodes && node.ranges > 0) {
|
|
353752
|
-
const args =
|
|
353753
|
-
if (
|
|
353752
|
+
const args = utils6.reduce(node.nodes);
|
|
353753
|
+
if (utils6.exceedsLimit(...args, options8.step, rangeLimit)) {
|
|
353754
353754
|
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
353755
353755
|
}
|
|
353756
353756
|
let range = fill2(...args, options8);
|
|
@@ -353761,7 +353761,7 @@ var init_prettier = __esm(() => {
|
|
|
353761
353761
|
node.nodes = [];
|
|
353762
353762
|
return;
|
|
353763
353763
|
}
|
|
353764
|
-
const enclose =
|
|
353764
|
+
const enclose = utils6.encloseBrace(node);
|
|
353765
353765
|
let queue = node.queue;
|
|
353766
353766
|
let block = node;
|
|
353767
353767
|
while (block.type !== "brace" && block.type !== "root" && block.parent) {
|
|
@@ -353790,7 +353790,7 @@ var init_prettier = __esm(() => {
|
|
|
353790
353790
|
}
|
|
353791
353791
|
return queue;
|
|
353792
353792
|
};
|
|
353793
|
-
return
|
|
353793
|
+
return utils6.flatten(walk(ast));
|
|
353794
353794
|
};
|
|
353795
353795
|
module3.exports = expand;
|
|
353796
353796
|
}
|
|
@@ -354336,7 +354336,7 @@ var init_prettier = __esm(() => {
|
|
|
354336
354336
|
});
|
|
354337
354337
|
require_scan3 = __commonJS2({
|
|
354338
354338
|
"node_modules/micromatch/node_modules/picomatch/lib/scan.js"(exports, module3) {
|
|
354339
|
-
var
|
|
354339
|
+
var utils6 = require_utils22();
|
|
354340
354340
|
var {
|
|
354341
354341
|
CHAR_ASTERISK,
|
|
354342
354342
|
CHAR_AT,
|
|
@@ -354585,9 +354585,9 @@ var init_prettier = __esm(() => {
|
|
|
354585
354585
|
}
|
|
354586
354586
|
if (opts.unescape === true) {
|
|
354587
354587
|
if (glob)
|
|
354588
|
-
glob =
|
|
354588
|
+
glob = utils6.removeBackslashes(glob);
|
|
354589
354589
|
if (base && backslashes === true) {
|
|
354590
|
-
base =
|
|
354590
|
+
base = utils6.removeBackslashes(base);
|
|
354591
354591
|
}
|
|
354592
354592
|
}
|
|
354593
354593
|
const state = {
|
|
@@ -354652,7 +354652,7 @@ var init_prettier = __esm(() => {
|
|
|
354652
354652
|
require_parse22 = __commonJS2({
|
|
354653
354653
|
"node_modules/micromatch/node_modules/picomatch/lib/parse.js"(exports, module3) {
|
|
354654
354654
|
var constants2 = require_constants22();
|
|
354655
|
-
var
|
|
354655
|
+
var utils6 = require_utils22();
|
|
354656
354656
|
var {
|
|
354657
354657
|
MAX_LENGTH: MAX_LENGTH2,
|
|
354658
354658
|
POSIX_REGEX_SOURCE,
|
|
@@ -354669,7 +354669,7 @@ var init_prettier = __esm(() => {
|
|
|
354669
354669
|
try {
|
|
354670
354670
|
new RegExp(value2);
|
|
354671
354671
|
} catch (ex) {
|
|
354672
|
-
return args.map((v7) =>
|
|
354672
|
+
return args.map((v7) => utils6.escapeRegex(v7)).join("..");
|
|
354673
354673
|
}
|
|
354674
354674
|
return value2;
|
|
354675
354675
|
};
|
|
@@ -354690,7 +354690,7 @@ var init_prettier = __esm(() => {
|
|
|
354690
354690
|
const bos = { type: "bos", value: "", output: opts.prepend || "" };
|
|
354691
354691
|
const tokens = [bos];
|
|
354692
354692
|
const capture = opts.capture ? "" : "?:";
|
|
354693
|
-
const win32 =
|
|
354693
|
+
const win32 = utils6.isWindows(options8);
|
|
354694
354694
|
const PLATFORM_CHARS = constants2.globChars(win32);
|
|
354695
354695
|
const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS);
|
|
354696
354696
|
const {
|
|
@@ -354736,7 +354736,7 @@ var init_prettier = __esm(() => {
|
|
|
354736
354736
|
globstar: false,
|
|
354737
354737
|
tokens
|
|
354738
354738
|
};
|
|
354739
|
-
input =
|
|
354739
|
+
input = utils6.removePrefix(input, state);
|
|
354740
354740
|
len = input.length;
|
|
354741
354741
|
const extglobs = [];
|
|
354742
354742
|
const braces = [];
|
|
@@ -354876,7 +354876,7 @@ var init_prettier = __esm(() => {
|
|
|
354876
354876
|
state.output = input;
|
|
354877
354877
|
return state;
|
|
354878
354878
|
}
|
|
354879
|
-
state.output =
|
|
354879
|
+
state.output = utils6.wrapOutput(output, state, options8);
|
|
354880
354880
|
return state;
|
|
354881
354881
|
}
|
|
354882
354882
|
while (!eos()) {
|
|
@@ -354952,7 +354952,7 @@ var init_prettier = __esm(() => {
|
|
|
354952
354952
|
continue;
|
|
354953
354953
|
}
|
|
354954
354954
|
if (state.quotes === 1 && value2 !== '"') {
|
|
354955
|
-
value2 =
|
|
354955
|
+
value2 = utils6.escapeRegex(value2);
|
|
354956
354956
|
prev.value += value2;
|
|
354957
354957
|
append({ value: value2 });
|
|
354958
354958
|
continue;
|
|
@@ -355013,10 +355013,10 @@ var init_prettier = __esm(() => {
|
|
|
355013
355013
|
}
|
|
355014
355014
|
prev.value += value2;
|
|
355015
355015
|
append({ value: value2 });
|
|
355016
|
-
if (opts.literalBrackets === false ||
|
|
355016
|
+
if (opts.literalBrackets === false || utils6.hasRegexChars(prevValue)) {
|
|
355017
355017
|
continue;
|
|
355018
355018
|
}
|
|
355019
|
-
const escaped =
|
|
355019
|
+
const escaped = utils6.escapeRegex(prev.value);
|
|
355020
355020
|
state.output = state.output.slice(0, -prev.value.length);
|
|
355021
355021
|
if (opts.literalBrackets === true) {
|
|
355022
355022
|
state.output += escaped;
|
|
@@ -355133,7 +355133,7 @@ var init_prettier = __esm(() => {
|
|
|
355133
355133
|
if (prev && prev.type === "paren") {
|
|
355134
355134
|
const next = peek2();
|
|
355135
355135
|
let output = value2;
|
|
355136
|
-
if (next === "<" && !
|
|
355136
|
+
if (next === "<" && !utils6.supportsLookbehinds()) {
|
|
355137
355137
|
throw new Error("Node.js v10 or higher is required for regex lookbehinds");
|
|
355138
355138
|
}
|
|
355139
355139
|
if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
@@ -355326,19 +355326,19 @@ var init_prettier = __esm(() => {
|
|
|
355326
355326
|
while (state.brackets > 0) {
|
|
355327
355327
|
if (opts.strictBrackets === true)
|
|
355328
355328
|
throw new SyntaxError(syntaxError2("closing", "]"));
|
|
355329
|
-
state.output =
|
|
355329
|
+
state.output = utils6.escapeLast(state.output, "[");
|
|
355330
355330
|
decrement("brackets");
|
|
355331
355331
|
}
|
|
355332
355332
|
while (state.parens > 0) {
|
|
355333
355333
|
if (opts.strictBrackets === true)
|
|
355334
355334
|
throw new SyntaxError(syntaxError2("closing", ")"));
|
|
355335
|
-
state.output =
|
|
355335
|
+
state.output = utils6.escapeLast(state.output, "(");
|
|
355336
355336
|
decrement("parens");
|
|
355337
355337
|
}
|
|
355338
355338
|
while (state.braces > 0) {
|
|
355339
355339
|
if (opts.strictBrackets === true)
|
|
355340
355340
|
throw new SyntaxError(syntaxError2("closing", "}"));
|
|
355341
|
-
state.output =
|
|
355341
|
+
state.output = utils6.escapeLast(state.output, "{");
|
|
355342
355342
|
decrement("braces");
|
|
355343
355343
|
}
|
|
355344
355344
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -355363,7 +355363,7 @@ var init_prettier = __esm(() => {
|
|
|
355363
355363
|
throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
355364
355364
|
}
|
|
355365
355365
|
input = REPLACEMENTS[input] || input;
|
|
355366
|
-
const win32 =
|
|
355366
|
+
const win32 = utils6.isWindows(options8);
|
|
355367
355367
|
const {
|
|
355368
355368
|
DOT_LITERAL,
|
|
355369
355369
|
SLASH_LITERAL,
|
|
@@ -355417,7 +355417,7 @@ var init_prettier = __esm(() => {
|
|
|
355417
355417
|
}
|
|
355418
355418
|
}
|
|
355419
355419
|
};
|
|
355420
|
-
const output =
|
|
355420
|
+
const output = utils6.removePrefix(input, state);
|
|
355421
355421
|
let source2 = create(output);
|
|
355422
355422
|
if (source2 && opts.strictSlashes !== true) {
|
|
355423
355423
|
source2 += `${SLASH_LITERAL}?`;
|
|
@@ -355432,7 +355432,7 @@ var init_prettier = __esm(() => {
|
|
|
355432
355432
|
var path14 = __require2("path");
|
|
355433
355433
|
var scan = require_scan3();
|
|
355434
355434
|
var parse7 = require_parse22();
|
|
355435
|
-
var
|
|
355435
|
+
var utils6 = require_utils22();
|
|
355436
355436
|
var constants2 = require_constants22();
|
|
355437
355437
|
var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
355438
355438
|
var picomatch = (glob, options8, returnState = false) => {
|
|
@@ -355453,7 +355453,7 @@ var init_prettier = __esm(() => {
|
|
|
355453
355453
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
355454
355454
|
}
|
|
355455
355455
|
const opts = options8 || {};
|
|
355456
|
-
const posix =
|
|
355456
|
+
const posix = utils6.isWindows(options8);
|
|
355457
355457
|
const regex2 = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true);
|
|
355458
355458
|
const state = regex2.state;
|
|
355459
355459
|
delete regex2.state;
|
|
@@ -355497,7 +355497,7 @@ var init_prettier = __esm(() => {
|
|
|
355497
355497
|
return { isMatch: false, output: "" };
|
|
355498
355498
|
}
|
|
355499
355499
|
const opts = options8 || {};
|
|
355500
|
-
const format3 = opts.format || (posix ?
|
|
355500
|
+
const format3 = opts.format || (posix ? utils6.toPosixSlashes : null);
|
|
355501
355501
|
let match = input === glob;
|
|
355502
355502
|
let output = match && format3 ? format3(input) : input;
|
|
355503
355503
|
if (match === false) {
|
|
@@ -355513,7 +355513,7 @@ var init_prettier = __esm(() => {
|
|
|
355513
355513
|
}
|
|
355514
355514
|
return { isMatch: Boolean(match), match, output };
|
|
355515
355515
|
};
|
|
355516
|
-
picomatch.matchBase = (input, glob, options8, posix =
|
|
355516
|
+
picomatch.matchBase = (input, glob, options8, posix = utils6.isWindows(options8)) => {
|
|
355517
355517
|
const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8);
|
|
355518
355518
|
return regex2.test(path14.basename(input));
|
|
355519
355519
|
};
|
|
@@ -355578,7 +355578,7 @@ var init_prettier = __esm(() => {
|
|
|
355578
355578
|
var util2 = __require2("util");
|
|
355579
355579
|
var braces = require_braces();
|
|
355580
355580
|
var picomatch = require_picomatch22();
|
|
355581
|
-
var
|
|
355581
|
+
var utils6 = require_utils22();
|
|
355582
355582
|
var isEmptyString = (v7) => v7 === "" || v7 === "./";
|
|
355583
355583
|
var hasBraces = (v7) => {
|
|
355584
355584
|
const index = v7.indexOf("{");
|
|
@@ -355666,7 +355666,7 @@ var init_prettier = __esm(() => {
|
|
|
355666
355666
|
return micromatch2.isMatch(str2, pattern, { ...options8, contains: true });
|
|
355667
355667
|
};
|
|
355668
355668
|
micromatch2.matchKeys = (obj, patterns, options8) => {
|
|
355669
|
-
if (!
|
|
355669
|
+
if (!utils6.isObject(obj)) {
|
|
355670
355670
|
throw new TypeError("Expected the first argument to be an object");
|
|
355671
355671
|
}
|
|
355672
355672
|
let keys = micromatch2(Object.keys(obj), patterns, options8);
|
|
@@ -355702,9 +355702,9 @@ var init_prettier = __esm(() => {
|
|
|
355702
355702
|
return [].concat(patterns).every((p5) => picomatch(p5, options8)(str2));
|
|
355703
355703
|
};
|
|
355704
355704
|
micromatch2.capture = (glob, input, options8) => {
|
|
355705
|
-
let posix =
|
|
355705
|
+
let posix = utils6.isWindows(options8);
|
|
355706
355706
|
let regex2 = picomatch.makeRe(String(glob), { ...options8, capture: true });
|
|
355707
|
-
let match = regex2.exec(posix ?
|
|
355707
|
+
let match = regex2.exec(posix ? utils6.toPosixSlashes(input) : input);
|
|
355708
355708
|
if (match) {
|
|
355709
355709
|
return match.slice(1).map((v7) => v7 === undefined ? "" : v7);
|
|
355710
355710
|
}
|
|
@@ -356073,14 +356073,14 @@ var init_prettier = __esm(() => {
|
|
|
356073
356073
|
"node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
356074
356074
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
356075
356075
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = undefined;
|
|
356076
|
-
var
|
|
356076
|
+
var utils6 = require_utils32();
|
|
356077
356077
|
function generate(input, settings) {
|
|
356078
356078
|
const patterns = processPatterns(input, settings);
|
|
356079
356079
|
const ignore = processPatterns(settings.ignore, settings);
|
|
356080
356080
|
const positivePatterns = getPositivePatterns(patterns);
|
|
356081
356081
|
const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);
|
|
356082
|
-
const staticPatterns = positivePatterns.filter((pattern) =>
|
|
356083
|
-
const dynamicPatterns = positivePatterns.filter((pattern) =>
|
|
356082
|
+
const staticPatterns = positivePatterns.filter((pattern) => utils6.pattern.isStaticPattern(pattern, settings));
|
|
356083
|
+
const dynamicPatterns = positivePatterns.filter((pattern) => utils6.pattern.isDynamicPattern(pattern, settings));
|
|
356084
356084
|
const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, false);
|
|
356085
356085
|
const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, true);
|
|
356086
356086
|
return staticTasks.concat(dynamicTasks);
|
|
@@ -356089,17 +356089,17 @@ var init_prettier = __esm(() => {
|
|
|
356089
356089
|
function processPatterns(input, settings) {
|
|
356090
356090
|
let patterns = input;
|
|
356091
356091
|
if (settings.braceExpansion) {
|
|
356092
|
-
patterns =
|
|
356092
|
+
patterns = utils6.pattern.expandPatternsWithBraceExpansion(patterns);
|
|
356093
356093
|
}
|
|
356094
356094
|
if (settings.baseNameMatch) {
|
|
356095
356095
|
patterns = patterns.map((pattern) => pattern.includes("/") ? pattern : `**/${pattern}`);
|
|
356096
356096
|
}
|
|
356097
|
-
return patterns.map((pattern) =>
|
|
356097
|
+
return patterns.map((pattern) => utils6.pattern.removeDuplicateSlashes(pattern));
|
|
356098
356098
|
}
|
|
356099
356099
|
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
356100
356100
|
const tasks = [];
|
|
356101
|
-
const patternsOutsideCurrentDirectory =
|
|
356102
|
-
const patternsInsideCurrentDirectory =
|
|
356101
|
+
const patternsOutsideCurrentDirectory = utils6.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
356102
|
+
const patternsInsideCurrentDirectory = utils6.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
356103
356103
|
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
356104
356104
|
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
356105
356105
|
tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
@@ -356112,19 +356112,19 @@ var init_prettier = __esm(() => {
|
|
|
356112
356112
|
}
|
|
356113
356113
|
exports.convertPatternsToTasks = convertPatternsToTasks;
|
|
356114
356114
|
function getPositivePatterns(patterns) {
|
|
356115
|
-
return
|
|
356115
|
+
return utils6.pattern.getPositivePatterns(patterns);
|
|
356116
356116
|
}
|
|
356117
356117
|
exports.getPositivePatterns = getPositivePatterns;
|
|
356118
356118
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
356119
|
-
const negative =
|
|
356120
|
-
const positive = negative.map(
|
|
356119
|
+
const negative = utils6.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
356120
|
+
const positive = negative.map(utils6.pattern.convertToPositivePattern);
|
|
356121
356121
|
return positive;
|
|
356122
356122
|
}
|
|
356123
356123
|
exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
356124
356124
|
function groupPatternsByBaseDirectory(patterns) {
|
|
356125
356125
|
const group2 = {};
|
|
356126
356126
|
return patterns.reduce((collection, pattern) => {
|
|
356127
|
-
const base =
|
|
356127
|
+
const base = utils6.pattern.getBaseDirectory(pattern);
|
|
356128
356128
|
if (base in collection) {
|
|
356129
356129
|
collection[base].push(pattern);
|
|
356130
356130
|
} else {
|
|
@@ -356146,7 +356146,7 @@ var init_prettier = __esm(() => {
|
|
|
356146
356146
|
positive,
|
|
356147
356147
|
negative,
|
|
356148
356148
|
base,
|
|
356149
|
-
patterns: [].concat(positive, negative.map(
|
|
356149
|
+
patterns: [].concat(positive, negative.map(utils6.pattern.convertToNegativePattern))
|
|
356150
356150
|
};
|
|
356151
356151
|
}
|
|
356152
356152
|
exports.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
@@ -356410,7 +356410,7 @@ var init_prettier = __esm(() => {
|
|
|
356410
356410
|
var fsStat = require_out();
|
|
356411
356411
|
var rpl = require_run_parallel();
|
|
356412
356412
|
var constants_1 = require_constants32();
|
|
356413
|
-
var
|
|
356413
|
+
var utils6 = require_utils42();
|
|
356414
356414
|
var common = require_common2();
|
|
356415
356415
|
function read3(directory, settings, callback) {
|
|
356416
356416
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
@@ -356461,7 +356461,7 @@ var init_prettier = __esm(() => {
|
|
|
356461
356461
|
done(null, entry);
|
|
356462
356462
|
return;
|
|
356463
356463
|
}
|
|
356464
|
-
entry.dirent =
|
|
356464
|
+
entry.dirent = utils6.fs.createDirentFromStats(entry.name, stats);
|
|
356465
356465
|
done(null, entry);
|
|
356466
356466
|
});
|
|
356467
356467
|
};
|
|
@@ -356483,7 +356483,7 @@ var init_prettier = __esm(() => {
|
|
|
356483
356483
|
const entry = {
|
|
356484
356484
|
name,
|
|
356485
356485
|
path: path14,
|
|
356486
|
-
dirent:
|
|
356486
|
+
dirent: utils6.fs.createDirentFromStats(name, stats)
|
|
356487
356487
|
};
|
|
356488
356488
|
if (settings.stats) {
|
|
356489
356489
|
entry.stats = stats;
|
|
@@ -356516,7 +356516,7 @@ var init_prettier = __esm(() => {
|
|
|
356516
356516
|
exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
|
|
356517
356517
|
var fsStat = require_out();
|
|
356518
356518
|
var constants_1 = require_constants32();
|
|
356519
|
-
var
|
|
356519
|
+
var utils6 = require_utils42();
|
|
356520
356520
|
var common = require_common2();
|
|
356521
356521
|
function read3(directory, settings) {
|
|
356522
356522
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
@@ -356536,7 +356536,7 @@ var init_prettier = __esm(() => {
|
|
|
356536
356536
|
if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {
|
|
356537
356537
|
try {
|
|
356538
356538
|
const stats = settings.fs.statSync(entry.path);
|
|
356539
|
-
entry.dirent =
|
|
356539
|
+
entry.dirent = utils6.fs.createDirentFromStats(entry.name, stats);
|
|
356540
356540
|
} catch (error2) {
|
|
356541
356541
|
if (settings.throwErrorOnBrokenSymbolicLink) {
|
|
356542
356542
|
throw error2;
|
|
@@ -356555,7 +356555,7 @@ var init_prettier = __esm(() => {
|
|
|
356555
356555
|
const entry = {
|
|
356556
356556
|
name,
|
|
356557
356557
|
path: entryPath,
|
|
356558
|
-
dirent:
|
|
356558
|
+
dirent: utils6.fs.createDirentFromStats(name, stats)
|
|
356559
356559
|
};
|
|
356560
356560
|
if (settings.stats) {
|
|
356561
356561
|
entry.stats = stats;
|
|
@@ -357296,7 +357296,7 @@ var init_prettier = __esm(() => {
|
|
|
357296
357296
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357297
357297
|
var path14 = __require2("path");
|
|
357298
357298
|
var fsStat = require_out();
|
|
357299
|
-
var
|
|
357299
|
+
var utils6 = require_utils32();
|
|
357300
357300
|
var Reader = class {
|
|
357301
357301
|
constructor(_settings) {
|
|
357302
357302
|
this._settings = _settings;
|
|
@@ -357313,7 +357313,7 @@ var init_prettier = __esm(() => {
|
|
|
357313
357313
|
const entry = {
|
|
357314
357314
|
name: pattern,
|
|
357315
357315
|
path: pattern,
|
|
357316
|
-
dirent:
|
|
357316
|
+
dirent: utils6.fs.createDirentFromStats(pattern, stats)
|
|
357317
357317
|
};
|
|
357318
357318
|
if (this._settings.stats) {
|
|
357319
357319
|
entry.stats = stats;
|
|
@@ -357321,7 +357321,7 @@ var init_prettier = __esm(() => {
|
|
|
357321
357321
|
return entry;
|
|
357322
357322
|
}
|
|
357323
357323
|
_isFatalError(error2) {
|
|
357324
|
-
return !
|
|
357324
|
+
return !utils6.errno.isEnoentCodeError(error2) && !this._settings.suppressErrors;
|
|
357325
357325
|
}
|
|
357326
357326
|
};
|
|
357327
357327
|
exports.default = Reader;
|
|
@@ -357420,7 +357420,7 @@ var init_prettier = __esm(() => {
|
|
|
357420
357420
|
require_matcher = __commonJS2({
|
|
357421
357421
|
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
357422
357422
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357423
|
-
var
|
|
357423
|
+
var utils6 = require_utils32();
|
|
357424
357424
|
var Matcher = class {
|
|
357425
357425
|
constructor(_patterns, _settings, _micromatchOptions) {
|
|
357426
357426
|
this._patterns = _patterns;
|
|
@@ -357442,9 +357442,9 @@ var init_prettier = __esm(() => {
|
|
|
357442
357442
|
}
|
|
357443
357443
|
}
|
|
357444
357444
|
_getPatternSegments(pattern) {
|
|
357445
|
-
const parts =
|
|
357445
|
+
const parts = utils6.pattern.getPatternParts(pattern, this._micromatchOptions);
|
|
357446
357446
|
return parts.map((part) => {
|
|
357447
|
-
const dynamic =
|
|
357447
|
+
const dynamic = utils6.pattern.isDynamicPattern(part, this._settings);
|
|
357448
357448
|
if (!dynamic) {
|
|
357449
357449
|
return {
|
|
357450
357450
|
dynamic: false,
|
|
@@ -357454,12 +357454,12 @@ var init_prettier = __esm(() => {
|
|
|
357454
357454
|
return {
|
|
357455
357455
|
dynamic: true,
|
|
357456
357456
|
pattern: part,
|
|
357457
|
-
patternRe:
|
|
357457
|
+
patternRe: utils6.pattern.makeRe(part, this._micromatchOptions)
|
|
357458
357458
|
};
|
|
357459
357459
|
});
|
|
357460
357460
|
}
|
|
357461
357461
|
_splitSegmentsIntoSections(segments) {
|
|
357462
|
-
return
|
|
357462
|
+
return utils6.array.splitWhen(segments, (segment) => segment.dynamic && utils6.pattern.hasGlobStar(segment.pattern));
|
|
357463
357463
|
}
|
|
357464
357464
|
};
|
|
357465
357465
|
exports.default = Matcher;
|
|
@@ -357502,7 +357502,7 @@ var init_prettier = __esm(() => {
|
|
|
357502
357502
|
require_deep = __commonJS2({
|
|
357503
357503
|
"node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
357504
357504
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357505
|
-
var
|
|
357505
|
+
var utils6 = require_utils32();
|
|
357506
357506
|
var partial_1 = require_partial();
|
|
357507
357507
|
var DeepFilter = class {
|
|
357508
357508
|
constructor(_settings, _micromatchOptions) {
|
|
@@ -357518,8 +357518,8 @@ var init_prettier = __esm(() => {
|
|
|
357518
357518
|
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
357519
357519
|
}
|
|
357520
357520
|
_getNegativePatternsRe(patterns) {
|
|
357521
|
-
const affectDepthOfReadingPatterns = patterns.filter(
|
|
357522
|
-
return
|
|
357521
|
+
const affectDepthOfReadingPatterns = patterns.filter(utils6.pattern.isAffectDepthOfReadingPattern);
|
|
357522
|
+
return utils6.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
357523
357523
|
}
|
|
357524
357524
|
_filter(basePath, entry, matcher, negativeRe) {
|
|
357525
357525
|
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
@@ -357528,7 +357528,7 @@ var init_prettier = __esm(() => {
|
|
|
357528
357528
|
if (this._isSkippedSymbolicLink(entry)) {
|
|
357529
357529
|
return false;
|
|
357530
357530
|
}
|
|
357531
|
-
const filepath =
|
|
357531
|
+
const filepath = utils6.path.removeLeadingDotSegment(entry.path);
|
|
357532
357532
|
if (this._isSkippedByPositivePatterns(filepath, matcher)) {
|
|
357533
357533
|
return false;
|
|
357534
357534
|
}
|
|
@@ -357555,7 +357555,7 @@ var init_prettier = __esm(() => {
|
|
|
357555
357555
|
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
357556
357556
|
}
|
|
357557
357557
|
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
357558
|
-
return !
|
|
357558
|
+
return !utils6.pattern.matchAny(entryPath, patternsRe);
|
|
357559
357559
|
}
|
|
357560
357560
|
};
|
|
357561
357561
|
exports.default = DeepFilter;
|
|
@@ -357564,7 +357564,7 @@ var init_prettier = __esm(() => {
|
|
|
357564
357564
|
require_entry = __commonJS2({
|
|
357565
357565
|
"node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
357566
357566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357567
|
-
var
|
|
357567
|
+
var utils6 = require_utils32();
|
|
357568
357568
|
var EntryFilter = class {
|
|
357569
357569
|
constructor(_settings, _micromatchOptions) {
|
|
357570
357570
|
this._settings = _settings;
|
|
@@ -357572,20 +357572,20 @@ var init_prettier = __esm(() => {
|
|
|
357572
357572
|
this.index = /* @__PURE__ */ new Map;
|
|
357573
357573
|
}
|
|
357574
357574
|
getFilter(positive, negative) {
|
|
357575
|
-
const [absoluteNegative, relativeNegative] =
|
|
357575
|
+
const [absoluteNegative, relativeNegative] = utils6.pattern.partitionAbsoluteAndRelative(negative);
|
|
357576
357576
|
const patterns = {
|
|
357577
357577
|
positive: {
|
|
357578
|
-
all:
|
|
357578
|
+
all: utils6.pattern.convertPatternsToRe(positive, this._micromatchOptions)
|
|
357579
357579
|
},
|
|
357580
357580
|
negative: {
|
|
357581
|
-
absolute:
|
|
357582
|
-
relative:
|
|
357581
|
+
absolute: utils6.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })),
|
|
357582
|
+
relative: utils6.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }))
|
|
357583
357583
|
}
|
|
357584
357584
|
};
|
|
357585
357585
|
return (entry) => this._filter(entry, patterns);
|
|
357586
357586
|
}
|
|
357587
357587
|
_filter(entry, patterns) {
|
|
357588
|
-
const filepath =
|
|
357588
|
+
const filepath = utils6.path.removeLeadingDotSegment(entry.path);
|
|
357589
357589
|
if (this._settings.unique && this._isDuplicateEntry(filepath)) {
|
|
357590
357590
|
return false;
|
|
357591
357591
|
}
|
|
@@ -357629,16 +357629,16 @@ var init_prettier = __esm(() => {
|
|
|
357629
357629
|
if (patternsRe.length === 0) {
|
|
357630
357630
|
return false;
|
|
357631
357631
|
}
|
|
357632
|
-
const fullpath =
|
|
357632
|
+
const fullpath = utils6.path.makeAbsolute(this._settings.cwd, filepath);
|
|
357633
357633
|
return this._isMatchToPatterns(fullpath, patternsRe, isDirectory2);
|
|
357634
357634
|
}
|
|
357635
357635
|
_isMatchToPatterns(filepath, patternsRe, isDirectory2) {
|
|
357636
357636
|
if (patternsRe.length === 0) {
|
|
357637
357637
|
return false;
|
|
357638
357638
|
}
|
|
357639
|
-
const isMatched =
|
|
357639
|
+
const isMatched = utils6.pattern.matchAny(filepath, patternsRe);
|
|
357640
357640
|
if (!isMatched && isDirectory2) {
|
|
357641
|
-
return
|
|
357641
|
+
return utils6.pattern.matchAny(filepath + "/", patternsRe);
|
|
357642
357642
|
}
|
|
357643
357643
|
return isMatched;
|
|
357644
357644
|
}
|
|
@@ -357649,7 +357649,7 @@ var init_prettier = __esm(() => {
|
|
|
357649
357649
|
require_error = __commonJS2({
|
|
357650
357650
|
"node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
357651
357651
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357652
|
-
var
|
|
357652
|
+
var utils6 = require_utils32();
|
|
357653
357653
|
var ErrorFilter = class {
|
|
357654
357654
|
constructor(_settings) {
|
|
357655
357655
|
this._settings = _settings;
|
|
@@ -357658,7 +357658,7 @@ var init_prettier = __esm(() => {
|
|
|
357658
357658
|
return (error2) => this._isNonFatalError(error2);
|
|
357659
357659
|
}
|
|
357660
357660
|
_isNonFatalError(error2) {
|
|
357661
|
-
return
|
|
357661
|
+
return utils6.errno.isEnoentCodeError(error2) || this._settings.suppressErrors;
|
|
357662
357662
|
}
|
|
357663
357663
|
};
|
|
357664
357664
|
exports.default = ErrorFilter;
|
|
@@ -357667,7 +357667,7 @@ var init_prettier = __esm(() => {
|
|
|
357667
357667
|
require_entry2 = __commonJS2({
|
|
357668
357668
|
"node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
357669
357669
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357670
|
-
var
|
|
357670
|
+
var utils6 = require_utils32();
|
|
357671
357671
|
var EntryTransformer = class {
|
|
357672
357672
|
constructor(_settings) {
|
|
357673
357673
|
this._settings = _settings;
|
|
@@ -357678,8 +357678,8 @@ var init_prettier = __esm(() => {
|
|
|
357678
357678
|
_transform(entry) {
|
|
357679
357679
|
let filepath = entry.path;
|
|
357680
357680
|
if (this._settings.absolute) {
|
|
357681
|
-
filepath =
|
|
357682
|
-
filepath =
|
|
357681
|
+
filepath = utils6.path.makeAbsolute(this._settings.cwd, filepath);
|
|
357682
|
+
filepath = utils6.path.unixify(filepath);
|
|
357683
357683
|
}
|
|
357684
357684
|
if (this._settings.markDirectories && entry.dirent.isDirectory()) {
|
|
357685
357685
|
filepath += "/";
|
|
@@ -357935,12 +357935,12 @@ var init_prettier = __esm(() => {
|
|
|
357935
357935
|
var stream_1 = require_stream4();
|
|
357936
357936
|
var sync_1 = require_sync6();
|
|
357937
357937
|
var settings_1 = require_settings4();
|
|
357938
|
-
var
|
|
357938
|
+
var utils6 = require_utils32();
|
|
357939
357939
|
async function FastGlob(source2, options8) {
|
|
357940
357940
|
assertPatternsInput(source2);
|
|
357941
357941
|
const works = getWorks(source2, async_1.default, options8);
|
|
357942
357942
|
const result = await Promise.all(works);
|
|
357943
|
-
return
|
|
357943
|
+
return utils6.array.flatten(result);
|
|
357944
357944
|
}
|
|
357945
357945
|
(function(FastGlob2) {
|
|
357946
357946
|
FastGlob2.glob = FastGlob2;
|
|
@@ -357950,13 +357950,13 @@ var init_prettier = __esm(() => {
|
|
|
357950
357950
|
function sync(source2, options8) {
|
|
357951
357951
|
assertPatternsInput(source2);
|
|
357952
357952
|
const works = getWorks(source2, sync_1.default, options8);
|
|
357953
|
-
return
|
|
357953
|
+
return utils6.array.flatten(works);
|
|
357954
357954
|
}
|
|
357955
357955
|
FastGlob2.sync = sync;
|
|
357956
357956
|
function stream(source2, options8) {
|
|
357957
357957
|
assertPatternsInput(source2);
|
|
357958
357958
|
const works = getWorks(source2, stream_1.default, options8);
|
|
357959
|
-
return
|
|
357959
|
+
return utils6.stream.merge(works);
|
|
357960
357960
|
}
|
|
357961
357961
|
FastGlob2.stream = stream;
|
|
357962
357962
|
function generateTasks(source2, options8) {
|
|
@@ -357969,29 +357969,29 @@ var init_prettier = __esm(() => {
|
|
|
357969
357969
|
function isDynamicPattern(source2, options8) {
|
|
357970
357970
|
assertPatternsInput(source2);
|
|
357971
357971
|
const settings = new settings_1.default(options8);
|
|
357972
|
-
return
|
|
357972
|
+
return utils6.pattern.isDynamicPattern(source2, settings);
|
|
357973
357973
|
}
|
|
357974
357974
|
FastGlob2.isDynamicPattern = isDynamicPattern;
|
|
357975
357975
|
function escapePath(source2) {
|
|
357976
357976
|
assertPatternsInput(source2);
|
|
357977
|
-
return
|
|
357977
|
+
return utils6.path.escape(source2);
|
|
357978
357978
|
}
|
|
357979
357979
|
FastGlob2.escapePath = escapePath;
|
|
357980
357980
|
function convertPathToPattern(source2) {
|
|
357981
357981
|
assertPatternsInput(source2);
|
|
357982
|
-
return
|
|
357982
|
+
return utils6.path.convertPathToPattern(source2);
|
|
357983
357983
|
}
|
|
357984
357984
|
FastGlob2.convertPathToPattern = convertPathToPattern;
|
|
357985
357985
|
let posix;
|
|
357986
357986
|
(function(posix2) {
|
|
357987
357987
|
function escapePath2(source2) {
|
|
357988
357988
|
assertPatternsInput(source2);
|
|
357989
|
-
return
|
|
357989
|
+
return utils6.path.escapePosixPath(source2);
|
|
357990
357990
|
}
|
|
357991
357991
|
posix2.escapePath = escapePath2;
|
|
357992
357992
|
function convertPathToPattern2(source2) {
|
|
357993
357993
|
assertPatternsInput(source2);
|
|
357994
|
-
return
|
|
357994
|
+
return utils6.path.convertPosixPathToPattern(source2);
|
|
357995
357995
|
}
|
|
357996
357996
|
posix2.convertPathToPattern = convertPathToPattern2;
|
|
357997
357997
|
})(posix = FastGlob2.posix || (FastGlob2.posix = {}));
|
|
@@ -357999,12 +357999,12 @@ var init_prettier = __esm(() => {
|
|
|
357999
357999
|
(function(win322) {
|
|
358000
358000
|
function escapePath2(source2) {
|
|
358001
358001
|
assertPatternsInput(source2);
|
|
358002
|
-
return
|
|
358002
|
+
return utils6.path.escapeWindowsPath(source2);
|
|
358003
358003
|
}
|
|
358004
358004
|
win322.escapePath = escapePath2;
|
|
358005
358005
|
function convertPathToPattern2(source2) {
|
|
358006
358006
|
assertPatternsInput(source2);
|
|
358007
|
-
return
|
|
358007
|
+
return utils6.path.convertWindowsPathToPattern(source2);
|
|
358008
358008
|
}
|
|
358009
358009
|
win322.convertPathToPattern = convertPathToPattern2;
|
|
358010
358010
|
})(win32 = FastGlob2.win32 || (FastGlob2.win32 = {}));
|
|
@@ -358018,7 +358018,7 @@ var init_prettier = __esm(() => {
|
|
|
358018
358018
|
}
|
|
358019
358019
|
function assertPatternsInput(input) {
|
|
358020
358020
|
const source2 = [].concat(input);
|
|
358021
|
-
const isValidSource = source2.every((item) =>
|
|
358021
|
+
const isValidSource = source2.every((item) => utils6.string.isString(item) && !utils6.string.isEmpty(item));
|
|
358022
358022
|
if (!isValidSource) {
|
|
358023
358023
|
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
358024
358024
|
}
|
|
@@ -361531,11 +361531,11 @@ ${frame}`;
|
|
|
361531
361531
|
super(parameters);
|
|
361532
361532
|
this._sourceName = parameters.sourceName;
|
|
361533
361533
|
}
|
|
361534
|
-
expected(
|
|
361535
|
-
return
|
|
361534
|
+
expected(utils6) {
|
|
361535
|
+
return utils6.schemas[this._sourceName].expected(utils6);
|
|
361536
361536
|
}
|
|
361537
|
-
validate(value2,
|
|
361538
|
-
return
|
|
361537
|
+
validate(value2, utils6) {
|
|
361538
|
+
return utils6.schemas[this._sourceName].validate(value2, utils6);
|
|
361539
361539
|
}
|
|
361540
361540
|
redirect(_value, _utils) {
|
|
361541
361541
|
return this._sourceName;
|
|
@@ -361554,8 +361554,8 @@ ${frame}`;
|
|
|
361554
361554
|
super({ ...handlers, name });
|
|
361555
361555
|
this._valueSchema = valueSchema;
|
|
361556
361556
|
}
|
|
361557
|
-
expected(
|
|
361558
|
-
const { text, list } =
|
|
361557
|
+
expected(utils6) {
|
|
361558
|
+
const { text, list } = utils6.normalizeExpectedResult(this._valueSchema.expected(utils6));
|
|
361559
361559
|
return {
|
|
361560
361560
|
text: text && `an array of ${text}`,
|
|
361561
361561
|
list: list && {
|
|
@@ -361564,23 +361564,23 @@ ${frame}`;
|
|
|
361564
361564
|
}
|
|
361565
361565
|
};
|
|
361566
361566
|
}
|
|
361567
|
-
validate(value2,
|
|
361567
|
+
validate(value2, utils6) {
|
|
361568
361568
|
if (!Array.isArray(value2)) {
|
|
361569
361569
|
return false;
|
|
361570
361570
|
}
|
|
361571
361571
|
const invalidValues = [];
|
|
361572
361572
|
for (const subValue of value2) {
|
|
361573
|
-
const subValidateResult =
|
|
361573
|
+
const subValidateResult = utils6.normalizeValidateResult(this._valueSchema.validate(subValue, utils6), subValue);
|
|
361574
361574
|
if (subValidateResult !== true) {
|
|
361575
361575
|
invalidValues.push(subValidateResult.value);
|
|
361576
361576
|
}
|
|
361577
361577
|
}
|
|
361578
361578
|
return invalidValues.length === 0 ? true : { value: invalidValues };
|
|
361579
361579
|
}
|
|
361580
|
-
deprecated(value2,
|
|
361580
|
+
deprecated(value2, utils6) {
|
|
361581
361581
|
const deprecatedResult = [];
|
|
361582
361582
|
for (const subValue of value2) {
|
|
361583
|
-
const subDeprecatedResult =
|
|
361583
|
+
const subDeprecatedResult = utils6.normalizeDeprecatedResult(this._valueSchema.deprecated(subValue, utils6), subValue);
|
|
361584
361584
|
if (subDeprecatedResult !== false) {
|
|
361585
361585
|
deprecatedResult.push(...subDeprecatedResult.map(({ value: deprecatedValue }) => ({
|
|
361586
361586
|
value: [deprecatedValue]
|
|
@@ -361589,19 +361589,19 @@ ${frame}`;
|
|
|
361589
361589
|
}
|
|
361590
361590
|
return deprecatedResult;
|
|
361591
361591
|
}
|
|
361592
|
-
forward(value2,
|
|
361592
|
+
forward(value2, utils6) {
|
|
361593
361593
|
const forwardResult = [];
|
|
361594
361594
|
for (const subValue of value2) {
|
|
361595
|
-
const subForwardResult =
|
|
361595
|
+
const subForwardResult = utils6.normalizeForwardResult(this._valueSchema.forward(subValue, utils6), subValue);
|
|
361596
361596
|
forwardResult.push(...subForwardResult.map(wrapTransferResult));
|
|
361597
361597
|
}
|
|
361598
361598
|
return forwardResult;
|
|
361599
361599
|
}
|
|
361600
|
-
redirect(value2,
|
|
361600
|
+
redirect(value2, utils6) {
|
|
361601
361601
|
const remain = [];
|
|
361602
361602
|
const redirect = [];
|
|
361603
361603
|
for (const subValue of value2) {
|
|
361604
|
-
const subRedirectResult =
|
|
361604
|
+
const subRedirectResult = utils6.normalizeRedirectResult(this._valueSchema.redirect(subValue, utils6), subValue);
|
|
361605
361605
|
if ("remain" in subRedirectResult) {
|
|
361606
361606
|
remain.push(subRedirectResult.remain);
|
|
361607
361607
|
}
|
|
@@ -361667,8 +361667,8 @@ ${frame}`;
|
|
|
361667
361667
|
expected() {
|
|
361668
361668
|
return "an integer";
|
|
361669
361669
|
}
|
|
361670
|
-
validate(value2,
|
|
361671
|
-
return
|
|
361670
|
+
validate(value2, utils6) {
|
|
361671
|
+
return utils6.normalizeValidateResult(super.validate(value2, utils6), value2) === true && isInt(value2);
|
|
361672
361672
|
}
|
|
361673
361673
|
};
|
|
361674
361674
|
StringSchema = class extends Schema {
|
|
@@ -611366,13 +611366,13 @@ var require_lowercase = __commonJS((exports) => {
|
|
|
611366
611366
|
exports.yieldExpression = yieldExpression;
|
|
611367
611367
|
var _validate = require_validate3();
|
|
611368
611368
|
var _deprecationWarning = require_deprecationWarning();
|
|
611369
|
-
var
|
|
611369
|
+
var utils7 = require_utils5();
|
|
611370
611370
|
var {
|
|
611371
611371
|
validateInternal: validate
|
|
611372
611372
|
} = _validate;
|
|
611373
611373
|
var {
|
|
611374
611374
|
NODE_FIELDS
|
|
611375
|
-
} =
|
|
611375
|
+
} = utils7;
|
|
611376
611376
|
function bigIntLiteral(value2) {
|
|
611377
611377
|
if (typeof value2 === "bigint") {
|
|
611378
611378
|
value2 = value2.toString();
|
|
@@ -618170,14 +618170,14 @@ var require_utils6 = __commonJS((exports) => {
|
|
|
618170
618170
|
|
|
618171
618171
|
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
|
|
618172
618172
|
var require_stringify3 = __commonJS((exports, module3) => {
|
|
618173
|
-
var
|
|
618173
|
+
var utils7 = require_utils6();
|
|
618174
618174
|
module3.exports = (ast, options8 = {}) => {
|
|
618175
618175
|
const stringify2 = (node, parent = {}) => {
|
|
618176
|
-
const invalidBlock = options8.escapeInvalid &&
|
|
618176
|
+
const invalidBlock = options8.escapeInvalid && utils7.isInvalidBrace(parent);
|
|
618177
618177
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
618178
618178
|
let output = "";
|
|
618179
618179
|
if (node.value) {
|
|
618180
|
-
if ((invalidBlock || invalidNode) &&
|
|
618180
|
+
if ((invalidBlock || invalidNode) && utils7.isOpenOrClose(node)) {
|
|
618181
618181
|
return "\\" + node.value;
|
|
618182
618182
|
}
|
|
618183
618183
|
return node.value;
|
|
@@ -618642,10 +618642,10 @@ var require_fill_range2 = __commonJS((exports, module3) => {
|
|
|
618642
618642
|
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
|
|
618643
618643
|
var require_compile2 = __commonJS((exports, module3) => {
|
|
618644
618644
|
var fill2 = require_fill_range2();
|
|
618645
|
-
var
|
|
618645
|
+
var utils7 = require_utils6();
|
|
618646
618646
|
var compile = (ast, options8 = {}) => {
|
|
618647
618647
|
const walk = (node, parent = {}) => {
|
|
618648
|
-
const invalidBlock =
|
|
618648
|
+
const invalidBlock = utils7.isInvalidBrace(parent);
|
|
618649
618649
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
618650
618650
|
const invalid = invalidBlock === true || invalidNode === true;
|
|
618651
618651
|
const prefix = options8.escapeInvalid === true ? "\\" : "";
|
|
@@ -618670,7 +618670,7 @@ var require_compile2 = __commonJS((exports, module3) => {
|
|
|
618670
618670
|
return node.value;
|
|
618671
618671
|
}
|
|
618672
618672
|
if (node.nodes && node.ranges > 0) {
|
|
618673
|
-
const args =
|
|
618673
|
+
const args = utils7.reduce(node.nodes);
|
|
618674
618674
|
const range = fill2(...args, { ...options8, wrap: false, toRegex: true, strictZeros: true });
|
|
618675
618675
|
if (range.length !== 0) {
|
|
618676
618676
|
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
@@ -618692,7 +618692,7 @@ var require_compile2 = __commonJS((exports, module3) => {
|
|
|
618692
618692
|
var require_expand2 = __commonJS((exports, module3) => {
|
|
618693
618693
|
var fill2 = require_fill_range2();
|
|
618694
618694
|
var stringify2 = require_stringify3();
|
|
618695
|
-
var
|
|
618695
|
+
var utils7 = require_utils6();
|
|
618696
618696
|
var append = (queue = "", stash = "", enclose = false) => {
|
|
618697
618697
|
const result = [];
|
|
618698
618698
|
queue = [].concat(queue);
|
|
@@ -618700,7 +618700,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618700
618700
|
if (!stash.length)
|
|
618701
618701
|
return queue;
|
|
618702
618702
|
if (!queue.length) {
|
|
618703
|
-
return enclose ?
|
|
618703
|
+
return enclose ? utils7.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
618704
618704
|
}
|
|
618705
618705
|
for (const item of queue) {
|
|
618706
618706
|
if (Array.isArray(item)) {
|
|
@@ -618715,7 +618715,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618715
618715
|
}
|
|
618716
618716
|
}
|
|
618717
618717
|
}
|
|
618718
|
-
return
|
|
618718
|
+
return utils7.flatten(result);
|
|
618719
618719
|
};
|
|
618720
618720
|
var expand = (ast, options8 = {}) => {
|
|
618721
618721
|
const rangeLimit = options8.rangeLimit === undefined ? 1000 : options8.rangeLimit;
|
|
@@ -618736,8 +618736,8 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618736
618736
|
return;
|
|
618737
618737
|
}
|
|
618738
618738
|
if (node.nodes && node.ranges > 0) {
|
|
618739
|
-
const args =
|
|
618740
|
-
if (
|
|
618739
|
+
const args = utils7.reduce(node.nodes);
|
|
618740
|
+
if (utils7.exceedsLimit(...args, options8.step, rangeLimit)) {
|
|
618741
618741
|
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
618742
618742
|
}
|
|
618743
618743
|
let range = fill2(...args, options8);
|
|
@@ -618748,7 +618748,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618748
618748
|
node.nodes = [];
|
|
618749
618749
|
return;
|
|
618750
618750
|
}
|
|
618751
|
-
const enclose =
|
|
618751
|
+
const enclose = utils7.encloseBrace(node);
|
|
618752
618752
|
let queue = node.queue;
|
|
618753
618753
|
let block = node;
|
|
618754
618754
|
while (block.type !== "brace" && block.type !== "root" && block.parent) {
|
|
@@ -618777,7 +618777,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618777
618777
|
}
|
|
618778
618778
|
return queue;
|
|
618779
618779
|
};
|
|
618780
|
-
return
|
|
618780
|
+
return utils7.flatten(walk(ast));
|
|
618781
618781
|
};
|
|
618782
618782
|
module3.exports = expand;
|
|
618783
618783
|
});
|
|
@@ -619323,7 +619323,7 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
619323
619323
|
|
|
619324
619324
|
// ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
|
|
619325
619325
|
var require_scan4 = __commonJS((exports, module3) => {
|
|
619326
|
-
var
|
|
619326
|
+
var utils7 = require_utils7();
|
|
619327
619327
|
var {
|
|
619328
619328
|
CHAR_ASTERISK,
|
|
619329
619329
|
CHAR_AT,
|
|
@@ -619572,9 +619572,9 @@ var require_scan4 = __commonJS((exports, module3) => {
|
|
|
619572
619572
|
}
|
|
619573
619573
|
if (opts.unescape === true) {
|
|
619574
619574
|
if (glob)
|
|
619575
|
-
glob =
|
|
619575
|
+
glob = utils7.removeBackslashes(glob);
|
|
619576
619576
|
if (base && backslashes === true) {
|
|
619577
|
-
base =
|
|
619577
|
+
base = utils7.removeBackslashes(base);
|
|
619578
619578
|
}
|
|
619579
619579
|
}
|
|
619580
619580
|
const state = {
|
|
@@ -619639,7 +619639,7 @@ var require_scan4 = __commonJS((exports, module3) => {
|
|
|
619639
619639
|
// ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
|
|
619640
619640
|
var require_parse8 = __commonJS((exports, module3) => {
|
|
619641
619641
|
var constants3 = require_constants8();
|
|
619642
|
-
var
|
|
619642
|
+
var utils7 = require_utils7();
|
|
619643
619643
|
var {
|
|
619644
619644
|
MAX_LENGTH: MAX_LENGTH2,
|
|
619645
619645
|
POSIX_REGEX_SOURCE,
|
|
@@ -619656,7 +619656,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619656
619656
|
try {
|
|
619657
619657
|
new RegExp(value2);
|
|
619658
619658
|
} catch (ex) {
|
|
619659
|
-
return args.map((v25) =>
|
|
619659
|
+
return args.map((v25) => utils7.escapeRegex(v25)).join("..");
|
|
619660
619660
|
}
|
|
619661
619661
|
return value2;
|
|
619662
619662
|
};
|
|
@@ -619677,7 +619677,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619677
619677
|
const bos = { type: "bos", value: "", output: opts.prepend || "" };
|
|
619678
619678
|
const tokens = [bos];
|
|
619679
619679
|
const capture = opts.capture ? "" : "?:";
|
|
619680
|
-
const win32 =
|
|
619680
|
+
const win32 = utils7.isWindows(options8);
|
|
619681
619681
|
const PLATFORM_CHARS = constants3.globChars(win32);
|
|
619682
619682
|
const EXTGLOB_CHARS = constants3.extglobChars(PLATFORM_CHARS);
|
|
619683
619683
|
const {
|
|
@@ -619723,7 +619723,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619723
619723
|
globstar: false,
|
|
619724
619724
|
tokens
|
|
619725
619725
|
};
|
|
619726
|
-
input =
|
|
619726
|
+
input = utils7.removePrefix(input, state);
|
|
619727
619727
|
len = input.length;
|
|
619728
619728
|
const extglobs = [];
|
|
619729
619729
|
const braces = [];
|
|
@@ -619863,7 +619863,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619863
619863
|
state.output = input;
|
|
619864
619864
|
return state;
|
|
619865
619865
|
}
|
|
619866
|
-
state.output =
|
|
619866
|
+
state.output = utils7.wrapOutput(output, state, options8);
|
|
619867
619867
|
return state;
|
|
619868
619868
|
}
|
|
619869
619869
|
while (!eos()) {
|
|
@@ -619939,7 +619939,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619939
619939
|
continue;
|
|
619940
619940
|
}
|
|
619941
619941
|
if (state.quotes === 1 && value2 !== '"') {
|
|
619942
|
-
value2 =
|
|
619942
|
+
value2 = utils7.escapeRegex(value2);
|
|
619943
619943
|
prev.value += value2;
|
|
619944
619944
|
append({ value: value2 });
|
|
619945
619945
|
continue;
|
|
@@ -620000,10 +620000,10 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620000
620000
|
}
|
|
620001
620001
|
prev.value += value2;
|
|
620002
620002
|
append({ value: value2 });
|
|
620003
|
-
if (opts.literalBrackets === false ||
|
|
620003
|
+
if (opts.literalBrackets === false || utils7.hasRegexChars(prevValue)) {
|
|
620004
620004
|
continue;
|
|
620005
620005
|
}
|
|
620006
|
-
const escaped =
|
|
620006
|
+
const escaped = utils7.escapeRegex(prev.value);
|
|
620007
620007
|
state.output = state.output.slice(0, -prev.value.length);
|
|
620008
620008
|
if (opts.literalBrackets === true) {
|
|
620009
620009
|
state.output += escaped;
|
|
@@ -620120,7 +620120,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620120
620120
|
if (prev && prev.type === "paren") {
|
|
620121
620121
|
const next = peek2();
|
|
620122
620122
|
let output = value2;
|
|
620123
|
-
if (next === "<" && !
|
|
620123
|
+
if (next === "<" && !utils7.supportsLookbehinds()) {
|
|
620124
620124
|
throw new Error("Node.js v10 or higher is required for regex lookbehinds");
|
|
620125
620125
|
}
|
|
620126
620126
|
if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
@@ -620313,19 +620313,19 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620313
620313
|
while (state.brackets > 0) {
|
|
620314
620314
|
if (opts.strictBrackets === true)
|
|
620315
620315
|
throw new SyntaxError(syntaxError2("closing", "]"));
|
|
620316
|
-
state.output =
|
|
620316
|
+
state.output = utils7.escapeLast(state.output, "[");
|
|
620317
620317
|
decrement("brackets");
|
|
620318
620318
|
}
|
|
620319
620319
|
while (state.parens > 0) {
|
|
620320
620320
|
if (opts.strictBrackets === true)
|
|
620321
620321
|
throw new SyntaxError(syntaxError2("closing", ")"));
|
|
620322
|
-
state.output =
|
|
620322
|
+
state.output = utils7.escapeLast(state.output, "(");
|
|
620323
620323
|
decrement("parens");
|
|
620324
620324
|
}
|
|
620325
620325
|
while (state.braces > 0) {
|
|
620326
620326
|
if (opts.strictBrackets === true)
|
|
620327
620327
|
throw new SyntaxError(syntaxError2("closing", "}"));
|
|
620328
|
-
state.output =
|
|
620328
|
+
state.output = utils7.escapeLast(state.output, "{");
|
|
620329
620329
|
decrement("braces");
|
|
620330
620330
|
}
|
|
620331
620331
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -620350,7 +620350,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620350
620350
|
throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
620351
620351
|
}
|
|
620352
620352
|
input = REPLACEMENTS[input] || input;
|
|
620353
|
-
const win32 =
|
|
620353
|
+
const win32 = utils7.isWindows(options8);
|
|
620354
620354
|
const {
|
|
620355
620355
|
DOT_LITERAL,
|
|
620356
620356
|
SLASH_LITERAL,
|
|
@@ -620404,7 +620404,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620404
620404
|
}
|
|
620405
620405
|
}
|
|
620406
620406
|
};
|
|
620407
|
-
const output =
|
|
620407
|
+
const output = utils7.removePrefix(input, state);
|
|
620408
620408
|
let source2 = create(output);
|
|
620409
620409
|
if (source2 && opts.strictSlashes !== true) {
|
|
620410
620410
|
source2 += `${SLASH_LITERAL}?`;
|
|
@@ -620419,7 +620419,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620419
620419
|
var path14 = __require("path");
|
|
620420
620420
|
var scan = require_scan4();
|
|
620421
620421
|
var parse8 = require_parse8();
|
|
620422
|
-
var
|
|
620422
|
+
var utils7 = require_utils7();
|
|
620423
620423
|
var constants3 = require_constants8();
|
|
620424
620424
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
620425
620425
|
var picomatch = (glob, options8, returnState = false) => {
|
|
@@ -620440,7 +620440,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620440
620440
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
620441
620441
|
}
|
|
620442
620442
|
const opts = options8 || {};
|
|
620443
|
-
const posix =
|
|
620443
|
+
const posix = utils7.isWindows(options8);
|
|
620444
620444
|
const regex3 = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true);
|
|
620445
620445
|
const state = regex3.state;
|
|
620446
620446
|
delete regex3.state;
|
|
@@ -620484,7 +620484,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620484
620484
|
return { isMatch: false, output: "" };
|
|
620485
620485
|
}
|
|
620486
620486
|
const opts = options8 || {};
|
|
620487
|
-
const format4 = opts.format || (posix ?
|
|
620487
|
+
const format4 = opts.format || (posix ? utils7.toPosixSlashes : null);
|
|
620488
620488
|
let match = input === glob;
|
|
620489
620489
|
let output = match && format4 ? format4(input) : input;
|
|
620490
620490
|
if (match === false) {
|
|
@@ -620500,7 +620500,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620500
620500
|
}
|
|
620501
620501
|
return { isMatch: Boolean(match), match, output };
|
|
620502
620502
|
};
|
|
620503
|
-
picomatch.matchBase = (input, glob, options8, posix =
|
|
620503
|
+
picomatch.matchBase = (input, glob, options8, posix = utils7.isWindows(options8)) => {
|
|
620504
620504
|
const regex3 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8);
|
|
620505
620505
|
return regex3.test(path14.basename(input));
|
|
620506
620506
|
};
|
|
@@ -620560,7 +620560,7 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620560
620560
|
var util2 = __require("util");
|
|
620561
620561
|
var braces = require_braces2();
|
|
620562
620562
|
var picomatch = require_picomatch4();
|
|
620563
|
-
var
|
|
620563
|
+
var utils7 = require_utils7();
|
|
620564
620564
|
var isEmptyString = (v25) => v25 === "" || v25 === "./";
|
|
620565
620565
|
var hasBraces = (v25) => {
|
|
620566
620566
|
const index = v25.indexOf("{");
|
|
@@ -620648,7 +620648,7 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620648
620648
|
return micromatch.isMatch(str2, pattern, { ...options8, contains: true });
|
|
620649
620649
|
};
|
|
620650
620650
|
micromatch.matchKeys = (obj, patterns, options8) => {
|
|
620651
|
-
if (!
|
|
620651
|
+
if (!utils7.isObject(obj)) {
|
|
620652
620652
|
throw new TypeError("Expected the first argument to be an object");
|
|
620653
620653
|
}
|
|
620654
620654
|
let keys = micromatch(Object.keys(obj), patterns, options8);
|
|
@@ -620684,9 +620684,9 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620684
620684
|
return [].concat(patterns).every((p26) => picomatch(p26, options8)(str2));
|
|
620685
620685
|
};
|
|
620686
620686
|
micromatch.capture = (glob, input, options8) => {
|
|
620687
|
-
let posix =
|
|
620687
|
+
let posix = utils7.isWindows(options8);
|
|
620688
620688
|
let regex3 = picomatch.makeRe(String(glob), { ...options8, capture: true });
|
|
620689
|
-
let match = regex3.exec(posix ?
|
|
620689
|
+
let match = regex3.exec(posix ? utils7.toPosixSlashes(input) : input);
|
|
620690
620690
|
if (match) {
|
|
620691
620691
|
return match.slice(1).map((v25) => v25 === undefined ? "" : v25);
|
|
620692
620692
|
}
|
|
@@ -667713,7 +667713,7 @@ var require_package3 = __commonJS((exports, module3) => {
|
|
|
667713
667713
|
var require_ejs = __commonJS((exports) => {
|
|
667714
667714
|
var fs12 = __require("fs");
|
|
667715
667715
|
var path15 = __require("path");
|
|
667716
|
-
var
|
|
667716
|
+
var utils7 = require_utils10();
|
|
667717
667717
|
var scopeOptionWarned = false;
|
|
667718
667718
|
var _VERSION_STRING = require_package3().version;
|
|
667719
667719
|
var _DEFAULT_OPEN_DELIMITER = "<";
|
|
@@ -667738,7 +667738,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667738
667738
|
var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat("cache");
|
|
667739
667739
|
var _BOM = /^\uFEFF/;
|
|
667740
667740
|
var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
|
|
667741
|
-
exports.cache =
|
|
667741
|
+
exports.cache = utils7.cache;
|
|
667742
667742
|
exports.fileLoader = fs12.readFileSync;
|
|
667743
667743
|
exports.localsName = _DEFAULT_LOCALS_NAME;
|
|
667744
667744
|
exports.promiseImpl = new Function("return this;")().Promise;
|
|
@@ -667845,7 +667845,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667845
667845
|
return exports.fileLoader(filePath);
|
|
667846
667846
|
}
|
|
667847
667847
|
function includeFile(path16, options8) {
|
|
667848
|
-
var opts =
|
|
667848
|
+
var opts = utils7.shallowCopy(utils7.createNullProtoObjWherePossible(), options8);
|
|
667849
667849
|
opts.filename = getIncludePath(path16, opts);
|
|
667850
667850
|
if (typeof options8.includer === "function") {
|
|
667851
667851
|
var includerResult = options8.includer(path16, opts.filename);
|
|
@@ -667897,10 +667897,10 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667897
667897
|
return templ.compile();
|
|
667898
667898
|
};
|
|
667899
667899
|
exports.render = function(template2, d8, o5) {
|
|
667900
|
-
var data = d8 ||
|
|
667901
|
-
var opts = o5 ||
|
|
667900
|
+
var data = d8 || utils7.createNullProtoObjWherePossible();
|
|
667901
|
+
var opts = o5 || utils7.createNullProtoObjWherePossible();
|
|
667902
667902
|
if (arguments.length == 2) {
|
|
667903
|
-
|
|
667903
|
+
utils7.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
|
|
667904
667904
|
}
|
|
667905
667905
|
return handleCache(opts, template2)(data);
|
|
667906
667906
|
};
|
|
@@ -667917,7 +667917,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667917
667917
|
if (args.length) {
|
|
667918
667918
|
data = args.shift();
|
|
667919
667919
|
if (args.length) {
|
|
667920
|
-
|
|
667920
|
+
utils7.shallowCopy(opts, args.pop());
|
|
667921
667921
|
} else {
|
|
667922
667922
|
if (data.settings) {
|
|
667923
667923
|
if (data.settings.views) {
|
|
@@ -667928,14 +667928,14 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667928
667928
|
}
|
|
667929
667929
|
viewOpts = data.settings["view options"];
|
|
667930
667930
|
if (viewOpts) {
|
|
667931
|
-
|
|
667931
|
+
utils7.shallowCopy(opts, viewOpts);
|
|
667932
667932
|
}
|
|
667933
667933
|
}
|
|
667934
|
-
|
|
667934
|
+
utils7.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
|
|
667935
667935
|
}
|
|
667936
667936
|
opts.filename = filename;
|
|
667937
667937
|
} else {
|
|
667938
|
-
data =
|
|
667938
|
+
data = utils7.createNullProtoObjWherePossible();
|
|
667939
667939
|
}
|
|
667940
667940
|
return tryHandleCache(opts, data, cb2);
|
|
667941
667941
|
};
|
|
@@ -667944,15 +667944,15 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667944
667944
|
exports.cache.reset();
|
|
667945
667945
|
};
|
|
667946
667946
|
function Template(text, optsParam) {
|
|
667947
|
-
var opts =
|
|
667948
|
-
var options8 =
|
|
667947
|
+
var opts = utils7.hasOwnOnlyObject(optsParam);
|
|
667948
|
+
var options8 = utils7.createNullProtoObjWherePossible();
|
|
667949
667949
|
this.templateText = text;
|
|
667950
667950
|
this.mode = null;
|
|
667951
667951
|
this.truncate = false;
|
|
667952
667952
|
this.currentLine = 1;
|
|
667953
667953
|
this.source = "";
|
|
667954
667954
|
options8.client = opts.client || false;
|
|
667955
|
-
options8.escapeFunction = opts.escape || opts.escapeFunction ||
|
|
667955
|
+
options8.escapeFunction = opts.escape || opts.escapeFunction || utils7.escapeXML;
|
|
667956
667956
|
options8.compileDebug = opts.compileDebug !== false;
|
|
667957
667957
|
options8.debug = !!opts.debug;
|
|
667958
667958
|
options8.filename = opts.filename;
|
|
@@ -667989,9 +667989,9 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667989
667989
|
Template.prototype = {
|
|
667990
667990
|
createRegex: function() {
|
|
667991
667991
|
var str2 = _REGEX_STRING;
|
|
667992
|
-
var delim =
|
|
667993
|
-
var open =
|
|
667994
|
-
var close =
|
|
667992
|
+
var delim = utils7.escapeRegExpChars(this.opts.delimiter);
|
|
667993
|
+
var open = utils7.escapeRegExpChars(this.opts.openDelimiter);
|
|
667994
|
+
var close = utils7.escapeRegExpChars(this.opts.closeDelimiter);
|
|
667995
667995
|
str2 = str2.replace(/%/g, delim).replace(/</g, open).replace(/>/g, close);
|
|
667996
667996
|
return new RegExp(str2);
|
|
667997
667997
|
},
|
|
@@ -668114,13 +668114,13 @@ var require_ejs = __commonJS((exports) => {
|
|
|
668114
668114
|
}
|
|
668115
668115
|
var returnedFn = opts.client ? fn9 : function anonymous(data) {
|
|
668116
668116
|
var include = function(path16, includeData) {
|
|
668117
|
-
var d8 =
|
|
668117
|
+
var d8 = utils7.shallowCopy(utils7.createNullProtoObjWherePossible(), data);
|
|
668118
668118
|
if (includeData) {
|
|
668119
|
-
d8 =
|
|
668119
|
+
d8 = utils7.shallowCopy(d8, includeData);
|
|
668120
668120
|
}
|
|
668121
668121
|
return includeFile(path16, opts)(d8);
|
|
668122
668122
|
};
|
|
668123
|
-
return fn9.apply(opts.context, [data ||
|
|
668123
|
+
return fn9.apply(opts.context, [data || utils7.createNullProtoObjWherePossible(), escapeFn, include, rethrow]);
|
|
668124
668124
|
};
|
|
668125
668125
|
if (opts.filename && typeof Object.defineProperty === "function") {
|
|
668126
668126
|
var filename = opts.filename;
|
|
@@ -668280,7 +668280,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
668280
668280
|
}
|
|
668281
668281
|
}
|
|
668282
668282
|
};
|
|
668283
|
-
exports.escapeXML =
|
|
668283
|
+
exports.escapeXML = utils7.escapeXML;
|
|
668284
668284
|
exports.__express = exports.renderFile;
|
|
668285
668285
|
exports.VERSION = _VERSION_STRING;
|
|
668286
668286
|
exports.name = _NAME;
|
|
@@ -673887,6 +673887,11 @@ var import_cmd_ts4 = __toESM(require_cjs(), 1);
|
|
|
673887
673887
|
|
|
673888
673888
|
// ../../shared/dist/processors/constants.js
|
|
673889
673889
|
var PROCESSOR_APPS = ["connect", "switchboard"];
|
|
673890
|
+
// ../../shared/dist/processors/relational/utils.js
|
|
673891
|
+
var LOG2_26 = Math.log2(26);
|
|
673892
|
+
|
|
673893
|
+
// ../../shared/dist/processors/relational/types.js
|
|
673894
|
+
var IS_RELATIONAL_DB_PROCESSOR = Symbol.for("ph.IS_RELATIONAL_DB_PROCESSOR");
|
|
673890
673895
|
// ../../packages/common/dist/clis/args/generate.js
|
|
673891
673896
|
var ProcessorAppType = {
|
|
673892
673897
|
from(processorApps) {
|
|
@@ -678792,6 +678797,7 @@ import manifestJson from "./powerhouse.manifest.json" with { type: "json" };
|
|
|
678792
678797
|
export { documentModels } from "./document-models/document-models.js";
|
|
678793
678798
|
export { upgradeManifests } from "./document-models/upgrade-manifests.js";
|
|
678794
678799
|
export { editors } from "./editors/editors.js";
|
|
678800
|
+
export { processorFactory } from "./processors/index.ts";
|
|
678795
678801
|
export const manifest: Manifest = manifestJson;
|
|
678796
678802
|
`.raw;
|
|
678797
678803
|
// ../../packages/codegen/dist/src/templates/boilerplate/LICENSE.js
|
|
@@ -680272,6 +680278,15 @@ export function FolderTree() {
|
|
|
680272
680278
|
);
|
|
680273
680279
|
}
|
|
680274
680280
|
`.raw;
|
|
680281
|
+
// ../../packages/codegen/dist/src/templates/processors/index.js
|
|
680282
|
+
var processorsIndexTemplate = ts`
|
|
680283
|
+
/**
|
|
680284
|
+
* Processor exports
|
|
680285
|
+
* This file is auto-generated and updated by codegen
|
|
680286
|
+
*/
|
|
680287
|
+
|
|
680288
|
+
export { processorFactory } from "./factory.js";
|
|
680289
|
+
`.raw;
|
|
680275
680290
|
// ../../packages/codegen/dist/src/file-builders/boilerplate/package.json.js
|
|
680276
680291
|
async function buildBoilerplatePackageJson(args) {
|
|
680277
680292
|
const { name, tag: tag2, version } = args;
|
|
@@ -706533,6 +706548,7 @@ async function writeModuleFiles() {
|
|
|
706533
706548
|
await writeFileEnsuringDir("editors/index.ts", editorsIndexTemplate);
|
|
706534
706549
|
await writeFileEnsuringDir("processors/index.ts", boilerplateProcessorsIndexTemplate);
|
|
706535
706550
|
await writeFileEnsuringDir("subgraphs/index.ts", subgraphsIndexTemplate);
|
|
706551
|
+
await writeFileEnsuringDir("processors/index.ts", processorsIndexTemplate);
|
|
706536
706552
|
}
|
|
706537
706553
|
async function writeAiConfigFiles() {
|
|
706538
706554
|
await writeFileEnsuringDir("CLAUDE.md", agentsTemplate);
|
|
@@ -708163,7 +708179,7 @@ var use = import_cmd_ts16.command({
|
|
|
708163
708179
|
});
|
|
708164
708180
|
|
|
708165
708181
|
// src/commands/ph.ts
|
|
708166
|
-
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.
|
|
708182
|
+
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.43");
|
|
708167
708183
|
var ph2 = import_cmd_ts17.subcommands({
|
|
708168
708184
|
name: "ph",
|
|
708169
708185
|
version: phCmdVersionInfo,
|