@salesforce/plugin-apex 0.2.7 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ export default class Execute extends SfdxCommand {
6
6
  static examples: string[];
7
7
  protected static requiresUsername: boolean;
8
8
  protected static flagsConfig: {
9
- apexcodefile: flags.Discriminated<flags.Option<string>>;
9
+ apexcodefile: flags.Discriminated<flags.String>;
10
10
  loglevel: flags.Discriminated<flags.Enum<string>>;
11
11
  apiversion: flags.Builtin;
12
12
  };
@@ -9,9 +9,9 @@ export default class Get extends SfdxCommand {
9
9
  json: flags.Discriminated<flags.Boolean<boolean>>;
10
10
  loglevel: flags.Discriminated<flags.Enum<string>>;
11
11
  apiversion: flags.Builtin;
12
- logid: flags.Discriminated<flags.Option<string>>;
12
+ logid: flags.Discriminated<flags.String>;
13
13
  number: flags.Discriminated<flags.Number>;
14
- outputdir: flags.Discriminated<flags.Option<string>>;
14
+ outputdir: flags.Discriminated<flags.String>;
15
15
  };
16
16
  run(): Promise<AnyJson>;
17
17
  }
@@ -0,0 +1,17 @@
1
+ import { flags, SfdxCommand } from '@salesforce/command';
2
+ export default class Tail extends SfdxCommand {
3
+ protected static requiresUsername: boolean;
4
+ static description: string;
5
+ static longDescription: string;
6
+ static examples: string[];
7
+ protected static flagsConfig: {
8
+ json: flags.Discriminated<flags.Boolean<boolean>>;
9
+ loglevel: flags.Discriminated<flags.Enum<string>>;
10
+ apiversion: flags.Builtin;
11
+ color: flags.Discriminated<flags.Boolean<boolean>>;
12
+ debuglevel: flags.Discriminated<flags.String>;
13
+ skiptraceflag: flags.Discriminated<flags.Boolean<boolean>>;
14
+ };
15
+ run(): Promise<void>;
16
+ logTailer(fullLog: string): Promise<void>;
17
+ }
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2021, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ const tslib_1 = require("tslib");
10
+ const apex_node_1 = require("@salesforce/apex-node");
11
+ const command_1 = require("@salesforce/command");
12
+ const core_1 = require("@salesforce/core");
13
+ const utils_1 = require("../../../../utils");
14
+ const legacyColorization_1 = require("../../../../legacyColorization");
15
+ core_1.Messages.importMessagesDirectory(__dirname);
16
+ const messages = core_1.Messages.loadMessages('@salesforce/plugin-apex', 'tail');
17
+ class Tail extends command_1.SfdxCommand {
18
+ run() {
19
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
20
+ try {
21
+ if (this.org) {
22
+ const conn = this.org.getConnection();
23
+ const logService = new apex_node_1.LogService(conn);
24
+ if (!this.flags.skiptraceflag) {
25
+ yield logService.prepareTraceFlag(this.flags.debuglevel);
26
+ }
27
+ yield logService.tail(this.org, this.logTailer.bind(this));
28
+ this.ux.log(messages.getMessage('finishedTailing'));
29
+ }
30
+ }
31
+ catch (e) {
32
+ return Promise.reject(e);
33
+ }
34
+ });
35
+ }
36
+ logTailer(fullLog) {
37
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
38
+ if (fullLog) {
39
+ if (this.flags.json) {
40
+ this.ux.logJson({
41
+ status: process.exitCode,
42
+ result: fullLog
43
+ });
44
+ }
45
+ else {
46
+ const output = this.flags.color ? yield legacyColorization_1.colorizeLog(fullLog) : fullLog;
47
+ this.ux.log(output);
48
+ }
49
+ }
50
+ });
51
+ }
52
+ }
53
+ exports.default = Tail;
54
+ Tail.requiresUsername = true;
55
+ Tail.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
56
+ Tail.longDescription = messages.getMessage('longDescription');
57
+ Tail.examples = [
58
+ `$ sfdx force:apex:log:tail`,
59
+ `$ sfdx force:apex:log:tail --debuglevel MyDebugLevel`,
60
+ `$ sfdx force:apex:log:tail -c -s`
61
+ ];
62
+ Tail.flagsConfig = {
63
+ json: command_1.flags.boolean({
64
+ description: messages.getMessage('jsonDescription')
65
+ }),
66
+ loglevel: command_1.flags.enum({
67
+ description: messages.getMessage('logLevelDescription'),
68
+ longDescription: messages.getMessage('logLevelLongDescription'),
69
+ default: 'warn',
70
+ options: utils_1.logLevels
71
+ }),
72
+ apiversion: command_1.flags.builtin(),
73
+ color: command_1.flags.boolean({
74
+ char: 'c',
75
+ description: messages.getMessage('colorDescription')
76
+ }),
77
+ debuglevel: command_1.flags.string({
78
+ char: 'd',
79
+ description: messages.getMessage('debugLevelDescription')
80
+ }),
81
+ skiptraceflag: command_1.flags.boolean({
82
+ char: 's',
83
+ description: messages.getMessage('skipTraceFlagDescription')
84
+ })
85
+ };
86
+ //# sourceMappingURL=tail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tail.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/tail.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAmD;AACnD,iDAAyD;AACzD,2CAA4C;AAC5C,6CAAgE;AAChE,uEAA6D;AAE7D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAE1E,MAAqB,IAAK,SAAQ,qBAAW;IAwC9B,GAAG;;YACd,IAAI;gBACF,IAAI,IAAI,CAAC,GAAG,EAAE;oBACZ,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;oBACtC,MAAM,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;oBAExC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE;wBAC7B,MAAM,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;qBAC1D;oBACD,MAAM,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC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AAI,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACvD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC/D,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,iBAAS;KACnB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;IAC3B,KAAK,EAAE,eAAK,CAAC,OAAO,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC;KACrD,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC1D,CAAC;IACF,aAAa,EAAE,eAAK,CAAC,OAAO,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;CACH,CAAC"}
@@ -6,14 +6,14 @@ export default class Report extends SfdxCommand {
6
6
  static longDescription: string;
7
7
  static examples: string[];
8
8
  protected static flagsConfig: {
9
- testrunid: flags.Discriminated<flags.Option<string>>;
9
+ testrunid: flags.Discriminated<flags.String>;
10
10
  json: flags.Discriminated<flags.Boolean<boolean>>;
11
11
  loglevel: flags.Discriminated<flags.Enum<string>>;
12
12
  apiversion: flags.Builtin;
13
13
  codecoverage: flags.Discriminated<flags.Boolean<boolean>>;
14
- outputdir: flags.Discriminated<flags.Option<string>>;
14
+ outputdir: flags.Discriminated<flags.String>;
15
15
  resultformat: flags.Discriminated<flags.Enum<string>>;
16
- wait: flags.Discriminated<flags.Option<string>>;
16
+ wait: flags.Discriminated<flags.String>;
17
17
  verbose: flags.Builtin;
18
18
  };
19
19
  run(): Promise<AnyJson>;
@@ -13,13 +13,13 @@ export default class Run extends SfdxCommand {
13
13
  loglevel: flags.Discriminated<flags.Enum<string>>;
14
14
  apiversion: flags.Builtin;
15
15
  codecoverage: flags.Discriminated<flags.Boolean<boolean>>;
16
- outputdir: flags.Discriminated<flags.Option<string>>;
16
+ outputdir: flags.Discriminated<flags.String>;
17
17
  testlevel: flags.Discriminated<flags.Enum<string>>;
18
- classnames: flags.Discriminated<flags.Option<string>>;
18
+ classnames: flags.Discriminated<flags.String>;
19
19
  resultformat: flags.Discriminated<flags.Enum<string>>;
20
- suitenames: flags.Discriminated<flags.Option<string>>;
21
- tests: flags.Discriminated<flags.Option<string>>;
22
- wait: flags.Discriminated<flags.Option<string>>;
20
+ suitenames: flags.Discriminated<flags.String>;
21
+ tests: flags.Discriminated<flags.String>;
22
+ wait: flags.Discriminated<flags.String>;
23
23
  synchronous: flags.Discriminated<flags.Boolean<boolean>>;
24
24
  verbose: flags.Builtin;
25
25
  detailedcoverage: flags.Discriminated<flags.Boolean<boolean>>;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestLevelValues = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  /*
5
6
  * Copyright (c) 2020, salesforce.com, inc.
@@ -30,6 +31,11 @@ class Run extends command_1.SfdxCommand {
30
31
  if (this.flags.outputdir) {
31
32
  this.ux.warn(messages.getMessage('warningMessage'));
32
33
  }
34
+ // W-9346875 - default to human-readable result format for --wait flag
35
+ if (this.flags.hasOwnProperty('wait') &&
36
+ !this.flags.hasOwnProperty('resultformat')) {
37
+ this.flags.resultformat = 'human';
38
+ }
33
39
  // add listener for errors
34
40
  process.on('uncaughtException', err => {
35
41
  const formattedErr = this.formatError(new core_1.SfdxError(messages.getMessage('apexLibErr', [err.message])));
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/test/run.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAU+B;AAC/B,iDAAyD;AACzD,2CAAuD;AAEvD,qDAI+B;AAC/B,6CAK2B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F,UAAU,EAAE,eAAK,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC1D,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,OAAO,EAAE,oBAAY;KACtB,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC1D,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC;KACrD,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,WAAW,EAAE,eAAK,CAAC,OAAO,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;KAC3D,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;KACvD,CAAC;IACF,gBAAgB,EAAE,eAAK,CAAC,OAAO,CAAC;QAC9B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC/D,SAAS,EAAE,CAAC,cAAc,CAAC;KAC5B,CAAC;CACH,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @description this is a holdover from the toolbelt API, which allows for custom colorization of the logs.
3
+ * @param log - full debug log retrieved from an org.
4
+ * @returns colorized log
5
+ */
6
+ export declare function colorizeLog(log: string): Promise<string>;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2021, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.colorizeLog = void 0;
10
+ const tslib_1 = require("tslib");
11
+ const chalk = require("chalk");
12
+ const core_1 = require("@salesforce/core");
13
+ const DEFAULT_COLOR_MAP = {
14
+ CONSTRUCTOR_: 'magenta',
15
+ EXCEPTION_: 'red',
16
+ FATAL_: 'red',
17
+ METHOD_: 'blue',
18
+ SOQL_: 'yellow',
19
+ USER_: 'green',
20
+ VARIABLE_: 'darkcyan'
21
+ };
22
+ /**
23
+ * @description this is a holdover from the toolbelt API, which allows for custom colorization of the logs.
24
+ * @param log - full debug log retrieved from an org.
25
+ * @returns colorized log
26
+ */
27
+ function colorizeLog(log) {
28
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
29
+ const logger = yield core_1.Logger.child('apexLogApi', { tag: 'tail' });
30
+ let colorMap = DEFAULT_COLOR_MAP;
31
+ const localColorMapFile = process.env.SFDX_APEX_LOG_COLOR_MAP;
32
+ if (localColorMapFile) {
33
+ try {
34
+ colorMap = require(localColorMapFile);
35
+ }
36
+ catch (err) {
37
+ logger.warn(`Color registry not found: ${localColorMapFile}`);
38
+ }
39
+ }
40
+ const logLines = log.split(/\n/g);
41
+ if (!logLines || logLines.length < 1) {
42
+ logger.warn('colorizeLog unable to split logLines');
43
+ return log;
44
+ }
45
+ const line1 = chalk.bold(logLines.shift());
46
+ return [
47
+ line1,
48
+ ...logLines.map(logLine => {
49
+ for (const [key, color] of Object.entries(colorMap)) {
50
+ if (logLine.includes(`|${key}`)) {
51
+ const colorFn = chalk.keyword(color);
52
+ if (typeof colorFn !== 'function') {
53
+ logger.warn(`Color ${color} is not supported`);
54
+ return logLine;
55
+ }
56
+ const count = (logLine.match(/\|/g) || []).length;
57
+ if (count === 1) {
58
+ return colorFn(logLine);
59
+ }
60
+ const first = logLine.indexOf('|', logLine.indexOf('|') + 1);
61
+ return `${colorFn(logLine.substring(0, first))}${logLine.substring(first)}`;
62
+ }
63
+ }
64
+ return logLine;
65
+ })
66
+ ].join('\n');
67
+ });
68
+ }
69
+ exports.colorizeLog = colorizeLog;
70
+ //# sourceMappingURL=legacyColorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legacyColorization.js","sourceRoot":"","sources":["../src/legacyColorization.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,+BAA+B;AAC/B,2CAA0C;AAE1C,MAAM,iBAAiB,GAAG;IACxB,YAAY,EAAE,SAAS;IACvB,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF;;;;GAIG;AACH,SAAsB,WAAW,CAAC,GAAW;;QAC3C,MAAM,MAAM,GAAG,MAAM,aAAM,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC;QACjE,IAAI,QAAQ,GAAG,iBAAiB,CAAC;QAEjC,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC;QAC9D,IAAI,iBAAiB,EAAE;YACrB,IAAI;gBACF,QAAQ,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;aACvC;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,IAAI,CAAC,6BAA6B,iBAAiB,EAAE,CAAC,CAAC;aAC/D;SACF;QAED,MAAM,QAAQ,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,IAAI,QAAQ,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@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.buildOutputDirConfig = exports.JsonReporter = void 0;
3
4
  /*
4
5
  * Copyright (c) 2020, salesforce.com, inc.
5
6
  * All rights reserved.
@@ -7,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
8
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
8
9
  */
