Deployed the page to Github Pages.

This commit is contained in:
Batuhan Berk Başoğlu 2024-11-03 21:30:09 -05:00
parent 1d79754e93
commit 2c89899458
Signed by: batuhan-basoglu
SSH key fingerprint: SHA256:kEsnuHX+qbwhxSAXPUQ4ox535wFHu/hIRaa53FzxRpo
62797 changed files with 6551425 additions and 15279 deletions

22
node_modules/@inquirer/figures/LICENSE generated vendored Normal file
View file

@ -0,0 +1,22 @@
Copyright (c) 2023 Simon Boudrias
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

465
node_modules/@inquirer/figures/dist/commonjs/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,465 @@
export declare const mainSymbols: {
tick: string;
info: string;
warning: string;
cross: string;
squareSmall: string;
squareSmallFilled: string;
circle: string;
circleFilled: string;
circleDotted: string;
circleDouble: string;
circleCircle: string;
circleCross: string;
circlePipe: string;
radioOn: string;
radioOff: string;
checkboxOn: string;
checkboxOff: string;
checkboxCircleOn: string;
checkboxCircleOff: string;
pointer: string;
triangleUpOutline: string;
triangleLeft: string;
triangleRight: string;
lozenge: string;
lozengeOutline: string;
hamburger: string;
smiley: string;
mustache: string;
star: string;
play: string;
nodejs: string;
oneSeventh: string;
oneNinth: string;
oneTenth: string;
circleQuestionMark: string;
questionMarkPrefix: string;
square: string;
squareDarkShade: string;
squareMediumShade: string;
squareLightShade: string;
squareTop: string;
squareBottom: string;
squareLeft: string;
squareRight: string;
squareCenter: string;
bullet: string;
dot: string;
ellipsis: string;
pointerSmall: string;
triangleUp: string;
triangleUpSmall: string;
triangleDown: string;
triangleDownSmall: string;
triangleLeftSmall: string;
triangleRightSmall: string;
home: string;
heart: string;
musicNote: string;
musicNoteBeamed: string;
arrowUp: string;
arrowDown: string;
arrowLeft: string;
arrowRight: string;
arrowLeftRight: string;
arrowUpDown: string;
almostEqual: string;
notEqual: string;
lessOrEqual: string;
greaterOrEqual: string;
identical: string;
infinity: string;
subscriptZero: string;
subscriptOne: string;
subscriptTwo: string;
subscriptThree: string;
subscriptFour: string;
subscriptFive: string;
subscriptSix: string;
subscriptSeven: string;
subscriptEight: string;
subscriptNine: string;
oneHalf: string;
oneThird: string;
oneQuarter: string;
oneFifth: string;
oneSixth: string;
oneEighth: string;
twoThirds: string;
twoFifths: string;
threeQuarters: string;
threeFifths: string;
threeEighths: string;
fourFifths: string;
fiveSixths: string;
fiveEighths: string;
sevenEighths: string;
line: string;
lineBold: string;
lineDouble: string;
lineDashed0: string;
lineDashed1: string;
lineDashed2: string;
lineDashed3: string;
lineDashed4: string;
lineDashed5: string;
lineDashed6: string;
lineDashed7: string;
lineDashed8: string;
lineDashed9: string;
lineDashed10: string;
lineDashed11: string;
lineDashed12: string;
lineDashed13: string;
lineDashed14: string;
lineDashed15: string;
lineVertical: string;
lineVerticalBold: string;
lineVerticalDouble: string;
lineVerticalDashed0: string;
lineVerticalDashed1: string;
lineVerticalDashed2: string;
lineVerticalDashed3: string;
lineVerticalDashed4: string;
lineVerticalDashed5: string;
lineVerticalDashed6: string;
lineVerticalDashed7: string;
lineVerticalDashed8: string;
lineVerticalDashed9: string;
lineVerticalDashed10: string;
lineVerticalDashed11: string;
lineDownLeft: string;
lineDownLeftArc: string;
lineDownBoldLeftBold: string;
lineDownBoldLeft: string;
lineDownLeftBold: string;
lineDownDoubleLeftDouble: string;
lineDownDoubleLeft: string;
lineDownLeftDouble: string;
lineDownRight: string;
lineDownRightArc: string;
lineDownBoldRightBold: string;
lineDownBoldRight: string;
lineDownRightBold: string;
lineDownDoubleRightDouble: string;
lineDownDoubleRight: string;
lineDownRightDouble: string;
lineUpLeft: string;
lineUpLeftArc: string;
lineUpBoldLeftBold: string;
lineUpBoldLeft: string;
lineUpLeftBold: string;
lineUpDoubleLeftDouble: string;
lineUpDoubleLeft: string;
lineUpLeftDouble: string;
lineUpRight: string;
lineUpRightArc: string;
lineUpBoldRightBold: string;
lineUpBoldRight: string;
lineUpRightBold: string;
lineUpDoubleRightDouble: string;
lineUpDoubleRight: string;
lineUpRightDouble: string;
lineUpDownLeft: string;
lineUpBoldDownBoldLeftBold: string;
lineUpBoldDownBoldLeft: string;
lineUpDownLeftBold: string;
lineUpBoldDownLeftBold: string;
lineUpDownBoldLeftBold: string;
lineUpDownBoldLeft: string;
lineUpBoldDownLeft: string;
lineUpDoubleDownDoubleLeftDouble: string;
lineUpDoubleDownDoubleLeft: string;
lineUpDownLeftDouble: string;
lineUpDownRight: string;
lineUpBoldDownBoldRightBold: string;
lineUpBoldDownBoldRight: string;
lineUpDownRightBold: string;
lineUpBoldDownRightBold: string;
lineUpDownBoldRightBold: string;
lineUpDownBoldRight: string;
lineUpBoldDownRight: string;
lineUpDoubleDownDoubleRightDouble: string;
lineUpDoubleDownDoubleRight: string;
lineUpDownRightDouble: string;
lineDownLeftRight: string;
lineDownBoldLeftBoldRightBold: string;
lineDownLeftBoldRightBold: string;
lineDownBoldLeftRight: string;
lineDownBoldLeftBoldRight: string;
lineDownBoldLeftRightBold: string;
lineDownLeftRightBold: string;
lineDownLeftBoldRight: string;
lineDownDoubleLeftDoubleRightDouble: string;
lineDownDoubleLeftRight: string;
lineDownLeftDoubleRightDouble: string;
lineUpLeftRight: string;
lineUpBoldLeftBoldRightBold: string;
lineUpLeftBoldRightBold: string;
lineUpBoldLeftRight: string;
lineUpBoldLeftBoldRight: string;
lineUpBoldLeftRightBold: string;
lineUpLeftRightBold: string;
lineUpLeftBoldRight: string;
lineUpDoubleLeftDoubleRightDouble: string;
lineUpDoubleLeftRight: string;
lineUpLeftDoubleRightDouble: string;
lineUpDownLeftRight: string;
lineUpBoldDownBoldLeftBoldRightBold: string;
lineUpDownBoldLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRightBold: string;
lineUpBoldDownBoldLeftRightBold: string;
lineUpBoldDownBoldLeftBoldRight: string;
lineUpBoldDownLeftRight: string;
lineUpDownBoldLeftRight: string;
lineUpDownLeftBoldRight: string;
lineUpDownLeftRightBold: string;
lineUpBoldDownBoldLeftRight: string;
lineUpDownLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRight: string;
lineUpBoldDownLeftRightBold: string;
lineUpDownBoldLeftBoldRight: string;
lineUpDownBoldLeftRightBold: string;
lineUpDoubleDownDoubleLeftDoubleRightDouble: string;
lineUpDoubleDownDoubleLeftRight: string;
lineUpDownLeftDoubleRightDouble: string;
lineCross: string;
lineBackslash: string;
lineSlash: string;
};
export declare const fallbackSymbols: Record<string, string>;
declare const figures: {
tick: string;
info: string;
warning: string;
cross: string;
squareSmall: string;
squareSmallFilled: string;
circle: string;
circleFilled: string;
circleDotted: string;
circleDouble: string;
circleCircle: string;
circleCross: string;
circlePipe: string;
radioOn: string;
radioOff: string;
checkboxOn: string;
checkboxOff: string;
checkboxCircleOn: string;
checkboxCircleOff: string;
pointer: string;
triangleUpOutline: string;
triangleLeft: string;
triangleRight: string;
lozenge: string;
lozengeOutline: string;
hamburger: string;
smiley: string;
mustache: string;
star: string;
play: string;
nodejs: string;
oneSeventh: string;
oneNinth: string;
oneTenth: string;
circleQuestionMark: string;
questionMarkPrefix: string;
square: string;
squareDarkShade: string;
squareMediumShade: string;
squareLightShade: string;
squareTop: string;
squareBottom: string;
squareLeft: string;
squareRight: string;
squareCenter: string;
bullet: string;
dot: string;
ellipsis: string;
pointerSmall: string;
triangleUp: string;
triangleUpSmall: string;
triangleDown: string;
triangleDownSmall: string;
triangleLeftSmall: string;
triangleRightSmall: string;
home: string;
heart: string;
musicNote: string;
musicNoteBeamed: string;
arrowUp: string;
arrowDown: string;
arrowLeft: string;
arrowRight: string;
arrowLeftRight: string;
arrowUpDown: string;
almostEqual: string;
notEqual: string;
lessOrEqual: string;
greaterOrEqual: string;
identical: string;
infinity: string;
subscriptZero: string;
subscriptOne: string;
subscriptTwo: string;
subscriptThree: string;
subscriptFour: string;
subscriptFive: string;
subscriptSix: string;
subscriptSeven: string;
subscriptEight: string;
subscriptNine: string;
oneHalf: string;
oneThird: string;
oneQuarter: string;
oneFifth: string;
oneSixth: string;
oneEighth: string;
twoThirds: string;
twoFifths: string;
threeQuarters: string;
threeFifths: string;
threeEighths: string;
fourFifths: string;
fiveSixths: string;
fiveEighths: string;
sevenEighths: string;
line: string;
lineBold: string;
lineDouble: string;
lineDashed0: string;
lineDashed1: string;
lineDashed2: string;
lineDashed3: string;
lineDashed4: string;
lineDashed5: string;
lineDashed6: string;
lineDashed7: string;
lineDashed8: string;
lineDashed9: string;
lineDashed10: string;
lineDashed11: string;
lineDashed12: string;
lineDashed13: string;
lineDashed14: string;
lineDashed15: string;
lineVertical: string;
lineVerticalBold: string;
lineVerticalDouble: string;
lineVerticalDashed0: string;
lineVerticalDashed1: string;
lineVerticalDashed2: string;
lineVerticalDashed3: string;
lineVerticalDashed4: string;
lineVerticalDashed5: string;
lineVerticalDashed6: string;
lineVerticalDashed7: string;
lineVerticalDashed8: string;
lineVerticalDashed9: string;
lineVerticalDashed10: string;
lineVerticalDashed11: string;
lineDownLeft: string;
lineDownLeftArc: string;
lineDownBoldLeftBold: string;
lineDownBoldLeft: string;
lineDownLeftBold: string;
lineDownDoubleLeftDouble: string;
lineDownDoubleLeft: string;
lineDownLeftDouble: string;
lineDownRight: string;
lineDownRightArc: string;
lineDownBoldRightBold: string;
lineDownBoldRight: string;
lineDownRightBold: string;
lineDownDoubleRightDouble: string;
lineDownDoubleRight: string;
lineDownRightDouble: string;
lineUpLeft: string;
lineUpLeftArc: string;
lineUpBoldLeftBold: string;
lineUpBoldLeft: string;
lineUpLeftBold: string;
lineUpDoubleLeftDouble: string;
lineUpDoubleLeft: string;
lineUpLeftDouble: string;
lineUpRight: string;
lineUpRightArc: string;
lineUpBoldRightBold: string;
lineUpBoldRight: string;
lineUpRightBold: string;
lineUpDoubleRightDouble: string;
lineUpDoubleRight: string;
lineUpRightDouble: string;
lineUpDownLeft: string;
lineUpBoldDownBoldLeftBold: string;
lineUpBoldDownBoldLeft: string;
lineUpDownLeftBold: string;
lineUpBoldDownLeftBold: string;
lineUpDownBoldLeftBold: string;
lineUpDownBoldLeft: string;
lineUpBoldDownLeft: string;
lineUpDoubleDownDoubleLeftDouble: string;
lineUpDoubleDownDoubleLeft: string;
lineUpDownLeftDouble: string;
lineUpDownRight: string;
lineUpBoldDownBoldRightBold: string;
lineUpBoldDownBoldRight: string;
lineUpDownRightBold: string;
lineUpBoldDownRightBold: string;
lineUpDownBoldRightBold: string;
lineUpDownBoldRight: string;
lineUpBoldDownRight: string;
lineUpDoubleDownDoubleRightDouble: string;
lineUpDoubleDownDoubleRight: string;
lineUpDownRightDouble: string;
lineDownLeftRight: string;
lineDownBoldLeftBoldRightBold: string;
lineDownLeftBoldRightBold: string;
lineDownBoldLeftRight: string;
lineDownBoldLeftBoldRight: string;
lineDownBoldLeftRightBold: string;
lineDownLeftRightBold: string;
lineDownLeftBoldRight: string;
lineDownDoubleLeftDoubleRightDouble: string;
lineDownDoubleLeftRight: string;
lineDownLeftDoubleRightDouble: string;
lineUpLeftRight: string;
lineUpBoldLeftBoldRightBold: string;
lineUpLeftBoldRightBold: string;
lineUpBoldLeftRight: string;
lineUpBoldLeftBoldRight: string;
lineUpBoldLeftRightBold: string;
lineUpLeftRightBold: string;
lineUpLeftBoldRight: string;
lineUpDoubleLeftDoubleRightDouble: string;
lineUpDoubleLeftRight: string;
lineUpLeftDoubleRightDouble: string;
lineUpDownLeftRight: string;
lineUpBoldDownBoldLeftBoldRightBold: string;
lineUpDownBoldLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRightBold: string;
lineUpBoldDownBoldLeftRightBold: string;
lineUpBoldDownBoldLeftBoldRight: string;
lineUpBoldDownLeftRight: string;
lineUpDownBoldLeftRight: string;
lineUpDownLeftBoldRight: string;
lineUpDownLeftRightBold: string;
lineUpBoldDownBoldLeftRight: string;
lineUpDownLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRight: string;
lineUpBoldDownLeftRightBold: string;
lineUpDownBoldLeftBoldRight: string;
lineUpDownBoldLeftRightBold: string;
lineUpDoubleDownDoubleLeftDoubleRightDouble: string;
lineUpDoubleDownDoubleLeftRight: string;
lineUpDownLeftDoubleRightDouble: string;
lineCross: string;
lineBackslash: string;
lineSlash: string;
} | Record<string, string>;
export default figures;
export declare const replaceSymbols: (string: string, { useFallback }?: {
useFallback?: boolean | undefined;
}) => string;

