Convert typings tests to tsd (#1453)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Get started with tsd for stricter test of TypeScript typings * Convert typings tests to use tsd (rather than tsc) * Fix typo
authored by John Gee · committed by GitHub · parent a28a89b · Browse files · 5 files·+1034 added−348 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+1034 added−348 removed
- other:+1034 added−348 removed
Provenance
- Commit
02b40ec- Tree
b2a20e2- Author
John Gee <john@ruru.gen.nz>- Committer
GitHub <noreply@github.com>- Parent
a28a89b
5 files changed+1034 added−348 removed
deleted:typings/commander-tests.ts-342 removed
1-import * as commander from './index';2-3-// Test Commander usage with TypeScript.4-// This is NOT a usable program, just used to test for compile errors!5-6-// We declare lots of variables just to check types of right-side of expression, so disable this:7-/* eslint-disable @typescript-eslint/no-unused-vars */8-9-// This conflicts with esline rule saying no space!10-/* eslint-disable @typescript-eslint/space-before-function-paren */11-12-const program: commander.Command = new commander.Command();13-// program.silly; // <-- Error, hurrah!14-15-// Check for exported global Command objects16-const importedDefaultProgram: commander.Command = commander;17-const importedExplicitProgram: commander.Command = commander.program;18-19-// Check export classes exist20-const commandInstance1 = new commander.Command();21-const commandInstance2 = new commander.Command('name');22-const optionsInstance = new commander.Option('-f');23-const errorInstance = new commander.CommanderError(1, 'code', 'message');24-const invalidOptionErrorInstance = new commander.InvalidOptionArgumentError('message');25-26-// Command properties27-const theArgs: string[] = program.args;28-const theCommands: commander.Command[] = program.commands;29-30-// version31-const versionThis1: commander.Command = program.version('1.2.3');32-const versionThis2: commander.Command = program.version('1.2.3', '-r,--revision');33-const versionThis3: commander.Command = program.version('1.2.3', '-r,--revision', 'show revision information');34-35-// command (and CommandOptions)36-const commandNew1: commander.Command = program.command('action');37-const commandNew2: commander.Command = program.command('action', { isDefault: true, hidden: true, noHelp: true });38-const commandThis1: commander.Command = program.command('exec', 'exec description');39-const commandThis2: commander.Command = program.command('exec', 'exec description', { isDefault: true, hidden: true, noHelp: true, executableFile: 'foo' });40-41-// addCommand42-const addCommandThis: commander.Command = program.addCommand(new commander.Command('abc'));43-44-// arguments45-const argumentsThis: commander.Command = program.arguments('<cmd> [env]');46-47-// addHelpCommand48-const addHelpCommandThis1: commander.Command = program.addHelpCommand();49-const addHelpCommandThis3: commander.Command = program.addHelpCommand(false);50-const addHelpCommandThis2: commander.Command = program.addHelpCommand(true);51-const addHelpCommandThis4: commander.Command = program.addHelpCommand('compress <file>');52-const addHelpCommandThis5: commander.Command = program.addHelpCommand('compress <file>', 'compress target file');53-54-// exitOverride55-const exitThis1: commander.Command = program.exitOverride();56-const exitThis2: commander.Command = program.exitOverride((err): never => {57- return process.exit(err.exitCode);58-});59-const exitThis3: commander.Command = program.exitOverride((err): void => {60- if (err.code !== 'commander.executeSubCommandAsync') {61- throw err;62- } else {63- // Async callback from spawn events, not useful to throw.64- }65-});66-67-// action68-const actionThis1: commander.Command = program.action(() => {69- // do nothing.70-});71-const actionThis2: commander.Command = program.action(async() => {72- // do nothing.73-});74-75-// option76-const optionThis1: commander.Command = program.option('-a,--alpha');77-const optionThis2: commander.Command = program.option('-p, --peppers', 'Add peppers');78-const optionThis3: commander.Command = program.option('-s, --string [value]', 'default string', 'value');79-const optionThis4: commander.Command = program.option('-b, --boolean', 'default boolean', false);80-program.option('--drink <size', 'drink size', /small|medium|large/);81-82-// example coercion functions from README83-84-function myParseInt(value: string, dummyPrevious: number): number {85- return parseInt(value);86-}87-88-function increaseVerbosity(dummyValue: string, previous: number): number {89- return previous + 1;90-}91-92-function collect(value: string, previous: string[]): string[] {93- return previous.concat([value]);94-}95-96-function commaSeparatedList(value: string, dummyPrevious: string[]): string[] {97- return value.split(',');98-}99-100-const optionThis5: commander.Command = program.option('-f, --float <number>', 'float argument', parseFloat);101-const optionThis6: commander.Command = program.option('-f, --float <number>', 'float argument', parseFloat, 3.2);102-const optionThis7: commander.Command = program.option('-i, --integer <number>', 'integer argument', myParseInt);103-const optionThis8: commander.Command = program.option('-i, --integer <number>', 'integer argument', myParseInt, 5);104-const optionThis9: commander.Command = program.option('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0);105-const optionThis10: commander.Command = program.option('-c, --collect <value>', 'repeatable value', collect, []);106-const optionThis11: commander.Command = program.option('-l, --list <items>', 'comma separated list', commaSeparatedList);107-108-// requiredOption, same tests as option109-const requiredOptionThis1: commander.Command = program.requiredOption('-a,--alpha');110-const requiredOptionThis2: commander.Command = program.requiredOption('-p, --peppers', 'Add peppers');111-const requiredOptionThis3: commander.Command = program.requiredOption('-s, --string [value]', 'default string', 'value');112-const requiredOptionThis4: commander.Command = program.requiredOption('-b, --boolean', 'default boolean', false);113-program.requiredOption('--drink <size', 'drink size', /small|medium|large/);114-115-const requiredOptionThis5: commander.Command = program.requiredOption('-f, --float <number>', 'float argument', parseFloat);116-const requiredOptionThis6: commander.Command = program.requiredOption('-f, --float <number>', 'float argument', parseFloat, 3.2);117-const requiredOptionThis7: commander.Command = program.requiredOption('-i, --integer <number>', 'integer argument', myParseInt);118-const requiredOptionThis8: commander.Command = program.requiredOption('-i, --integer <number>', 'integer argument', myParseInt, 5);119-const requiredOptionThis9: commander.Command = program.requiredOption('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0);120-const requiredOptionThis10: commander.Command = program.requiredOption('-c, --collect <value>', 'repeatable value', collect, []);121-const requiredOptionThis11: commander.Command = program.requiredOption('-l, --list <items>', 'comma separated list', commaSeparatedList);122-123-// createOption124-const createOption1: commander.Option = program.createOption('a, --alpha');125-const createOption2: commander.Option = program.createOption('a, --alpha', 'description');126-127-// addOption128-const addOptionThis: commander.Command = program.addOption(new commander.Option('-s,--simple'));129-130-// storeOptionsAsProperties131-// chaining132-const storeOptionsAsPropertiesThis1: commander.Command = program.storeOptionsAsProperties();133-const storeOptionsAsPropertiesThis2: commander.Command = program.storeOptionsAsProperties(false);134-// return type depends on parameter135-const storeOptionsAsPropertiesThis3 = program.storeOptionsAsProperties();136-const storeOptionsAsPropertiesValue3 = storeOptionsAsPropertiesThis3.someOption;137-const storeOptionsAsPropertiesThis4 = program.storeOptionsAsProperties(true);138-const storeOptionsAsPropertiesValue4 = storeOptionsAsPropertiesThis4.someOption;139-const storeOptionsAsPropertiesThis5 = program.storeOptionsAsProperties(false);140-// const storeOptionsAsPropertiesValue5 = storeOptionsAsPropertiesThis5.someOption; // error141-142-// combineFlagAndOptionalValue143-const combineFlagAndOptionalValueThis1: commander.Command = program.combineFlagAndOptionalValue();144-const combineFlagAndOptionalValueThis2: commander.Command = program.combineFlagAndOptionalValue(false);145-146-// allowUnknownOption147-const allowUnknownOptionThis1: commander.Command = program.allowUnknownOption();148-const allowUnknownOptionThis2: commander.Command = program.allowUnknownOption(false);149-150-// allowExcessArguments151-const allowExcessArgumentsThis1: commander.Command = program.allowExcessArguments();152-const allowExcessArgumentsThis2: commander.Command = program.allowExcessArguments(false);153-154-// enablePositionalOptions155-const enablePositionalOptionsThis1: commander.Command = program.enablePositionalOptions();156-const enablePositionalOptionsThis2: commander.Command = program.enablePositionalOptions(false);157-158-// passThroughOptions159-const passThroughOptionsThis1: commander.Command = program.passThroughOptions();160-const passThroughOptionsThis2: commander.Command = program.passThroughOptions(false);161-162-// parse163-const parseThis1: commander.Command = program.parse();164-const parseThis2: commander.Command = program.parse(process.argv);165-const parseThis3: commander.Command = program.parse(['node', 'script.js'], { from: 'node' });166-const parseThis4: commander.Command = program.parse(['node', 'script.js'], { from: 'electron' });167-const parseThis5: commander.Command = program.parse(['--option'], { from: 'user' });168-169-// parseAsync, same tests as parse170-const parseAsyncThis1: Promise<commander.Command> = program.parseAsync();171-const parseAsyncThis2: Promise<commander.Command> = program.parseAsync(process.argv);172-const parseAsyncThis3: Promise<commander.Command> = program.parseAsync(['node', 'script.js'], { from: 'node' });173-const parseAsyncThis4: Promise<commander.Command> = program.parseAsync(['node', 'script.js'], { from: 'electron' });174-const parseAsyncThis5: Promise<commander.Command> = program.parseAsync(['--option'], { from: 'user' });175-176-// parseOptions (and ParseOptionsResult)177-const { operands, unknown } = program.parseOptions(['node', 'script.js', 'hello']);178-179-// opts180-const opts = program.opts();181-const optsVal1 = opts.foo;182-// eslint-disable-next-line @typescript-eslint/dot-notation183-const opstVale2 = opts['bar'];184-185-// description186-const descriptionThis: commander.Command = program.description('my description');187-const descriptionValue: string = program.description();188-189-// alias190-const aliasThis: commander.Command = program.alias('my alias');191-const aliasValue: string = program.alias();192-193-// aliases194-const aliasesThis: commander.Command = program.aliases(['first-alias', 'second-alias']);195-const aliasesValue: string[] = program.aliases();196-197-// usage198-const usageThis: commander.Command = program.usage('my usage');199-const usageValue: string = program.usage();200-201-// name202-const nameThis: commander.Command = program.name('my-name');203-const nameValue: string = program.name();204-205-// outputHelp206-program.outputHelp();207-program.outputHelp((str: string) => { return str; });208-program.outputHelp({ error: true });209-210-// help211-program.help();212-program.help((str: string) => { return str; });213-program.help({ error: true });214-215-// helpInformation216-const helpInformnationValue: string = program.helpInformation();217-const helpInformnationValue2: string = program.helpInformation({ error: true });218-219-// helpOption220-const helpOptionThis1: commander.Command = program.helpOption('-h,--help');221-const helpOptionThis2: commander.Command = program.helpOption('-h,--help', 'custom description');222-const helpOptionThis3: commander.Command = program.helpOption(undefined, 'custom description');223-const helpOptionThis4: commander.Command = program.helpOption(false);224-225-// addHelpText226-const addHelpTextThis1: commander.Command = program.addHelpText('after', 'text');227-const addHelpTextThis2: commander.Command = program.addHelpText('afterAll', 'text');228-const addHelpTextThis3: commander.Command = program.addHelpText('before', () => 'before');229-const addHelpTextThis4: commander.Command = program.addHelpText('beforeAll', (context: commander.AddHelpTextContext) => {230- if (context.error) {231- return; // Can return nothing to skip display232- }233- return context.command.name();234-});235-236-// on237-const onThis: commander.Command = program.on('command:foo', () => {238- // do nothing.239-});240-241-// createCommand242-243-const createInstance2: commander.Command = program.createCommand('name');244-245-class MyCommand extends commander.Command {246- createCommand(name?: string): MyCommand {247- return new MyCommand(name);248- }249-250- myFunction(): void {251- // do nothing.252- }253-}254-const myProgram = new MyCommand();255-myProgram.myFunction();256-const mySub = myProgram.command('sub');257-mySub.myFunction();258-259-// configureHelp260-261-const createHelpInstance: commander.Help = program.createHelp();262-const configureHelpThis: commander.Command = program.configureHelp({263- sortSubcommands: true, // override property264- visibleCommands: (cmd: commander.Command) => [] // override method265-});266-const helpConfiguration: commander.HelpConfiguration = program.configureHelp();267-268-// configureOutput269-const configureOutputThis: commander.Command = program.configureOutput({ });270-const configureOutputConfig: commander.OutputConfiguration = program.configureOutput();271-272-program.configureOutput({273- writeOut: (str: string) => console.log(str),274- writeErr: (str: string) => console.error(str),275- getOutHelpWidth: () => 80,276- getErrHelpWidth: () => 80,277- outputError: (str: string, write: (str: string) => void) => { write(str); }278-});279-280-// Help281-const helper = new commander.Help();282-const helperCommand = new commander.Command();283-const helperOption = new commander.Option('-a, --all');284-285-helper.helpWidth = 3;286-helper.sortSubcommands = true;287-helper.sortOptions = false;288-289-const subcommandTermStr: string = helper.subcommandTerm(helperCommand);290-const commandUsageStr: string = helper.commandUsage(helperCommand);291-const commandDescriptionStr: string = helper.commandDescription(helperCommand);292-const subcommandDescriptionStr: string = helper.subcommandDescription(helperCommand);293-const optionTermStr: string = helper.optionTerm(helperOption);294-const optionDescriptionStr: string = helper.optionDescription(helperOption);295-296-const visibleCommands: commander.Command[] = helper.visibleCommands(helperCommand);297-const visibleOptions: commander.Option[] = helper.visibleOptions(helperCommand);298-const visibleArguments: Array<{ term: string; description: string}> = helper.visibleArguments(helperCommand);299-300-const widestCommand: number = helper.longestSubcommandTermLength(helperCommand, helper);301-const widestOption: number = helper.longestOptionTermLength(helperCommand, helper);302-const widestArgument: number = helper.longestArgumentTermLength(helperCommand, helper);303-const widest: number = helper.padWidth(helperCommand, helper);304-305-const wrapped: string = helper.wrap('a b c', 50, 3);306-307-const formatted: string = helper.formatHelp(helperCommand, helper);308-309-// Option methods310-311-const baseOption = new commander.Option('-f,--foo', 'foo description');312-313-// default314-const myOptionThis1: commander.Option = baseOption.default(3);315-const myOptionThis2: commander.Option = baseOption.default(60, 'one minute');316-317-// fullDescription318-const optionDescription: string = baseOption.fullDescription();319-320-// argParser321-const myOptionThis3: commander.Option = baseOption.argParser((value: string) => parseInt(value));322-const myOptionThis4: commander.Option = baseOption.argParser((value: string, previous: string[]) => { return previous.concat(value); });323-324-// makeOptionMandatory325-const myOptionThis5: commander.Option = baseOption.makeOptionMandatory();326-const myOptionThis6: commander.Option = baseOption.makeOptionMandatory(true);327-328-// hideHelp329-const hideHelpThis1: commander.Option = baseOption.hideHelp();330-const hideHelpThis2: commander.Option = baseOption.hideHelp(true);331-const hideHelpThis3: commander.Option = baseOption.hideHelp(false);332-333-// argumentRejected334-function goodbye(): never {335- return baseOption.argumentRejected('failed');336-}337-338-// choices339-const choicesThis: commander.Option = baseOption.choices(['a', 'b']);340-341-// name342-const optionName: string = baseOption.name();added:typings/index.test-d.ts+325 added
1+import * as commander from './index';2+import {expectType, expectAssignable} from 'tsd';3+4+// We are are not just checking return types here, we are also implicitly checking that the expected syntax is allowed.5+6+const program: commander.Command = new commander.Command();7+// program.silly; // <-- Error, hurrah!8+9+// Check for exported global Command object(s)10+expectAssignable<commander.Command>(commander); // legacy default export of program11+expectType<commander.Command>(commander.program);12+13+// Check export classes and functions exist14+expectType<commander.Command>(new commander.Command());15+expectType<commander.Command>(new commander.Command('name'));16+expectType<commander.Option>(new commander.Option('-f'));17+expectType<commander.CommanderError>(new commander.CommanderError(1, 'code', 'message'));18+expectType<commander.InvalidOptionArgumentError>(new commander.InvalidOptionArgumentError('message'));19+expectType<commander.Command>(commander.createCommand());20+21+// Command properties22+expectType<string[]>(program.args);23+expectType<commander.Command[]>(program.commands);24+25+// version26+expectType<commander.Command>(program.version('1.2.3'));27+expectType<commander.Command>(program.version('1.2.3', '-r,--revision'));28+expectType<commander.Command>(program.version('1.2.3', '-r,--revision', 'show revision information'));29+30+// command (and CommandOptions)31+expectType<commander.Command>(program.command('action'));32+expectType<commander.Command>(program.command('action', { isDefault: true, hidden: true, noHelp: true }));33+expectType<commander.Command>(program.command('exec', 'exec description'));34+expectType<commander.Command>(program.command('exec', 'exec description', { isDefault: true, hidden: true, noHelp: true, executableFile: 'foo' }));35+36+// addCommand37+expectType<commander.Command>(program.addCommand(new commander.Command('abc')));38+39+// arguments40+expectType<commander.Command>(program.arguments('<cmd> [env]'));41+42+// addHelpCommand43+expectType<commander.Command>(program.addHelpCommand());44+expectType<commander.Command>(program.addHelpCommand(false));45+expectType<commander.Command>(program.addHelpCommand(true));46+expectType<commander.Command>(program.addHelpCommand('compress <file>'));47+expectType<commander.Command>(program.addHelpCommand('compress <file>', 'compress target file'));48+49+// exitOverride50+expectType<commander.Command>(program.exitOverride());51+expectType<commander.Command>(program.exitOverride((err): never => {52+ return process.exit(err.exitCode);53+}));54+expectType<commander.Command>(program.exitOverride((err): void => {55+ if (err.code !== 'commander.executeSubCommandAsync') {56+ throw err;57+ } else {58+ // Async callback from spawn events, not useful to throw.59+ }60+}));61+62+// action63+expectType<commander.Command>(program.action(() => {64+ // do nothing.65+}));66+expectType<commander.Command>(program.action(async() => {67+ // do nothing.68+}));69+70+// option71+expectType<commander.Command>(program.option('-a,--alpha'));72+expectType<commander.Command>(program.option('-p, --peppers', 'Add peppers'));73+expectType<commander.Command>(program.option('-s, --string [value]', 'default string', 'value'));74+expectType<commander.Command>(program.option('-b, --boolean', 'default boolean', false));75+expectType<commander.Command>(program.option('--drink <size', 'drink size', /small|medium|large/)); // deprecated76+77+// example coercion functions from README78+79+function myParseInt(value: string): number {80+ return parseInt(value);81+}82+83+function increaseVerbosity(dummyValue: string, previous: number): number {84+ return previous + 1;85+}86+87+function collect(value: string, previous: string[]): string[] {88+ return previous.concat([value]);89+}90+91+function commaSeparatedList(value: string): string[] {92+ return value.split(',');93+}94+95+expectType<commander.Command>(program.option('-f, --float <number>', 'float argument', parseFloat));96+expectType<commander.Command>(program.option('-f, --float <number>', 'float argument', parseFloat, 3.2));97+expectType<commander.Command>(program.option('-i, --integer <number>', 'integer argument', myParseInt));98+expectType<commander.Command>(program.option('-i, --integer <number>', 'integer argument', myParseInt, 5));99+expectType<commander.Command>(program.option('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0));100+expectType<commander.Command>(program.option('-c, --collect <value>', 'repeatable value', collect, []));101+expectType<commander.Command>(program.option('-l, --list <items>', 'comma separated list', commaSeparatedList));102+103+// requiredOption, same tests as option104+expectType<commander.Command>(program.requiredOption('-a,--alpha'));105+expectType<commander.Command>(program.requiredOption('-p, --peppers', 'Add peppers'));106+expectType<commander.Command>(program.requiredOption('-s, --string [value]', 'default string', 'value'));107+expectType<commander.Command>(program.requiredOption('-b, --boolean', 'default boolean', false));108+expectType<commander.Command>(program.requiredOption('--drink <size', 'drink size', /small|medium|large/)); // deprecated109+110+expectType<commander.Command>(program.requiredOption('-f, --float <number>', 'float argument', parseFloat));111+expectType<commander.Command>(program.requiredOption('-f, --float <number>', 'float argument', parseFloat, 3.2));112+expectType<commander.Command>(program.requiredOption('-i, --integer <number>', 'integer argument', myParseInt));113+expectType<commander.Command>(program.requiredOption('-i, --integer <number>', 'integer argument', myParseInt, 5));114+expectType<commander.Command>(program.requiredOption('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0));115+expectType<commander.Command>(program.requiredOption('-c, --collect <value>', 'repeatable value', collect, []));116+expectType<commander.Command>(program.requiredOption('-l, --list <items>', 'comma separated list', commaSeparatedList));117+118+// createOption119+expectType<commander.Option>(program.createOption('a, --alpha'));120+expectType<commander.Option>(program.createOption('a, --alpha', 'description'));121+122+// addOption123+expectType<commander.Command>(program.addOption(new commander.Option('-s,--simple')));124+125+// storeOptionsAsProperties126+expectType<commander.Command & commander.OptionValues>(program.storeOptionsAsProperties());127+expectType<commander.Command & commander.OptionValues>(program.storeOptionsAsProperties(true));128+expectType<commander.Command>(program.storeOptionsAsProperties(false));129+130+// combineFlagAndOptionalValue131+expectType<commander.Command>(program.combineFlagAndOptionalValue());132+expectType<commander.Command>(program.combineFlagAndOptionalValue(false));133+134+// allowUnknownOption135+expectType<commander.Command>(program.allowUnknownOption());136+expectType<commander.Command>(program.allowUnknownOption(false));137+138+// allowExcessArguments139+expectType<commander.Command>(program.allowExcessArguments());140+expectType<commander.Command>(program.allowExcessArguments(false));141+142+// enablePositionalOptions143+expectType<commander.Command>(program.enablePositionalOptions());144+expectType<commander.Command>(program.enablePositionalOptions(false));145+146+// passThroughOptions147+expectType<commander.Command>(program.passThroughOptions());148+expectType<commander.Command>(program.passThroughOptions(false));149+150+// parse151+expectType<commander.Command>(program.parse());152+expectType<commander.Command>(program.parse(process.argv));153+expectType<commander.Command>(program.parse(['node', 'script.js'], { from: 'node' }));154+expectType<commander.Command>(program.parse(['node', 'script.js'], { from: 'electron' }));155+expectType<commander.Command>(program.parse(['--option'], { from: 'user' }));156+157+// parseAsync, same tests as parse158+expectType<Promise<commander.Command>>(program.parseAsync());159+expectType<Promise<commander.Command>>(program.parseAsync(process.argv));160+expectType<Promise<commander.Command>>(program.parseAsync(['node', 'script.js'], { from: 'node' }));161+expectType<Promise<commander.Command>>(program.parseAsync(['node', 'script.js'], { from: 'electron' }));162+expectType<Promise<commander.Command>>(program.parseAsync(['--option'], { from: 'user' }));163+164+// parseOptions (and ParseOptionsResult)165+expectType<{operands: string[]; unknown: string[]}>(program.parseOptions(['node', 'script.js', 'hello']));166+167+// opts168+const opts = program.opts();169+expectType<commander.OptionValues>(opts);170+expectType(opts.foo);171+expectType(opts['bar']);172+173+// description174+expectType<commander.Command>(program.description('my description'));175+expectType<string>(program.description());176+177+// alias178+expectType<commander.Command>(program.alias('my alias'));179+expectType<string>(program.alias());180+181+// aliases182+expectType<commander.Command>(program.aliases(['first-alias', 'second-alias']));183+expectType<string[]>(program.aliases());184+185+// usage186+expectType<commander.Command>(program.usage('my usage'));187+expectType<string>(program.usage());188+189+// name190+expectType<commander.Command>(program.name('my-name'));191+expectType<string>(program.name());192+193+// outputHelp194+expectType<void>(program.outputHelp());195+expectType<void>(program.outputHelp((str: string) => { return str; }));196+expectType<void>(program.outputHelp({ error: true }));197+198+// help199+expectType<never>(program.help());200+expectType<never>(program.help((str: string) => { return str; }));201+expectType<never>(program.help({ error: true }));202+203+// helpInformation204+expectType<string>(program.helpInformation());205+expectType<string>(program.helpInformation({ error: true }));206+207+// helpOption208+expectType<commander.Command>(program.helpOption('-h,--help'));209+expectType<commander.Command>(program.helpOption('-h,--help', 'custom description'));210+expectType<commander.Command>(program.helpOption(undefined, 'custom description'));211+expectType<commander.Command>(program.helpOption(false));212+213+// addHelpText214+expectType<commander.Command>(program.addHelpText('after', 'text'));215+expectType<commander.Command>(program.addHelpText('afterAll', 'text'));216+expectType<commander.Command>(program.addHelpText('before', () => 'before'));217+expectType<commander.Command>(program.addHelpText('beforeAll', (context: commander.AddHelpTextContext) => {218+ if (context.error) {219+ return; // Can return nothing to skip display220+ }221+ return context.command.name();222+}));223+224+// on225+expectType<commander.Command>(program.on('command:foo', () => {226+ // do nothing.227+}));228+229+// createCommand230+expectType<commander.Command>(program.createCommand());231+expectType<commander.Command>(program.createCommand('name'));232+233+class MyCommand extends commander.Command {234+ createCommand(name?: string): MyCommand {235+ return new MyCommand(name);236+ }237+238+ myFunction(): void {239+ // do nothing.240+ }241+}242+const myProgram = new MyCommand();243+expectType<MyCommand>(myProgram.command('sub'));244+245+// configureHelp246+expectType<commander.Help>(program.createHelp());247+expectType<commander.Command>(program.configureHelp({248+ sortSubcommands: true, // override property249+ visibleCommands: () => [] // override method250+}));251+expectType<commander.HelpConfiguration>(program.configureHelp());252+253+// configureOutput254+expectType<commander.Command>(program.configureOutput({ }));255+expectType<commander.OutputConfiguration>(program.configureOutput());256+257+expectType<commander.Command>(program.configureOutput({258+ writeOut: (str: string) => console.log(str),259+ writeErr: (str: string) => console.error(str),260+ getOutHelpWidth: () => 80,261+ getErrHelpWidth: () => 80,262+ outputError: (str: string, write: (str: string) => void) => { write(str); }263+}));264+265+// Help266+const helper = new commander.Help();267+const helperCommand = new commander.Command();268+const helperOption = new commander.Option('-a, --all');269+270+expectType<number | undefined>(helper.helpWidth);271+expectType<boolean>(helper.sortSubcommands);272+expectType<boolean>(helper.sortOptions);273+274+expectType<string>(helper.subcommandTerm(helperCommand));275+expectType<string>(helper.commandUsage(helperCommand));276+expectType<string>(helper.commandDescription(helperCommand));277+expectType<string>(helper.subcommandDescription(helperCommand));278+expectType<string>(helper.optionTerm(helperOption));279+expectType<string>(helper.optionDescription(helperOption));280+281+expectType<commander.Command[]>(helper.visibleCommands(helperCommand));282+expectType<commander.Option[]>(helper.visibleOptions(helperCommand));283+expectType<Array<{ term: string; description: string}>>(helper.visibleArguments(helperCommand));284+285+expectType<number>(helper.longestSubcommandTermLength(helperCommand, helper));286+expectType<number>(helper.longestOptionTermLength(helperCommand, helper));287+expectType<number>(helper.longestArgumentTermLength(helperCommand, helper));288+expectType<number>(helper.padWidth(helperCommand, helper));289+290+expectType<string>(helper.wrap('a b c', 50, 3));291+292+expectType<string>(helper.formatHelp(helperCommand, helper));293+294+// Option methods295+296+const baseOption = new commander.Option('-f,--foo', 'foo description');297+298+// default299+expectType<commander.Option>(baseOption.default(3));300+expectType<commander.Option>(baseOption.default(60, 'one minute'));301+302+// fullDescription303+expectType<string>(baseOption.fullDescription());304+305+// argParser306+expectType<commander.Option>(baseOption.argParser((value: string) => parseInt(value)));307+expectType<commander.Option>(baseOption.argParser((value: string, previous: string[]) => { return previous.concat(value); }));308+309+// makeOptionMandatory310+expectType<commander.Option>(baseOption.makeOptionMandatory());311+expectType<commander.Option>(baseOption.makeOptionMandatory(true));312+313+// hideHelp314+expectType<commander.Option>(baseOption.hideHelp());315+expectType<commander.Option>(baseOption.hideHelp(true));316+expectType<commander.Option>(baseOption.hideHelp(false));317+318+// argumentRejected319+expectType<never>(baseOption.argumentRejected('failed'));320+321+// choices322+expectType<commander.Option>(baseOption.choices(['a', 'b']));323+324+// name325+expectType<string>(baseOption.name());modified:package-lock.json+705 added
695 unmodified lines696 "@nodelib/fs.scandir": "2.1.3",697 "fastq": "^1.6.0"698 }699 },700+ "@sindresorhus/is": {701+ "version": "0.14.0",702+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",703+ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==",704+ "dev": true705+ },706 "@sinonjs/commons": {707 "version": "1.8.1",708 "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.1.tgz",709 "integrity": "sha512-892K+kWUUi3cl+LlqEWIDrhvLgdL79tECi8JZUyq6IviKy/DNhuzCRlbHUjxK89f4ypPMMaFnFuR9Ie6DoIMsw==",10 unmodified lines720 "requires": {721 "@sinonjs/commons": "^1.7.0"722 }723 },724+ "@szmarczak/http-timer": {725+ "version": "1.1.2",726+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",727+ "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",728+ "dev": true,729+ "requires": {730+ "defer-to-connect": "^1.0.1"731+ }732+ },733 "@types/babel__core": {734 "version": "7.1.12",735 "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.12.tgz",736 "integrity": "sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ==",88 unmodified lines825 "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",826 "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=",827 "dev": true828 },829+ "@types/minimist": {830+ "version": "1.2.1",831+ "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz",832+ "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==",833+ "dev": true834+ },835 "@types/node": {836 "version": "14.14.20",837 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.20.tgz",838 "integrity": "sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A==",262 unmodified lines1101 "json-schema-traverse": "^0.4.1",1102 "uri-js": "^4.2.2"1103 }1104 },1105+ "ansi-align": {1106+ "version": "3.0.0",1107+ "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.0.tgz",1108+ "integrity": "sha512-ZpClVKqXN3RGBmKibdfWzqCY4lnjEuoNzU5T0oEFpfd/z5qJHVarukridD4juLO2FXMiwUQxr9WqQtaYa8XRYw==",1109+ "dev": true,1110+ "requires": {1111+ "string-width": "^3.0.0"1112+ },1113+ "dependencies": {1114+ "ansi-regex": {1115+ "version": "4.1.0",1116+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",1117+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",1118+ "dev": true1119+ },1120+ "emoji-regex": {1121+ "version": "7.0.3",1122+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",1123+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",1124+ "dev": true1125+ },1126+ "is-fullwidth-code-point": {1127+ "version": "2.0.0",1128+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",1129+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",1130+ "dev": true1131+ },1132+ "string-width": {1133+ "version": "3.1.0",1134+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",1135+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",1136+ "dev": true,1137+ "requires": {1138+ "emoji-regex": "^7.0.1",1139+ "is-fullwidth-code-point": "^2.0.0",1140+ "strip-ansi": "^5.1.0"1141+ }1142+ },1143+ "strip-ansi": {1144+ "version": "5.2.0",1145+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",1146+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",1147+ "dev": true,1148+ "requires": {1149+ "ansi-regex": "^4.1.0"1150+ }1151+ }1152+ }1153+ },1154 "ansi-colors": {1155 "version": "4.1.1",1156 "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",1157 "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",115 unmodified lines1273 "es-abstract": "^1.18.0-next.1",1274 "function-bind": "^1.1.1"1275 }1276 },1277+ "arrify": {1278+ "version": "1.0.1",1279+ "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",1280+ "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",1281+ "dev": true1282+ },1283 "asn1": {1284 "version": "0.2.4",1285 "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",1286 "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",184 unmodified lines1471 "requires": {1472 "tweetnacl": "^0.14.3"1473 }1474 },1475+ "boxen": {1476+ "version": "4.2.0",1477+ "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz",1478+ "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==",1479+ "dev": true,1480+ "requires": {1481+ "ansi-align": "^3.0.0",1482+ "camelcase": "^5.3.1",1483+ "chalk": "^3.0.0",1484+ "cli-boxes": "^2.2.0",1485+ "string-width": "^4.1.0",1486+ "term-size": "^2.1.0",1487+ "type-fest": "^0.8.1",1488+ "widest-line": "^3.1.0"1489+ },1490+ "dependencies": {1491+ "chalk": {1492+ "version": "3.0.0",1493+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",1494+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",1495+ "dev": true,1496+ "requires": {1497+ "ansi-styles": "^4.1.0",1498+ "supports-color": "^7.1.0"1499+ }1500+ }1501+ }1502+ },1503 "brace-expansion": {1504 "version": "1.1.11",1505 "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",1506 "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",49 unmodified lines1556 "union-value": "^1.0.0",1557 "unset-value": "^1.0.0"1558 }1559 },1560+ "cacheable-request": {1561+ "version": "6.1.0",1562+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",1563+ "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",1564+ "dev": true,1565+ "requires": {1566+ "clone-response": "^1.0.2",1567+ "get-stream": "^5.1.0",1568+ "http-cache-semantics": "^4.0.0",1569+ "keyv": "^3.0.0",1570+ "lowercase-keys": "^2.0.0",1571+ "normalize-url": "^4.1.0",1572+ "responselike": "^1.0.2"1573+ },1574+ "dependencies": {1575+ "get-stream": {1576+ "version": "5.2.0",1577+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",1578+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",1579+ "dev": true,1580+ "requires": {1581+ "pump": "^3.0.0"1582+ }1583+ },1584+ "lowercase-keys": {1585+ "version": "2.0.0",1586+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",1587+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",1588+ "dev": true1589+ }1590+ }1591+ },1592 "call-bind": {1593 "version": "1.0.0",1594 "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz",1595 "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==",14 unmodified lines1610 "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",1611 "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",1612 "dev": true1613 },1614+ "camelcase-keys": {1615+ "version": "6.2.2",1616+ "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz",1617+ "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==",1618+ "dev": true,1619+ "requires": {1620+ "camelcase": "^5.3.1",1621+ "map-obj": "^4.0.0",1622+ "quick-lru": "^4.0.1"1623+ }1624+ },1625 "capture-exit": {1626 "version": "2.0.0",1627 "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz",1628 "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==",58 unmodified lines1687 }1688 }1689 }1690 },1691+ "cli-boxes": {1692+ "version": "2.2.1",1693+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz",1694+ "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==",1695+ "dev": true1696+ },1697 "cliui": {1698 "version": "6.0.0",1699 "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",1700 "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",3 unmodified lines1704 "strip-ansi": "^6.0.0",1705 "wrap-ansi": "^6.2.0"1706 }1707 },1708+ "clone-response": {1709+ "version": "1.0.2",1710+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",1711+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",1712+ "dev": true,1713+ "requires": {1714+ "mimic-response": "^1.0.0"1715+ }1716+ },1717 "co": {1718 "version": "4.6.0",1719 "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",1720 "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",50 unmodified lines1771 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",1772 "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",1773 "dev": true1774 },1775+ "configstore": {1776+ "version": "5.0.1",1777+ "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz",1778+ "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==",1779+ "dev": true,1780+ "requires": {1781+ "dot-prop": "^5.2.0",1782+ "graceful-fs": "^4.1.2",1783+ "make-dir": "^3.0.0",1784+ "unique-string": "^2.0.0",1785+ "write-file-atomic": "^3.0.0",1786+ "xdg-basedir": "^4.0.0"1787+ }1788+ },1789 "contains-path": {1790 "version": "0.1.0",1791 "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz",1792 "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=",30 unmodified lines1823 "shebang-command": "^2.0.0",1824 "which": "^2.0.1"1825 }1826 },1827+ "crypto-random-string": {1828+ "version": "2.0.0",1829+ "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz",1830+ "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==",1831+ "dev": true1832+ },1833 "cssom": {1834 "version": "0.4.4",1835 "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",1836 "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",50 unmodified lines1887 "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",1888 "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",1889 "dev": true1890 },1891+ "decamelize-keys": {1892+ "version": "1.1.0",1893+ "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz",1894+ "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=",1895+ "dev": true,1896+ "requires": {1897+ "decamelize": "^1.1.0",1898+ "map-obj": "^1.0.0"1899+ },1900+ "dependencies": {1901+ "map-obj": {1902+ "version": "1.0.1",1903+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",1904+ "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",1905+ "dev": true1906+ }1907+ }1908+ },1909 "decimal.js": {1910 "version": "10.2.1",1911 "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz",1912 "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==",4 unmodified lines1917 "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",1918 "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",1919 "dev": true1920 },1921+ "decompress-response": {1922+ "version": "3.3.0",1923+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",1924+ "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",1925+ "dev": true,1926+ "requires": {1927+ "mimic-response": "^1.0.0"1928+ }1929+ },1930+ "deep-extend": {1931+ "version": "0.6.0",1932+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",1933+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",1934+ "dev": true1935+ },1936 "deep-is": {1937 "version": "0.1.3",1938 "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",1939 "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",4 unmodified lines1944 "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",1945 "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==",1946 "dev": true1947 },1948+ "defer-to-connect": {1949+ "version": "1.1.3",1950+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",1951+ "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==",1952+ "dev": true1953+ },1954 "define-properties": {1955 "version": "1.1.3",1956 "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",1957 "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",95 unmodified lines2053 "dev": true2054 }2055 }2056 },2057+ "dot-prop": {2058+ "version": "5.3.0",2059+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",2060+ "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",2061+ "dev": true,2062+ "requires": {2063+ "is-obj": "^2.0.0"2064+ }2065+ },2066+ "duplexer3": {2067+ "version": "0.1.4",2068+ "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",2069+ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",2070+ "dev": true2071+ },2072 "ecc-jsbn": {2073 "version": "0.1.2",2074 "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",2075 "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",72 unmodified lines2148 "is-date-object": "^1.0.1",2149 "is-symbol": "^1.0.2"2150 }2151 },2152+ "escape-goat": {2153+ "version": "2.1.1",2154+ "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz",2155+ "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==",2156+ "dev": true2157+ },2158 "escape-string-regexp": {2159 "version": "1.0.5",2160 "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",2161 "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",117 unmodified lines2279 "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-10.0.0.tgz",2280 "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==",2281 "dev": true2282 },2283+ "eslint-formatter-pretty": {2284+ "version": "4.0.0",2285+ "resolved": "https://registry.npmjs.org/eslint-formatter-pretty/-/eslint-formatter-pretty-4.0.0.tgz",2286+ "integrity": "sha512-QgdeZxQwWcN0TcXXNZJiS6BizhAANFhCzkE7Yl9HKB7WjElzwED6+FbbZB2gji8ofgJTGPqKm6VRCNT3OGCeEw==",2287+ "dev": true,2288+ "requires": {2289+ "ansi-escapes": "^4.2.1",2290+ "chalk": "^4.1.0",2291+ "eslint-rule-docs": "^1.1.5",2292+ "log-symbols": "^4.0.0",2293+ "plur": "^4.0.0",2294+ "string-width": "^4.2.0",2295+ "supports-hyperlinks": "^2.0.0"2296+ }2297+ },2298 "eslint-import-resolver-node": {2299 "version": "0.3.4",2300 "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz",2301 "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==",308 unmodified lines2610 }2611 }2612 }2613 },2614+ "eslint-rule-docs": {2615+ "version": "1.1.219",2616+ "resolved": "https://registry.npmjs.org/eslint-rule-docs/-/eslint-rule-docs-1.1.219.tgz",2617+ "integrity": "sha512-MeihPfW6NSZkm9ia0OpqoZm0r8gU6xJoa+G1PqUCGGZMcJQpFeNTy1ItuNIrtZFsR6n0mVqYR4j55Rd3HxIb+Q==",2618+ "dev": true2619+ },2620 "eslint-scope": {2621 "version": "5.1.1",2622 "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",2623 "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",569 unmodified lines3193 "requires": {3194 "is-glob": "^4.0.1"3195 }3196 },3197+ "global-dirs": {3198+ "version": "2.1.0",3199+ "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz",3200+ "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==",3201+ "dev": true,3202+ "requires": {3203+ "ini": "1.3.7"3204+ }3205+ },3206 "globals": {3207 "version": "12.4.0",3208 "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz",3209 "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==",15 unmodified lines3225 "merge2": "^1.3.0",3226 "slash": "^3.0.0"3227 }3228 },3229+ "got": {3230+ "version": "9.6.0",3231+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",3232+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",3233+ "dev": true,3234+ "requires": {3235+ "@sindresorhus/is": "^0.14.0",3236+ "@szmarczak/http-timer": "^1.1.2",3237+ "cacheable-request": "^6.0.0",3238+ "decompress-response": "^3.3.0",3239+ "duplexer3": "^0.1.4",3240+ "get-stream": "^4.1.0",3241+ "lowercase-keys": "^1.0.1",3242+ "mimic-response": "^1.0.1",3243+ "p-cancelable": "^1.0.0",3244+ "to-readable-stream": "^1.0.0",3245+ "url-parse-lax": "^3.0.0"3246+ }3247+ },3248 "graceful-fs": {3249 "version": "4.2.4",3250 "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",3251 "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",21 unmodified lines3273 "ajv": "^6.12.3",3274 "har-schema": "^2.0.0"3275 }3276 },3277+ "hard-rejection": {3278+ "version": "2.1.0",3279+ "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz",3280+ "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==",3281+ "dev": true3282+ },3283 "has": {3284 "version": "1.0.3",3285 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",3286 "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",65 unmodified lines3352 }3353 }3354 }3355 },3356+ "has-yarn": {3357+ "version": "2.1.0",3358+ "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz",3359+ "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==",3360+ "dev": true3361+ },3362 "hosted-git-info": {3363 "version": "2.8.8",3364 "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",3365 "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",13 unmodified lines3379 "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",3380 "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",3381 "dev": true3382 },3383+ "http-cache-semantics": {3384+ "version": "4.1.0",3385+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",3386+ "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",3387+ "dev": true3388+ },3389 "http-signature": {3390 "version": "1.2.0",3391 "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",3392 "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",34 unmodified lines3427 "parent-module": "^1.0.0",3428 "resolve-from": "^4.0.0"3429 }3430 },3431+ "import-lazy": {3432+ "version": "2.1.0",3433+ "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz",3434+ "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=",3435+ "dev": true3436+ },3437 "import-local": {3438 "version": "3.0.2",3439 "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz",3440 "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==",8 unmodified lines3449 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",3450 "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",3451 "dev": true3452 },3453+ "indent-string": {3454+ "version": "4.0.0",3455+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",3456+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",3457+ "dev": true3458+ },3459 "inflight": {3460 "version": "1.0.6",3461 "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",3462 "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",8 unmodified lines3471 "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",3472 "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",3473 "dev": true3474 },3475+ "ini": {3476+ "version": "1.3.7",3477+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz",3478+ "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==",3479+ "dev": true3480+ },3481 "internal-slot": {3482 "version": "1.0.2",3483 "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.2.tgz",3484 "integrity": "sha512-2cQNfwhAfJIkU4KZPkDI+Gj5yNNnbqi40W9Gge6dfnk4TocEVm00B3bdiL+JINrbGJil2TeHvM4rETGzk/f/0g==",30 unmodified lines3515 "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",3516 "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=",3517 "dev": true3518 },3519+ "irregular-plurals": {3520+ "version": "3.2.0",3521+ "resolved": "https://registry.npmjs.org/irregular-plurals/-/irregular-plurals-3.2.0.tgz",3522+ "integrity": "sha512-YqTdPLfwP7YFN0SsD3QUVCkm9ZG2VzOXv3DOrw5G5mkMbVwptTwVcFv7/C0vOpBmgTxAeTG19XpUs1E522LW9Q==",3523+ "dev": true3524+ },3525 "is-accessor-descriptor": {3526 "version": "0.1.6",3527 "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",3528 "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",133 unmodified lines3662 "requires": {3663 "is-extglob": "^2.1.1"3664 }3665 },3666+ "is-installed-globally": {3667+ "version": "0.3.2",3668+ "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz",3669+ "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==",3670+ "dev": true,3671+ "requires": {3672+ "global-dirs": "^2.0.1",3673+ "is-path-inside": "^3.0.1"3674+ }3675+ },3676 "is-negative-zero": {3677 "version": "2.0.1",3678 "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",3679 "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",3680 "dev": true3681 },3682+ "is-npm": {3683+ "version": "4.0.0",3684+ "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",3685+ "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==",3686+ "dev": true3687+ },3688 "is-number": {3689 "version": "7.0.0",3690 "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",3691 "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",3692 "dev": true3693 },3694+ "is-obj": {3695+ "version": "2.0.0",3696+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",3697+ "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",3698+ "dev": true3699+ },3700+ "is-path-inside": {3701+ "version": "3.0.2",3702+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz",3703+ "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==",3704+ "dev": true3705+ },3706+ "is-plain-obj": {3707+ "version": "1.1.0",3708+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",3709+ "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=",3710+ "dev": true3711+ },3712 "is-plain-object": {3713 "version": "2.0.4",3714 "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",3715 "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",59 unmodified lines3775 "requires": {3776 "is-docker": "^2.0.0"3777 }3778 },3779+ "is-yarn-global": {3780+ "version": "0.3.0",3781+ "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz",3782+ "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==",3783+ "dev": true3784+ },3785 "isarray": {3786 "version": "1.0.0",3787 "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",3788 "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",614 unmodified lines4403 "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",4404 "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",4405 "dev": true4406 },4407+ "json-buffer": {4408+ "version": "3.0.0",4409+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",4410+ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=",4411+ "dev": true4412+ },4413 "json-parse-better-errors": {4414 "version": "1.0.2",4415 "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",4416 "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",59 unmodified lines4476 "array-includes": "^3.1.2",4477 "object.assign": "^4.1.2"4478 }4479 },4480+ "keyv": {4481+ "version": "3.1.0",4482+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",4483+ "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",4484+ "dev": true,4485+ "requires": {4486+ "json-buffer": "3.0.0"4487+ }4488+ },4489 "kind-of": {4490 "version": "6.0.3",4491 "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",4492 "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",4 unmodified lines4497 "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",4498 "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",4499 "dev": true4500 },4501+ "latest-version": {4502+ "version": "5.1.0",4503+ "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz",4504+ "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==",4505+ "dev": true,4506+ "requires": {4507+ "package-json": "^6.3.0"4508+ }4509+ },4510 "leven": {4511 "version": "3.1.0",4512 "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",4513 "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",64 unmodified lines4578 "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz",4579 "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=",4580 "dev": true4581 },4582+ "log-symbols": {4583+ "version": "4.0.0",4584+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz",4585+ "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==",4586+ "dev": true,4587+ "requires": {4588+ "chalk": "^4.0.0"4589+ }4590+ },4591 "loose-envify": {4592 "version": "1.4.0",4593 "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",4594 "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",1 unmodified line4596 "requires": {4597 "js-tokens": "^3.0.0 || ^4.0.0"4598 }4599 },4600+ "lowercase-keys": {4601+ "version": "1.0.1",4602+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",4603+ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",4604+ "dev": true4605+ },4606 "lru-cache": {4607 "version": "6.0.0",4608 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",4609 "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",33 unmodified lines4643 "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",4644 "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",4645 "dev": true4646 },4647+ "map-obj": {4648+ "version": "4.1.0",4649+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz",4650+ "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==",4651+ "dev": true4652+ },4653 "map-visit": {4654 "version": "1.0.0",4655 "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",4656 "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",1 unmodified line4658 "requires": {4659 "object-visit": "^1.0.0"4660 }4661 },4662+ "meow": {4663+ "version": "7.1.1",4664+ "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz",4665+ "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==",4666+ "dev": true,4667+ "requires": {4668+ "@types/minimist": "^1.2.0",4669+ "camelcase-keys": "^6.2.2",4670+ "decamelize-keys": "^1.1.0",4671+ "hard-rejection": "^2.1.0",4672+ "minimist-options": "4.1.0",4673+ "normalize-package-data": "^2.5.0",4674+ "read-pkg-up": "^7.0.1",4675+ "redent": "^3.0.0",4676+ "trim-newlines": "^3.0.0",4677+ "type-fest": "^0.13.1",4678+ "yargs-parser": "^18.1.3"4679+ },4680+ "dependencies": {4681+ "type-fest": {4682+ "version": "0.13.1",4683+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",4684+ "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==",4685+ "dev": true4686+ }4687+ }4688+ },4689 "merge-stream": {4690 "version": "2.0.0",4691 "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",4692 "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",35 unmodified lines4728 "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",4729 "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",4730 "dev": true4731 },4732+ "mimic-response": {4733+ "version": "1.0.1",4734+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",4735+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",4736+ "dev": true4737+ },4738+ "min-indent": {4739+ "version": "1.0.1",4740+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",4741+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",4742+ "dev": true4743+ },4744 "minimatch": {4745 "version": "3.0.4",4746 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",4747 "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",7 unmodified lines4755 "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",4756 "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",4757 "dev": true4758 },4759+ "minimist-options": {4760+ "version": "4.1.0",4761+ "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz",4762+ "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==",4763+ "dev": true,4764+ "requires": {4765+ "arrify": "^1.0.1",4766+ "is-plain-obj": "^1.1.0",4767+ "kind-of": "^6.0.3"4768+ }4769+ },4770 "mixin-deep": {4771 "version": "1.3.2",4772 "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",4773 "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",112 unmodified lines4886 "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",4887 "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",4888 "dev": true4889 },4890+ "normalize-url": {4891+ "version": "4.5.0",4892+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",4893+ "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",4894+ "dev": true4895+ },4896 "npm-run-path": {4897 "version": "2.0.2",4898 "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",4899 "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",168 unmodified lines5068 "type-check": "^0.4.0",5069 "word-wrap": "^1.2.3"5070 }5071 },5072+ "p-cancelable": {5073+ "version": "1.1.0",5074+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",5075+ "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==",5076+ "dev": true5077+ },5078 "p-each-series": {5079 "version": "2.2.0",5080 "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz",5081 "integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==",28 unmodified lines5110 "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",5111 "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",5112 "dev": true5113 },5114+ "package-json": {5115+ "version": "6.5.0",5116+ "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz",5117+ "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==",5118+ "dev": true,5119+ "requires": {5120+ "got": "^9.6.0",5121+ "registry-auth-token": "^4.0.0",5122+ "registry-url": "^5.0.0",5123+ "semver": "^6.2.0"5124+ },5125+ "dependencies": {5126+ "semver": {5127+ "version": "6.3.0",5128+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",5129+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",5130+ "dev": true5131+ }5132+ }5133+ },5134 "parent-module": {5135 "version": "1.0.1",5136 "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",5137 "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",178 unmodified lines5316 "requires": {5317 "find-up": "^4.0.0"5318 }5319 },5320+ "plur": {5321+ "version": "4.0.0",5322+ "resolved": "https://registry.npmjs.org/plur/-/plur-4.0.0.tgz",5323+ "integrity": "sha512-4UGewrYgqDFw9vV6zNV+ADmPAUAfJPKtGvb/VdpQAx25X5f3xXdGdyOEVFwkl8Hl/tl7+xbeHqSEM+D5/TirUg==",5324+ "dev": true,5325+ "requires": {5326+ "irregular-plurals": "^3.2.0"5327+ }5328+ },5329 "posix-character-classes": {5330 "version": "0.1.1",5331 "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",5332 "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",4 unmodified lines5337 "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",5338 "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",5339 "dev": true5340 },5341+ "prepend-http": {5342+ "version": "2.0.0",5343+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",5344+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=",5345+ "dev": true5346+ },5347 "pretty-format": {5348 "version": "26.6.2",5349 "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",5350 "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",61 unmodified lines5412 "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",5413 "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",5414 "dev": true5415 },5416+ "pupa": {5417+ "version": "2.1.1",5418+ "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz",5419+ "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==",5420+ "dev": true,5421+ "requires": {5422+ "escape-goat": "^2.0.0"5423+ }5424+ },5425 "qs": {5426 "version": "6.5.2",5427 "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",5428 "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",5429 "dev": true5430 },5431+ "quick-lru": {5432+ "version": "4.0.1",5433+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz",5434+ "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==",5435+ "dev": true5436+ },5437+ "rc": {5438+ "version": "1.2.8",5439+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",5440+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",5441+ "dev": true,5442+ "requires": {5443+ "deep-extend": "^0.6.0",5444+ "ini": "~1.3.0",5445+ "minimist": "^1.2.0",5446+ "strip-json-comments": "~2.0.1"5447+ },5448+ "dependencies": {5449+ "strip-json-comments": {5450+ "version": "2.0.1",5451+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",5452+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",5453+ "dev": true5454+ }5455+ }5456+ },5457 "react-is": {5458 "version": "17.0.1",5459 "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.1.tgz",5460 "integrity": "sha512-NAnt2iGDXohE5LI7uBnLnqvLQMtzhkiAOLXTmv+qnF9Ky7xAPcX8Up/xWIhxvLVGJvuLiNc4xQLtuqDRzb4fSA==",29 unmodified lines5490 "read-pkg": "^5.2.0",5491 "type-fest": "^0.8.1"5492 }5493 },5494+ "redent": {5495+ "version": "3.0.0",5496+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",5497+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",5498+ "dev": true,5499+ "requires": {5500+ "indent-string": "^4.0.0",5501+ "strip-indent": "^3.0.0"5502+ }5503+ },5504 "regex-not": {5505 "version": "1.0.2",5506 "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",5507 "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",39 unmodified lines5547 "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz",5548 "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==",5549 "dev": true5550 },5551+ "registry-auth-token": {5552+ "version": "4.2.1",5553+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz",5554+ "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==",5555+ "dev": true,5556+ "requires": {5557+ "rc": "^1.2.8"5558+ }5559+ },5560+ "registry-url": {5561+ "version": "5.1.0",5562+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz",5563+ "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==",5564+ "dev": true,5565+ "requires": {5566+ "rc": "^1.2.8"5567+ }5568+ },5569 "remove-trailing-separator": {5570 "version": "1.1.0",5571 "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",5572 "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",145 unmodified lines5718 "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",5719 "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",5720 "dev": true5721 },5722+ "responselike": {5723+ "version": "1.0.2",5724+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",5725+ "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",5726+ "dev": true,5727+ "requires": {5728+ "lowercase-keys": "^1.0.0"5729+ }5730+ },5731 "ret": {5732 "version": "0.1.15",5733 "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",5734 "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",205 unmodified lines5940 "requires": {5941 "lru-cache": "^6.0.0"5942 }5943 },5944+ "semver-diff": {5945+ "version": "3.1.1",5946+ "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz",5947+ "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==",5948+ "dev": true,5949+ "requires": {5950+ "semver": "^6.3.0"5951+ },5952+ "dependencies": {5953+ "semver": {5954+ "version": "6.3.0",5955+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",5956+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",5957+ "dev": true5958+ }5959+ }5960+ },5961 "set-blocking": {5962 "version": "2.0.0",5963 "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",5964 "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",645 unmodified lines6610 "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",6611 "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",6612 "dev": true6613 },6614+ "strip-indent": {6615+ "version": "3.0.0",6616+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",6617+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",6618+ "dev": true,6619+ "requires": {6620+ "min-indent": "^1.0.0"6621+ }6622+ },6623 "strip-json-comments": {6624 "version": "3.1.1",6625 "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",6626 "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",55 unmodified lines6682 "dev": true6683 }6684 }6685 },6686+ "term-size": {6687+ "version": "2.2.1",6688+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz",6689+ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==",6690+ "dev": true6691+ },6692 "terminal-link": {6693 "version": "2.1.1",6694 "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz",6695 "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==",57 unmodified lines6753 }6754 }6755 }6756 },6757+ "to-readable-stream": {6758+ "version": "1.0.0",6759+ "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",6760+ "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==",6761+ "dev": true6762+ },6763 "to-regex": {6764 "version": "3.0.2",6765 "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",6766 "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",33 unmodified lines6800 "requires": {6801 "punycode": "^2.1.1"6802 }6803 },6804+ "trim-newlines": {6805+ "version": "3.0.0",6806+ "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz",6807+ "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==",6808+ "dev": true6809+ },6810 "tsconfig-paths": {6811 "version": "3.9.0",6812 "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz",6813 "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==",21 unmodified lines6835 "dev": true6836 }6837 }6838 },6839+ "tsd": {6840+ "version": "0.14.0",6841+ "resolved": "https://registry.npmjs.org/tsd/-/tsd-0.14.0.tgz",6842+ "integrity": "sha512-fl1gS5orAwqIb0P2xMdppgCrwv1BfCJn67wBzRBCV9OUaWHVXHqiIqL6yX/519xFgT1ZOaLMhr5W9XDo8kuuRA==",6843+ "dev": true,6844+ "requires": {6845+ "eslint-formatter-pretty": "^4.0.0",6846+ "globby": "^11.0.1",6847+ "meow": "^7.0.1",6848+ "path-exists": "^4.0.0",6849+ "read-pkg-up": "^7.0.0",6850+ "update-notifier": "^4.1.0"6851+ }6852+ },6853 "tslib": {6854 "version": "1.14.1",6855 "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",6856 "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",70 unmodified lines6927 "is-extendable": "^0.1.1",6928 "set-value": "^2.0.1"6929 }6930 },6931+ "unique-string": {6932+ "version": "2.0.0",6933+ "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz",6934+ "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==",6935+ "dev": true,6936+ "requires": {6937+ "crypto-random-string": "^2.0.0"6938+ }6939+ },6940 "unset-value": {6941 "version": "1.0.0",6942 "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",6943 "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",32 unmodified lines6976 "dev": true6977 }6978 }6979 },6980+ "update-notifier": {6981+ "version": "4.1.3",6982+ "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz",6983+ "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==",6984+ "dev": true,6985+ "requires": {6986+ "boxen": "^4.2.0",6987+ "chalk": "^3.0.0",6988+ "configstore": "^5.0.1",6989+ "has-yarn": "^2.1.0",6990+ "import-lazy": "^2.1.0",6991+ "is-ci": "^2.0.0",6992+ "is-installed-globally": "^0.3.1",6993+ "is-npm": "^4.0.0",6994+ "is-yarn-global": "^0.3.0",6995+ "latest-version": "^5.0.0",6996+ "pupa": "^2.0.1",6997+ "semver-diff": "^3.1.1",6998+ "xdg-basedir": "^4.0.0"6999+ },7000+ "dependencies": {7001+ "chalk": {7002+ "version": "3.0.0",7003+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",7004+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",7005+ "dev": true,7006+ "requires": {7007+ "ansi-styles": "^4.1.0",7008+ "supports-color": "^7.1.0"7009+ }7010+ }7011+ }7012+ },7013 "uri-js": {7014 "version": "4.4.0",7015 "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",7016 "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",7 unmodified lines7024 "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",7025 "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",7026 "dev": true7027 },7028+ "url-parse-lax": {7029+ "version": "3.0.0",7030+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",7031+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",7032+ "dev": true,7033+ "requires": {7034+ "prepend-http": "^2.0.0"7035+ }7036+ },7037 "use": {7038 "version": "3.1.1",7039 "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",7040 "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",125 unmodified lines7166 "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",7167 "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",7168 "dev": true7169 },7170+ "widest-line": {7171+ "version": "3.1.0",7172+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz",7173+ "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==",7174+ "dev": true,7175+ "requires": {7176+ "string-width": "^4.0.0"7177+ }7178+ },7179 "word-wrap": {7180 "version": "1.2.3",7181 "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",7182 "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",107 unmodified linesmodified:package.json+3 added-2 removed
21 unmodified lines2223242526262728293013 unmodified lines444546474849505051525354553 unmodified lines21 unmodified lines "lint": "eslint index.js esm.mjs \"tests/**/*.js\"", "typescript-lint": "eslint typings/*.ts", "test": "jest && npm run test-typings", "test-esm": "node --experimental-modules ./tests/esm-test.mjs", "test-typings": "tsc -p tsconfig.json", "test-typings": "tsd", "typescript-checkJS": "tsc --allowJS --checkJS index.js --noEmit", "test-all": "npm run test && npm run lint && npm run typescript-lint && npm run typescript-checkJS && npm run test-esm" }, "main": "./index.js",13 unmodified lines "eslint-config-standard": "^16.0.2", "eslint-plugin-jest": "^24.1.3", "jest": "^26.6.3", "standard": "^16.0.3", "tsd": "^0.14.0", "typescript": "^4.1.2" }, "typings": "typings/index.d.ts", "types": "typings/index.d.ts", "jest": { "collectCoverage": true }, "engines": {3 unmodified linesmodified:tsconfig.json+1 added-4 removed
11 unmodified lines1213141516171819161711 unmodified lines ], "noEmit": true, "forceConsistentCasingInFileNames": true }, "files": [ "typings/index.d.ts", "typings/commander-tests.ts" ] "include": ["**/*.ts"],}