9
10
  var jsonReporter_1 = require("./jsonReporter");
10
- exports.JsonReporter = jsonReporter_1.JsonReporter;
11
+ Object.defineProperty(exports, "JsonReporter", { enumerable: true, get: function () { return jsonReporter_1.JsonReporter; } });
11
12
  var util_1 = require("./util");
12
- exports.buildOutputDirConfig = util_1.buildOutputDirConfig;
13
+ Object.defineProperty(exports, "buildOutputDirConfig", { enumerable: true, get: function () { return util_1.buildOutputDirConfig; } });
13
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/reporters/index.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,+CAA6D;AAApD,sCAAA,YAAY,CAAA;AACrB,+BAA8C;AAArC,sCAAA,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/reporters/index.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+CAA6D;AAApD,4GAAA,YAAY,OAAA;AACrB,+BAA8C;AAArC,4GAAA,oBAAoB,OAAA"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JsonReporter = void 0;
3
4
  const skippedProperties = ['skipRate', 'coveredLines', 'totalLines'];
4
5
  const timeProperties = [
5
6
  'testExecutionTimeInMs',
@@ -1 +1 @@
1
- {"version":3,"file":"jsonReporter.js","sourceRoot":"","sources":["../../src/reporters/jsonReporter.ts"],"names":[],"mappings":";;AAkEA,MAAM,iBAAiB,GAAG,CAAC,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C,MAAM;oBACd,IAAI,EAAE,GAAG,CAAC,IAAI;oBACd,UAAU,EAAE,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,iBAAiB;oBACvD,KAAK;oBACL,YAAY,EAAE,GAAG,CAAC,eAAe;oBACjC,cAAc,EAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC;iBACxB,CAAC;YACrB,CAAC,CAAC,CAAC;YAEH,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAC9B,IAAI,IAAI,CAAC,gBAAgB,EAAE;oBACzB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE;wBAC1C,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,8BACxB,aAAa,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IACtD,CAAC,WAAW,CAAC,QAAQ;4BACtB,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAAE;4BACpC,CAAC,CAAC,EAAE,CAAC,KACP,cAAc,EAAE,IAAI,CAAC,UAAU,EAC/B,eAAe,EAAE,WAAW,CAAC,eAAe,EAC5C,kBAAkB,EAAE;gCAClB,EAAE,EAAE,WAAW,CAAC,oBAAoB;gCACpC,IAAI,EAAE,WAAW,CAAC,sBAAsB;6BACzC,EACD,iBAAiB,EAAE,WAAW,CAAC,iBAAiB,GAC7B,CAAC,CAAC;oBACzB,CAAC,CAAC,CAAC;iBACJ;YACH,CAAC,CAAC,CAAC;SACJ;QAED,OAAO,YAAY,CAAC;IACtB,CAAC;CACF;AAhHD,oCAgHC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.buildOutputDirConfig = void 0;
3
4
  /*
4
5
  * Copyright (c) 2020, salesforce.com, inc.
5
6
  * All rights reserved.
@@ -1 +1 @@
1
- {"version":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AAC;oBAC9B,QAAQ,EAAE,iBAAiB;oBAC3B,OAAO,EAAE,WAAW;iBACrB,CAAC,CAAC;gBACH,MAAM;SACT;KACF;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAtED,oDAsEC"}
package/lib/utils.js CHANGED
@@ -6,6 +6,7 @@
6
6
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.colorLogs = exports.buildDescription = exports.logLevels = exports.resultFormat = exports.colorError = exports.colorSuccess = exports.FAILURE_EXIT_CODE = void 0;
9
10
  const chalk = require("chalk");
10
11
  exports.FAILURE_EXIT_CODE = 100;
11
12
  exports.colorSuccess = chalk.bold.green;
package/lib/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,+BAA+B;AAElB,QAAA,iBAAiB,GAAG,GAAG,CAAC;AAExB,QAAA,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;AAChC,QAAA,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;AAE5B,QAAA,YAAY,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACjD,QAAA,SAAS,GAAG;IACvB,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;CACR,CAAC;AAEF,SAAgB,gBAAgB,CAC9B,gBAAwB,EACxB,eAAuB;IAEvB,OAAO,GAAG,gBAAgB,KAAK,eAAe,EAAE,CAAC;AACnD,CAAC;AALD,4CAKC;AAED,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC;IACvB,CAAC,IAAI,MAAM,CAAC,sBAAsB,CAAC,EAAE,K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AAK,CAAC,IAAI,CAAC,GAAG,CAAC;IACxC,CAAC,IAAI,MAAM,CAAC,+BAA+B,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;CAChE,CAAC,CAAC;AAEH,SAAS,OAAO,CAAC,KAAa,EAAE,IAAY;IAC1C,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAClC,IAAI,CAAC,KAAK,EAAE;QACV,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC5C;IACD,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;QACzC,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;IAC3B,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAgB,SAAS,CAAC,GAAW;IACnC,KAAK,MAAM,CAAC,IAAI,QAAQ,CAAC,IAAI,EAAE,EAAE;QAC/B,GAAG,GAAG,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;KACvB;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AALD,8BAKC"}
@@ -0,0 +1,12 @@
1
+ {
2
+ "commandDescription": "Follows active log",
3
+ "longDescription": "Activates debug logging and displays logs in the terminal. You can also pipe the logs to a file.",
4
+ "jsonDescription": "Format output as JSON.",
5
+ "logLevelDescription": "Logging level for this command invocation",
6
+ "logLevelLongDescription": "The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.",
7
+ "targetUsernameDescription": "A username or alias for the target org. Overrides the default target org.",
8
+ "colorDescription": "Applies default colors to noteworthy log lines.",
9
+ "debugLevelDescription": "Debug level to set on the DEVELOPER_LOG trace flag for your user.",
10
+ "skipTraceFlagDescription": "Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.",
11
+ "finishedTailing": "Finished tailing logs"
12
+ }
@@ -1 +1 @@
1
- {"version":"0.2.7","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailedcoverage parameter to see detailed coverage results for each test method run.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.","usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests"},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames"},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false}},"args":[]}}}
1
+ {"version":"0.4.0","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"force:apex:log:tail":{"id":"force:apex:log:tail","description":"Follows active log\nActivates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","usage":"<%= command.id %> [-c] [-d <string>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:tail","$ sfdx force:apex:log:tail --debuglevel MyDebugLevel","$ sfdx force:apex:log:tail -c -s"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as JSON.","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"color":{"name":"color","type":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false},"debuglevel":{"name":"debuglevel","type":"option","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user."},"skiptraceflag":{"name":"skiptraceflag","type":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false}},"args":[]},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailedcoverage parameter to see detailed coverage results for each test method run.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.","usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests"},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames"},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently"},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-apex",
3
3
  "description": "Apex commands",
4
- "version": "0.2.7",
4
+ "version": "0.4.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",
7
7
  "dependencies": {
8
8
  "@oclif/command": "^1",
9
9
  "@oclif/config": "^1",
10
10
  "@oclif/errors": "^1",
11
- "@salesforce/apex-node": "0.2.7",
12
- "@salesforce/command": "3.1.0",
13
- "@salesforce/core": "2.23.2",
11
+ "@salesforce/apex-node": "0.4.0",
12
+ "@salesforce/command": "4.2.0",
13
+ "@salesforce/core": "2.31.0",
14
14
  "chalk": "^4.1.0",
15
15
  "tslib": "^1"
16
16
  },
@@ -35,10 +35,10 @@
35
35
  "shx": "0.2.2",
36
36
  "sinon": "^7.3.1",
37
37
  "ts-node": "^8.7.0",
38
- "typescript": "3.7.5"
38
+ "typescript": "4.3.2"
39
39
  },
40
40
  "resolutions": {
41
- "**/@salesforce/core": "2.23.2"
41
+ "**/@salesforce/core": "2.31.0"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=10.17.0"
@@ -121,6 +121,6 @@
121
121
  },
122
122
  "sfdx": {
123
123
  "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
124
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.2.7.sig"
124
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.4.0.sig"
125
125
  }
126
126
  }