316
node_modules/@inquirer/figures/dist/commonjs/index.js generated vendored Normal file
View file

@ -0,0 +1,316 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceSymbols = exports.fallbackSymbols = exports.mainSymbols = void 0;
// process.env dot-notation access prints:
// Property 'TERM' comes from an index signature, so it must be accessed with ['TERM'].ts(4111)
/* eslint dot-notation: ["off"] */
const node_process_1 = __importDefault(require("node:process"));
// Ported from is-unicode-supported
function isUnicodeSupported() {
if (node_process_1.default.platform !== 'win32') {
return node_process_1.default.env['TERM'] !== 'linux'; // Linux console (kernel)
}
return (Boolean(node_process_1.default.env['WT_SESSION']) || // Windows Terminal
Boolean(node_process_1.default.env['TERMINUS_SUBLIME']) || // Terminus (<0.2.27)
node_process_1.default.env['ConEmuTask'] === '{cmd::Cmder}' || // ConEmu and cmder
node_process_1.default.env['TERM_PROGRAM'] === 'Terminus-Sublime' ||
node_process_1.default.env['TERM_PROGRAM'] === 'vscode' ||
node_process_1.default.env['TERM'] === 'xterm-256color' ||
node_process_1.default.env['TERM'] === 'alacritty' ||
node_process_1.default.env['TERMINAL_EMULATOR'] === 'JetBrains-JediTerm');
}
// Ported from figures
const common = {
circleQuestionMark: '(?)',
questionMarkPrefix: '(?)',
square: '█',
squareDarkShade: '▓',
squareMediumShade: '▒',
squareLightShade: '░',
squareTop: '▀',
squareBottom: '▄',
squareLeft: '▌',
squareRight: '▐',
squareCenter: '■',
bullet: '●',
dot: '',
ellipsis: '…',
pointerSmall: '',
triangleUp: '▲',
triangleUpSmall: '▴',
triangleDown: '▼',
triangleDownSmall: '▾',
triangleLeftSmall: '◂',
triangleRightSmall: '▸',
home: '⌂',
heart: '♥',
musicNote: '♪',
musicNoteBeamed: '♫',
arrowUp: '↑',
arrowDown: '↓',
arrowLeft: '←',
arrowRight: '→',
arrowLeftRight: '↔',
arrowUpDown: '↕',
almostEqual: '≈',
notEqual: '≠',
lessOrEqual: '≤',
greaterOrEqual: '≥',
identical: '≡',
infinity: '∞',
subscriptZero: '₀',
subscriptOne: '₁',
subscriptTwo: '₂',
subscriptThree: '₃',
subscriptFour: '₄',
subscriptFive: '₅',
subscriptSix: '₆',
subscriptSeven: '₇',
subscriptEight: '₈',
subscriptNine: '₉',
oneHalf: '½',
oneThird: '⅓',
oneQuarter: '¼',
oneFifth: '⅕',
oneSixth: '⅙',
oneEighth: '⅛',
twoThirds: '⅔',
twoFifths: '⅖',
threeQuarters: '¾',
threeFifths: '⅗',
threeEighths: '⅜',
fourFifths: '⅘',
fiveSixths: '⅚',
fiveEighths: '⅝',
sevenEighths: '⅞',
line: '─',
lineBold: '━',
lineDouble: '═',
lineDashed0: '┄',
lineDashed1: '┅',
lineDashed2: '┈',
lineDashed3: '┉',
lineDashed4: '╌',
lineDashed5: '╍',
lineDashed6: '╴',
lineDashed7: '╶',
lineDashed8: '╸',
lineDashed9: '╺',
lineDashed10: '╼',
lineDashed11: '╾',
lineDashed12: '',
lineDashed13: '',
lineDashed14: '',
lineDashed15: '',
lineVertical: '│',
lineVerticalBold: '┃',
lineVerticalDouble: '║',
lineVerticalDashed0: '┆',
lineVerticalDashed1: '┇',
lineVerticalDashed2: '┊',
lineVerticalDashed3: '┋',
lineVerticalDashed4: '╎',
lineVerticalDashed5: '╏',
lineVerticalDashed6: '╵',
lineVerticalDashed7: '╷',
lineVerticalDashed8: '╹',
lineVerticalDashed9: '╻',
lineVerticalDashed10: '╽',
lineVerticalDashed11: '╿',
lineDownLeft: '┐',
lineDownLeftArc: '╮',
lineDownBoldLeftBold: '┓',
lineDownBoldLeft: '┒',
lineDownLeftBold: '┑',
lineDownDoubleLeftDouble: '╗',
lineDownDoubleLeft: '╖',
lineDownLeftDouble: '╕',
lineDownRight: '┌',
lineDownRightArc: '╭',
lineDownBoldRightBold: '┏',
lineDownBoldRight: '┎',
lineDownRightBold: '┍',
lineDownDoubleRightDouble: '╔',
lineDownDoubleRight: '╓',
lineDownRightDouble: '╒',
lineUpLeft: '┘',
lineUpLeftArc: '╯',
lineUpBoldLeftBold: '┛',
lineUpBoldLeft: '┚',
lineUpLeftBold: '┙',
lineUpDoubleLeftDouble: '╝',
lineUpDoubleLeft: '╜',
lineUpLeftDouble: '╛',
lineUpRight: '└',
lineUpRightArc: '╰',
lineUpBoldRightBold: '┗',
lineUpBoldRight: '┖',
lineUpRightBold: '┕',
lineUpDoubleRightDouble: '╚',
lineUpDoubleRight: '╙',
lineUpRightDouble: '╘',
lineUpDownLeft: '┤',
lineUpBoldDownBoldLeftBold: '┫',
lineUpBoldDownBoldLeft: '┨',
lineUpDownLeftBold: '┥',
lineUpBoldDownLeftBold: '┩',
lineUpDownBoldLeftBold: '┪',
lineUpDownBoldLeft: '┧',
lineUpBoldDownLeft: '┦',
lineUpDoubleDownDoubleLeftDouble: '╣',
lineUpDoubleDownDoubleLeft: '╢',
lineUpDownLeftDouble: '╡',
lineUpDownRight: '├',
lineUpBoldDownBoldRightBold: '┣',
lineUpBoldDownBoldRight: '┠',
lineUpDownRightBold: '┝',
lineUpBoldDownRightBold: '┡',
lineUpDownBoldRightBold: '┢',
lineUpDownBoldRight: '┟',
lineUpBoldDownRight: '┞',
lineUpDoubleDownDoubleRightDouble: '╠',
lineUpDoubleDownDoubleRight: '╟',
lineUpDownRightDouble: '╞',
lineDownLeftRight: '┬',
lineDownBoldLeftBoldRightBold: '┳',
lineDownLeftBoldRightBold: '┯',
lineDownBoldLeftRight: '┰',
lineDownBoldLeftBoldRight: '┱',
lineDownBoldLeftRightBold: '┲',
lineDownLeftRightBold: '┮',
lineDownLeftBoldRight: '┭',
lineDownDoubleLeftDoubleRightDouble: '╦',
lineDownDoubleLeftRight: '╥',
lineDownLeftDoubleRightDouble: '╤',
lineUpLeftRight: '┴',
lineUpBoldLeftBoldRightBold: '┻',
lineUpLeftBoldRightBold: '┷',
lineUpBoldLeftRight: '┸',
lineUpBoldLeftBoldRight: '┹',
lineUpBoldLeftRightBold: '┺',
lineUpLeftRightBold: '┶',
lineUpLeftBoldRight: '┵',
lineUpDoubleLeftDoubleRightDouble: '╩',
lineUpDoubleLeftRight: '╨',
lineUpLeftDoubleRightDouble: '╧',
lineUpDownLeftRight: '┼',
lineUpBoldDownBoldLeftBoldRightBold: '╋',
lineUpDownBoldLeftBoldRightBold: '╈',
lineUpBoldDownLeftBoldRightBold: '╇',
lineUpBoldDownBoldLeftRightBold: '╊',
lineUpBoldDownBoldLeftBoldRight: '╉',
lineUpBoldDownLeftRight: '╀',
lineUpDownBoldLeftRight: '╁',
lineUpDownLeftBoldRight: '┽',
lineUpDownLeftRightBold: '┾',
lineUpBoldDownBoldLeftRight: '╂',
lineUpDownLeftBoldRightBold: '┿',
lineUpBoldDownLeftBoldRight: '╃',
lineUpBoldDownLeftRightBold: '╄',
lineUpDownBoldLeftBoldRight: '╅',
lineUpDownBoldLeftRightBold: '╆',
lineUpDoubleDownDoubleLeftDoubleRightDouble: '╬',
lineUpDoubleDownDoubleLeftRight: '╫',
lineUpDownLeftDoubleRightDouble: '╪',
lineCross: '',
lineBackslash: '╲',
lineSlash: '',
};
const specialMainSymbols = {
tick: '✔',
info: '',
warning: '⚠',
cross: '✘',
squareSmall: '◻',
squareSmallFilled: '◼',
circle: '◯',
circleFilled: '◉',
circleDotted: '◌',
circleDouble: '◎',
circleCircle: 'ⓞ',
circleCross: 'ⓧ',
circlePipe: 'Ⓘ',
radioOn: '◉',
radioOff: '◯',
checkboxOn: '☒',
checkboxOff: '☐',
checkboxCircleOn: 'ⓧ',
checkboxCircleOff: 'Ⓘ',
pointer: '',
triangleUpOutline: '△',
triangleLeft: '◀',
triangleRight: '▶',
lozenge: '◆',
lozengeOutline: '◇',
hamburger: '☰',
smiley: '㋡',
mustache: '෴',
star: '★',
play: '▶',
nodejs: '⬢',
oneSeventh: '⅐',
oneNinth: '⅑',
oneTenth: '⅒',
};
const specialFallbackSymbols = {
tick: '√',
info: 'i',
warning: '‼',
cross: '×',
squareSmall: '□',
squareSmallFilled: '■',
circle: '( )',
circleFilled: '(*)',
circleDotted: '( )',
circleDouble: '( )',
circleCircle: '(○)',
circleCross: '(×)',
circlePipe: '(│)',
radioOn: '(*)',
radioOff: '( )',
checkboxOn: '[×]',
checkboxOff: '[ ]',
checkboxCircleOn: '(×)',
checkboxCircleOff: '( )',
pointer: '>',
triangleUpOutline: '∆',
triangleLeft: '◄',
triangleRight: '►',
lozenge: '♦',
lozengeOutline: '◊',
hamburger: '≡',
smiley: '☺',
mustache: '┌─┐',
star: '✶',
play: '►',
nodejs: '♦',
oneSeventh: '1/7',
oneNinth: '1/9',
oneTenth: '1/10',
};
exports.mainSymbols = { ...common, ...specialMainSymbols };
exports.fallbackSymbols = {
...common,
...specialFallbackSymbols,
};
const shouldUseMain = isUnicodeSupported();
const figures = shouldUseMain ? exports.mainSymbols : exports.fallbackSymbols;
exports.default = figures;
const replacements = Object.entries(specialMainSymbols);
// On terminals which do not support Unicode symbols, substitute them to other symbols
const replaceSymbols = (string, { useFallback = !shouldUseMain } = {}) => {
if (useFallback) {
for (const [key, mainSymbol] of replacements) {
const fallbackSymbol = exports.fallbackSymbols[key];
if (!fallbackSymbol) {
throw new Error(`Unable to find fallback for ${key}`);
}
string = string.replaceAll(mainSymbol, fallbackSymbol);
}
}
return string;
};
exports.replaceSymbols = replaceSymbols;

