@salesforce/plugin-apex 0.2.6 → 0.3.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.
@@ -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.Option<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/t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AAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;CACH,CAAC"}
@@ -30,6 +30,11 @@ class Run extends command_1.SfdxCommand {
30
30
  if (this.flags.outputdir) {
31
31
  this.ux.warn(messages.getMessage('warningMessage'));
32
32
  }
33
+ // W-9346875 - default to human-readable result format for --wait flag
34
+ if (this.flags.hasOwnProperty('wait') &&
35
+ !this.flags.hasOwnProperty('resultformat')) {
36
+ this.flags.resultformat = 'human';
37
+ }
33
38
  // add listener for errors
34
39
  process.on('uncaughtException', err => {
35
40
  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;AAE3B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAE5D,QAAA,eAAe,GAAG;IAC7B,eAAe;IACf,kBAAkB;IAClB,mBAAmB;CACpB,CAAC;AACF,MAAqB,GAAI,SAAQ,qBAAW;IAA5C;;QAEY,4BAAuB,GAAG,IAAI,mCAAuB,EAAE,CAAC;IAoUpE,CAAC;IAzPc,GAAG;;YACd,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;YAC3B,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;gBACxB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;aACrD;YAED,0BAA0B;YAC1B,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,GAAG,CAAC,EAAE;gBACpC,MAAM,YAAY,GAAG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ACT,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,69 @@
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 chalk = require("chalk");
11
+ const core_1 = require("@salesforce/core");
12
+ const DEFAULT_COLOR_MAP = {
13
+ CONSTRUCTOR_: 'magenta',
14
+ EXCEPTION_: 'red',
15
+ FATAL_: 'red',
16
+ METHOD_: 'blue',
17
+ SOQL_: 'yellow',
18
+ USER_: 'green',
19
+ VARIABLE_: 'darkcyan'
20
+ };
21
+ /**
22
+ * @description this is a holdover from the toolbelt API, which allows for custom colorization of the logs.
23
+ * @param log - full debug log retrieved from an org.
24
+ * @returns colorized log
25
+ */
26
+ function colorizeLog(log) {
27
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
28
+ const logger = yield core_1.Logger.child('apexLogApi', { tag: 'tail' });
29
+ let colorMap = DEFAULT_COLOR_MAP;
30
+ const localColorMapFile = process.env.SFDX_APEX_LOG_COLOR_MAP;
31
+ if (localColorMapFile) {
32
+ try {
33
+ colorMap = require(localColorMapFile);
34
+ }
35
+ catch (err) {
36
+ logger.warn(`Color registry not found: ${localColorMapFile}`);
37
+ }
38
+ }
39
+ const logLines = log.split(/\n/g);
40
+ if (!logLines || logLines.length < 1) {
41
+ logger.warn('colorizeLog unable to split logLines');
42
+ return log;
43
+ }
44
+ const line1 = chalk.bold(logLines.shift());
45
+ return [
46
+ line1,
47
+ ...logLines.map(logLine => {
48
+ for (const [key, color] of Object.entries(colorMap)) {
49
+ if (logLine.includes(`|${key}`)) {
50
+ const colorFn = chalk.keyword(color);
51
+ if (typeof colorFn !== 'function') {
52
+ logger.warn(`Color ${color} is not supported`);
53
+ return logLine;
54
+ }
55
+ const count = (logLine.match(/\|/g) || []).length;
56
+ if (count === 1) {
57
+ return colorFn(logLine);
58
+ }
59
+ const first = logLine.indexOf('|', logLine.indexOf('|') + 1);
60
+ return `${colorFn(logLine.substring(0, first))}${logLine.substring(first)}`;
61
+ }
62
+ }
63
+ return logLine;
64
+ })
65
+ ].join('\n');
66
+ });
67
+ }
68
+ exports.colorizeLog = colorizeLog;
69
+ //# 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,UAA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BAED,MAAM,KAAK,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;wBAClD,IAAI,KAAK,KAAK,CAAC,EAAE;4BACf,OAAO,OAAO,CAAC,OAAO,CAAC,CAAC;yBACzB;wBACD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;wBAC7D,OAAO,GAAG,OAAO,CACf,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAClB,GAAG,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;qBAC1C;iBACF;gBACD,OAAO,OAAO,CAAC;YACjB,CAAC,CAAc;SAChB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACf,CAAC;CAAA;AA9CD,kCA8CC"}
@@ -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.6","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.3.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.6",
4
+ "version": "0.3.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.6",
12
- "@salesforce/command": "3.1.0",
13
- "@salesforce/core": "2.23.2",
11
+ "@salesforce/apex-node": "0.3.0",
12
+ "@salesforce/command": "3.1.3",
13
+ "@salesforce/core": "2.28.0",
14
14
  "chalk": "^4.1.0",
15
15
  "tslib": "^1"
16
16
  },