package/yarn.lock CHANGED
@@ -139,6 +139,18 @@
139
139
  debug "^4.1.1"
140
140
  semver "^7.3.2"
141
141
 
142
+ "@oclif/command@^1.8.1", "@oclif/command@^1.8.6":
143
+ version "1.8.7"
144
+ resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.8.7.tgz#825d34bea8e93cecfaf0cb9bf327f4ab87cd0714"
145
+ integrity sha512-5DRLd2WHppuKsudHe8rCZnjgEpA2/6P4zxrLwWBXrGz+/kzA/RWcPJgkcdfm1uBCEgHMSWZP4MX21d4lAB1vYA==
146
+ dependencies:
147
+ "@oclif/config" "^1.18.1"
148
+ "@oclif/errors" "^1.3.5"
149
+ "@oclif/parser" "^3.8.6"
150
+ "@oclif/plugin-help" "^3.2.10"
151
+ debug "^4.1.1"
152
+ semver "^7.3.2"
153
+
142
154
  "@oclif/config@^1", "@oclif/config@^1.14.0", "@oclif/config@^1.15.1", "@oclif/config@^1.17.0":
143
155
  version "1.17.0"
144
156
  resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.17.0.tgz#ba8639118633102a7e481760c50054623d09fcab"
@@ -151,6 +163,18 @@
151
163
  is-wsl "^2.1.1"