View file

@ -0,0 +1,3 @@
{
"type": "commonjs"
}

465
node_modules/@inquirer/figures/dist/esm/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,465 @@
export declare const mainSymbols: {
tick: string;
info: string;
warning: string;
cross: string;
squareSmall: string;
squareSmallFilled: string;
circle: string;
circleFilled: string;
circleDotted: string;
circleDouble: string;
circleCircle: string;
circleCross: string;
circlePipe: string;
radioOn: string;
radioOff: string;
checkboxOn: string;
checkboxOff: string;
checkboxCircleOn: string;
checkboxCircleOff: string;
pointer: string;
triangleUpOutline: string;
triangleLeft: string;
triangleRight: string;
lozenge: string;
lozengeOutline: string;
hamburger: string;
smiley: string;
mustache: string;
star: string;
play: string;
nodejs: string;
oneSeventh: string;
oneNinth: string;
oneTenth: string;
circleQuestionMark: string;
questionMarkPrefix: string;
square: string;
squareDarkShade: string;
squareMediumShade: string;
squareLightShade: string;
squareTop: string;
squareBottom: string;
squareLeft: string;
squareRight: string;
squareCenter: string;
bullet: string;
dot: string;
ellipsis: string;
pointerSmall: string;
triangleUp: string;
triangleUpSmall: string;
triangleDown: string;
triangleDownSmall: string;
triangleLeftSmall: string;
triangleRightSmall: string;
home: string;
heart: string;
musicNote: string;
musicNoteBeamed: string;
arrowUp: string;
arrowDown: string;
arrowLeft: string;
arrowRight: string;
arrowLeftRight: string;
arrowUpDown: string;
almostEqual: string;
notEqual: string;
lessOrEqual: string;
greaterOrEqual: string;
identical: string;
infinity: string;
subscriptZero: string;
subscriptOne: string;
subscriptTwo: string;
subscriptThree: string;
subscriptFour: string;
subscriptFive: string;
subscriptSix: string;
subscriptSeven: string;
subscriptEight: string;
subscriptNine: string;
oneHalf: string;
oneThird: string;
oneQuarter: string;
oneFifth: string;
oneSixth: string;
oneEighth: string;
twoThirds: string;
twoFifths: string;
threeQuarters: string;
threeFifths: string;
threeEighths: string;
fourFifths: string;
fiveSixths: string;
fiveEighths: string;
sevenEighths: string;
line: string;
lineBold: string;
lineDouble: string;
lineDashed0: string;
lineDashed1: string;
lineDashed2: string;
lineDashed3: string;
lineDashed4: string;
lineDashed5: string;
lineDashed6: string;
lineDashed7: string;
lineDashed8: string;
lineDashed9: string;
lineDashed10: string;
lineDashed11: string;
lineDashed12: string;
lineDashed13: string;
lineDashed14: string;
lineDashed15: string;
lineVertical: string;
lineVerticalBold: string;
lineVerticalDouble: string;
lineVerticalDashed0: string;
lineVerticalDashed1: string;
lineVerticalDashed2: string;
lineVerticalDashed3: string;
lineVerticalDashed4: string;
lineVerticalDashed5: string;
lineVerticalDashed6: string;
lineVerticalDashed7: string;
lineVerticalDashed8: string;
lineVerticalDashed9: string;
lineVerticalDashed10: string;
lineVerticalDashed11: string;
lineDownLeft: string;
lineDownLeftArc: string;
lineDownBoldLeftBold: string;
lineDownBoldLeft: string;
lineDownLeftBold: string;
lineDownDoubleLeftDouble: string;
lineDownDoubleLeft: string;
lineDownLeftDouble: string;
lineDownRight: string;
lineDownRightArc: string;
lineDownBoldRightBold: string;
lineDownBoldRight: string;
lineDownRightBold: string;
lineDownDoubleRightDouble: string;
lineDownDoubleRight: string;
lineDownRightDouble: string;
lineUpLeft: string;
lineUpLeftArc: string;
lineUpBoldLeftBold: string;
lineUpBoldLeft: string;
lineUpLeftBold: string;
lineUpDoubleLeftDouble: string;
lineUpDoubleLeft: string;
lineUpLeftDouble: string;
lineUpRight: string;
lineUpRightArc: string;
lineUpBoldRightBold: string;
lineUpBoldRight: string;
lineUpRightBold: string;
lineUpDoubleRightDouble: string;
lineUpDoubleRight: string;
lineUpRightDouble: string;
lineUpDownLeft: string;
lineUpBoldDownBoldLeftBold: string;
lineUpBoldDownBoldLeft: string;
lineUpDownLeftBold: string;
lineUpBoldDownLeftBold: string;
lineUpDownBoldLeftBold: string;
lineUpDownBoldLeft: string;
lineUpBoldDownLeft: string;
lineUpDoubleDownDoubleLeftDouble: string;
lineUpDoubleDownDoubleLeft: string;
lineUpDownLeftDouble: string;
lineUpDownRight: string;
lineUpBoldDownBoldRightBold: string;
lineUpBoldDownBoldRight: string;
lineUpDownRightBold: string;
lineUpBoldDownRightBold: string;
lineUpDownBoldRightBold: string;
lineUpDownBoldRight: string;
lineUpBoldDownRight: string;
lineUpDoubleDownDoubleRightDouble: string;
lineUpDoubleDownDoubleRight: string;
lineUpDownRightDouble: string;
lineDownLeftRight: string;
lineDownBoldLeftBoldRightBold: string;
lineDownLeftBoldRightBold: string;
lineDownBoldLeftRight: string;
lineDownBoldLeftBoldRight: string;
lineDownBoldLeftRightBold: string;
lineDownLeftRightBold: string;
lineDownLeftBoldRight: string;
lineDownDoubleLeftDoubleRightDouble: string;
lineDownDoubleLeftRight: string;
lineDownLeftDoubleRightDouble: string;
lineUpLeftRight: string;
lineUpBoldLeftBoldRightBold: string;
lineUpLeftBoldRightBold: string;
lineUpBoldLeftRight: string;
lineUpBoldLeftBoldRight: string;
lineUpBoldLeftRightBold: string;
lineUpLeftRightBold: string;
lineUpLeftBoldRight: string;
lineUpDoubleLeftDoubleRightDouble: string;
lineUpDoubleLeftRight: string;
lineUpLeftDoubleRightDouble: string;
lineUpDownLeftRight: string;
lineUpBoldDownBoldLeftBoldRightBold: string;
lineUpDownBoldLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRightBold: string;
lineUpBoldDownBoldLeftRightBold: string;
lineUpBoldDownBoldLeftBoldRight: string;
lineUpBoldDownLeftRight: string;
lineUpDownBoldLeftRight: string;
lineUpDownLeftBoldRight: string;
lineUpDownLeftRightBold: string;
lineUpBoldDownBoldLeftRight: string;
lineUpDownLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRight: string;
lineUpBoldDownLeftRightBold: string;
lineUpDownBoldLeftBoldRight: string;
lineUpDownBoldLeftRightBold: string;
lineUpDoubleDownDoubleLeftDoubleRightDouble: string;
lineUpDoubleDownDoubleLeftRight: string;
lineUpDownLeftDoubleRightDouble: string;
lineCross: string;
lineBackslash: string;
lineSlash: string;
};
export declare const fallbackSymbols: Record<string, string>;
declare const figures: {
tick: string;
info: string;
warning: string;
cross: string;
squareSmall: string;
squareSmallFilled: string;
circle: string;
circleFilled: string;
circleDotted: string;
circleDouble: string;
circleCircle: string;
circleCross: string;
circlePipe: string;
radioOn: string;
radioOff: string;
checkboxOn: string;
checkboxOff: string;
checkboxCircleOn: string;
checkboxCircleOff: string;
pointer: string;
triangleUpOutline: string;
triangleLeft: string;
triangleRight: string;
lozenge: string;
lozengeOutline: string;
hamburger: string;
smiley: string;
mustache: string;
star: string;
play: string;
nodejs: string;
oneSeventh: string;
oneNinth: string;
oneTenth: string;
circleQuestionMark: string;
questionMarkPrefix: string;
square: string;
squareDarkShade: string;
squareMediumShade: string;
squareLightShade: string;
squareTop: string;
squareBottom: string;
squareLeft: string;
squareRight: string;
squareCenter: string;
bullet: string;
dot: string;
ellipsis: string;
pointerSmall: string;
triangleUp: string;
triangleUpSmall: string;
triangleDown: string;
triangleDownSmall: string;
triangleLeftSmall: string;
triangleRightSmall: string;
home: string;
heart: string;
musicNote: string;
musicNoteBeamed: string;
arrowUp: string;
arrowDown: string;
arrowLeft: string;
arrowRight: string;
arrowLeftRight: string;
arrowUpDown: string;
almostEqual: string;
notEqual: string;
lessOrEqual: string;
greaterOrEqual: string;
identical: string;
infinity: string;
subscriptZero: string;
subscriptOne: string;
subscriptTwo: string;
subscriptThree: string;
subscriptFour: string;
subscriptFive: string;
subscriptSix: string;
subscriptSeven: string;
subscriptEight: string;
subscriptNine: string;
oneHalf: string;
oneThird: string;
oneQuarter: string;
oneFifth: string;
oneSixth: string;
oneEighth: string;
twoThirds: string;
twoFifths: string;
threeQuarters: string;
threeFifths: string;
threeEighths: string;
fourFifths: string;
fiveSixths: string;
fiveEighths: string;
sevenEighths: string;
line: string;
lineBold: string;
lineDouble: string;
lineDashed0: string;
lineDashed1: string;
lineDashed2: string;
lineDashed3: string;
lineDashed4: string;
lineDashed5: string;
lineDashed6: string;
lineDashed7: string;
lineDashed8: string;
lineDashed9: string;
lineDashed10: string;
lineDashed11: string;
lineDashed12: string;
lineDashed13: string;
lineDashed14: string;
lineDashed15: string;
lineVertical: string;
lineVerticalBold: string;
lineVerticalDouble: string;
lineVerticalDashed0: string;
lineVerticalDashed1: string;
lineVerticalDashed2: string;
lineVerticalDashed3: string;
lineVerticalDashed4: string;
lineVerticalDashed5: string;
lineVerticalDashed6: string;
lineVerticalDashed7: string;
lineVerticalDashed8: string;
lineVerticalDashed9: string;
lineVerticalDashed10: string;
lineVerticalDashed11: string;
lineDownLeft: string;
lineDownLeftArc: string;
lineDownBoldLeftBold: string;
lineDownBoldLeft: string;
lineDownLeftBold: string;
lineDownDoubleLeftDouble: string;
lineDownDoubleLeft: string;
lineDownLeftDouble: string;
lineDownRight: string;
lineDownRightArc: string;
lineDownBoldRightBold: string;
lineDownBoldRight: string;
lineDownRightBold: string;
lineDownDoubleRightDouble: string;
lineDownDoubleRight: string;
lineDownRightDouble: string;
lineUpLeft: string;
lineUpLeftArc: string;
lineUpBoldLeftBold: string;
lineUpBoldLeft: string;
lineUpLeftBold: string;
lineUpDoubleLeftDouble: string;
lineUpDoubleLeft: string;
lineUpLeftDouble: string;
lineUpRight: string;
lineUpRightArc: string;
lineUpBoldRightBold: string;
lineUpBoldRight: string;
lineUpRightBold: string;
lineUpDoubleRightDouble: string;
lineUpDoubleRight: string;
lineUpRightDouble: string;
lineUpDownLeft: string;
lineUpBoldDownBoldLeftBold: string;
lineUpBoldDownBoldLeft: string;
lineUpDownLeftBold: string;
lineUpBoldDownLeftBold: string;
lineUpDownBoldLeftBold: string;
lineUpDownBoldLeft: string;
lineUpBoldDownLeft: string;
lineUpDoubleDownDoubleLeftDouble: string;
lineUpDoubleDownDoubleLeft: string;
lineUpDownLeftDouble: string;
lineUpDownRight: string;
lineUpBoldDownBoldRightBold: string;
lineUpBoldDownBoldRight: string;
lineUpDownRightBold: string;
lineUpBoldDownRightBold: string;
lineUpDownBoldRightBold: string;
lineUpDownBoldRight: string;
lineUpBoldDownRight: string;
lineUpDoubleDownDoubleRightDouble: string;
lineUpDoubleDownDoubleRight: string;
lineUpDownRightDouble: string;
lineDownLeftRight: string;
lineDownBoldLeftBoldRightBold: string;
lineDownLeftBoldRightBold: string;
lineDownBoldLeftRight: string;
lineDownBoldLeftBoldRight: string;
lineDownBoldLeftRightBold: string;
lineDownLeftRightBold: string;
lineDownLeftBoldRight: string;
lineDownDoubleLeftDoubleRightDouble: string;
lineDownDoubleLeftRight: string;
lineDownLeftDoubleRightDouble: string;
lineUpLeftRight: string;
lineUpBoldLeftBoldRightBold: string;
lineUpLeftBoldRightBold: string;
lineUpBoldLeftRight: string;
lineUpBoldLeftBoldRight: string;
lineUpBoldLeftRightBold: string;
lineUpLeftRightBold: string;
lineUpLeftBoldRight: string;
lineUpDoubleLeftDoubleRightDouble: string;
lineUpDoubleLeftRight: string;
lineUpLeftDoubleRightDouble: string;
lineUpDownLeftRight: string;
lineUpBoldDownBoldLeftBoldRightBold: string;
lineUpDownBoldLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRightBold: string;
lineUpBoldDownBoldLeftRightBold: string;
lineUpBoldDownBoldLeftBoldRight: string;
lineUpBoldDownLeftRight: string;
lineUpDownBoldLeftRight: string;
lineUpDownLeftBoldRight: string;
lineUpDownLeftRightBold: string;
lineUpBoldDownBoldLeftRight: string;
lineUpDownLeftBoldRightBold: string;
lineUpBoldDownLeftBoldRight: string;
lineUpBoldDownLeftRightBold: string;
lineUpDownBoldLeftBoldRight: string;
lineUpDownBoldLeftRightBold: string;
lineUpDoubleDownDoubleLeftDoubleRightDouble: string;
lineUpDoubleDownDoubleLeftRight: string;
lineUpDownLeftDoubleRightDouble: string;
lineCross: string;
lineBackslash: string;
lineSlash: string;
} | Record<string, string>;
export default figures;
export declare const replaceSymbols: (string: string, { useFallback }?: {
useFallback?: boolean | undefined;
}) => string;