@@ -38,7 +38,7 @@
38
38
  "typescript": "3.7.5"
39
39
  },
40
40
  "resolutions": {
41
- "**/@salesforce/core": "2.23.2"
41
+ "**/@salesforce/core": "2.28.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.6.sig"
124
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.3.0.sig"
125
125
  }
126
126
  }
package/yarn.lock CHANGED
@@ -261,17 +261,17 @@
261
261
  mv "~2"
262
262
  safe-json-stringify "~1"
263
263
 
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==
264
+ "@salesforce/command@3.1.3":
265
+ version "3.1.3"
266
+ resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-3.1.3.tgz#d72ed2bc516ce7fea1151576a997b45fd1752d26"
267
+ integrity sha512-Yg9lhl3ghwPN7WwqFmgfWIn6i7vz43WTpEsYsChz80bKORlVbDvhwPZQUj0XTv3DKDnPZVU8FFIDsrLSOa9G1A==
268
268
  dependencies:
269
269
  "@oclif/command" "^1.5.17"
270
270
  "@oclif/errors" "^1.2.2"
271
271
  "@oclif/parser" "^3.8.3"
272
272
  "@oclif/plugin-help" "^2.2.0"
273
273
  "@oclif/test" "^1.2.4"
274
- "@salesforce/core" "^2.16.3"
274
+ "@salesforce/core" "^2.23.4"
275
275
  "@salesforce/kit" "^1.2.2"
276
276
  "@salesforce/ts-types" "^1.2.0"
277
277
  chalk "^2.4.2"
@@ -293,25 +293,26 @@
293
293
  chalk "^2.4.2"
294
294
  cli-ux "^4.9.3"
295
295
 
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==
296
+ "@salesforce/core@2.28.0", "@salesforce/core@^2.2.0", "@salesforce/core@^2.23.4", "@salesforce/core@^2.6.0":
297
+ version "2.28.0"
298
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.28.0.tgz#2fb3d7be0dfac8505332f558b7dd4274afd34901"
299
+ integrity sha512-CFw2xloL3UwuvLm+0nK588kFVGPRZFmUzeUBYFCIz+34CJShc1B7yN+anPlZcHWgT12Ih9yzKYaki0BjCeIgKQ==
300
300
  dependencies:
301
301
  "@salesforce/bunyan" "^2.0.0"
302
302
  "@salesforce/kit" "^1.5.0"
303
303
  "@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"
304
+ "@salesforce/ts-types" "^1.5.13"
305
+ "@types/graceful-fs" "^4.1.5"
306
+ "@types/jsforce" "^1.9.29"
307
+ "@types/mkdirp" "^1.0.1"
308
308
  debug "^3.1.0"
309
309
  graceful-fs "^4.2.4"
310
310
  jsen "0.6.6"
311
- jsforce "^1.10.0"
311
+ jsforce "^1.10.1"
312
312
  jsonwebtoken "8.5.0"
313
313
  mkdirp "1.0.4"
314
314
  sfdx-faye "^1.0.9"