152
164
  tslib "^2.0.0"
153
165
 
166
+ "@oclif/config@^1.18.1":
167
+ version "1.18.1"
168
+ resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.1.tgz#81207d3682fa967bcd6981954fcfe414a29dcc77"
169
+ integrity sha512-twRJO5RRl3CCDaAASb6LiynfFQl/SbkWWOQy1l0kJZSMPysEhz+fk3BKfmlCCm451Btkp4UezHUwI1JtH+/zYg==
170
+ dependencies:
171
+ "@oclif/errors" "^1.3.3"
172
+ "@oclif/parser" "^3.8.0"
173
+ debug "^4.1.1"
174
+ globby "^11.0.1"
175
+ is-wsl "^2.1.1"
176
+ tslib "^2.0.0"
177
+
154
178
  "@oclif/dev-cli@^1":
155
179
  version "1.26.0"
156
180
  resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.26.0.tgz#e3ec294b362c010ffc8948003d3770955c7951fd"
@@ -181,11 +205,32 @@
181
205
  strip-ansi "^6.0.0"
182
206
  wrap-ansi "^7.0.0"
183
207
 
208
+ "@oclif/errors@^1.3.5":
209
+ version "1.3.5"
210
+ resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.5.tgz#a1e9694dbeccab10fe2fe15acb7113991bed636c"
211
+ integrity sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ==
212
+ dependencies:
213
+ clean-stack "^3.0.0"
214
+ fs-extra "^8.1"
215
+ indent-string "^4.0.0"
216
+ strip-ansi "^6.0.0"
217
+ wrap-ansi "^7.0.0"
218
+
184
219
  "@oclif/linewrap@^1.0.0":
