mirror of
https://github.com/bitwarden/cli
synced 2025-12-15 15:53:44 +00:00
Update dependencies (#292)
* Update dependencies * Remove types which are no longer needed * Bump jslib * Revert pkg to 4.5.1 since 5.0.0 does not compile on linux. * Bump pkg-fetch in build pipeline
This commit is contained in:
@@ -33,7 +33,6 @@ import { FolderView } from 'jslib/models/view/folderView';
|
||||
import { EncString } from 'jslib/models/domain/encString';
|
||||
|
||||
import { Response } from 'jslib/cli/models/response';
|
||||
import { MessageResponse } from 'jslib/cli/models/response/messageResponse';
|
||||
import { StringResponse } from 'jslib/cli/models/response/stringResponse';
|
||||
|
||||
import { SendType } from 'jslib/enums/sendType';
|
||||
@@ -43,9 +42,7 @@ import { CollectionResponse } from '../models/response/collectionResponse';
|
||||
import { FolderResponse } from '../models/response/folderResponse';
|
||||
import { OrganizationCollectionResponse } from '../models/response/organizationCollectionResponse';
|
||||
import { OrganizationResponse } from '../models/response/organizationResponse';
|
||||
import { SendFileResponse } from '../models/response/sendFileResponse';
|
||||
import { SendResponse } from '../models/response/sendResponse';
|
||||
import { SendTextResponse } from '../models/response/sendTextResponse';
|
||||
import { TemplateResponse } from '../models/response/templateResponse';
|
||||
|
||||
import { OrganizationCollectionRequest } from '../models/request/organizationCollectionRequest';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as chk from 'chalk';
|
||||
import * as chalk from 'chalk';
|
||||
import * as program from 'commander';
|
||||
|
||||
import { Main } from './bw';
|
||||
@@ -25,7 +25,6 @@ import { CliUtils } from './utils';
|
||||
|
||||
import { BaseProgram } from 'jslib/cli/baseProgram';
|
||||
|
||||
const chalk = chk.default;
|
||||
const writeLn = CliUtils.writeLn;
|
||||
|
||||
export class Program extends BaseProgram {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as chk from 'chalk';
|
||||
import * as chalk from 'chalk';
|
||||
import * as program from 'commander';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
@@ -26,7 +26,6 @@ import { Main } from './bw';
|
||||
import { Program } from './program';
|
||||
import { CliUtils } from './utils';
|
||||
|
||||
const chalk = chk.default;
|
||||
const writeLn = CliUtils.writeLn;
|
||||
|
||||
export class SendProgram extends Program {
|
||||
@@ -100,7 +99,7 @@ export class SendProgram extends Program {
|
||||
return new program.Command('list')
|
||||
|
||||
.description('List all the Sends owned by you')
|
||||
.on('--help', () => { writeLn(chk.default('This is in the list command')); })
|
||||
.on('--help', () => { writeLn(chalk('This is in the list command')); })
|
||||
.action(async (options: program.OptionValues) => {
|
||||
await this.exitIfLocked();
|
||||
const cmd = new SendListCommand(this.main.sendService, this.main.environmentService,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import * as chk from 'chalk';
|
||||
import * as chalk from 'chalk';
|
||||
import * as program from 'commander';
|
||||
|
||||
import { Main } from './bw';
|
||||
@@ -18,7 +18,6 @@ import { CliUtils } from './utils';
|
||||
|
||||
import { Program } from './program';
|
||||
|
||||
const chalk = chk.default;
|
||||
const writeLn = CliUtils.writeLn;
|
||||
|
||||
export class VaultProgram extends Program {
|
||||
|
||||
Reference in New Issue
Block a user