309
node_modules/@inquirer/figures/dist/esm/index.js generated vendored Normal file
View file

@ -0,0 +1,309 @@
// process.env dot-notation access prints:
// Property 'TERM' comes from an index signature, so it must be accessed with ['TERM'].ts(4111)
/* eslint dot-notation: ["off"] */
import process from 'node:process';
// Ported from is-unicode-supported
function isUnicodeSupported() {
if (process.platform !== 'win32') {
return process.env['TERM'] !== 'linux'; // Linux console (kernel)
}
return (Boolean(process.env['WT_SESSION']) || // Windows Terminal
Boolean(process.env['TERMINUS_SUBLIME']) || // Terminus (<0.2.27)
process.env['ConEmuTask'] === '{cmd::Cmder}' || // ConEmu and cmder
process.env['TERM_PROGRAM'] === 'Terminus-Sublime' ||
process.env['TERM_PROGRAM'] === 'vscode' ||
process.env['TERM'] === 'xterm-256color' ||
process.env['TERM'] === 'alacritty' ||
process.env['TERMINAL_EMULATOR'] === 'JetBrains-JediTerm');
}
// Ported from figures
const common = {
circleQuestionMark: '(?)',
questionMarkPrefix: '(?)',
square: '█',
squareDarkShade: '▓',
squareMediumShade: '▒',
squareLightShade: '░',
squareTop: '▀',
squareBottom: '▄',
squareLeft: '▌',
squareRight: '▐',
squareCenter: '■',
bullet: '●',
dot: '',
ellipsis: '…',
pointerSmall: '',
triangleUp: '▲',
triangleUpSmall: '▴',
triangleDown: '▼',
triangleDownSmall: '▾',
triangleLeftSmall: '◂',
triangleRightSmall: '▸',
home: '⌂',
heart: '♥',
musicNote: '♪',
musicNoteBeamed: '♫',
arrowUp: '↑',
arrowDown: '↓',
arrowLeft: '←',
arrowRight: '→',
arrowLeftRight: '↔',
arrowUpDown: '↕',
almostEqual: '≈',
notEqual: '≠',
lessOrEqual: '≤',
greaterOrEqual: '≥',
identical: '≡',
infinity: '∞',
subscriptZero: '₀',
subscriptOne: '₁',
subscriptTwo: '₂',
subscriptThree: '₃',
subscriptFour: '₄',
subscriptFive: '₅',
subscriptSix: '₆',
subscriptSeven: '₇',
subscriptEight: '₈',
subscriptNine: '₉',
oneHalf: '½',
oneThird: '⅓',
oneQuarter: '¼',
oneFifth: '⅕',
oneSixth: '⅙',
oneEighth: '⅛',
twoThirds: '⅔',
twoFifths: '⅖',
threeQuarters: '¾',
threeFifths: '⅗',
threeEighths: '⅜',
fourFifths: '⅘',
fiveSixths: '⅚',
fiveEighths: '⅝',
sevenEighths: '⅞',
line: '─',
lineBold: '━',
lineDouble: '═',
lineDashed0: '┄',
lineDashed1: '┅',
lineDashed2: '┈',
lineDashed3: '┉',
lineDashed4: '╌',
lineDashed5: '╍',
lineDashed6: '╴',
lineDashed7: '╶',
lineDashed8: '╸',
lineDashed9: '╺',
lineDashed10: '╼',
lineDashed11: '╾',
lineDashed12: '',
lineDashed13: '',
lineDashed14: '',
lineDashed15: '',
lineVertical: '│',
lineVerticalBold: '┃',
lineVerticalDouble: '║',
lineVerticalDashed0: '┆',
lineVerticalDashed1: '┇',
lineVerticalDashed2: '┊',
lineVerticalDashed3: '┋',
lineVerticalDashed4: '╎',
lineVerticalDashed5: '╏',
lineVerticalDashed6: '╵',
lineVerticalDashed7: '╷',
lineVerticalDashed8: '╹',
lineVerticalDashed9: '╻',
lineVerticalDashed10: '╽',
lineVerticalDashed11: '╿',
lineDownLeft: '┐',
lineDownLeftArc: '╮',
lineDownBoldLeftBold: '┓',
lineDownBoldLeft: '┒',
lineDownLeftBold: '┑',
lineDownDoubleLeftDouble: '╗',
lineDownDoubleLeft: '╖',
lineDownLeftDouble: '╕',
lineDownRight: '┌',
lineDownRightArc: '╭',
lineDownBoldRightBold: '┏',
lineDownBoldRight: '┎',
lineDownRightBold: '┍',
lineDownDoubleRightDouble: '╔',
lineDownDoubleRight: '╓',
lineDownRightDouble: '╒',
lineUpLeft: '┘',
lineUpLeftArc: '╯',
lineUpBoldLeftBold: '┛',
lineUpBoldLeft: '┚',
lineUpLeftBold: '┙',
lineUpDoubleLeftDouble: '╝',
lineUpDoubleLeft: '╜',
lineUpLeftDouble: '╛',
lineUpRight: '└',
lineUpRightArc: '╰',
lineUpBoldRightBold: '┗',
lineUpBoldRight: '┖',
lineUpRightBold: '┕',
lineUpDoubleRightDouble: '╚',
lineUpDoubleRight: '╙',
lineUpRightDouble: '╘',
lineUpDownLeft: '┤',
lineUpBoldDownBoldLeftBold: '┫',
lineUpBoldDownBoldLeft: '┨',
lineUpDownLeftBold: '┥',
lineUpBoldDownLeftBold: '┩',
lineUpDownBoldLeftBold: '┪',
lineUpDownBoldLeft: '┧',
lineUpBoldDownLeft: '┦',
lineUpDoubleDownDoubleLeftDouble: '╣',
lineUpDoubleDownDoubleLeft: '╢',
lineUpDownLeftDouble: '╡',
lineUpDownRight: '├',
lineUpBoldDownBoldRightBold: '┣',
lineUpBoldDownBoldRight: '┠',
lineUpDownRightBold: '┝',
lineUpBoldDownRightBold: '┡',
lineUpDownBoldRightBold: '┢',
lineUpDownBoldRight: '┟',
lineUpBoldDownRight: '┞',
lineUpDoubleDownDoubleRightDouble: '╠',
lineUpDoubleDownDoubleRight: '╟',
lineUpDownRightDouble: '╞',
lineDownLeftRight: '┬',
lineDownBoldLeftBoldRightBold: '┳',
lineDownLeftBoldRightBold: '┯',
lineDownBoldLeftRight: '┰',
lineDownBoldLeftBoldRight: '┱',
lineDownBoldLeftRightBold: '┲',
lineDownLeftRightBold: '┮',
lineDownLeftBoldRight: '┭',
lineDownDoubleLeftDoubleRightDouble: '╦',
lineDownDoubleLeftRight: '╥',
lineDownLeftDoubleRightDouble: '╤',
lineUpLeftRight: '┴',
lineUpBoldLeftBoldRightBold: '┻',
lineUpLeftBoldRightBold: '┷',
lineUpBoldLeftRight: '┸',
lineUpBoldLeftBoldRight: '┹',
lineUpBoldLeftRightBold: '┺',
lineUpLeftRightBold: '┶',
lineUpLeftBoldRight: '┵',
lineUpDoubleLeftDoubleRightDouble: '╩',
lineUpDoubleLeftRight: '╨',
lineUpLeftDoubleRightDouble: '╧',
lineUpDownLeftRight: '┼',
lineUpBoldDownBoldLeftBoldRightBold: '╋',
lineUpDownBoldLeftBoldRightBold: '╈',
lineUpBoldDownLeftBoldRightBold: '╇',
lineUpBoldDownBoldLeftRightBold: '╊',
lineUpBoldDownBoldLeftBoldRight: '╉',
lineUpBoldDownLeftRight: '╀',
lineUpDownBoldLeftRight: '╁',
lineUpDownLeftBoldRight: '┽',
lineUpDownLeftRightBold: '┾',
lineUpBoldDownBoldLeftRight: '╂',
lineUpDownLeftBoldRightBold: '┿',
lineUpBoldDownLeftBoldRight: '╃',
lineUpBoldDownLeftRightBold: '╄',
lineUpDownBoldLeftBoldRight: '╅',
lineUpDownBoldLeftRightBold: '╆',
lineUpDoubleDownDoubleLeftDoubleRightDouble: '╬',
lineUpDoubleDownDoubleLeftRight: '╫',
lineUpDownLeftDoubleRightDouble: '╪',
lineCross: '',
lineBackslash: '╲',
lineSlash: '',
};
const specialMainSymbols = {
tick: '✔',
info: '',
warning: '⚠',
cross: '✘',
squareSmall: '◻',
squareSmallFilled: '◼',
circle: '◯',
circleFilled: '◉',
circleDotted: '◌',
circleDouble: '◎',
circleCircle: 'ⓞ',
circleCross: 'ⓧ',
circlePipe: 'Ⓘ',
radioOn: '◉',
radioOff: '◯',
checkboxOn: '☒',
checkboxOff: '☐',
checkboxCircleOn: 'ⓧ',
checkboxCircleOff: 'Ⓘ',
pointer: '',
triangleUpOutline: '△',
triangleLeft: '◀',
triangleRight: '▶',
lozenge: '◆',
lozengeOutline: '◇',
hamburger: '☰',
smiley: '㋡',
mustache: '෴',
star: '★',
play: '▶',
nodejs: '⬢',
oneSeventh: '⅐',
oneNinth: '⅑',
oneTenth: '⅒',
};
const specialFallbackSymbols = {
tick: '√',
info: 'i',
warning: '‼',
cross: '×',
squareSmall: '□',
squareSmallFilled: '■',
circle: '( )',
circleFilled: '(*)',
circleDotted: '( )',
circleDouble: '( )',
circleCircle: '(○)',
circleCross: '(×)',
circlePipe: '(│)',
radioOn: '(*)',
radioOff: '( )',
checkboxOn: '[×]',
checkboxOff: '[ ]',
checkboxCircleOn: '(×)',
checkboxCircleOff: '( )',
pointer: '>',
triangleUpOutline: '∆',
triangleLeft: '◄',
triangleRight: '►',
lozenge: '♦',
lozengeOutline: '◊',
hamburger: '≡',
smiley: '☺',
mustache: '┌─┐',
star: '✶',
play: '►',
nodejs: '♦',
oneSeventh: '1/7',
oneNinth: '1/9',
oneTenth: '1/10',
};
export const mainSymbols = { ...common, ...specialMainSymbols };
export const fallbackSymbols = {
...common,
...specialFallbackSymbols,
};
const shouldUseMain = isUnicodeSupported();
const figures = shouldUseMain ? mainSymbols : fallbackSymbols;
export default figures;
const replacements = Object.entries(specialMainSymbols);
// On terminals which do not support Unicode symbols, substitute them to other symbols
export const replaceSymbols = (string, { useFallback = !shouldUseMain } = {}) => {
if (useFallback) {
for (const [key, mainSymbol] of replacements) {
const fallbackSymbol = fallbackSymbols[key];
if (!fallbackSymbol) {
throw new Error(`Unable to find fallback for ${key}`);
}
string = string.replaceAll(mainSymbol, fallbackSymbol);
}
}
return string;
};