185
220
  version "1.0.0"
186
221
  resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
187
222
  integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==
188
223
 
224
+ "@oclif/parser@3.8.6", "@oclif/parser@^3.8.6":
225
+ version "3.8.6"
226
+ resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.6.tgz#d5a108af9c708a051cc6b1d27d47359d75f41236"
227
+ integrity sha512-tXb0NKgSgNxmf6baN6naK+CCwOueaFk93FG9u202U7mTBHUKsioOUlw1SG/iPi9aJM3WE4pHLXmty59pci0OEw==
228
+ dependencies:
229
+ "@oclif/errors" "^1.2.2"
230
+ "@oclif/linewrap" "^1.0.0"
231
+ chalk "^4.1.0"
232
+ tslib "^2.0.0"
233
+
189
234
  "@oclif/parser@^3.8.0", "@oclif/parser@^3.8.3":
190
235
  version "3.8.5"
191
236
  resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.5.tgz#c5161766a1efca7343e1f25d769efbefe09f639b"
@@ -237,6 +282,22 @@
237
282
  widest-line "^3.1.0"
238
283
  wrap-ansi "^4.0.0"
239
284
 
285
+ "@oclif/plugin-help@^3.2.10":
286
+ version "3.2.10"
287
+ resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.2.10.tgz#1843ac05f8cd139b575ee8b1dfc34bb500110e68"
288
+ integrity sha512-U3Jk01MTnqnd9druulNSn6nTjPEE1Rr6PWhD4rJ6Z+NjLFTKhp3S1kutWDXJQd7CQ6m8tHd1AYgsIjiR+36bSw==
289
+ dependencies:
290
+ "@oclif/command" "^1.8.6"
291
+ "@oclif/config" "^1.18.1"
292
+ "@oclif/errors" "^1.3.5"
293
+ chalk "^4.1.2"
294
+ indent-string "^4.0.0"
295
+ lodash "^4.17.21"
296
+ string-width "^4.2.0"
297
+ strip-ansi "^6.0.0"
298
+ widest-line "^3.1.0"
299
+ wrap-ansi "^6.2.0"
300
+
240
301
  "@oclif/screen@^1.0.3":
241
302
  version "1.0.4"
242
303
  resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493"
@@ -261,19 +322,19 @@
261
322
  mv "~2"
262
323
  safe-json-stringify "~1"
263
324
 
264
- "@salesforce/command@3.1.0":
265
- version "3.1.0"
266
- resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-3.1.0.tgz#98874539aeda69aeb20765dcf7ed02a2945cec45"
267
- integrity sha512-Ggz+P35uJVd2w+R66TGz1Rs4jr6KKmyC3bkpgbJTm+yjaOjy2l/if2hus6fhZ680LUxCucDVXbyEjdzu3B+ioA==
325
+ "@salesforce/command@4.2.0":
326
+ version "4.2.0"
327
+ resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-4.2.0.tgz#e2a1a620e6a0f1f1e25747bd651a749cf29ad9e6"
328
+ integrity sha512-KxvzBHqJHLR5WMP/Gh4TpSjCSfIveZEVRA8+zS+ZFXXLILuZzCPi/kHwZnKwOedO3EyjC8HFnFDgKt62vqgw8w==
268
329
  dependencies:
269
- "@oclif/command" "^1.5.17"
330
+ "@oclif/command" "^1.8.1"
270
331
  "@oclif/errors" "^1.2.2"