315
+ ts-retry-promise "^0.6.0"
315
316
 
316
317
  "@salesforce/dev-config@1.4.1":
317
318
  version "1.4.1"
@@ -373,7 +374,7 @@
373
374
  dependencies:
374
375
  tslib "^1.10.0"
375
376
 
376
- "@salesforce/ts-types@^1.0.0", "@salesforce/ts-types@^1.2.0", "@salesforce/ts-types@^1.5.0":
377
+ "@salesforce/ts-types@^1.2.0", "@salesforce/ts-types@^1.5.0":
377
378
  version "1.5.0"
378
379
  resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-1.5.0.tgz#e2baaca088f30a3f9d10127eb789a12abad44958"
379
380
  integrity sha512-fJsVXSJ0s8voDNM7TYulPkiRDdR1bC/rE2hsY/+2q0DDa57UAeql34tEdaBs84GGbe/VGCVbiazkLDJW/bX7KQ==
@@ -452,17 +453,17 @@
452
453
  "@types/minimatch" "*"
453
454
  "@types/node" "*"
454
455
 
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==
456
+ "@types/graceful-fs@^4.1.5":
457
+ version "4.1.5"
458
+ resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
459
+ integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==
459
460
  dependencies:
460
461
  "@types/node" "*"
461
462
 
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==
463
+ "@types/jsforce@^1.9.29":
464
+ version "1.9.34"
465
+ resolved "https://registry.yarnpkg.com/@types/jsforce/-/jsforce-1.9.34.tgz#d1aa3d92a921d85f8487b1d134b34788279d9d3a"
466
+ integrity sha512-Wc337FTkLbKjOUOqeYTP1QWpiy9/XGMHM+l0KQA+sL1HxTO3ohb0BHLQYAGYobeNx4umtdJBM6UWBV1o4JOUUA==
466
467
  dependencies:
467
468
  "@types/node" "*"
468
469
 
@@ -483,10 +484,10 @@
483
484
  dependencies:
484
485
  "@types/node" "*"
485
486
 
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==
487
+ "@types/mkdirp@^1.0.1":
488
+ version "1.0.2"
489
+ resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-1.0.2.tgz#8d0bad7aa793abe551860be1f7ae7f3198c16666"
490
+ integrity sha512-o0K1tSO0Dx5X6xlU5F1D6625FawhC3dU3iqr25lluNv/+/QIVH8RLNEiVokgIZo+mz+87w/3Mkg/VvQS+J51fQ==
490
491
  dependencies:
491
492
  "@types/node" "*"
492
493
 
@@ -2265,7 +2266,7 @@ jsesc@^2.5.1:
2265
2266
  resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
2266
2267
  integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
2267
2268
 
2268
- jsforce@^1.10.0:
2269
+ jsforce@^1.10.1:
2269
2270
  version "1.10.1"
2270
2271
  resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-1.10.1.tgz#ca1cf58d4439d94e1f84482d83081acd12c93269"
2271
2272
  integrity sha512-rv+UpBR9n/sWdgLhyPOJuKgT9ZKngypYf9XOHoXVRpSllvTFCjn+M3H81Nu1oYjPH9JKXVS8hL1dmmq8+kOAJg==
@@ -3885,6 +3886,11 @@ ts-node@^8.7.0:
3885
3886
  source-map-support "^0.5.17"
3886
3887
  yn "3.1.1"
3887
3888
 
3889
+ ts-retry-promise@^0.6.0:
3890
+ version "0.6.0"
3891
+ resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.6.0.tgz#95643500d5388eed25abc90aa2e99c8b6c5a7bc9"
3892
+ integrity sha512-8DF80uA7JPu6m8ouHxGkyBpPTIGQnsgIUgLDqcRaD7EEhVowjG72KqCX334gsa1P+AmzeTVdd/xEzVFCAuPCtg==
3893
+
3888
3894
  tslib@^1, tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.3:
3889
3895
  version "1.14.1"
3890
3896
  resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"