1
0
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:
Oscar Hinton
2021-04-23 21:04:11 +02:00
committed by GitHub
parent 679ad19561
commit 9c55d78ffc
10 changed files with 2907 additions and 2977 deletions

View File

@@ -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';

View File

@@ -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 {

View File

@@ -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,

View File

@@ -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 {