271
- "@oclif/parser" "^3.8.3"
332
+ "@oclif/parser" "3.8.6"
272
333
  "@oclif/plugin-help" "^2.2.0"
273
334
  "@oclif/test" "^1.2.4"
274
- "@salesforce/core" "^2.16.3"
275
- "@salesforce/kit" "^1.2.2"
276
- "@salesforce/ts-types" "^1.2.0"
335
+ "@salesforce/core" "^2.31.0"
336
+ "@salesforce/kit" "^1.5.17"
337
+ "@salesforce/ts-types" "^1.5.20"
277
338
  chalk "^2.4.2"
278
339
  cli-ux "^4.9.3"
279
340
 
@@ -293,25 +354,27 @@
293
354
  chalk "^2.4.2"
294
355
  cli-ux "^4.9.3"
295
356
 
296
- "@salesforce/core@2.23.2", "@salesforce/core@^2.16.3", "@salesforce/core@^2.2.0", "@salesforce/core@^2.6.0":
297
- version "2.23.2"
298
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.23.2.tgz#cdb02677c51562b496fe796a3bc69d68a23f3026"
299
- integrity sha512-LTnl7ElWrIgIYqYWLWL9KUrCI4kCEKaQlglUEJWBDLSUM0rfW3EnChLMaXZTCkqGjYLbldfRh8GXMxyejpoSTw==
357
+ "@salesforce/core@2.31.0", "@salesforce/core@^2.2.0", "@salesforce/core@^2.31.0", "@salesforce/core@^2.6.0":
358
+ version "2.31.0"
359
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.31.0.tgz#cdeaa9968060afb52f40c12bf5a4f9844a2a1909"
360
+ integrity sha512-ROEjX/M0ZHpGlmRfNUoDKsE4ppOZUU5Hcl3XHr2pCO7F505imAmhKg8I+XfGSxXyj4bL/kftkNTK5xFffJ+6mw==
300
361
  dependencies:
301
362
  "@salesforce/bunyan" "^2.0.0"
302
363
  "@salesforce/kit" "^1.5.0"
303
364
  "@salesforce/schemas" "^1.0.1"
304
- "@salesforce/ts-types" "^1.0.0"
305
- "@types/graceful-fs" "^4.1.3"
306
- "@types/jsforce" "1.9.23"
307
- "@types/mkdirp" "1.0.0"
365
+ "@salesforce/ts-types" "^1.5.13"
366
+ "@types/graceful-fs" "^4.1.5"
367
+ "@types/jsforce" "^1.9.35"
368
+ "@types/mkdirp" "^1.0.1"
308
369
  debug "^3.1.0"
309
370
  graceful-fs "^4.2.4"
310
371
  jsen "0.6.6"
311
- jsforce "^1.10.0"
372
+ jsforce "^1.11.0"
312
373
  jsonwebtoken "8.5.0"
313
374
  mkdirp "1.0.4"
375
+ semver "^7.3.5"
314
376
  sfdx-faye "^1.0.9"
377
+ ts-retry-promise "^0.6.0"
315
378
 
316
379
  "@salesforce/dev-config@1.4.1":
317
380
  version "1.4.1"
@@ -338,6 +401,15 @@
338
401
  "@salesforce/ts-types" "^1.5.13"
339
402
  tslib "^1.10.0"
340
403
 
404
+ "@salesforce/kit@^1.5.17":
405
+ version "1.5.18"
406
+ resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-1.5.18.tgz#77c30e3351d71dbe37444e6741c80e0ce7e233f3"
407
+ integrity sha512-SntvHmzzxc6vY4MpyWw6xB/vYKPoGiJG9SLzbAaRgSd+F2j6TX1na2HabrxQo8ppxGLjIou2gfezkiyuO+Ru6w==
408
+ dependencies:
409
+ "@salesforce/ts-types" "^1.5.20"
410
+ shx "^0.3.3"
411
+ tslib "^2.2.0"
412
+
341
413
  "@salesforce/plugin-command-reference@1.1.0":
342
414
  version "1.1.0"
343
415
  resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-1.1.0.tgz#c253fc4501ce524b91a31869094646fca6202605"
@@ -373,7 +445,7 @@
373
445
  dependencies:
374
446
  tslib "^1.10.0"
375
447
 
376
- "@salesforce/ts-types@^1.0.0", "@salesforce/ts-types@^1.2.0", "@salesforce/ts-types@^1.5.0":
448
+ "@salesforce/ts-types@^1.2.0", "@salesforce/ts-types@^1.5.0":
377
449
  version "1.5.0"
378
450
  resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-1.5.0.tgz#e2baaca088f30a3f9d10127eb789a12abad44958"
379
451
  integrity sha512-fJsVXSJ0s8voDNM7TYulPkiRDdR1bC/rE2hsY/+2q0DDa57UAeql34tEdaBs84GGbe/VGCVbiazkLDJW/bX7KQ==
@@ -387,6 +459,13 @@
387
459
  dependencies:
388
460
  tslib "^1.10.0"
389
461
 
462
+ "@salesforce/ts-types@^1.5.20":
463
+ version "1.5.20"
464
+ resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-1.5.20.tgz#f6875a710ceca48223b240026a14af6d3b39882f"
465
+ integrity sha512-Ov6um4CWd63EvkRavkHG0J/P9XYL55sdkDWPMr7+AIgqh5flHxDRz09/C4e9M94aX30rzJxW4TVX6EBf4Cu2BQ==
466
+ dependencies:
467
+ tslib "^2.2.0"
468
+
390
469
  "@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
391
470
  version "1.8.2"
392
471
  resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.2.tgz#858f5c4b48d80778fde4b9d541f27edc0d56488b"
@@ -452,17 +531,17 @@
452
531
  "@types/minimatch" "*"