3
node_modules/@inquirer/figures/dist/esm/package.json generated vendored Normal file
View file

@ -0,0 +1,3 @@
{
"type": "module"
}

95
node_modules/@inquirer/figures/package.json generated vendored Normal file
View file

@ -0,0 +1,95 @@
{
"name": "@inquirer/figures",
"version": "1.0.7",
"description": "Vendored version of figures, for CJS compatibility",
"keywords": [
"answer",
"answers",
"ask",
"base",
"cli",
"command",
"command-line",
"confirm",
"enquirer",
"generate",
"generator",
"hyper",
"input",
"inquire",
"inquirer",
"interface",
"iterm",
"javascript",
"menu",
"node",
"nodejs",
"prompt",
"promptly",
"prompts",
"question",
"readline",
"scaffold",
"scaffolder",
"scaffolding",
"stdin",
"stdout",
"terminal",
"tty",
"ui",
"yeoman",
"yo",
"zsh",
"types",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/SBoudrias/Inquirer.js.git"
},
"license": "MIT",
"author": "Simon Boudrias <admin@simonboudrias.com>",
"sideEffects": false,
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"files": [
"dist"
],
"scripts": {
"attw": "attw --pack",
"tsc": "tshy"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@repo/tsconfig": "workspace:*",
"tshy": "^3.0.2"
},
"engines": {
"node": ">=18"
},
"tshy": {
"exclude": [
"src/**/*.test.ts"
],
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"gitHead": "483189975eb5ea7d214c265a5ce108544c2bf1a5"
}