ph-cmd 6.0.0-dev.42 → 6.0.0-dev.43
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
|
@@ -13773,7 +13773,7 @@ var require_state = __commonJS((exports, module3) => {
|
|
|
13773
13773
|
|
|
13774
13774
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/styles.js
|
|
13775
13775
|
var require_styles = __commonJS((exports, module3) => {
|
|
13776
|
-
var
|
|
13776
|
+
var utils5 = require_utils2();
|
|
13777
13777
|
var colors = require_ansi_colors();
|
|
13778
13778
|
var styles3 = {
|
|
13779
13779
|
default: colors.noop,
|
|
@@ -13782,13 +13782,13 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13782
13782
|
this._inverse = custom;
|
|
13783
13783
|
},
|
|
13784
13784
|
get inverse() {
|
|
13785
|
-
return this._inverse ||
|
|
13785
|
+
return this._inverse || utils5.inverse(this.primary);
|
|
13786
13786
|
},
|
|
13787
13787
|
set complement(custom) {
|
|
13788
13788
|
this._complement = custom;
|
|
13789
13789
|
},
|
|
13790
13790
|
get complement() {
|
|
13791
|
-
return this._complement ||
|
|
13791
|
+
return this._complement || utils5.complement(this.primary);
|
|
13792
13792
|
},
|
|
13793
13793
|
primary: colors.cyan,
|
|
13794
13794
|
success: colors.green,
|
|
@@ -13861,7 +13861,7 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13861
13861
|
if (options.styles && typeof options.styles.visible === "boolean") {
|
|
13862
13862
|
colors.visible = options.styles.visible;
|
|
13863
13863
|
}
|
|
13864
|
-
let result =
|
|
13864
|
+
let result = utils5.merge({}, styles3, options.styles);
|
|
13865
13865
|
delete result.merge;
|
|
13866
13866
|
for (let key of Object.keys(colors)) {
|
|
13867
13867
|
if (!hasOwnProperty.call(result, key)) {
|
|
@@ -13882,7 +13882,7 @@ var require_styles = __commonJS((exports, module3) => {
|
|
|
13882
13882
|
var require_symbols2 = __commonJS((exports, module3) => {
|
|
13883
13883
|
var isWindows = process.platform === "win32";
|
|
13884
13884
|
var colors = require_ansi_colors();
|
|
13885
|
-
var
|
|
13885
|
+
var utils5 = require_utils2();
|
|
13886
13886
|
var symbols = {
|
|
13887
13887
|
...colors.symbols,
|
|
13888
13888
|
upDownDoubleArrow: "⇕",
|
|
@@ -13935,7 +13935,7 @@ var require_symbols2 = __commonJS((exports, module3) => {
|
|
|
13935
13935
|
numbers: ["⓪", "①", "②", "③", "④", "⑤", "⑥", "⑦", "⑧", "⑨", "⑩", "⑪", "⑫", "⑬", "⑭", "⑮", "⑯", "⑰", "⑱", "⑲", "⑳", "㉑", "㉒", "㉓", "㉔", "㉕", "㉖", "㉗", "㉘", "㉙", "㉚", "㉛", "㉜", "㉝", "㉞", "㉟", "㊱", "㊲", "㊳", "㊴", "㊵", "㊶", "㊷", "㊸", "㊹", "㊺", "㊻", "㊼", "㊽", "㊾", "㊿"]
|
|
13936
13936
|
};
|
|
13937
13937
|
symbols.merge = (options) => {
|
|
13938
|
-
let result =
|
|
13938
|
+
let result = utils5.merge({}, colors.symbols, symbols, options.symbols);
|
|
13939
13939
|
delete result.merge;
|
|
13940
13940
|
return result;
|
|
13941
13941
|
};
|
|
@@ -13946,9 +13946,9 @@ var require_symbols2 = __commonJS((exports, module3) => {
|
|
|
13946
13946
|
var require_theme = __commonJS((exports, module3) => {
|
|
13947
13947
|
var styles3 = require_styles();
|
|
13948
13948
|
var symbols = require_symbols2();
|
|
13949
|
-
var
|
|
13949
|
+
var utils5 = require_utils2();
|
|
13950
13950
|
module3.exports = (prompt) => {
|
|
13951
|
-
prompt.options =
|
|
13951
|
+
prompt.options = utils5.merge({}, prompt.options.theme, prompt.options);
|
|
13952
13952
|
prompt.symbols = symbols.merge(prompt.options);
|
|
13953
13953
|
prompt.styles = styles3.merge(prompt.options);
|
|
13954
13954
|
};
|
|
@@ -13958,7 +13958,7 @@ var require_theme = __commonJS((exports, module3) => {
|
|
|
13958
13958
|
var require_ansi = __commonJS((exports, module3) => {
|
|
13959
13959
|
var isTerm = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
13960
13960
|
var stripAnsi2 = require_strip_ansi();
|
|
13961
|
-
var
|
|
13961
|
+
var utils5 = require_utils2();
|
|
13962
13962
|
var ansi = module3.exports = exports;
|
|
13963
13963
|
var ESC = "\x1B[";
|
|
13964
13964
|
var BEL = "\x07";
|
|
@@ -14022,9 +14022,9 @@ var require_ansi = __commonJS((exports, module3) => {
|
|
|
14022
14022
|
},
|
|
14023
14023
|
restore(state = {}) {
|
|
14024
14024
|
let { after, cursor: cursor2, initial, input, prompt, size, value: value2 } = state;
|
|
14025
|
-
initial =
|
|
14026
|
-
input =
|
|
14027
|
-
value2 =
|
|
14025
|
+
initial = utils5.isPrimitive(initial) ? String(initial) : "";
|
|
14026
|
+
input = utils5.isPrimitive(input) ? String(input) : "";
|
|
14027
|
+
value2 = utils5.isPrimitive(value2) ? String(value2) : "";
|
|
14028
14028
|
if (size) {
|
|
14029
14029
|
let codes = ansi.cursor.up(size) + ansi.cursor.to(this.strLen(prompt));
|
|
14030
14030
|
let diff2 = input.length - cursor2;
|
|
@@ -14082,7 +14082,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14082
14082
|
var timer = require_timer();
|
|
14083
14083
|
var State = require_state();
|
|
14084
14084
|
var theme = require_theme();
|
|
14085
|
-
var
|
|
14085
|
+
var utils5 = require_utils2();
|
|
14086
14086
|
var ansi = require_ansi();
|
|
14087
14087
|
|
|
14088
14088
|
class Prompt extends Events {
|
|
@@ -14125,7 +14125,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14125
14125
|
}
|
|
14126
14126
|
cursorHide() {
|
|
14127
14127
|
this.stdout.write(ansi.cursor.hide());
|
|
14128
|
-
const releaseOnExit =
|
|
14128
|
+
const releaseOnExit = utils5.onExit(() => this.cursorShow());
|
|
14129
14129
|
this.on("close", () => {
|
|
14130
14130
|
this.cursorShow();
|
|
14131
14131
|
releaseOnExit();
|
|
@@ -14299,9 +14299,9 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14299
14299
|
let timer2 = this.timers && this.timers.prefix;
|
|
14300
14300
|
let state = this.state;
|
|
14301
14301
|
state.timer = timer2;
|
|
14302
|
-
if (
|
|
14302
|
+
if (utils5.isObject(element))
|
|
14303
14303
|
element = element[state.status] || element.pending;
|
|
14304
|
-
if (!
|
|
14304
|
+
if (!utils5.hasColor(element)) {
|
|
14305
14305
|
let style = this.styles[state.status] || this.styles.pending;
|
|
14306
14306
|
return style(element);
|
|
14307
14307
|
}
|
|
@@ -14309,7 +14309,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14309
14309
|
}
|
|
14310
14310
|
async message() {
|
|
14311
14311
|
let message = await this.element("message");
|
|
14312
|
-
if (!
|
|
14312
|
+
if (!utils5.hasColor(message)) {
|
|
14313
14313
|
return this.styles.strong(message);
|
|
14314
14314
|
}
|
|
14315
14315
|
return message;
|
|
@@ -14321,16 +14321,16 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14321
14321
|
state.timer = timer2;
|
|
14322
14322
|
let value2 = element[state.status] || element.pending || state.separator;
|
|
14323
14323
|
let ele = await this.resolve(value2, state);
|
|
14324
|
-
if (
|
|
14324
|
+
if (utils5.isObject(ele))
|
|
14325
14325
|
ele = ele[state.status] || ele.pending;
|
|
14326
|
-
if (!
|
|
14326
|
+
if (!utils5.hasColor(ele)) {
|
|
14327
14327
|
return this.styles.muted(ele);
|
|
14328
14328
|
}
|
|
14329
14329
|
return ele;
|
|
14330
14330
|
}
|
|
14331
14331
|
async pointer(choice, i) {
|
|
14332
14332
|
let val = await this.element("pointer", choice, i);
|
|
14333
|
-
if (typeof val === "string" &&
|
|
14333
|
+
if (typeof val === "string" && utils5.hasColor(val)) {
|
|
14334
14334
|
return val;
|
|
14335
14335
|
}
|
|
14336
14336
|
if (val) {
|
|
@@ -14338,13 +14338,13 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14338
14338
|
let focused = this.index === i;
|
|
14339
14339
|
let style = focused ? styles3.primary : (val2) => val2;
|
|
14340
14340
|
let ele = await this.resolve(val[focused ? "on" : "off"] || val, this.state);
|
|
14341
|
-
let styled = !
|
|
14341
|
+
let styled = !utils5.hasColor(ele) ? style(ele) : ele;
|
|
14342
14342
|
return focused ? styled : " ".repeat(ele.length);
|
|
14343
14343
|
}
|
|
14344
14344
|
}
|
|
14345
14345
|
async indicator(choice, i) {
|
|
14346
14346
|
let val = await this.element("indicator", choice, i);
|
|
14347
|
-
if (typeof val === "string" &&
|
|
14347
|
+
if (typeof val === "string" && utils5.hasColor(val)) {
|
|
14348
14348
|
return val;
|
|
14349
14349
|
}
|
|
14350
14350
|
if (val) {
|
|
@@ -14352,7 +14352,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14352
14352
|
let enabled = choice.enabled === true;
|
|
14353
14353
|
let style = enabled ? styles3.success : styles3.dark;
|
|
14354
14354
|
let ele = val[enabled ? "on" : "off"] || val;
|
|
14355
|
-
return !
|
|
14355
|
+
return !utils5.hasColor(ele) ? style(ele) : ele;
|
|
14356
14356
|
}
|
|
14357
14357
|
return "";
|
|
14358
14358
|
}
|
|
@@ -14372,7 +14372,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14372
14372
|
async hint() {
|
|
14373
14373
|
if (this.state.status === "pending" && !this.isValue(this.state.input)) {
|
|
14374
14374
|
let hint = await this.element("hint");
|
|
14375
|
-
if (!
|
|
14375
|
+
if (!utils5.hasColor(hint)) {
|
|
14376
14376
|
return this.styles.muted(hint);
|
|
14377
14377
|
}
|
|
14378
14378
|
return hint;
|
|
@@ -14397,7 +14397,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14397
14397
|
return value2 != null && value2 !== "";
|
|
14398
14398
|
}
|
|
14399
14399
|
resolve(value2, ...args) {
|
|
14400
|
-
return
|
|
14400
|
+
return utils5.resolve(this, value2, ...args);
|
|
14401
14401
|
}
|
|
14402
14402
|
get base() {
|
|
14403
14403
|
return Prompt.prototype;
|
|
@@ -14406,10 +14406,10 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14406
14406
|
return this.styles[this.state.status];
|
|
14407
14407
|
}
|
|
14408
14408
|
get height() {
|
|
14409
|
-
return this.options.rows ||
|
|
14409
|
+
return this.options.rows || utils5.height(this.stdout, 25);
|
|
14410
14410
|
}
|
|
14411
14411
|
get width() {
|
|
14412
|
-
return this.options.columns ||
|
|
14412
|
+
return this.options.columns || utils5.width(this.stdout, 80);
|
|
14413
14413
|
}
|
|
14414
14414
|
get size() {
|
|
14415
14415
|
return { width: this.width, height: this.height };
|
|
@@ -14504,7 +14504,7 @@ var require_prompt = __commonJS((exports, module3) => {
|
|
|
14504
14504
|
|
|
14505
14505
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/roles.js
|
|
14506
14506
|
var require_roles = __commonJS((exports, module3) => {
|
|
14507
|
-
var
|
|
14507
|
+
var utils5 = require_utils2();
|
|
14508
14508
|
var roles = {
|
|
14509
14509
|
default(prompt, choice) {
|
|
14510
14510
|
return choice;
|
|
@@ -14544,7 +14544,7 @@ var require_roles = __commonJS((exports, module3) => {
|
|
|
14544
14544
|
}
|
|
14545
14545
|
};
|
|
14546
14546
|
module3.exports = (name, options = {}) => {
|
|
14547
|
-
let role =
|
|
14547
|
+
let role = utils5.merge({}, roles, options.roles);
|
|
14548
14548
|
return role[name] || role.default;
|
|
14549
14549
|
};
|
|
14550
14550
|
});
|
|
@@ -14554,8 +14554,8 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
14554
14554
|
var stripAnsi2 = require_strip_ansi();
|
|
14555
14555
|
var Prompt = require_prompt();
|
|
14556
14556
|
var roles = require_roles();
|
|
14557
|
-
var
|
|
14558
|
-
var { reorder, scrollUp, scrollDown, isObject: isObject2, swap } =
|
|
14557
|
+
var utils5 = require_utils2();
|
|
14558
|
+
var { reorder, scrollUp, scrollDown, isObject: isObject2, swap } = utils5;
|
|
14559
14559
|
|
|
14560
14560
|
class ArrayPrompt extends Prompt {
|
|
14561
14561
|
constructor(options) {
|
|
@@ -14656,7 +14656,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
14656
14656
|
ele.input = "";
|
|
14657
14657
|
ele.index = i;
|
|
14658
14658
|
ele.cursor = 0;
|
|
14659
|
-
|
|
14659
|
+
utils5.define(ele, "parent", parent);
|
|
14660
14660
|
ele.level = parent ? parent.level + 1 : 1;
|
|
14661
14661
|
if (ele.indent == null) {
|
|
14662
14662
|
ele.indent = parent ? parent.indent + " " : ele.indent || "";
|
|
@@ -15043,7 +15043,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15043
15043
|
return this.alert();
|
|
15044
15044
|
}
|
|
15045
15045
|
if (Array.isArray(value2) && reorder2 !== false && sort !== true) {
|
|
15046
|
-
value2 =
|
|
15046
|
+
value2 = utils5.reorder(value2);
|
|
15047
15047
|
}
|
|
15048
15048
|
this.value = multi ? value2.map((ch) => ch.name) : value2.name;
|
|
15049
15049
|
return super.submit();
|
|
@@ -15121,7 +15121,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15121
15121
|
if (choices instanceof Promise)
|
|
15122
15122
|
return choices;
|
|
15123
15123
|
if (typeof choices === "function") {
|
|
15124
|
-
if (
|
|
15124
|
+
if (utils5.isAsyncFn(choices))
|
|
15125
15125
|
return choices;
|
|
15126
15126
|
choices = choices.call(prompt, prompt);
|
|
15127
15127
|
}
|
|
@@ -15142,7 +15142,7 @@ var require_array = __commonJS((exports, module3) => {
|
|
|
15142
15142
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/prompts/select.js
|
|
15143
15143
|
var require_select = __commonJS((exports, module3) => {
|
|
15144
15144
|
var ArrayPrompt = require_array();
|
|
15145
|
-
var
|
|
15145
|
+
var utils5 = require_utils2();
|
|
15146
15146
|
|
|
15147
15147
|
class SelectPrompt extends ArrayPrompt {
|
|
15148
15148
|
constructor(options) {
|
|
@@ -15169,7 +15169,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15169
15169
|
}
|
|
15170
15170
|
choiceMessage(choice, i) {
|
|
15171
15171
|
let message = this.resolve(choice.message, this.state, choice, i);
|
|
15172
|
-
if (choice.role === "heading" && !
|
|
15172
|
+
if (choice.role === "heading" && !utils5.hasColor(message)) {
|
|
15173
15173
|
message = this.styles.strong(message);
|
|
15174
15174
|
}
|
|
15175
15175
|
return this.resolve(message, this.state, choice, i);
|
|
@@ -15183,7 +15183,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15183
15183
|
let pointer = await this.pointer(choice, i);
|
|
15184
15184
|
let check = await this.indicator(choice, i) + (choice.pad || "");
|
|
15185
15185
|
let hint = await this.resolve(choice.hint, this.state, choice, i);
|
|
15186
|
-
if (hint && !
|
|
15186
|
+
if (hint && !utils5.hasColor(hint)) {
|
|
15187
15187
|
hint = this.styles.muted(hint);
|
|
15188
15188
|
}
|
|
15189
15189
|
let ind = this.indent(choice);
|
|
@@ -15193,7 +15193,7 @@ var require_select = __commonJS((exports, module3) => {
|
|
|
15193
15193
|
return line();
|
|
15194
15194
|
}
|
|
15195
15195
|
if (choice.disabled) {
|
|
15196
|
-
if (!
|
|
15196
|
+
if (!utils5.hasColor(msg)) {
|
|
15197
15197
|
msg = this.styles.disabled(msg);
|
|
15198
15198
|
}
|
|
15199
15199
|
return line();
|
|
@@ -15369,12 +15369,12 @@ var require_autocomplete = __commonJS((exports, module3) => {
|
|
|
15369
15369
|
|
|
15370
15370
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/placeholder.js
|
|
15371
15371
|
var require_placeholder = __commonJS((exports, module3) => {
|
|
15372
|
-
var
|
|
15372
|
+
var utils5 = require_utils2();
|
|
15373
15373
|
module3.exports = (prompt, options = {}) => {
|
|
15374
15374
|
prompt.cursorHide();
|
|
15375
15375
|
let { input = "", initial = "", pos, showCursor = true, color } = options;
|
|
15376
15376
|
let style = color || prompt.styles.placeholder;
|
|
15377
|
-
let inverse =
|
|
15377
|
+
let inverse = utils5.inverse(prompt.styles.primary);
|
|
15378
15378
|
let blinker = (str2) => inverse(prompt.styles.black(str2));
|
|
15379
15379
|
let output = input;
|
|
15380
15380
|
let char = " ";
|
|
@@ -15389,8 +15389,8 @@ var require_placeholder = __commonJS((exports, module3) => {
|
|
|
15389
15389
|
if (showCursor && pos === 0 && (input === initial || input === "")) {
|
|
15390
15390
|
return blinker(initial[0]) + style(initial.slice(1));
|
|
15391
15391
|
}
|
|
15392
|
-
initial =
|
|
15393
|
-
input =
|
|
15392
|
+
initial = utils5.isPrimitive(initial) ? `${initial}` : "";
|
|
15393
|
+
input = utils5.isPrimitive(input) ? `${input}` : "";
|
|
15394
15394
|
let placeholder = initial && initial.startsWith(input) && initial !== input;
|
|
15395
15395
|
let cursor = placeholder ? blinker(initial[input.length]) : reverse;
|
|
15396
15396
|
if (pos !== input.length && showCursor === true) {
|
|
@@ -16294,7 +16294,7 @@ var require_password = __commonJS((exports, module3) => {
|
|
|
16294
16294
|
var require_scale = __commonJS((exports, module3) => {
|
|
16295
16295
|
var stripAnsi2 = require_strip_ansi();
|
|
16296
16296
|
var ArrayPrompt = require_array();
|
|
16297
|
-
var
|
|
16297
|
+
var utils5 = require_utils2();
|
|
16298
16298
|
|
|
16299
16299
|
class LikertScale extends ArrayPrompt {
|
|
16300
16300
|
constructor(options = {}) {
|
|
@@ -16413,7 +16413,7 @@ var require_scale = __commonJS((exports, module3) => {
|
|
|
16413
16413
|
let focused = this.index === i;
|
|
16414
16414
|
let pointer = await this.pointer(choice, i);
|
|
16415
16415
|
let hint = await choice.hint;
|
|
16416
|
-
if (hint && !
|
|
16416
|
+
if (hint && !utils5.hasColor(hint)) {
|
|
16417
16417
|
hint = this.styles.muted(hint);
|
|
16418
16418
|
}
|
|
16419
16419
|
let pad = (str2) => this.margin[3] + str2.replace(/\s+$/, "").padEnd(this.widths[0], " ");
|
|
@@ -16424,7 +16424,7 @@ var require_scale = __commonJS((exports, module3) => {
|
|
|
16424
16424
|
let margin = this.margin[1] + this.margin[3];
|
|
16425
16425
|
this.scaleLength = stripAnsi2(scale).length;
|
|
16426
16426
|
this.widths[0] = Math.min(this.widths[0], this.width - this.scaleLength - margin.length);
|
|
16427
|
-
let msg =
|
|
16427
|
+
let msg = utils5.wordWrap(message, { width: this.widths[0], newline });
|
|
16428
16428
|
let lines = msg.split(`
|
|
16429
16429
|
`).map((line) => pad(line) + this.margin[1]);
|
|
16430
16430
|
if (focused) {
|
|
@@ -17201,10 +17201,10 @@ var require_quiz = __commonJS((exports, module3) => {
|
|
|
17201
17201
|
|
|
17202
17202
|
// ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/prompts/index.js
|
|
17203
17203
|
var require_prompts = __commonJS((exports) => {
|
|
17204
|
-
var
|
|
17204
|
+
var utils5 = require_utils2();
|
|
17205
17205
|
var define2 = (key, fn) => {
|
|
17206
|
-
|
|
17207
|
-
|
|
17206
|
+
utils5.defineExport(exports, key, fn);
|
|
17207
|
+
utils5.defineExport(exports, key.toLowerCase(), fn);
|
|
17208
17208
|
};
|
|
17209
17209
|
define2("AutoComplete", () => require_autocomplete());
|
|
17210
17210
|
define2("BasicAuth", () => require_basicauth());
|
|
@@ -17242,16 +17242,16 @@ var require_types2 = __commonJS((exports, module3) => {
|
|
|
17242
17242
|
var require_enquirer = __commonJS((exports, module3) => {
|
|
17243
17243
|
var assert = __require("assert");
|
|
17244
17244
|
var Events = __require("events");
|
|
17245
|
-
var
|
|
17245
|
+
var utils5 = require_utils2();
|
|
17246
17246
|
|
|
17247
17247
|
class Enquirer extends Events {
|
|
17248
17248
|
constructor(options, answers) {
|
|
17249
17249
|
super();
|
|
17250
|
-
this.options =
|
|
17250
|
+
this.options = utils5.merge({}, options);
|
|
17251
17251
|
this.answers = { ...answers };
|
|
17252
17252
|
}
|
|
17253
17253
|
register(type, fn) {
|
|
17254
|
-
if (
|
|
17254
|
+
if (utils5.isObject(type)) {
|
|
17255
17255
|
for (let key of Object.keys(type))
|
|
17256
17256
|
this.register(key, type[key]);
|
|
17257
17257
|
return this;
|
|
@@ -17270,7 +17270,7 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17270
17270
|
try {
|
|
17271
17271
|
if (typeof question === "function")
|
|
17272
17272
|
question = await question.call(this);
|
|
17273
|
-
await this.ask(
|
|
17273
|
+
await this.ask(utils5.merge({}, this.options, question));
|
|
17274
17274
|
} catch (err) {
|
|
17275
17275
|
return Promise.reject(err);
|
|
17276
17276
|
}
|
|
@@ -17281,9 +17281,9 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17281
17281
|
if (typeof question === "function") {
|
|
17282
17282
|
question = await question.call(this);
|
|
17283
17283
|
}
|
|
17284
|
-
let opts =
|
|
17284
|
+
let opts = utils5.merge({}, this.options, question);
|
|
17285
17285
|
let { type, name } = question;
|
|
17286
|
-
let { set: set2, get } =
|
|
17286
|
+
let { set: set2, get } = utils5;
|
|
17287
17287
|
if (typeof type === "function") {
|
|
17288
17288
|
type = await type.call(this, question, this.answers);
|
|
17289
17289
|
}
|
|
@@ -17353,11 +17353,11 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17353
17353
|
};
|
|
17354
17354
|
return enquirer.prompt(questions);
|
|
17355
17355
|
};
|
|
17356
|
-
|
|
17356
|
+
utils5.mixinEmitter(fn, new Events);
|
|
17357
17357
|
return fn;
|
|
17358
17358
|
}
|
|
17359
17359
|
}
|
|
17360
|
-
|
|
17360
|
+
utils5.mixinEmitter(Enquirer, new Events);
|
|
17361
17361
|
var prompts = Enquirer.prompts;
|
|
17362
17362
|
for (let name of Object.keys(prompts)) {
|
|
17363
17363
|
let key = name.toLowerCase();
|
|
@@ -17369,7 +17369,7 @@ var require_enquirer = __commonJS((exports, module3) => {
|
|
|
17369
17369
|
}
|
|
17370
17370
|
}
|
|
17371
17371
|
var define2 = (name) => {
|
|
17372
|
-
|
|
17372
|
+
utils5.defineExport(Enquirer, name, () => Enquirer.types[name]);
|
|
17373
17373
|
};
|
|
17374
17374
|
define2("ArrayPrompt");
|
|
17375
17375
|
define2("AuthPrompt");
|
|
@@ -190376,7 +190376,7 @@ var require_utils3 = __commonJS((exports) => {
|
|
|
190376
190376
|
|
|
190377
190377
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.js
|
|
190378
190378
|
var require_scan2 = __commonJS((exports, module3) => {
|
|
190379
|
-
var
|
|
190379
|
+
var utils5 = require_utils3();
|
|
190380
190380
|
var {
|
|
190381
190381
|
CHAR_ASTERISK,
|
|
190382
190382
|
CHAR_AT,
|
|
@@ -190625,9 +190625,9 @@ var require_scan2 = __commonJS((exports, module3) => {
|
|
|
190625
190625
|
}
|
|
190626
190626
|
if (opts.unescape === true) {
|
|
190627
190627
|
if (glob)
|
|
190628
|
-
glob =
|
|
190628
|
+
glob = utils5.removeBackslashes(glob);
|
|
190629
190629
|
if (base && backslashes === true) {
|
|
190630
|
-
base =
|
|
190630
|
+
base = utils5.removeBackslashes(base);
|
|
190631
190631
|
}
|
|
190632
190632
|
}
|
|
190633
190633
|
const state = {
|
|
@@ -190692,7 +190692,7 @@ var require_scan2 = __commonJS((exports, module3) => {
|
|
|
190692
190692
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
|
|
190693
190693
|
var require_parse3 = __commonJS((exports, module3) => {
|
|
190694
190694
|
var constants2 = require_constants2();
|
|
190695
|
-
var
|
|
190695
|
+
var utils5 = require_utils3();
|
|
190696
190696
|
var {
|
|
190697
190697
|
MAX_LENGTH: MAX_LENGTH2,
|
|
190698
190698
|
POSIX_REGEX_SOURCE,
|
|
@@ -190709,7 +190709,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190709
190709
|
try {
|
|
190710
190710
|
new RegExp(value2);
|
|
190711
190711
|
} catch (ex) {
|
|
190712
|
-
return args.map((v) =>
|
|
190712
|
+
return args.map((v) => utils5.escapeRegex(v)).join("..");
|
|
190713
190713
|
}
|
|
190714
190714
|
return value2;
|
|
190715
190715
|
};
|
|
@@ -190775,7 +190775,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190775
190775
|
globstar: false,
|
|
190776
190776
|
tokens
|
|
190777
190777
|
};
|
|
190778
|
-
input =
|
|
190778
|
+
input = utils5.removePrefix(input, state);
|
|
190779
190779
|
len = input.length;
|
|
190780
190780
|
const extglobs = [];
|
|
190781
190781
|
const braces = [];
|
|
@@ -190915,7 +190915,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190915
190915
|
state.output = input;
|
|
190916
190916
|
return state;
|
|
190917
190917
|
}
|
|
190918
|
-
state.output =
|
|
190918
|
+
state.output = utils5.wrapOutput(output, state, options);
|
|
190919
190919
|
return state;
|
|
190920
190920
|
}
|
|
190921
190921
|
while (!eos()) {
|
|
@@ -190991,7 +190991,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
190991
190991
|
continue;
|
|
190992
190992
|
}
|
|
190993
190993
|
if (state.quotes === 1 && value2 !== '"') {
|
|
190994
|
-
value2 =
|
|
190994
|
+
value2 = utils5.escapeRegex(value2);
|
|
190995
190995
|
prev.value += value2;
|
|
190996
190996
|
append({ value: value2 });
|
|
190997
190997
|
continue;
|
|
@@ -191052,10 +191052,10 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191052
191052
|
}
|
|
191053
191053
|
prev.value += value2;
|
|
191054
191054
|
append({ value: value2 });
|
|
191055
|
-
if (opts.literalBrackets === false ||
|
|
191055
|
+
if (opts.literalBrackets === false || utils5.hasRegexChars(prevValue)) {
|
|
191056
191056
|
continue;
|
|
191057
191057
|
}
|
|
191058
|
-
const escaped =
|
|
191058
|
+
const escaped = utils5.escapeRegex(prev.value);
|
|
191059
191059
|
state.output = state.output.slice(0, -prev.value.length);
|
|
191060
191060
|
if (opts.literalBrackets === true) {
|
|
191061
191061
|
state.output += escaped;
|
|
@@ -191362,19 +191362,19 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191362
191362
|
while (state.brackets > 0) {
|
|
191363
191363
|
if (opts.strictBrackets === true)
|
|
191364
191364
|
throw new SyntaxError(syntaxError("closing", "]"));
|
|
191365
|
-
state.output =
|
|
191365
|
+
state.output = utils5.escapeLast(state.output, "[");
|
|
191366
191366
|
decrement("brackets");
|
|
191367
191367
|
}
|
|
191368
191368
|
while (state.parens > 0) {
|
|
191369
191369
|
if (opts.strictBrackets === true)
|
|
191370
191370
|
throw new SyntaxError(syntaxError("closing", ")"));
|
|
191371
|
-
state.output =
|
|
191371
|
+
state.output = utils5.escapeLast(state.output, "(");
|
|
191372
191372
|
decrement("parens");
|
|
191373
191373
|
}
|
|
191374
191374
|
while (state.braces > 0) {
|
|
191375
191375
|
if (opts.strictBrackets === true)
|
|
191376
191376
|
throw new SyntaxError(syntaxError("closing", "}"));
|
|
191377
|
-
state.output =
|
|
191377
|
+
state.output = utils5.escapeLast(state.output, "{");
|
|
191378
191378
|
decrement("braces");
|
|
191379
191379
|
}
|
|
191380
191380
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -191452,7 +191452,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191452
191452
|
}
|
|
191453
191453
|
}
|
|
191454
191454
|
};
|
|
191455
|
-
const output =
|
|
191455
|
+
const output = utils5.removePrefix(input, state);
|
|
191456
191456
|
let source = create(output);
|
|
191457
191457
|
if (source && opts.strictSlashes !== true) {
|
|
191458
191458
|
source += `${SLASH_LITERAL}?`;
|
|
@@ -191466,7 +191466,7 @@ var require_parse3 = __commonJS((exports, module3) => {
|
|
|
191466
191466
|
var require_picomatch = __commonJS((exports, module3) => {
|
|
191467
191467
|
var scan = require_scan2();
|
|
191468
191468
|
var parse3 = require_parse3();
|
|
191469
|
-
var
|
|
191469
|
+
var utils5 = require_utils3();
|
|
191470
191470
|
var constants2 = require_constants2();
|
|
191471
191471
|
var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
191472
191472
|
var picomatch = (glob, options, returnState = false) => {
|
|
@@ -191531,7 +191531,7 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191531
191531
|
return { isMatch: false, output: "" };
|
|
191532
191532
|
}
|
|
191533
191533
|
const opts = options || {};
|
|
191534
|
-
const format = opts.format || (posix ?
|
|
191534
|
+
const format = opts.format || (posix ? utils5.toPosixSlashes : null);
|
|
191535
191535
|
let match = input === glob;
|
|
191536
191536
|
let output = match && format ? format(input) : input;
|
|
191537
191537
|
if (match === false) {
|
|
@@ -191549,7 +191549,7 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191549
191549
|
};
|
|
191550
191550
|
picomatch.matchBase = (input, glob, options) => {
|
|
191551
191551
|
const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
191552
|
-
return regex2.test(
|
|
191552
|
+
return regex2.test(utils5.basename(input));
|
|
191553
191553
|
};
|
|
191554
191554
|
picomatch.isMatch = (str2, patterns, options) => picomatch(patterns, options)(str2);
|
|
191555
191555
|
picomatch.parse = (pattern, options) => {
|
|
@@ -191605,10 +191605,10 @@ var require_picomatch = __commonJS((exports, module3) => {
|
|
|
191605
191605
|
// ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.js
|
|
191606
191606
|
var require_picomatch2 = __commonJS((exports, module3) => {
|
|
191607
191607
|
var pico = require_picomatch();
|
|
191608
|
-
var
|
|
191608
|
+
var utils5 = require_utils3();
|
|
191609
191609
|
function picomatch(glob, options, returnState = false) {
|
|
191610
191610
|
if (options && (options.windows === null || options.windows === undefined)) {
|
|
191611
|
-
options = { ...options, windows:
|
|
191611
|
+
options = { ...options, windows: utils5.isWindows() };
|
|
191612
191612
|
}
|
|
191613
191613
|
return pico(glob, options, returnState);
|
|
191614
191614
|
}
|
|
@@ -259592,7 +259592,7 @@ Node text: ${this.#forgottenText}`;
|
|
|
259592
259592
|
// ../../node_modules/.pnpm/prettier@3.6.2/node_modules/prettier/doc.mjs
|
|
259593
259593
|
var exports_doc = {};
|
|
259594
259594
|
__export(exports_doc, {
|
|
259595
|
-
utils: () =>
|
|
259595
|
+
utils: () => utils5,
|
|
259596
259596
|
printer: () => printer,
|
|
259597
259597
|
default: () => public_default,
|
|
259598
259598
|
builders: () => builders
|
|
@@ -260537,14 +260537,14 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
260537
260537
|
return original.split(pattern).join(replacement);
|
|
260538
260538
|
}, string_replace_all_default, emoji_regex_default = () => {
|
|
260539
260539
|
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;
|
|
260540
|
-
}, _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint)), notAsciiRegex, get_string_width_default, MODE_BREAK, MODE_FLAT, CURSOR_PLACEHOLDER, DOC_FILL_PRINTED_LENGTH, builders, printer,
|
|
260540
|
+
}, _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;
|
|
260541
260541
|
var init_doc = __esm(() => {
|
|
260542
260542
|
__defProp2 = Object.defineProperty;
|
|
260543
260543
|
public_exports = {};
|
|
260544
260544
|
__export2(public_exports, {
|
|
260545
260545
|
builders: () => builders,
|
|
260546
260546
|
printer: () => printer,
|
|
260547
|
-
utils: () =>
|
|
260547
|
+
utils: () => utils5
|
|
260548
260548
|
});
|
|
260549
260549
|
VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([
|
|
260550
260550
|
DOC_TYPE_CURSOR,
|
|
@@ -260625,7 +260625,7 @@ var init_doc = __esm(() => {
|
|
|
260625
260625
|
concat: (parts) => parts
|
|
260626
260626
|
};
|
|
260627
260627
|
printer = { printDocToString };
|
|
260628
|
-
|
|
260628
|
+
utils5 = {
|
|
260629
260629
|
willBreak,
|
|
260630
260630
|
traverseDoc: traverse_doc_default,
|
|
260631
260631
|
findInDoc,
|
|
@@ -351037,9 +351037,9 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
|
|
|
351037
351037
|
throw new Error(`Unexpected type ${optionInfo.type}`);
|
|
351038
351038
|
}
|
|
351039
351039
|
if (optionInfo.exception) {
|
|
351040
|
-
parameters.validate = (value2, schema3,
|
|
351040
|
+
parameters.validate = (value2, schema3, utils6) => optionInfo.exception(value2) || schema3.validate(value2, utils6);
|
|
351041
351041
|
} else {
|
|
351042
|
-
parameters.validate = (value2, schema3,
|
|
351042
|
+
parameters.validate = (value2, schema3, utils6) => value2 === undefined || schema3.validate(value2, utils6);
|
|
351043
351043
|
}
|
|
351044
351044
|
if (optionInfo.redirect) {
|
|
351045
351045
|
handlers.redirect = (value2) => !value2 ? undefined : {
|
|
@@ -351054,7 +351054,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
|
|
|
351054
351054
|
}
|
|
351055
351055
|
if (isCLI && !optionInfo.array) {
|
|
351056
351056
|
const originalPreprocess = parameters.preprocess || ((x7) => x7);
|
|
351057
|
-
parameters.preprocess = (value2, schema3,
|
|
351057
|
+
parameters.preprocess = (value2, schema3, utils6) => schema3.preprocess(originalPreprocess(Array.isArray(value2) ? at_default2(false, value2, -1) : value2), utils6);
|
|
351058
351058
|
}
|
|
351059
351059
|
return optionInfo.array ? ArraySchema.create({
|
|
351060
351060
|
...isCLI ? { preprocess: (v7) => Array.isArray(v7) ? v7 : [v7] } : {},
|
|
@@ -352319,17 +352319,17 @@ var require2, __filename2, __dirname2, __create2, __defProp3, __getOwnPropDesc2,
|
|
|
352319
352319
|
messages2.push(`we now treat it as ${import_picocolors.default.blue(typeof redirectTo === "string" ? descriptor.key(redirectTo) : descriptor.pair(redirectTo))}`);
|
|
352320
352320
|
}
|
|
352321
352321
|
return messages2.join("; ") + ".";
|
|
352322
|
-
}, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler = (key2, value2,
|
|
352323
|
-
const { text, list } =
|
|
352322
|
+
}, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler = (key2, value2, utils6) => {
|
|
352323
|
+
const { text, list } = utils6.normalizeExpectedResult(utils6.schemas[key2].expected(utils6));
|
|
352324
352324
|
const descriptions = [];
|
|
352325
352325
|
if (text) {
|
|
352326
|
-
descriptions.push(getDescription(key2, value2, text,
|
|
352326
|
+
descriptions.push(getDescription(key2, value2, text, utils6.descriptor));
|
|
352327
352327
|
}
|
|
352328
352328
|
if (list) {
|
|
352329
|
-
descriptions.push([getDescription(key2, value2, list.title,
|
|
352329
|
+
descriptions.push([getDescription(key2, value2, list.title, utils6.descriptor)].concat(list.values.map((valueDescription) => getListDescription(valueDescription, utils6.loggerPrintWidth))).join(`
|
|
352330
352330
|
`));
|
|
352331
352331
|
}
|
|
352332
|
-
return chooseDescription(descriptions,
|
|
352332
|
+
return chooseDescription(descriptions, utils6.loggerPrintWidth);
|
|
352333
352333
|
}, import_picocolors3, levenUnknownHandler = (key2, value2, { descriptor, logger, schemas }) => {
|
|
352334
352334
|
const messages2 = [
|
|
352335
352335
|
`Ignored unknown option ${import_picocolors3.default.yellow(descriptor.pair({ key: key2, value: value2 }))}.`
|
|
@@ -353200,14 +353200,14 @@ var init_prettier = __esm(() => {
|
|
|
353200
353200
|
});
|
|
353201
353201
|
require_stringify = __commonJS2({
|
|
353202
353202
|
"node_modules/braces/lib/stringify.js"(exports, module3) {
|
|
353203
|
-
var
|
|
353203
|
+
var utils6 = require_utils4();
|
|
353204
353204
|
module3.exports = (ast, options8 = {}) => {
|
|
353205
353205
|
const stringify2 = (node, parent = {}) => {
|
|
353206
|
-
const invalidBlock = options8.escapeInvalid &&
|
|
353206
|
+
const invalidBlock = options8.escapeInvalid && utils6.isInvalidBrace(parent);
|
|
353207
353207
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
353208
353208
|
let output = "";
|
|
353209
353209
|
if (node.value) {
|
|
353210
|
-
if ((invalidBlock || invalidNode) &&
|
|
353210
|
+
if ((invalidBlock || invalidNode) && utils6.isOpenOrClose(node)) {
|
|
353211
353211
|
return "\\" + node.value;
|
|
353212
353212
|
}
|
|
353213
353213
|
return node.value;
|
|
@@ -353654,10 +353654,10 @@ var init_prettier = __esm(() => {
|
|
|
353654
353654
|
require_compile = __commonJS2({
|
|
353655
353655
|
"node_modules/braces/lib/compile.js"(exports, module3) {
|
|
353656
353656
|
var fill2 = require_fill_range();
|
|
353657
|
-
var
|
|
353657
|
+
var utils6 = require_utils4();
|
|
353658
353658
|
var compile = (ast, options8 = {}) => {
|
|
353659
353659
|
const walk = (node, parent = {}) => {
|
|
353660
|
-
const invalidBlock =
|
|
353660
|
+
const invalidBlock = utils6.isInvalidBrace(parent);
|
|
353661
353661
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
353662
353662
|
const invalid = invalidBlock === true || invalidNode === true;
|
|
353663
353663
|
const prefix = options8.escapeInvalid === true ? "\\" : "";
|
|
@@ -353682,7 +353682,7 @@ var init_prettier = __esm(() => {
|
|
|
353682
353682
|
return node.value;
|
|
353683
353683
|
}
|
|
353684
353684
|
if (node.nodes && node.ranges > 0) {
|
|
353685
|
-
const args =
|
|
353685
|
+
const args = utils6.reduce(node.nodes);
|
|
353686
353686
|
const range = fill2(...args, { ...options8, wrap: false, toRegex: true, strictZeros: true });
|
|
353687
353687
|
if (range.length !== 0) {
|
|
353688
353688
|
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
@@ -353704,7 +353704,7 @@ var init_prettier = __esm(() => {
|
|
|
353704
353704
|
"node_modules/braces/lib/expand.js"(exports, module3) {
|
|
353705
353705
|
var fill2 = require_fill_range();
|
|
353706
353706
|
var stringify2 = require_stringify();
|
|
353707
|
-
var
|
|
353707
|
+
var utils6 = require_utils4();
|
|
353708
353708
|
var append = (queue = "", stash = "", enclose = false) => {
|
|
353709
353709
|
const result = [];
|
|
353710
353710
|
queue = [].concat(queue);
|
|
@@ -353712,7 +353712,7 @@ var init_prettier = __esm(() => {
|
|
|
353712
353712
|
if (!stash.length)
|
|
353713
353713
|
return queue;
|
|
353714
353714
|
if (!queue.length) {
|
|
353715
|
-
return enclose ?
|
|
353715
|
+
return enclose ? utils6.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
353716
353716
|
}
|
|
353717
353717
|
for (const item of queue) {
|
|
353718
353718
|
if (Array.isArray(item)) {
|
|
@@ -353727,7 +353727,7 @@ var init_prettier = __esm(() => {
|
|
|
353727
353727
|
}
|
|
353728
353728
|
}
|
|
353729
353729
|
}
|
|
353730
|
-
return
|
|
353730
|
+
return utils6.flatten(result);
|
|
353731
353731
|
};
|
|
353732
353732
|
var expand = (ast, options8 = {}) => {
|
|
353733
353733
|
const rangeLimit = options8.rangeLimit === undefined ? 1000 : options8.rangeLimit;
|
|
@@ -353748,8 +353748,8 @@ var init_prettier = __esm(() => {
|
|
|
353748
353748
|
return;
|
|
353749
353749
|
}
|
|
353750
353750
|
if (node.nodes && node.ranges > 0) {
|
|
353751
|
-
const args =
|
|
353752
|
-
if (
|
|
353751
|
+
const args = utils6.reduce(node.nodes);
|
|
353752
|
+
if (utils6.exceedsLimit(...args, options8.step, rangeLimit)) {
|
|
353753
353753
|
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
353754
353754
|
}
|
|
353755
353755
|
let range = fill2(...args, options8);
|
|
@@ -353760,7 +353760,7 @@ var init_prettier = __esm(() => {
|
|
|
353760
353760
|
node.nodes = [];
|
|
353761
353761
|
return;
|
|
353762
353762
|
}
|
|
353763
|
-
const enclose =
|
|
353763
|
+
const enclose = utils6.encloseBrace(node);
|
|
353764
353764
|
let queue = node.queue;
|
|
353765
353765
|
let block = node;
|
|
353766
353766
|
while (block.type !== "brace" && block.type !== "root" && block.parent) {
|
|
@@ -353789,7 +353789,7 @@ var init_prettier = __esm(() => {
|
|
|
353789
353789
|
}
|
|
353790
353790
|
return queue;
|
|
353791
353791
|
};
|
|
353792
|
-
return
|
|
353792
|
+
return utils6.flatten(walk(ast));
|
|
353793
353793
|
};
|
|
353794
353794
|
module3.exports = expand;
|
|
353795
353795
|
}
|
|
@@ -354335,7 +354335,7 @@ var init_prettier = __esm(() => {
|
|
|
354335
354335
|
});
|
|
354336
354336
|
require_scan3 = __commonJS2({
|
|
354337
354337
|
"node_modules/micromatch/node_modules/picomatch/lib/scan.js"(exports, module3) {
|
|
354338
|
-
var
|
|
354338
|
+
var utils6 = require_utils22();
|
|
354339
354339
|
var {
|
|
354340
354340
|
CHAR_ASTERISK,
|
|
354341
354341
|
CHAR_AT,
|
|
@@ -354584,9 +354584,9 @@ var init_prettier = __esm(() => {
|
|
|
354584
354584
|
}
|
|
354585
354585
|
if (opts.unescape === true) {
|
|
354586
354586
|
if (glob)
|
|
354587
|
-
glob =
|
|
354587
|
+
glob = utils6.removeBackslashes(glob);
|
|
354588
354588
|
if (base && backslashes === true) {
|
|
354589
|
-
base =
|
|
354589
|
+
base = utils6.removeBackslashes(base);
|
|
354590
354590
|
}
|
|
354591
354591
|
}
|
|
354592
354592
|
const state = {
|
|
@@ -354651,7 +354651,7 @@ var init_prettier = __esm(() => {
|
|
|
354651
354651
|
require_parse22 = __commonJS2({
|
|
354652
354652
|
"node_modules/micromatch/node_modules/picomatch/lib/parse.js"(exports, module3) {
|
|
354653
354653
|
var constants2 = require_constants22();
|
|
354654
|
-
var
|
|
354654
|
+
var utils6 = require_utils22();
|
|
354655
354655
|
var {
|
|
354656
354656
|
MAX_LENGTH: MAX_LENGTH2,
|
|
354657
354657
|
POSIX_REGEX_SOURCE,
|
|
@@ -354668,7 +354668,7 @@ var init_prettier = __esm(() => {
|
|
|
354668
354668
|
try {
|
|
354669
354669
|
new RegExp(value2);
|
|
354670
354670
|
} catch (ex) {
|
|
354671
|
-
return args.map((v7) =>
|
|
354671
|
+
return args.map((v7) => utils6.escapeRegex(v7)).join("..");
|
|
354672
354672
|
}
|
|
354673
354673
|
return value2;
|
|
354674
354674
|
};
|
|
@@ -354689,7 +354689,7 @@ var init_prettier = __esm(() => {
|
|
|
354689
354689
|
const bos = { type: "bos", value: "", output: opts.prepend || "" };
|
|
354690
354690
|
const tokens = [bos];
|
|
354691
354691
|
const capture = opts.capture ? "" : "?:";
|
|
354692
|
-
const win32 =
|
|
354692
|
+
const win32 = utils6.isWindows(options8);
|
|
354693
354693
|
const PLATFORM_CHARS = constants2.globChars(win32);
|
|
354694
354694
|
const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS);
|
|
354695
354695
|
const {
|
|
@@ -354735,7 +354735,7 @@ var init_prettier = __esm(() => {
|
|
|
354735
354735
|
globstar: false,
|
|
354736
354736
|
tokens
|
|
354737
354737
|
};
|
|
354738
|
-
input =
|
|
354738
|
+
input = utils6.removePrefix(input, state);
|
|
354739
354739
|
len = input.length;
|
|
354740
354740
|
const extglobs = [];
|
|
354741
354741
|
const braces = [];
|
|
@@ -354875,7 +354875,7 @@ var init_prettier = __esm(() => {
|
|
|
354875
354875
|
state.output = input;
|
|
354876
354876
|
return state;
|
|
354877
354877
|
}
|
|
354878
|
-
state.output =
|
|
354878
|
+
state.output = utils6.wrapOutput(output, state, options8);
|
|
354879
354879
|
return state;
|
|
354880
354880
|
}
|
|
354881
354881
|
while (!eos()) {
|
|
@@ -354951,7 +354951,7 @@ var init_prettier = __esm(() => {
|
|
|
354951
354951
|
continue;
|
|
354952
354952
|
}
|
|
354953
354953
|
if (state.quotes === 1 && value2 !== '"') {
|
|
354954
|
-
value2 =
|
|
354954
|
+
value2 = utils6.escapeRegex(value2);
|
|
354955
354955
|
prev.value += value2;
|
|
354956
354956
|
append({ value: value2 });
|
|
354957
354957
|
continue;
|
|
@@ -355012,10 +355012,10 @@ var init_prettier = __esm(() => {
|
|
|
355012
355012
|
}
|
|
355013
355013
|
prev.value += value2;
|
|
355014
355014
|
append({ value: value2 });
|
|
355015
|
-
if (opts.literalBrackets === false ||
|
|
355015
|
+
if (opts.literalBrackets === false || utils6.hasRegexChars(prevValue)) {
|
|
355016
355016
|
continue;
|
|
355017
355017
|
}
|
|
355018
|
-
const escaped =
|
|
355018
|
+
const escaped = utils6.escapeRegex(prev.value);
|
|
355019
355019
|
state.output = state.output.slice(0, -prev.value.length);
|
|
355020
355020
|
if (opts.literalBrackets === true) {
|
|
355021
355021
|
state.output += escaped;
|
|
@@ -355132,7 +355132,7 @@ var init_prettier = __esm(() => {
|
|
|
355132
355132
|
if (prev && prev.type === "paren") {
|
|
355133
355133
|
const next = peek2();
|
|
355134
355134
|
let output = value2;
|
|
355135
|
-
if (next === "<" && !
|
|
355135
|
+
if (next === "<" && !utils6.supportsLookbehinds()) {
|
|
355136
355136
|
throw new Error("Node.js v10 or higher is required for regex lookbehinds");
|
|
355137
355137
|
}
|
|
355138
355138
|
if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
@@ -355325,19 +355325,19 @@ var init_prettier = __esm(() => {
|
|
|
355325
355325
|
while (state.brackets > 0) {
|
|
355326
355326
|
if (opts.strictBrackets === true)
|
|
355327
355327
|
throw new SyntaxError(syntaxError2("closing", "]"));
|
|
355328
|
-
state.output =
|
|
355328
|
+
state.output = utils6.escapeLast(state.output, "[");
|
|
355329
355329
|
decrement("brackets");
|
|
355330
355330
|
}
|
|
355331
355331
|
while (state.parens > 0) {
|
|
355332
355332
|
if (opts.strictBrackets === true)
|
|
355333
355333
|
throw new SyntaxError(syntaxError2("closing", ")"));
|
|
355334
|
-
state.output =
|
|
355334
|
+
state.output = utils6.escapeLast(state.output, "(");
|
|
355335
355335
|
decrement("parens");
|
|
355336
355336
|
}
|
|
355337
355337
|
while (state.braces > 0) {
|
|
355338
355338
|
if (opts.strictBrackets === true)
|
|
355339
355339
|
throw new SyntaxError(syntaxError2("closing", "}"));
|
|
355340
|
-
state.output =
|
|
355340
|
+
state.output = utils6.escapeLast(state.output, "{");
|
|
355341
355341
|
decrement("braces");
|
|
355342
355342
|
}
|
|
355343
355343
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -355362,7 +355362,7 @@ var init_prettier = __esm(() => {
|
|
|
355362
355362
|
throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
355363
355363
|
}
|
|
355364
355364
|
input = REPLACEMENTS[input] || input;
|
|
355365
|
-
const win32 =
|
|
355365
|
+
const win32 = utils6.isWindows(options8);
|
|
355366
355366
|
const {
|
|
355367
355367
|
DOT_LITERAL,
|
|
355368
355368
|
SLASH_LITERAL,
|
|
@@ -355416,7 +355416,7 @@ var init_prettier = __esm(() => {
|
|
|
355416
355416
|
}
|
|
355417
355417
|
}
|
|
355418
355418
|
};
|
|
355419
|
-
const output =
|
|
355419
|
+
const output = utils6.removePrefix(input, state);
|
|
355420
355420
|
let source2 = create(output);
|
|
355421
355421
|
if (source2 && opts.strictSlashes !== true) {
|
|
355422
355422
|
source2 += `${SLASH_LITERAL}?`;
|
|
@@ -355431,7 +355431,7 @@ var init_prettier = __esm(() => {
|
|
|
355431
355431
|
var path14 = __require2("path");
|
|
355432
355432
|
var scan = require_scan3();
|
|
355433
355433
|
var parse7 = require_parse22();
|
|
355434
|
-
var
|
|
355434
|
+
var utils6 = require_utils22();
|
|
355435
355435
|
var constants2 = require_constants22();
|
|
355436
355436
|
var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
355437
355437
|
var picomatch = (glob, options8, returnState = false) => {
|
|
@@ -355452,7 +355452,7 @@ var init_prettier = __esm(() => {
|
|
|
355452
355452
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
355453
355453
|
}
|
|
355454
355454
|
const opts = options8 || {};
|
|
355455
|
-
const posix =
|
|
355455
|
+
const posix = utils6.isWindows(options8);
|
|
355456
355456
|
const regex2 = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true);
|
|
355457
355457
|
const state = regex2.state;
|
|
355458
355458
|
delete regex2.state;
|
|
@@ -355496,7 +355496,7 @@ var init_prettier = __esm(() => {
|
|
|
355496
355496
|
return { isMatch: false, output: "" };
|
|
355497
355497
|
}
|
|
355498
355498
|
const opts = options8 || {};
|
|
355499
|
-
const format3 = opts.format || (posix ?
|
|
355499
|
+
const format3 = opts.format || (posix ? utils6.toPosixSlashes : null);
|
|
355500
355500
|
let match = input === glob;
|
|
355501
355501
|
let output = match && format3 ? format3(input) : input;
|
|
355502
355502
|
if (match === false) {
|
|
@@ -355512,7 +355512,7 @@ var init_prettier = __esm(() => {
|
|
|
355512
355512
|
}
|
|
355513
355513
|
return { isMatch: Boolean(match), match, output };
|
|
355514
355514
|
};
|
|
355515
|
-
picomatch.matchBase = (input, glob, options8, posix =
|
|
355515
|
+
picomatch.matchBase = (input, glob, options8, posix = utils6.isWindows(options8)) => {
|
|
355516
355516
|
const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8);
|
|
355517
355517
|
return regex2.test(path14.basename(input));
|
|
355518
355518
|
};
|
|
@@ -355577,7 +355577,7 @@ var init_prettier = __esm(() => {
|
|
|
355577
355577
|
var util2 = __require2("util");
|
|
355578
355578
|
var braces = require_braces();
|
|
355579
355579
|
var picomatch = require_picomatch22();
|
|
355580
|
-
var
|
|
355580
|
+
var utils6 = require_utils22();
|
|
355581
355581
|
var isEmptyString = (v7) => v7 === "" || v7 === "./";
|
|
355582
355582
|
var hasBraces = (v7) => {
|
|
355583
355583
|
const index = v7.indexOf("{");
|
|
@@ -355665,7 +355665,7 @@ var init_prettier = __esm(() => {
|
|
|
355665
355665
|
return micromatch2.isMatch(str2, pattern, { ...options8, contains: true });
|
|
355666
355666
|
};
|
|
355667
355667
|
micromatch2.matchKeys = (obj, patterns, options8) => {
|
|
355668
|
-
if (!
|
|
355668
|
+
if (!utils6.isObject(obj)) {
|
|
355669
355669
|
throw new TypeError("Expected the first argument to be an object");
|
|
355670
355670
|
}
|
|
355671
355671
|
let keys = micromatch2(Object.keys(obj), patterns, options8);
|
|
@@ -355701,9 +355701,9 @@ var init_prettier = __esm(() => {
|
|
|
355701
355701
|
return [].concat(patterns).every((p5) => picomatch(p5, options8)(str2));
|
|
355702
355702
|
};
|
|
355703
355703
|
micromatch2.capture = (glob, input, options8) => {
|
|
355704
|
-
let posix =
|
|
355704
|
+
let posix = utils6.isWindows(options8);
|
|
355705
355705
|
let regex2 = picomatch.makeRe(String(glob), { ...options8, capture: true });
|
|
355706
|
-
let match = regex2.exec(posix ?
|
|
355706
|
+
let match = regex2.exec(posix ? utils6.toPosixSlashes(input) : input);
|
|
355707
355707
|
if (match) {
|
|
355708
355708
|
return match.slice(1).map((v7) => v7 === undefined ? "" : v7);
|
|
355709
355709
|
}
|
|
@@ -356072,14 +356072,14 @@ var init_prettier = __esm(() => {
|
|
|
356072
356072
|
"node_modules/fast-glob/out/managers/tasks.js"(exports) {
|
|
356073
356073
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
356074
356074
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = undefined;
|
|
356075
|
-
var
|
|
356075
|
+
var utils6 = require_utils32();
|
|
356076
356076
|
function generate(input, settings) {
|
|
356077
356077
|
const patterns = processPatterns(input, settings);
|
|
356078
356078
|
const ignore = processPatterns(settings.ignore, settings);
|
|
356079
356079
|
const positivePatterns = getPositivePatterns(patterns);
|
|
356080
356080
|
const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);
|
|
356081
|
-
const staticPatterns = positivePatterns.filter((pattern) =>
|
|
356082
|
-
const dynamicPatterns = positivePatterns.filter((pattern) =>
|
|
356081
|
+
const staticPatterns = positivePatterns.filter((pattern) => utils6.pattern.isStaticPattern(pattern, settings));
|
|
356082
|
+
const dynamicPatterns = positivePatterns.filter((pattern) => utils6.pattern.isDynamicPattern(pattern, settings));
|
|
356083
356083
|
const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, false);
|
|
356084
356084
|
const dynamicTasks = convertPatternsToTasks(dynamicPatterns, negativePatterns, true);
|
|
356085
356085
|
return staticTasks.concat(dynamicTasks);
|
|
@@ -356088,17 +356088,17 @@ var init_prettier = __esm(() => {
|
|
|
356088
356088
|
function processPatterns(input, settings) {
|
|
356089
356089
|
let patterns = input;
|
|
356090
356090
|
if (settings.braceExpansion) {
|
|
356091
|
-
patterns =
|
|
356091
|
+
patterns = utils6.pattern.expandPatternsWithBraceExpansion(patterns);
|
|
356092
356092
|
}
|
|
356093
356093
|
if (settings.baseNameMatch) {
|
|
356094
356094
|
patterns = patterns.map((pattern) => pattern.includes("/") ? pattern : `**/${pattern}`);
|
|
356095
356095
|
}
|
|
356096
|
-
return patterns.map((pattern) =>
|
|
356096
|
+
return patterns.map((pattern) => utils6.pattern.removeDuplicateSlashes(pattern));
|
|
356097
356097
|
}
|
|
356098
356098
|
function convertPatternsToTasks(positive, negative, dynamic) {
|
|
356099
356099
|
const tasks = [];
|
|
356100
|
-
const patternsOutsideCurrentDirectory =
|
|
356101
|
-
const patternsInsideCurrentDirectory =
|
|
356100
|
+
const patternsOutsideCurrentDirectory = utils6.pattern.getPatternsOutsideCurrentDirectory(positive);
|
|
356101
|
+
const patternsInsideCurrentDirectory = utils6.pattern.getPatternsInsideCurrentDirectory(positive);
|
|
356102
356102
|
const outsideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsOutsideCurrentDirectory);
|
|
356103
356103
|
const insideCurrentDirectoryGroup = groupPatternsByBaseDirectory(patternsInsideCurrentDirectory);
|
|
356104
356104
|
tasks.push(...convertPatternGroupsToTasks(outsideCurrentDirectoryGroup, negative, dynamic));
|
|
@@ -356111,19 +356111,19 @@ var init_prettier = __esm(() => {
|
|
|
356111
356111
|
}
|
|
356112
356112
|
exports.convertPatternsToTasks = convertPatternsToTasks;
|
|
356113
356113
|
function getPositivePatterns(patterns) {
|
|
356114
|
-
return
|
|
356114
|
+
return utils6.pattern.getPositivePatterns(patterns);
|
|
356115
356115
|
}
|
|
356116
356116
|
exports.getPositivePatterns = getPositivePatterns;
|
|
356117
356117
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
356118
|
-
const negative =
|
|
356119
|
-
const positive = negative.map(
|
|
356118
|
+
const negative = utils6.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
356119
|
+
const positive = negative.map(utils6.pattern.convertToPositivePattern);
|
|
356120
356120
|
return positive;
|
|
356121
356121
|
}
|
|
356122
356122
|
exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
356123
356123
|
function groupPatternsByBaseDirectory(patterns) {
|
|
356124
356124
|
const group2 = {};
|
|
356125
356125
|
return patterns.reduce((collection, pattern) => {
|
|
356126
|
-
const base =
|
|
356126
|
+
const base = utils6.pattern.getBaseDirectory(pattern);
|
|
356127
356127
|
if (base in collection) {
|
|
356128
356128
|
collection[base].push(pattern);
|
|
356129
356129
|
} else {
|
|
@@ -356145,7 +356145,7 @@ var init_prettier = __esm(() => {
|
|
|
356145
356145
|
positive,
|
|
356146
356146
|
negative,
|
|
356147
356147
|
base,
|
|
356148
|
-
patterns: [].concat(positive, negative.map(
|
|
356148
|
+
patterns: [].concat(positive, negative.map(utils6.pattern.convertToNegativePattern))
|
|
356149
356149
|
};
|
|
356150
356150
|
}
|
|
356151
356151
|
exports.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
@@ -356409,7 +356409,7 @@ var init_prettier = __esm(() => {
|
|
|
356409
356409
|
var fsStat = require_out();
|
|
356410
356410
|
var rpl = require_run_parallel();
|
|
356411
356411
|
var constants_1 = require_constants32();
|
|
356412
|
-
var
|
|
356412
|
+
var utils6 = require_utils42();
|
|
356413
356413
|
var common = require_common2();
|
|
356414
356414
|
function read3(directory, settings, callback) {
|
|
356415
356415
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
@@ -356460,7 +356460,7 @@ var init_prettier = __esm(() => {
|
|
|
356460
356460
|
done(null, entry);
|
|
356461
356461
|
return;
|
|
356462
356462
|
}
|
|
356463
|
-
entry.dirent =
|
|
356463
|
+
entry.dirent = utils6.fs.createDirentFromStats(entry.name, stats);
|
|
356464
356464
|
done(null, entry);
|
|
356465
356465
|
});
|
|
356466
356466
|
};
|
|
@@ -356482,7 +356482,7 @@ var init_prettier = __esm(() => {
|
|
|
356482
356482
|
const entry = {
|
|
356483
356483
|
name,
|
|
356484
356484
|
path: path14,
|
|
356485
|
-
dirent:
|
|
356485
|
+
dirent: utils6.fs.createDirentFromStats(name, stats)
|
|
356486
356486
|
};
|
|
356487
356487
|
if (settings.stats) {
|
|
356488
356488
|
entry.stats = stats;
|
|
@@ -356515,7 +356515,7 @@ var init_prettier = __esm(() => {
|
|
|
356515
356515
|
exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
|
|
356516
356516
|
var fsStat = require_out();
|
|
356517
356517
|
var constants_1 = require_constants32();
|
|
356518
|
-
var
|
|
356518
|
+
var utils6 = require_utils42();
|
|
356519
356519
|
var common = require_common2();
|
|
356520
356520
|
function read3(directory, settings) {
|
|
356521
356521
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
@@ -356535,7 +356535,7 @@ var init_prettier = __esm(() => {
|
|
|
356535
356535
|
if (entry.dirent.isSymbolicLink() && settings.followSymbolicLinks) {
|
|
356536
356536
|
try {
|
|
356537
356537
|
const stats = settings.fs.statSync(entry.path);
|
|
356538
|
-
entry.dirent =
|
|
356538
|
+
entry.dirent = utils6.fs.createDirentFromStats(entry.name, stats);
|
|
356539
356539
|
} catch (error2) {
|
|
356540
356540
|
if (settings.throwErrorOnBrokenSymbolicLink) {
|
|
356541
356541
|
throw error2;
|
|
@@ -356554,7 +356554,7 @@ var init_prettier = __esm(() => {
|
|
|
356554
356554
|
const entry = {
|
|
356555
356555
|
name,
|
|
356556
356556
|
path: entryPath,
|
|
356557
|
-
dirent:
|
|
356557
|
+
dirent: utils6.fs.createDirentFromStats(name, stats)
|
|
356558
356558
|
};
|
|
356559
356559
|
if (settings.stats) {
|
|
356560
356560
|
entry.stats = stats;
|
|
@@ -357295,7 +357295,7 @@ var init_prettier = __esm(() => {
|
|
|
357295
357295
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357296
357296
|
var path14 = __require2("path");
|
|
357297
357297
|
var fsStat = require_out();
|
|
357298
|
-
var
|
|
357298
|
+
var utils6 = require_utils32();
|
|
357299
357299
|
var Reader = class {
|
|
357300
357300
|
constructor(_settings) {
|
|
357301
357301
|
this._settings = _settings;
|
|
@@ -357312,7 +357312,7 @@ var init_prettier = __esm(() => {
|
|
|
357312
357312
|
const entry = {
|
|
357313
357313
|
name: pattern,
|
|
357314
357314
|
path: pattern,
|
|
357315
|
-
dirent:
|
|
357315
|
+
dirent: utils6.fs.createDirentFromStats(pattern, stats)
|
|
357316
357316
|
};
|
|
357317
357317
|
if (this._settings.stats) {
|
|
357318
357318
|
entry.stats = stats;
|
|
@@ -357320,7 +357320,7 @@ var init_prettier = __esm(() => {
|
|
|
357320
357320
|
return entry;
|
|
357321
357321
|
}
|
|
357322
357322
|
_isFatalError(error2) {
|
|
357323
|
-
return !
|
|
357323
|
+
return !utils6.errno.isEnoentCodeError(error2) && !this._settings.suppressErrors;
|
|
357324
357324
|
}
|
|
357325
357325
|
};
|
|
357326
357326
|
exports.default = Reader;
|
|
@@ -357419,7 +357419,7 @@ var init_prettier = __esm(() => {
|
|
|
357419
357419
|
require_matcher = __commonJS2({
|
|
357420
357420
|
"node_modules/fast-glob/out/providers/matchers/matcher.js"(exports) {
|
|
357421
357421
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357422
|
-
var
|
|
357422
|
+
var utils6 = require_utils32();
|
|
357423
357423
|
var Matcher = class {
|
|
357424
357424
|
constructor(_patterns, _settings, _micromatchOptions) {
|
|
357425
357425
|
this._patterns = _patterns;
|
|
@@ -357441,9 +357441,9 @@ var init_prettier = __esm(() => {
|
|
|
357441
357441
|
}
|
|
357442
357442
|
}
|
|
357443
357443
|
_getPatternSegments(pattern) {
|
|
357444
|
-
const parts =
|
|
357444
|
+
const parts = utils6.pattern.getPatternParts(pattern, this._micromatchOptions);
|
|
357445
357445
|
return parts.map((part) => {
|
|
357446
|
-
const dynamic =
|
|
357446
|
+
const dynamic = utils6.pattern.isDynamicPattern(part, this._settings);
|
|
357447
357447
|
if (!dynamic) {
|
|
357448
357448
|
return {
|
|
357449
357449
|
dynamic: false,
|
|
@@ -357453,12 +357453,12 @@ var init_prettier = __esm(() => {
|
|
|
357453
357453
|
return {
|
|
357454
357454
|
dynamic: true,
|
|
357455
357455
|
pattern: part,
|
|
357456
|
-
patternRe:
|
|
357456
|
+
patternRe: utils6.pattern.makeRe(part, this._micromatchOptions)
|
|
357457
357457
|
};
|
|
357458
357458
|
});
|
|
357459
357459
|
}
|
|
357460
357460
|
_splitSegmentsIntoSections(segments) {
|
|
357461
|
-
return
|
|
357461
|
+
return utils6.array.splitWhen(segments, (segment) => segment.dynamic && utils6.pattern.hasGlobStar(segment.pattern));
|
|
357462
357462
|
}
|
|
357463
357463
|
};
|
|
357464
357464
|
exports.default = Matcher;
|
|
@@ -357501,7 +357501,7 @@ var init_prettier = __esm(() => {
|
|
|
357501
357501
|
require_deep = __commonJS2({
|
|
357502
357502
|
"node_modules/fast-glob/out/providers/filters/deep.js"(exports) {
|
|
357503
357503
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357504
|
-
var
|
|
357504
|
+
var utils6 = require_utils32();
|
|
357505
357505
|
var partial_1 = require_partial();
|
|
357506
357506
|
var DeepFilter = class {
|
|
357507
357507
|
constructor(_settings, _micromatchOptions) {
|
|
@@ -357517,8 +357517,8 @@ var init_prettier = __esm(() => {
|
|
|
357517
357517
|
return new partial_1.default(patterns, this._settings, this._micromatchOptions);
|
|
357518
357518
|
}
|
|
357519
357519
|
_getNegativePatternsRe(patterns) {
|
|
357520
|
-
const affectDepthOfReadingPatterns = patterns.filter(
|
|
357521
|
-
return
|
|
357520
|
+
const affectDepthOfReadingPatterns = patterns.filter(utils6.pattern.isAffectDepthOfReadingPattern);
|
|
357521
|
+
return utils6.pattern.convertPatternsToRe(affectDepthOfReadingPatterns, this._micromatchOptions);
|
|
357522
357522
|
}
|
|
357523
357523
|
_filter(basePath, entry, matcher, negativeRe) {
|
|
357524
357524
|
if (this._isSkippedByDeep(basePath, entry.path)) {
|
|
@@ -357527,7 +357527,7 @@ var init_prettier = __esm(() => {
|
|
|
357527
357527
|
if (this._isSkippedSymbolicLink(entry)) {
|
|
357528
357528
|
return false;
|
|
357529
357529
|
}
|
|
357530
|
-
const filepath =
|
|
357530
|
+
const filepath = utils6.path.removeLeadingDotSegment(entry.path);
|
|
357531
357531
|
if (this._isSkippedByPositivePatterns(filepath, matcher)) {
|
|
357532
357532
|
return false;
|
|
357533
357533
|
}
|
|
@@ -357554,7 +357554,7 @@ var init_prettier = __esm(() => {
|
|
|
357554
357554
|
return !this._settings.baseNameMatch && !matcher.match(entryPath);
|
|
357555
357555
|
}
|
|
357556
357556
|
_isSkippedByNegativePatterns(entryPath, patternsRe) {
|
|
357557
|
-
return !
|
|
357557
|
+
return !utils6.pattern.matchAny(entryPath, patternsRe);
|
|
357558
357558
|
}
|
|
357559
357559
|
};
|
|
357560
357560
|
exports.default = DeepFilter;
|
|
@@ -357563,7 +357563,7 @@ var init_prettier = __esm(() => {
|
|
|
357563
357563
|
require_entry = __commonJS2({
|
|
357564
357564
|
"node_modules/fast-glob/out/providers/filters/entry.js"(exports) {
|
|
357565
357565
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357566
|
-
var
|
|
357566
|
+
var utils6 = require_utils32();
|
|
357567
357567
|
var EntryFilter = class {
|
|
357568
357568
|
constructor(_settings, _micromatchOptions) {
|
|
357569
357569
|
this._settings = _settings;
|
|
@@ -357571,20 +357571,20 @@ var init_prettier = __esm(() => {
|
|
|
357571
357571
|
this.index = /* @__PURE__ */ new Map;
|
|
357572
357572
|
}
|
|
357573
357573
|
getFilter(positive, negative) {
|
|
357574
|
-
const [absoluteNegative, relativeNegative] =
|
|
357574
|
+
const [absoluteNegative, relativeNegative] = utils6.pattern.partitionAbsoluteAndRelative(negative);
|
|
357575
357575
|
const patterns = {
|
|
357576
357576
|
positive: {
|
|
357577
|
-
all:
|
|
357577
|
+
all: utils6.pattern.convertPatternsToRe(positive, this._micromatchOptions)
|
|
357578
357578
|
},
|
|
357579
357579
|
negative: {
|
|
357580
|
-
absolute:
|
|
357581
|
-
relative:
|
|
357580
|
+
absolute: utils6.pattern.convertPatternsToRe(absoluteNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true })),
|
|
357581
|
+
relative: utils6.pattern.convertPatternsToRe(relativeNegative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }))
|
|
357582
357582
|
}
|
|
357583
357583
|
};
|
|
357584
357584
|
return (entry) => this._filter(entry, patterns);
|
|
357585
357585
|
}
|
|
357586
357586
|
_filter(entry, patterns) {
|
|
357587
|
-
const filepath =
|
|
357587
|
+
const filepath = utils6.path.removeLeadingDotSegment(entry.path);
|
|
357588
357588
|
if (this._settings.unique && this._isDuplicateEntry(filepath)) {
|
|
357589
357589
|
return false;
|
|
357590
357590
|
}
|
|
@@ -357628,16 +357628,16 @@ var init_prettier = __esm(() => {
|
|
|
357628
357628
|
if (patternsRe.length === 0) {
|
|
357629
357629
|
return false;
|
|
357630
357630
|
}
|
|
357631
|
-
const fullpath =
|
|
357631
|
+
const fullpath = utils6.path.makeAbsolute(this._settings.cwd, filepath);
|
|
357632
357632
|
return this._isMatchToPatterns(fullpath, patternsRe, isDirectory2);
|
|
357633
357633
|
}
|
|
357634
357634
|
_isMatchToPatterns(filepath, patternsRe, isDirectory2) {
|
|
357635
357635
|
if (patternsRe.length === 0) {
|
|
357636
357636
|
return false;
|
|
357637
357637
|
}
|
|
357638
|
-
const isMatched =
|
|
357638
|
+
const isMatched = utils6.pattern.matchAny(filepath, patternsRe);
|
|
357639
357639
|
if (!isMatched && isDirectory2) {
|
|
357640
|
-
return
|
|
357640
|
+
return utils6.pattern.matchAny(filepath + "/", patternsRe);
|
|
357641
357641
|
}
|
|
357642
357642
|
return isMatched;
|
|
357643
357643
|
}
|
|
@@ -357648,7 +357648,7 @@ var init_prettier = __esm(() => {
|
|
|
357648
357648
|
require_error = __commonJS2({
|
|
357649
357649
|
"node_modules/fast-glob/out/providers/filters/error.js"(exports) {
|
|
357650
357650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357651
|
-
var
|
|
357651
|
+
var utils6 = require_utils32();
|
|
357652
357652
|
var ErrorFilter = class {
|
|
357653
357653
|
constructor(_settings) {
|
|
357654
357654
|
this._settings = _settings;
|
|
@@ -357657,7 +357657,7 @@ var init_prettier = __esm(() => {
|
|
|
357657
357657
|
return (error2) => this._isNonFatalError(error2);
|
|
357658
357658
|
}
|
|
357659
357659
|
_isNonFatalError(error2) {
|
|
357660
|
-
return
|
|
357660
|
+
return utils6.errno.isEnoentCodeError(error2) || this._settings.suppressErrors;
|
|
357661
357661
|
}
|
|
357662
357662
|
};
|
|
357663
357663
|
exports.default = ErrorFilter;
|
|
@@ -357666,7 +357666,7 @@ var init_prettier = __esm(() => {
|
|
|
357666
357666
|
require_entry2 = __commonJS2({
|
|
357667
357667
|
"node_modules/fast-glob/out/providers/transformers/entry.js"(exports) {
|
|
357668
357668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
357669
|
-
var
|
|
357669
|
+
var utils6 = require_utils32();
|
|
357670
357670
|
var EntryTransformer = class {
|
|
357671
357671
|
constructor(_settings) {
|
|
357672
357672
|
this._settings = _settings;
|
|
@@ -357677,8 +357677,8 @@ var init_prettier = __esm(() => {
|
|
|
357677
357677
|
_transform(entry) {
|
|
357678
357678
|
let filepath = entry.path;
|
|
357679
357679
|
if (this._settings.absolute) {
|
|
357680
|
-
filepath =
|
|
357681
|
-
filepath =
|
|
357680
|
+
filepath = utils6.path.makeAbsolute(this._settings.cwd, filepath);
|
|
357681
|
+
filepath = utils6.path.unixify(filepath);
|
|
357682
357682
|
}
|
|
357683
357683
|
if (this._settings.markDirectories && entry.dirent.isDirectory()) {
|
|
357684
357684
|
filepath += "/";
|
|
@@ -357934,12 +357934,12 @@ var init_prettier = __esm(() => {
|
|
|
357934
357934
|
var stream_1 = require_stream4();
|
|
357935
357935
|
var sync_1 = require_sync6();
|
|
357936
357936
|
var settings_1 = require_settings4();
|
|
357937
|
-
var
|
|
357937
|
+
var utils6 = require_utils32();
|
|
357938
357938
|
async function FastGlob(source2, options8) {
|
|
357939
357939
|
assertPatternsInput(source2);
|
|
357940
357940
|
const works = getWorks(source2, async_1.default, options8);
|
|
357941
357941
|
const result = await Promise.all(works);
|
|
357942
|
-
return
|
|
357942
|
+
return utils6.array.flatten(result);
|
|
357943
357943
|
}
|
|
357944
357944
|
(function(FastGlob2) {
|
|
357945
357945
|
FastGlob2.glob = FastGlob2;
|
|
@@ -357949,13 +357949,13 @@ var init_prettier = __esm(() => {
|
|
|
357949
357949
|
function sync(source2, options8) {
|
|
357950
357950
|
assertPatternsInput(source2);
|
|
357951
357951
|
const works = getWorks(source2, sync_1.default, options8);
|
|
357952
|
-
return
|
|
357952
|
+
return utils6.array.flatten(works);
|
|
357953
357953
|
}
|
|
357954
357954
|
FastGlob2.sync = sync;
|
|
357955
357955
|
function stream(source2, options8) {
|
|
357956
357956
|
assertPatternsInput(source2);
|
|
357957
357957
|
const works = getWorks(source2, stream_1.default, options8);
|
|
357958
|
-
return
|
|
357958
|
+
return utils6.stream.merge(works);
|
|
357959
357959
|
}
|
|
357960
357960
|
FastGlob2.stream = stream;
|
|
357961
357961
|
function generateTasks(source2, options8) {
|
|
@@ -357968,29 +357968,29 @@ var init_prettier = __esm(() => {
|
|
|
357968
357968
|
function isDynamicPattern(source2, options8) {
|
|
357969
357969
|
assertPatternsInput(source2);
|
|
357970
357970
|
const settings = new settings_1.default(options8);
|
|
357971
|
-
return
|
|
357971
|
+
return utils6.pattern.isDynamicPattern(source2, settings);
|
|
357972
357972
|
}
|
|
357973
357973
|
FastGlob2.isDynamicPattern = isDynamicPattern;
|
|
357974
357974
|
function escapePath(source2) {
|
|
357975
357975
|
assertPatternsInput(source2);
|
|
357976
|
-
return
|
|
357976
|
+
return utils6.path.escape(source2);
|
|
357977
357977
|
}
|
|
357978
357978
|
FastGlob2.escapePath = escapePath;
|
|
357979
357979
|
function convertPathToPattern(source2) {
|
|
357980
357980
|
assertPatternsInput(source2);
|
|
357981
|
-
return
|
|
357981
|
+
return utils6.path.convertPathToPattern(source2);
|
|
357982
357982
|
}
|
|
357983
357983
|
FastGlob2.convertPathToPattern = convertPathToPattern;
|
|
357984
357984
|
let posix;
|
|
357985
357985
|
(function(posix2) {
|
|
357986
357986
|
function escapePath2(source2) {
|
|
357987
357987
|
assertPatternsInput(source2);
|
|
357988
|
-
return
|
|
357988
|
+
return utils6.path.escapePosixPath(source2);
|
|
357989
357989
|
}
|
|
357990
357990
|
posix2.escapePath = escapePath2;
|
|
357991
357991
|
function convertPathToPattern2(source2) {
|
|
357992
357992
|
assertPatternsInput(source2);
|
|
357993
|
-
return
|
|
357993
|
+
return utils6.path.convertPosixPathToPattern(source2);
|
|
357994
357994
|
}
|
|
357995
357995
|
posix2.convertPathToPattern = convertPathToPattern2;
|
|
357996
357996
|
})(posix = FastGlob2.posix || (FastGlob2.posix = {}));
|
|
@@ -357998,12 +357998,12 @@ var init_prettier = __esm(() => {
|
|
|
357998
357998
|
(function(win322) {
|
|
357999
357999
|
function escapePath2(source2) {
|
|
358000
358000
|
assertPatternsInput(source2);
|
|
358001
|
-
return
|
|
358001
|
+
return utils6.path.escapeWindowsPath(source2);
|
|
358002
358002
|
}
|
|
358003
358003
|
win322.escapePath = escapePath2;
|
|
358004
358004
|
function convertPathToPattern2(source2) {
|
|
358005
358005
|
assertPatternsInput(source2);
|
|
358006
|
-
return
|
|
358006
|
+
return utils6.path.convertWindowsPathToPattern(source2);
|
|
358007
358007
|
}
|
|
358008
358008
|
win322.convertPathToPattern = convertPathToPattern2;
|
|
358009
358009
|
})(win32 = FastGlob2.win32 || (FastGlob2.win32 = {}));
|
|
@@ -358017,7 +358017,7 @@ var init_prettier = __esm(() => {
|
|
|
358017
358017
|
}
|
|
358018
358018
|
function assertPatternsInput(input) {
|
|
358019
358019
|
const source2 = [].concat(input);
|
|
358020
|
-
const isValidSource = source2.every((item) =>
|
|
358020
|
+
const isValidSource = source2.every((item) => utils6.string.isString(item) && !utils6.string.isEmpty(item));
|
|
358021
358021
|
if (!isValidSource) {
|
|
358022
358022
|
throw new TypeError("Patterns must be a string (non empty) or an array of strings");
|
|
358023
358023
|
}
|
|
@@ -361530,11 +361530,11 @@ ${frame}`;
|
|
|
361530
361530
|
super(parameters);
|
|
361531
361531
|
this._sourceName = parameters.sourceName;
|
|
361532
361532
|
}
|
|
361533
|
-
expected(
|
|
361534
|
-
return
|
|
361533
|
+
expected(utils6) {
|
|
361534
|
+
return utils6.schemas[this._sourceName].expected(utils6);
|
|
361535
361535
|
}
|
|
361536
|
-
validate(value2,
|
|
361537
|
-
return
|
|
361536
|
+
validate(value2, utils6) {
|
|
361537
|
+
return utils6.schemas[this._sourceName].validate(value2, utils6);
|
|
361538
361538
|
}
|
|
361539
361539
|
redirect(_value, _utils) {
|
|
361540
361540
|
return this._sourceName;
|
|
@@ -361553,8 +361553,8 @@ ${frame}`;
|
|
|
361553
361553
|
super({ ...handlers, name });
|
|
361554
361554
|
this._valueSchema = valueSchema;
|
|
361555
361555
|
}
|
|
361556
|
-
expected(
|
|
361557
|
-
const { text, list } =
|
|
361556
|
+
expected(utils6) {
|
|
361557
|
+
const { text, list } = utils6.normalizeExpectedResult(this._valueSchema.expected(utils6));
|
|
361558
361558
|
return {
|
|
361559
361559
|
text: text && `an array of ${text}`,
|
|
361560
361560
|
list: list && {
|
|
@@ -361563,23 +361563,23 @@ ${frame}`;
|
|
|
361563
361563
|
}
|
|
361564
361564
|
};
|
|
361565
361565
|
}
|
|
361566
|
-
validate(value2,
|
|
361566
|
+
validate(value2, utils6) {
|
|
361567
361567
|
if (!Array.isArray(value2)) {
|
|
361568
361568
|
return false;
|
|
361569
361569
|
}
|
|
361570
361570
|
const invalidValues = [];
|
|
361571
361571
|
for (const subValue of value2) {
|
|
361572
|
-
const subValidateResult =
|
|
361572
|
+
const subValidateResult = utils6.normalizeValidateResult(this._valueSchema.validate(subValue, utils6), subValue);
|
|
361573
361573
|
if (subValidateResult !== true) {
|
|
361574
361574
|
invalidValues.push(subValidateResult.value);
|
|
361575
361575
|
}
|
|
361576
361576
|
}
|
|
361577
361577
|
return invalidValues.length === 0 ? true : { value: invalidValues };
|
|
361578
361578
|
}
|
|
361579
|
-
deprecated(value2,
|
|
361579
|
+
deprecated(value2, utils6) {
|
|
361580
361580
|
const deprecatedResult = [];
|
|
361581
361581
|
for (const subValue of value2) {
|
|
361582
|
-
const subDeprecatedResult =
|
|
361582
|
+
const subDeprecatedResult = utils6.normalizeDeprecatedResult(this._valueSchema.deprecated(subValue, utils6), subValue);
|
|
361583
361583
|
if (subDeprecatedResult !== false) {
|
|
361584
361584
|
deprecatedResult.push(...subDeprecatedResult.map(({ value: deprecatedValue }) => ({
|
|
361585
361585
|
value: [deprecatedValue]
|
|
@@ -361588,19 +361588,19 @@ ${frame}`;
|
|
|
361588
361588
|
}
|
|
361589
361589
|
return deprecatedResult;
|
|
361590
361590
|
}
|
|
361591
|
-
forward(value2,
|
|
361591
|
+
forward(value2, utils6) {
|
|
361592
361592
|
const forwardResult = [];
|
|
361593
361593
|
for (const subValue of value2) {
|
|
361594
|
-
const subForwardResult =
|
|
361594
|
+
const subForwardResult = utils6.normalizeForwardResult(this._valueSchema.forward(subValue, utils6), subValue);
|
|
361595
361595
|
forwardResult.push(...subForwardResult.map(wrapTransferResult));
|
|
361596
361596
|
}
|
|
361597
361597
|
return forwardResult;
|
|
361598
361598
|
}
|
|
361599
|
-
redirect(value2,
|
|
361599
|
+
redirect(value2, utils6) {
|
|
361600
361600
|
const remain = [];
|
|
361601
361601
|
const redirect = [];
|
|
361602
361602
|
for (const subValue of value2) {
|
|
361603
|
-
const subRedirectResult =
|
|
361603
|
+
const subRedirectResult = utils6.normalizeRedirectResult(this._valueSchema.redirect(subValue, utils6), subValue);
|
|
361604
361604
|
if ("remain" in subRedirectResult) {
|
|
361605
361605
|
remain.push(subRedirectResult.remain);
|
|
361606
361606
|
}
|
|
@@ -361666,8 +361666,8 @@ ${frame}`;
|
|
|
361666
361666
|
expected() {
|
|
361667
361667
|
return "an integer";
|
|
361668
361668
|
}
|
|
361669
|
-
validate(value2,
|
|
361670
|
-
return
|
|
361669
|
+
validate(value2, utils6) {
|
|
361670
|
+
return utils6.normalizeValidateResult(super.validate(value2, utils6), value2) === true && isInt(value2);
|
|
361671
361671
|
}
|
|
361672
361672
|
};
|
|
361673
361673
|
StringSchema = class extends Schema {
|
|
@@ -611365,13 +611365,13 @@ var require_lowercase = __commonJS((exports) => {
|
|
|
611365
611365
|
exports.yieldExpression = yieldExpression;
|
|
611366
611366
|
var _validate = require_validate3();
|
|
611367
611367
|
var _deprecationWarning = require_deprecationWarning();
|
|
611368
|
-
var
|
|
611368
|
+
var utils7 = require_utils5();
|
|
611369
611369
|
var {
|
|
611370
611370
|
validateInternal: validate
|
|
611371
611371
|
} = _validate;
|
|
611372
611372
|
var {
|
|
611373
611373
|
NODE_FIELDS
|
|
611374
|
-
} =
|
|
611374
|
+
} = utils7;
|
|
611375
611375
|
function bigIntLiteral(value2) {
|
|
611376
611376
|
if (typeof value2 === "bigint") {
|
|
611377
611377
|
value2 = value2.toString();
|
|
@@ -618169,14 +618169,14 @@ var require_utils6 = __commonJS((exports) => {
|
|
|
618169
618169
|
|
|
618170
618170
|
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
|
|
618171
618171
|
var require_stringify3 = __commonJS((exports, module3) => {
|
|
618172
|
-
var
|
|
618172
|
+
var utils7 = require_utils6();
|
|
618173
618173
|
module3.exports = (ast, options8 = {}) => {
|
|
618174
618174
|
const stringify2 = (node, parent = {}) => {
|
|
618175
|
-
const invalidBlock = options8.escapeInvalid &&
|
|
618175
|
+
const invalidBlock = options8.escapeInvalid && utils7.isInvalidBrace(parent);
|
|
618176
618176
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
618177
618177
|
let output = "";
|
|
618178
618178
|
if (node.value) {
|
|
618179
|
-
if ((invalidBlock || invalidNode) &&
|
|
618179
|
+
if ((invalidBlock || invalidNode) && utils7.isOpenOrClose(node)) {
|
|
618180
618180
|
return "\\" + node.value;
|
|
618181
618181
|
}
|
|
618182
618182
|
return node.value;
|
|
@@ -618641,10 +618641,10 @@ var require_fill_range2 = __commonJS((exports, module3) => {
|
|
|
618641
618641
|
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
|
|
618642
618642
|
var require_compile2 = __commonJS((exports, module3) => {
|
|
618643
618643
|
var fill2 = require_fill_range2();
|
|
618644
|
-
var
|
|
618644
|
+
var utils7 = require_utils6();
|
|
618645
618645
|
var compile = (ast, options8 = {}) => {
|
|
618646
618646
|
const walk = (node, parent = {}) => {
|
|
618647
|
-
const invalidBlock =
|
|
618647
|
+
const invalidBlock = utils7.isInvalidBrace(parent);
|
|
618648
618648
|
const invalidNode = node.invalid === true && options8.escapeInvalid === true;
|
|
618649
618649
|
const invalid = invalidBlock === true || invalidNode === true;
|
|
618650
618650
|
const prefix = options8.escapeInvalid === true ? "\\" : "";
|
|
@@ -618669,7 +618669,7 @@ var require_compile2 = __commonJS((exports, module3) => {
|
|
|
618669
618669
|
return node.value;
|
|
618670
618670
|
}
|
|
618671
618671
|
if (node.nodes && node.ranges > 0) {
|
|
618672
|
-
const args =
|
|
618672
|
+
const args = utils7.reduce(node.nodes);
|
|
618673
618673
|
const range = fill2(...args, { ...options8, wrap: false, toRegex: true, strictZeros: true });
|
|
618674
618674
|
if (range.length !== 0) {
|
|
618675
618675
|
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
@@ -618691,7 +618691,7 @@ var require_compile2 = __commonJS((exports, module3) => {
|
|
|
618691
618691
|
var require_expand2 = __commonJS((exports, module3) => {
|
|
618692
618692
|
var fill2 = require_fill_range2();
|
|
618693
618693
|
var stringify2 = require_stringify3();
|
|
618694
|
-
var
|
|
618694
|
+
var utils7 = require_utils6();
|
|
618695
618695
|
var append = (queue = "", stash = "", enclose = false) => {
|
|
618696
618696
|
const result = [];
|
|
618697
618697
|
queue = [].concat(queue);
|
|
@@ -618699,7 +618699,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618699
618699
|
if (!stash.length)
|
|
618700
618700
|
return queue;
|
|
618701
618701
|
if (!queue.length) {
|
|
618702
|
-
return enclose ?
|
|
618702
|
+
return enclose ? utils7.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
618703
618703
|
}
|
|
618704
618704
|
for (const item of queue) {
|
|
618705
618705
|
if (Array.isArray(item)) {
|
|
@@ -618714,7 +618714,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618714
618714
|
}
|
|
618715
618715
|
}
|
|
618716
618716
|
}
|
|
618717
|
-
return
|
|
618717
|
+
return utils7.flatten(result);
|
|
618718
618718
|
};
|
|
618719
618719
|
var expand = (ast, options8 = {}) => {
|
|
618720
618720
|
const rangeLimit = options8.rangeLimit === undefined ? 1000 : options8.rangeLimit;
|
|
@@ -618735,8 +618735,8 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618735
618735
|
return;
|
|
618736
618736
|
}
|
|
618737
618737
|
if (node.nodes && node.ranges > 0) {
|
|
618738
|
-
const args =
|
|
618739
|
-
if (
|
|
618738
|
+
const args = utils7.reduce(node.nodes);
|
|
618739
|
+
if (utils7.exceedsLimit(...args, options8.step, rangeLimit)) {
|
|
618740
618740
|
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
618741
618741
|
}
|
|
618742
618742
|
let range = fill2(...args, options8);
|
|
@@ -618747,7 +618747,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618747
618747
|
node.nodes = [];
|
|
618748
618748
|
return;
|
|
618749
618749
|
}
|
|
618750
|
-
const enclose =
|
|
618750
|
+
const enclose = utils7.encloseBrace(node);
|
|
618751
618751
|
let queue = node.queue;
|
|
618752
618752
|
let block = node;
|
|
618753
618753
|
while (block.type !== "brace" && block.type !== "root" && block.parent) {
|
|
@@ -618776,7 +618776,7 @@ var require_expand2 = __commonJS((exports, module3) => {
|
|
|
618776
618776
|
}
|
|
618777
618777
|
return queue;
|
|
618778
618778
|
};
|
|
618779
|
-
return
|
|
618779
|
+
return utils7.flatten(walk(ast));
|
|
618780
618780
|
};
|
|
618781
618781
|
module3.exports = expand;
|
|
618782
618782
|
});
|
|
@@ -619322,7 +619322,7 @@ var require_utils7 = __commonJS((exports) => {
|
|
|
619322
619322
|
|
|
619323
619323
|
// ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
|
|
619324
619324
|
var require_scan4 = __commonJS((exports, module3) => {
|
|
619325
|
-
var
|
|
619325
|
+
var utils7 = require_utils7();
|
|
619326
619326
|
var {
|
|
619327
619327
|
CHAR_ASTERISK,
|
|
619328
619328
|
CHAR_AT,
|
|
@@ -619571,9 +619571,9 @@ var require_scan4 = __commonJS((exports, module3) => {
|
|
|
619571
619571
|
}
|
|
619572
619572
|
if (opts.unescape === true) {
|
|
619573
619573
|
if (glob)
|
|
619574
|
-
glob =
|
|
619574
|
+
glob = utils7.removeBackslashes(glob);
|
|
619575
619575
|
if (base && backslashes === true) {
|
|
619576
|
-
base =
|
|
619576
|
+
base = utils7.removeBackslashes(base);
|
|
619577
619577
|
}
|
|
619578
619578
|
}
|
|
619579
619579
|
const state = {
|
|
@@ -619638,7 +619638,7 @@ var require_scan4 = __commonJS((exports, module3) => {
|
|
|
619638
619638
|
// ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
|
|
619639
619639
|
var require_parse8 = __commonJS((exports, module3) => {
|
|
619640
619640
|
var constants3 = require_constants8();
|
|
619641
|
-
var
|
|
619641
|
+
var utils7 = require_utils7();
|
|
619642
619642
|
var {
|
|
619643
619643
|
MAX_LENGTH: MAX_LENGTH2,
|
|
619644
619644
|
POSIX_REGEX_SOURCE,
|
|
@@ -619655,7 +619655,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619655
619655
|
try {
|
|
619656
619656
|
new RegExp(value2);
|
|
619657
619657
|
} catch (ex) {
|
|
619658
|
-
return args.map((v25) =>
|
|
619658
|
+
return args.map((v25) => utils7.escapeRegex(v25)).join("..");
|
|
619659
619659
|
}
|
|
619660
619660
|
return value2;
|
|
619661
619661
|
};
|
|
@@ -619676,7 +619676,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619676
619676
|
const bos = { type: "bos", value: "", output: opts.prepend || "" };
|
|
619677
619677
|
const tokens = [bos];
|
|
619678
619678
|
const capture = opts.capture ? "" : "?:";
|
|
619679
|
-
const win32 =
|
|
619679
|
+
const win32 = utils7.isWindows(options8);
|
|
619680
619680
|
const PLATFORM_CHARS = constants3.globChars(win32);
|
|
619681
619681
|
const EXTGLOB_CHARS = constants3.extglobChars(PLATFORM_CHARS);
|
|
619682
619682
|
const {
|
|
@@ -619722,7 +619722,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619722
619722
|
globstar: false,
|
|
619723
619723
|
tokens
|
|
619724
619724
|
};
|
|
619725
|
-
input =
|
|
619725
|
+
input = utils7.removePrefix(input, state);
|
|
619726
619726
|
len = input.length;
|
|
619727
619727
|
const extglobs = [];
|
|
619728
619728
|
const braces = [];
|
|
@@ -619862,7 +619862,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619862
619862
|
state.output = input;
|
|
619863
619863
|
return state;
|
|
619864
619864
|
}
|
|
619865
|
-
state.output =
|
|
619865
|
+
state.output = utils7.wrapOutput(output, state, options8);
|
|
619866
619866
|
return state;
|
|
619867
619867
|
}
|
|
619868
619868
|
while (!eos()) {
|
|
@@ -619938,7 +619938,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619938
619938
|
continue;
|
|
619939
619939
|
}
|
|
619940
619940
|
if (state.quotes === 1 && value2 !== '"') {
|
|
619941
|
-
value2 =
|
|
619941
|
+
value2 = utils7.escapeRegex(value2);
|
|
619942
619942
|
prev.value += value2;
|
|
619943
619943
|
append({ value: value2 });
|
|
619944
619944
|
continue;
|
|
@@ -619999,10 +619999,10 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
619999
619999
|
}
|
|
620000
620000
|
prev.value += value2;
|
|
620001
620001
|
append({ value: value2 });
|
|
620002
|
-
if (opts.literalBrackets === false ||
|
|
620002
|
+
if (opts.literalBrackets === false || utils7.hasRegexChars(prevValue)) {
|
|
620003
620003
|
continue;
|
|
620004
620004
|
}
|
|
620005
|
-
const escaped =
|
|
620005
|
+
const escaped = utils7.escapeRegex(prev.value);
|
|
620006
620006
|
state.output = state.output.slice(0, -prev.value.length);
|
|
620007
620007
|
if (opts.literalBrackets === true) {
|
|
620008
620008
|
state.output += escaped;
|
|
@@ -620119,7 +620119,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620119
620119
|
if (prev && prev.type === "paren") {
|
|
620120
620120
|
const next = peek2();
|
|
620121
620121
|
let output = value2;
|
|
620122
|
-
if (next === "<" && !
|
|
620122
|
+
if (next === "<" && !utils7.supportsLookbehinds()) {
|
|
620123
620123
|
throw new Error("Node.js v10 or higher is required for regex lookbehinds");
|
|
620124
620124
|
}
|
|
620125
620125
|
if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) {
|
|
@@ -620312,19 +620312,19 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620312
620312
|
while (state.brackets > 0) {
|
|
620313
620313
|
if (opts.strictBrackets === true)
|
|
620314
620314
|
throw new SyntaxError(syntaxError2("closing", "]"));
|
|
620315
|
-
state.output =
|
|
620315
|
+
state.output = utils7.escapeLast(state.output, "[");
|
|
620316
620316
|
decrement("brackets");
|
|
620317
620317
|
}
|
|
620318
620318
|
while (state.parens > 0) {
|
|
620319
620319
|
if (opts.strictBrackets === true)
|
|
620320
620320
|
throw new SyntaxError(syntaxError2("closing", ")"));
|
|
620321
|
-
state.output =
|
|
620321
|
+
state.output = utils7.escapeLast(state.output, "(");
|
|
620322
620322
|
decrement("parens");
|
|
620323
620323
|
}
|
|
620324
620324
|
while (state.braces > 0) {
|
|
620325
620325
|
if (opts.strictBrackets === true)
|
|
620326
620326
|
throw new SyntaxError(syntaxError2("closing", "}"));
|
|
620327
|
-
state.output =
|
|
620327
|
+
state.output = utils7.escapeLast(state.output, "{");
|
|
620328
620328
|
decrement("braces");
|
|
620329
620329
|
}
|
|
620330
620330
|
if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) {
|
|
@@ -620349,7 +620349,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620349
620349
|
throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
620350
620350
|
}
|
|
620351
620351
|
input = REPLACEMENTS[input] || input;
|
|
620352
|
-
const win32 =
|
|
620352
|
+
const win32 = utils7.isWindows(options8);
|
|
620353
620353
|
const {
|
|
620354
620354
|
DOT_LITERAL,
|
|
620355
620355
|
SLASH_LITERAL,
|
|
@@ -620403,7 +620403,7 @@ var require_parse8 = __commonJS((exports, module3) => {
|
|
|
620403
620403
|
}
|
|
620404
620404
|
}
|
|
620405
620405
|
};
|
|
620406
|
-
const output =
|
|
620406
|
+
const output = utils7.removePrefix(input, state);
|
|
620407
620407
|
let source2 = create(output);
|
|
620408
620408
|
if (source2 && opts.strictSlashes !== true) {
|
|
620409
620409
|
source2 += `${SLASH_LITERAL}?`;
|
|
@@ -620418,7 +620418,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620418
620418
|
var path14 = __require("path");
|
|
620419
620419
|
var scan = require_scan4();
|
|
620420
620420
|
var parse8 = require_parse8();
|
|
620421
|
-
var
|
|
620421
|
+
var utils7 = require_utils7();
|
|
620422
620422
|
var constants3 = require_constants8();
|
|
620423
620423
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
620424
620424
|
var picomatch = (glob, options8, returnState = false) => {
|
|
@@ -620439,7 +620439,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620439
620439
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
620440
620440
|
}
|
|
620441
620441
|
const opts = options8 || {};
|
|
620442
|
-
const posix =
|
|
620442
|
+
const posix = utils7.isWindows(options8);
|
|
620443
620443
|
const regex3 = isState ? picomatch.compileRe(glob, options8) : picomatch.makeRe(glob, options8, false, true);
|
|
620444
620444
|
const state = regex3.state;
|
|
620445
620445
|
delete regex3.state;
|
|
@@ -620483,7 +620483,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620483
620483
|
return { isMatch: false, output: "" };
|
|
620484
620484
|
}
|
|
620485
620485
|
const opts = options8 || {};
|
|
620486
|
-
const format4 = opts.format || (posix ?
|
|
620486
|
+
const format4 = opts.format || (posix ? utils7.toPosixSlashes : null);
|
|
620487
620487
|
let match = input === glob;
|
|
620488
620488
|
let output = match && format4 ? format4(input) : input;
|
|
620489
620489
|
if (match === false) {
|
|
@@ -620499,7 +620499,7 @@ var require_picomatch4 = __commonJS((exports, module3) => {
|
|
|
620499
620499
|
}
|
|
620500
620500
|
return { isMatch: Boolean(match), match, output };
|
|
620501
620501
|
};
|
|
620502
|
-
picomatch.matchBase = (input, glob, options8, posix =
|
|
620502
|
+
picomatch.matchBase = (input, glob, options8, posix = utils7.isWindows(options8)) => {
|
|
620503
620503
|
const regex3 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options8);
|
|
620504
620504
|
return regex3.test(path14.basename(input));
|
|
620505
620505
|
};
|
|
@@ -620559,7 +620559,7 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620559
620559
|
var util2 = __require("util");
|
|
620560
620560
|
var braces = require_braces2();
|
|
620561
620561
|
var picomatch = require_picomatch4();
|
|
620562
|
-
var
|
|
620562
|
+
var utils7 = require_utils7();
|
|
620563
620563
|
var isEmptyString = (v25) => v25 === "" || v25 === "./";
|
|
620564
620564
|
var hasBraces = (v25) => {
|
|
620565
620565
|
const index = v25.indexOf("{");
|
|
@@ -620647,7 +620647,7 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620647
620647
|
return micromatch.isMatch(str2, pattern, { ...options8, contains: true });
|
|
620648
620648
|
};
|
|
620649
620649
|
micromatch.matchKeys = (obj, patterns, options8) => {
|
|
620650
|
-
if (!
|
|
620650
|
+
if (!utils7.isObject(obj)) {
|
|
620651
620651
|
throw new TypeError("Expected the first argument to be an object");
|
|
620652
620652
|
}
|
|
620653
620653
|
let keys = micromatch(Object.keys(obj), patterns, options8);
|
|
@@ -620683,9 +620683,9 @@ var require_micromatch2 = __commonJS((exports, module3) => {
|
|
|
620683
620683
|
return [].concat(patterns).every((p26) => picomatch(p26, options8)(str2));
|
|
620684
620684
|
};
|
|
620685
620685
|
micromatch.capture = (glob, input, options8) => {
|
|
620686
|
-
let posix =
|
|
620686
|
+
let posix = utils7.isWindows(options8);
|
|
620687
620687
|
let regex3 = picomatch.makeRe(String(glob), { ...options8, capture: true });
|
|
620688
|
-
let match = regex3.exec(posix ?
|
|
620688
|
+
let match = regex3.exec(posix ? utils7.toPosixSlashes(input) : input);
|
|
620689
620689
|
if (match) {
|
|
620690
620690
|
return match.slice(1).map((v25) => v25 === undefined ? "" : v25);
|
|
620691
620691
|
}
|
|
@@ -667712,7 +667712,7 @@ var require_package3 = __commonJS((exports, module3) => {
|
|
|
667712
667712
|
var require_ejs = __commonJS((exports) => {
|
|
667713
667713
|
var fs12 = __require("fs");
|
|
667714
667714
|
var path15 = __require("path");
|
|
667715
|
-
var
|
|
667715
|
+
var utils7 = require_utils10();
|
|
667716
667716
|
var scopeOptionWarned = false;
|
|
667717
667717
|
var _VERSION_STRING = require_package3().version;
|
|
667718
667718
|
var _DEFAULT_OPEN_DELIMITER = "<";
|
|
@@ -667737,7 +667737,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667737
667737
|
var _OPTS_PASSABLE_WITH_DATA_EXPRESS = _OPTS_PASSABLE_WITH_DATA.concat("cache");
|
|
667738
667738
|
var _BOM = /^\uFEFF/;
|
|
667739
667739
|
var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
|
|
667740
|
-
exports.cache =
|
|
667740
|
+
exports.cache = utils7.cache;
|
|
667741
667741
|
exports.fileLoader = fs12.readFileSync;
|
|
667742
667742
|
exports.localsName = _DEFAULT_LOCALS_NAME;
|
|
667743
667743
|
exports.promiseImpl = new Function("return this;")().Promise;
|
|
@@ -667844,7 +667844,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667844
667844
|
return exports.fileLoader(filePath);
|
|
667845
667845
|
}
|
|
667846
667846
|
function includeFile(path16, options8) {
|
|
667847
|
-
var opts =
|
|
667847
|
+
var opts = utils7.shallowCopy(utils7.createNullProtoObjWherePossible(), options8);
|
|
667848
667848
|
opts.filename = getIncludePath(path16, opts);
|
|
667849
667849
|
if (typeof options8.includer === "function") {
|
|
667850
667850
|
var includerResult = options8.includer(path16, opts.filename);
|
|
@@ -667896,10 +667896,10 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667896
667896
|
return templ.compile();
|
|
667897
667897
|
};
|
|
667898
667898
|
exports.render = function(template2, d8, o5) {
|
|
667899
|
-
var data = d8 ||
|
|
667900
|
-
var opts = o5 ||
|
|
667899
|
+
var data = d8 || utils7.createNullProtoObjWherePossible();
|
|
667900
|
+
var opts = o5 || utils7.createNullProtoObjWherePossible();
|
|
667901
667901
|
if (arguments.length == 2) {
|
|
667902
|
-
|
|
667902
|
+
utils7.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA);
|
|
667903
667903
|
}
|
|
667904
667904
|
return handleCache(opts, template2)(data);
|
|
667905
667905
|
};
|
|
@@ -667916,7 +667916,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667916
667916
|
if (args.length) {
|
|
667917
667917
|
data = args.shift();
|
|
667918
667918
|
if (args.length) {
|
|
667919
|
-
|
|
667919
|
+
utils7.shallowCopy(opts, args.pop());
|
|
667920
667920
|
} else {
|
|
667921
667921
|
if (data.settings) {
|
|
667922
667922
|
if (data.settings.views) {
|
|
@@ -667927,14 +667927,14 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667927
667927
|
}
|
|
667928
667928
|
viewOpts = data.settings["view options"];
|
|
667929
667929
|
if (viewOpts) {
|
|
667930
|
-
|
|
667930
|
+
utils7.shallowCopy(opts, viewOpts);
|
|
667931
667931
|
}
|
|
667932
667932
|
}
|
|
667933
|
-
|
|
667933
|
+
utils7.shallowCopyFromList(opts, data, _OPTS_PASSABLE_WITH_DATA_EXPRESS);
|
|
667934
667934
|
}
|
|
667935
667935
|
opts.filename = filename;
|
|
667936
667936
|
} else {
|
|
667937
|
-
data =
|
|
667937
|
+
data = utils7.createNullProtoObjWherePossible();
|
|
667938
667938
|
}
|
|
667939
667939
|
return tryHandleCache(opts, data, cb2);
|
|
667940
667940
|
};
|
|
@@ -667943,15 +667943,15 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667943
667943
|
exports.cache.reset();
|
|
667944
667944
|
};
|
|
667945
667945
|
function Template(text, optsParam) {
|
|
667946
|
-
var opts =
|
|
667947
|
-
var options8 =
|
|
667946
|
+
var opts = utils7.hasOwnOnlyObject(optsParam);
|
|
667947
|
+
var options8 = utils7.createNullProtoObjWherePossible();
|
|
667948
667948
|
this.templateText = text;
|
|
667949
667949
|
this.mode = null;
|
|
667950
667950
|
this.truncate = false;
|
|
667951
667951
|
this.currentLine = 1;
|
|
667952
667952
|
this.source = "";
|
|
667953
667953
|
options8.client = opts.client || false;
|
|
667954
|
-
options8.escapeFunction = opts.escape || opts.escapeFunction ||
|
|
667954
|
+
options8.escapeFunction = opts.escape || opts.escapeFunction || utils7.escapeXML;
|
|
667955
667955
|
options8.compileDebug = opts.compileDebug !== false;
|
|
667956
667956
|
options8.debug = !!opts.debug;
|
|
667957
667957
|
options8.filename = opts.filename;
|
|
@@ -667988,9 +667988,9 @@ var require_ejs = __commonJS((exports) => {
|
|
|
667988
667988
|
Template.prototype = {
|
|
667989
667989
|
createRegex: function() {
|
|
667990
667990
|
var str2 = _REGEX_STRING;
|
|
667991
|
-
var delim =
|
|
667992
|
-
var open =
|
|
667993
|
-
var close =
|
|
667991
|
+
var delim = utils7.escapeRegExpChars(this.opts.delimiter);
|
|
667992
|
+
var open = utils7.escapeRegExpChars(this.opts.openDelimiter);
|
|
667993
|
+
var close = utils7.escapeRegExpChars(this.opts.closeDelimiter);
|
|
667994
667994
|
str2 = str2.replace(/%/g, delim).replace(/</g, open).replace(/>/g, close);
|
|
667995
667995
|
return new RegExp(str2);
|
|
667996
667996
|
},
|
|
@@ -668113,13 +668113,13 @@ var require_ejs = __commonJS((exports) => {
|
|
|
668113
668113
|
}
|
|
668114
668114
|
var returnedFn = opts.client ? fn9 : function anonymous(data) {
|
|
668115
668115
|
var include = function(path16, includeData) {
|
|
668116
|
-
var d8 =
|
|
668116
|
+
var d8 = utils7.shallowCopy(utils7.createNullProtoObjWherePossible(), data);
|
|
668117
668117
|
if (includeData) {
|
|
668118
|
-
d8 =
|
|
668118
|
+
d8 = utils7.shallowCopy(d8, includeData);
|
|
668119
668119
|
}
|
|
668120
668120
|
return includeFile(path16, opts)(d8);
|
|
668121
668121
|
};
|
|
668122
|
-
return fn9.apply(opts.context, [data ||
|
|
668122
|
+
return fn9.apply(opts.context, [data || utils7.createNullProtoObjWherePossible(), escapeFn, include, rethrow]);
|
|
668123
668123
|
};
|
|
668124
668124
|
if (opts.filename && typeof Object.defineProperty === "function") {
|
|
668125
668125
|
var filename = opts.filename;
|
|
@@ -668279,7 +668279,7 @@ var require_ejs = __commonJS((exports) => {
|
|
|
668279
668279
|
}
|
|
668280
668280
|
}
|
|
668281
668281
|
};
|
|
668282
|
-
exports.escapeXML =
|
|
668282
|
+
exports.escapeXML = utils7.escapeXML;
|
|
668283
668283
|
exports.__express = exports.renderFile;
|
|
668284
668284
|
exports.VERSION = _VERSION_STRING;
|
|
668285
668285
|
exports.name = _NAME;
|
|
@@ -677187,6 +677187,7 @@ import manifestJson from "./powerhouse.manifest.json" with { type: "json" };
|
|
|
677187
677187
|
export { documentModels } from "./document-models/document-models.js";
|
|
677188
677188
|
export { upgradeManifests } from "./document-models/upgrade-manifests.js";
|
|
677189
677189
|
export { editors } from "./editors/editors.js";
|
|
677190
|
+
export { processorFactory } from "./processors/index.ts";
|
|
677190
677191
|
export const manifest: Manifest = manifestJson;
|
|
677191
677192
|
`.raw;
|
|
677192
677193
|
// ../../packages/codegen/dist/src/templates/boilerplate/LICENSE.js
|
|
@@ -678685,6 +678686,11 @@ var import_cmd_ts4 = __toESM(require_cjs(), 1);
|
|
|
678685
678686
|
|
|
678686
678687
|
// ../../shared/dist/processors/constants.js
|
|
678687
678688
|
var PROCESSOR_APPS = ["connect", "switchboard"];
|
|
678689
|
+
// ../../shared/dist/processors/relational/utils.js
|
|
678690
|
+
var LOG2_26 = Math.log2(26);
|
|
678691
|
+
|
|
678692
|
+
// ../../shared/dist/processors/relational/types.js
|
|
678693
|
+
var IS_RELATIONAL_DB_PROCESSOR = Symbol.for("ph.IS_RELATIONAL_DB_PROCESSOR");
|
|
678688
678694
|
// ../../packages/common/dist/clis/args/generate.js
|
|
678689
678695
|
var ProcessorAppType = {
|
|
678690
678696
|
from(processorApps) {
|
|
@@ -680254,6 +680260,15 @@ export function FolderTree() {
|
|
|
680254
680260
|
);
|
|
680255
680261
|
}
|
|
680256
680262
|
`.raw;
|
|
680263
|
+
// ../../packages/codegen/dist/src/templates/processors/index.js
|
|
680264
|
+
var processorsIndexTemplate = ts`
|
|
680265
|
+
/**
|
|
680266
|
+
* Processor exports
|
|
680267
|
+
* This file is auto-generated and updated by codegen
|
|
680268
|
+
*/
|
|
680269
|
+
|
|
680270
|
+
export { processorFactory } from "./factory.js";
|
|
680271
|
+
`.raw;
|
|
680257
680272
|
// ../../packages/codegen/dist/src/file-builders/boilerplate/package.json.js
|
|
680258
680273
|
async function buildBoilerplatePackageJson(args) {
|
|
680259
680274
|
const { name, tag: tag2, version } = args;
|
|
@@ -706515,6 +706530,7 @@ async function writeModuleFiles() {
|
|
|
706515
706530
|
await writeFileEnsuringDir("editors/index.ts", editorsIndexTemplate);
|
|
706516
706531
|
await writeFileEnsuringDir("processors/index.ts", boilerplateProcessorsIndexTemplate);
|
|
706517
706532
|
await writeFileEnsuringDir("subgraphs/index.ts", subgraphsIndexTemplate);
|
|
706533
|
+
await writeFileEnsuringDir("processors/index.ts", processorsIndexTemplate);
|
|
706518
706534
|
}
|
|
706519
706535
|
async function writeAiConfigFiles() {
|
|
706520
706536
|
await writeFileEnsuringDir("CLAUDE.md", agentsTemplate);
|
|
@@ -708148,7 +708164,7 @@ var use = import_cmd_ts16.command({
|
|
|
708148
708164
|
});
|
|
708149
708165
|
|
|
708150
708166
|
// src/commands/ph.ts
|
|
708151
|
-
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.
|
|
708167
|
+
var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.42");
|
|
708152
708168
|
var ph2 = import_cmd_ts17.subcommands({
|
|
708153
708169
|
name: "ph",
|
|
708154
708170
|
version: phCmdVersionInfo,
|
|
@@ -708176,7 +708192,7 @@ var cliDescription = ph2.description ?? "";
|
|
|
708176
708192
|
async function main2() {
|
|
708177
708193
|
await writeCliDocsMarkdownFile({
|
|
708178
708194
|
filePath: "COMMANDS.md",
|
|
708179
|
-
docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.
|
|
708195
|
+
docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.42"})`,
|
|
708180
708196
|
docsIntroduction: "This document provides detailed information about the available commands in the PH-CMD CLI. The CLI is published as `ph-cmd` and is invoked with the `ph` command.",
|
|
708181
708197
|
cliDescription,
|
|
708182
708198
|
entries: commands
|