453
532
  "@types/node" "*"
454
533
 
455
- "@types/graceful-fs@^4.1.3":
456
- version "4.1.4"
457
- resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.4.tgz#4ff9f641a7c6d1a3508ff88bc3141b152772e753"
458
- integrity sha512-mWA/4zFQhfvOA8zWkXobwJvBD7vzcxgrOQ0J5CH1votGqdq9m7+FwtGaqyCZqC3NyyBkc9z4m+iry4LlqcMWJg==
534
+ "@types/graceful-fs@^4.1.5":
535
+ version "4.1.5"
536
+ resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
537
+ integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==
459
538
  dependencies:
460
539
  "@types/node" "*"
461
540
 
462
- "@types/jsforce@1.9.23":
463
- version "1.9.23"
464
- resolved "https://registry.yarnpkg.com/@types/jsforce/-/jsforce-1.9.23.tgz#06c2b604e02bfc8ba1143c6bf53530e565f18bae"
465
- integrity sha512-p1aqPWapTAG5xpTpebj4jSs5cwpNHe5PYFtEXCIjsSgfFgIW7GgQb5X/43/M8gkZNcGe8kchykrD9UgYKjz3eQ==
541
+ "@types/jsforce@^1.9.35":
542
+ version "1.9.35"
543
+ resolved "https://registry.yarnpkg.com/@types/jsforce/-/jsforce-1.9.35.tgz#abda87c796910d286420b07a97382c782b576ca8"
544
+ integrity sha512-GEb1iMAK8raElbBbozR7aVEuMl47jrPYLNkeh+3h2vLJIG21uQ/kOk4kPgMiMFwCmgfX4/tPDugnjb7qrMav4A==
466
545
  dependencies:
467
546
  "@types/node" "*"
468
547
 
@@ -483,10 +562,10 @@
483
562
  dependencies:
484
563
  "@types/node" "*"
485
564
 
486
- "@types/mkdirp@1.0.0":
487
- version "1.0.0"
488
- resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-1.0.0.tgz#16ce0eabe4a9a3afe64557ad0ee6886ec3d32927"
489
- integrity sha512-ONFY9//bCEr3DWKON3iDv/Q8LXnhaYYaNDeFSN0AtO5o4sLf9F0pstJKKKjQhXE0kJEeHs8eR6SAsROhhc2Csw==
565
+ "@types/mkdirp@^1.0.1":
566
+ version "1.0.2"
567
+ resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-1.0.2.tgz#8d0bad7aa793abe551860be1f7ae7f3198c16666"
568
+ integrity sha512-o0K1tSO0Dx5X6xlU5F1D6625FawhC3dU3iqr25lluNv/+/QIVH8RLNEiVokgIZo+mz+87w/3Mkg/VvQS+J51fQ==
490
569
  dependencies:
491
570
  "@types/node" "*"
492
571
 
@@ -879,6 +958,14 @@ chalk@^4.0.0, chalk@^4.1.0:
879
958
  ansi-styles "^4.1.0"
880
959
  supports-color "^7.1.0"
881
960
 
961
+ chalk@^4.1.2:
962
+ version "4.1.2"
963
+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
964
+ integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
965
+ dependencies:
966
+ ansi-styles "^4.1.0"
967
+ supports-color "^7.1.0"
968
+
882
969
  check-error@^1.0.2:
883
970
  version "1.0.2"
884
971
  resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
@@ -1506,7 +1593,7 @@ faye-websocket@~0.9.1:
1506
1593
  dependencies:
1507
1594
  websocket-driver ">=0.5.1"
1508
1595
 
1509
- faye@^1.2.0:
1596
+ faye@^1.4.0:
1510
1597
  version "1.4.0"
1511
1598
  resolved "https://registry.yarnpkg.com/faye/-/faye-1.4.0.tgz#01d3d26ed5642c1cb203eed358afb1c1444b8669"
1512
1599
  integrity sha512-kRrIg4be8VNYhycS2PY//hpBJSzZPr/DBbcy9VWelhZMW3KhyLkQR0HL0k0MNpmVoNFF4EdfMFkNAWjTP65g6w==
@@ -2265,10 +2352,10 @@ jsesc@^2.5.1:
2265
2352
  resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
2266
2353
  integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
2267
2354
 
2268
- jsforce@^1.10.0:
2269
- version "1.10.1"
2270
- resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-1.10.1.tgz#ca1cf58d4439d94e1f84482d83081acd12c93269"
2271
- integrity sha512-rv+UpBR9n/sWdgLhyPOJuKgT9ZKngypYf9XOHoXVRpSllvTFCjn+M3H81Nu1oYjPH9JKXVS8hL1dmmq8+kOAJg==
2355
+ jsforce@^1.11.0:
2356
+ version "1.11.0"
2357
+ resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-1.11.0.tgz#7e853b82c534f1fe8e18f432a344bae81881a133"
2358
+ integrity sha512-vYNXJXXdz9ZQNdfRqq/MCJ/zU7JGA7iEduwafQDzChR9FeqXgTNfHTppLVbw9mIniKkQZemmxSOtl7N04lj/5Q==
2272
2359
  dependencies:
2273
2360
  base64-url "^2.2.0"
2274
2361
  co-prompt "^1.0.0"
@@ -2276,7 +2363,7 @@ jsforce@^1.10.0:
2276
2363
  commander "^2.9.0"
2277
2364
  csv-parse "^4.10.1"
2278
2365
  csv-stringify "^1.0.4"
2279
- faye "^1.2.0"
2366
+ faye "^1.4.0"
2280
2367
  inherits "^2.0.1"
2281
2368
  lodash "^4.17.19"
2282
2369
  multistream "^2.0.5"
@@ -2510,6 +2597,11 @@ lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19:
2510
2597
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
2511
2598
  integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
2512
2599
 
2600
+ lodash@^4.17.21:
2601
+ version "4.17.21"
2602
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
2603
+ integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
2604
+
2513
2605
  lolex@^2.4.2:
2514
2606
  version "2.7.5"
2515
2607
  resolved "https://registry.yarnpkg.com/lolex/-/lolex-2.7.5.tgz#113001d56bfc7e02d56e36291cc5c413d1aa0733"
@@ -2637,7 +2729,7 @@ minimist@0.0.8:
2637
2729
  resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
2638
2730
  integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
2639
2731
 
2640
- minimist@^1.2.0, minimist@^1.2.5:
2732
+ minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5:
2641
2733
  version "1.2.5"
2642
2734
  resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
2643
2735
  integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
@@ -3371,6 +3463,13 @@ semver@^7.3.2:
3371
3463
  dependencies:
3372
3464
  lru-cache "^6.0.0"
3373
3465
 
3466
+ semver@^7.3.5:
3467
+ version "7.3.5"
3468
+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
3469
+ integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
3470
+ dependencies:
3471
+ lru-cache "^6.0.0"
3472
+
3374
3473
  sequin@*:
3375
3474
  version "0.1.1"
3376
3475
  resolved "https://registry.yarnpkg.com/sequin/-/sequin-0.1.1.tgz#5c2d389d66a383734eaafbc45edeb2c1cb1be701"
@@ -3435,6 +3534,15 @@ shelljs@^0.7.3:
3435
3534
  interpret "^1.0.0"
3436
3535
  rechoir "^0.6.2"
3437
3536
 
3537
+ shelljs@^0.8.4:
3538
+ version "0.8.4"
3539
+ resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
3540
+ integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
3541
+ dependencies:
3542
+ glob "^7.0.0"
3543
+ interpret "^1.0.0"
3544
+ rechoir "^0.6.2"
3545
+
3438
3546
  shx@0.2.2:
3439
3547
  version "0.2.2"
3440
3548
  resolved "https://registry.yarnpkg.com/shx/-/shx-0.2.2.tgz#0a304d020b0edf1306ad81570e80f0346df58a39"
@@ -3444,6 +3552,14 @@ shx@0.2.2:
3444
3552
  minimist "^1.2.0"
3445
3553
  shelljs "^0.7.3"
3446
3554
 
3555
+ shx@^0.3.3:
3556
+ version "0.3.3"
3557
+ resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.3.tgz#681a88c7c10db15abe18525349ed474f0f1e7b9f"
3558
+ integrity sha512-nZJ3HFWVoTSyyB+evEKjJ1STiixGztlqwKLTUNV5KqMWtGey9fTd4KU1gdZ1X9BV6215pswQ/Jew9NsuS/fNDA==
3559
+ dependencies:
3560
+ minimist "^1.2.3"
3561
+ shelljs "^0.8.4"
3562
+
3447
3563
  signal-exit@^3.0.0, signal-exit@^3.0.2:
3448
3564
  version "3.0.3"
3449
3565
  resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
@@ -3885,6 +4001,11 @@ ts-node@^8.7.0:
3885
4001
  source-map-support "^0.5.17"
3886
4002
  yn "3.1.1"
3887
4003
 
4004
+ ts-retry-promise@^0.6.0:
4005
+ version "0.6.0"
4006
+ resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.6.0.tgz#95643500d5388eed25abc90aa2e99c8b6c5a7bc9"
4007
+ integrity sha512-8DF80uA7JPu6m8ouHxGkyBpPTIGQnsgIUgLDqcRaD7EEhVowjG72KqCX334gsa1P+AmzeTVdd/xEzVFCAuPCtg==
4008
+
3888
4009
  tslib@^1, tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.3:
3889
4010
  version "1.14.1"
3890
4011
  resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
@@ -3895,6 +4016,11 @@ tslib@^2, tslib@^2.0.0, tslib@^2.0.3:
3895
4016
  resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
3896
4017
  integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==
3897
4018
 
4019
+ tslib@^2.2.0:
4020
+ version "2.3.1"
4021
+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
4022
+ integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
4023
+
3898
4024
  tslint-microsoft-contrib@^5:
3899
4025
  version "5.2.1"
3900
4026
  resolved "https://registry.yarnpkg.com/tslint-microsoft-contrib/-/tslint-microsoft-contrib-5.2.1.tgz#a6286839f800e2591d041ea2800c77487844ad81"
@@ -3969,10 +4095,10 @@ typedarray-to-buffer@^3.1.5:
3969
4095
  dependencies:
3970
4096
  is-typedarray "^1.0.0"
3971
4097
 
3972
- typescript@3.7.5:
3973
- version "3.7.5"
3974
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
3975
- integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==
4098
+ typescript@4.3.2:
4099
+ version "4.3.2"
4100
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
4101
+ integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==
3976
4102
 
3977
4103
  typescript@^3:
3978
4104
  version "3.9.7"
@@ -4121,6 +4247,15 @@ wrap-ansi@^5.1.0:
4121
4247
  string-width "^3.0.0"
4122
4248
  strip-ansi "^5.0.0"
4123
4249
 
4250
+ wrap-ansi@^6.2.0:
4251
+ version "6.2.0"
4252
+ resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
4253
+ integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
4254
+ dependencies:
4255
+ ansi-styles "^4.0.0"
4256
+ string-width "^4.1.0"
4257
+ strip-ansi "^6.0.0"
4258
+
4124
4259
  wrap-ansi@^7.0.0:
4125
4260
  version "7.0.0"
4126
4261
  resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"