@salesforce/plugin-apex 0.4.0 → 0.8.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.
- package/lib/commands/force/apex/execute.d.ts +1 -1
- package/lib/commands/force/apex/execute.js.map +1 -1
- package/lib/commands/force/apex/log/get.d.ts +1 -1
- package/lib/commands/force/apex/log/get.js.map +1 -1
- package/lib/commands/force/apex/log/list.d.ts +1 -1
- package/lib/commands/force/apex/log/list.js.map +1 -1
- package/lib/commands/force/apex/log/tail.d.ts +1 -1
- package/lib/commands/force/apex/log/tail.js.map +1 -1
- package/lib/commands/force/apex/test/report.d.ts +1 -1
- package/lib/commands/force/apex/test/report.js.map +1 -1
- package/lib/commands/force/apex/test/run.d.ts +1 -1
- package/lib/commands/force/apex/test/run.js +2 -0
- package/lib/commands/force/apex/test/run.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
- package/yarn.lock +9 -40
|
@@ -5,7 +5,7 @@ export default class Execute extends SfdxCommand {
|
|
|
5
5
|
static longDescription: string;
|
|
6
6
|
static examples: string[];
|
|
7
7
|
protected static requiresUsername: boolean;
|
|
8
|
-
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
9
|
apexcodefile: flags.Discriminated<flags.String>;
|
|
10
10
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
11
11
|
apiversion: flags.Builtin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../src/commands/force/apex/execute.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAI+B;AAC/B,iDAAyD;AACzD,2CAA4C;AAE5C,0CAKwB;AAExB,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE7E,MAAqB,OAAQ,SAAQ,qBAAW;IA4BjC,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AA2H;CAC5H,CAAC;AACe,wBAAgB,GAAG,IAAI,CAAC;AAElB,mBAAW,GAAG;IACnC,YAAY,EAAE,eAAK,CAAC,QAAQ,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,IAAI,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;CAC5B,CAAC"}
|
|
@@ -5,7 +5,7 @@ export default class Get extends SfdxCommand {
|
|
|
5
5
|
static description: string;
|
|
6
6
|
static longDescription: string;
|
|
7
7
|
static examples: string[];
|
|
8
|
-
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
9
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
10
10
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
11
11
|
apiversion: flags.Builtin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/get.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAmD;AACnD,iDAAyD;AACzD,2CAA4C;AAE5C,6CAA2E;AAE3E,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;AAEzE,MAAqB,GAAI,SAAQ,qBAAW;IA4C7B,GAAG;;YACd,IAAI;gBACF,8CAA8C;gBAC9C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,CAAC,aAAa,EAAE,CAAC;gBACvC,MAAM,UAA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W,GAAG;IACnC,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,IAAI,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,EAAE,CAAC;QACd,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC;KACrD,CAAC;IACF,MAAM,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,EAAE;QACP,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;KACtD,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACxD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KACjE,CAAC;CACH,CAAC"}
|
|
@@ -5,7 +5,7 @@ export default class List extends SfdxCommand {
|
|
|
5
5
|
static description: string;
|
|
6
6
|
static longDescription: string;
|
|
7
7
|
static examples: string[];
|
|
8
|
-
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
9
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
10
10
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
11
11
|
apiversion: flags.Builtin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../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AE,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;CAC5B,CAAC"}
|
|
@@ -4,7 +4,7 @@ export default class Tail extends SfdxCommand {
|
|
|
4
4
|
static description: string;
|
|
5
5
|
static longDescription: string;
|
|
6
6
|
static examples: string[];
|
|
7
|
-
|
|
7
|
+
static readonly flagsConfig: {
|
|
8
8
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
9
9
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
10
10
|
apiversion: flags.Builtin;
|
|
@@ -1 +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,CAA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AC"}
|
|
@@ -5,7 +5,7 @@ export default class Report extends SfdxCommand {
|
|
|
5
5
|
static description: string;
|
|
6
6
|
static longDescription: string;
|
|
7
7
|
static examples: string[];
|
|
8
|
-
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
9
|
testrunid: flags.Discriminated<flags.String>;
|
|
10
10
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
11
11
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/test/report.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAO+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,QAAQ,CAAC,CAAC;AAE5E,MAAqB,MAAO,SAAQ,qBAAW;IAsDhC,GAAG;;YACd,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,IAAI,CAAC,WAAW,CACnC,IAAI,gBAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAChE,CAAC;gBACF,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,CAAC;gBAC/B,OAAO,CAAC,IAAI,EAAE,CAAC;YACjB,CAAC,CAAC,CAAC;YAEH,8CAA8C;YAC9C,MAAM,IAAI,GAAG,IAAI,CAA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AK,CAAC,OAAO,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC/D,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,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACpD,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;KACvD,CAAC;CACH,CAAC"}
|
|
@@ -8,7 +8,7 @@ export default class Run extends SfdxCommand {
|
|
|
8
8
|
static description: string;
|
|
9
9
|
static longDescription: string;
|
|
10
10
|
static examples: string[];
|
|
11
|
-
|
|
11
|
+
static readonly flagsConfig: {
|
|
12
12
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
13
13
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
14
14
|
apiversion: flags.Builtin;
|
|
@@ -59,10 +59,12 @@ class Run extends command_1.SfdxCommand {
|
|
|
59
59
|
// Address with W-9163533
|
|
60
60
|
if (this.flags.synchronous && testLevel === "RunSpecifiedTests" /* RunSpecifiedTests */) {
|
|
61
61
|
const payload = yield testService.buildSyncPayload(testLevel, this.flags.tests, this.flags.classnames);
|
|
62
|
+
payload.skipCodeCoverage = this.flags.codecoverage ? false : true;
|
|
62
63
|
result = (yield testService.runTestSynchronous(payload, this.flags.codecoverage, this.cancellationTokenSource.token));
|
|
63
64
|
}
|
|
64
65
|
else {
|
|
65
66
|
const payload = yield testService.buildAsyncPayload(testLevel, this.flags.tests, this.flags.classnames, this.flags.suitenames);
|
|
67
|
+
payload.skipCodeCoverage = this.flags.codecoverage ? false : true;
|
|
66
68
|
const reporter = undefined;
|
|
67
69
|
if (this.flags.resultformat !== undefined) {
|
|
68
70
|
result = yield testService.runTestAsynchronous(payload, this.flags.codecoverage, false, reporter, this.cancellationTokenSource.token);
|
|
@@ -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;
|
|
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,q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AAC;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"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
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":[]}}}
|
|
1
|
+
{"version":"0.8.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.
|
|
4
|
+
"version": "0.8.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.
|
|
11
|
+
"@salesforce/apex-node": "0.8.0",
|
|
12
12
|
"@salesforce/command": "4.2.0",
|
|
13
|
-
"@salesforce/core": "2.
|
|
13
|
+
"@salesforce/core": "2.33.1",
|
|
14
14
|
"chalk": "^4.1.0",
|
|
15
15
|
"tslib": "^1"
|
|
16
16
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typescript": "4.3.2"
|
|
39
39
|
},
|
|
40
40
|
"resolutions": {
|
|
41
|
-
"**/@salesforce/core": "2.
|
|
41
|
+
"**/@salesforce/core": "2.33.1"
|
|
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.
|
|
124
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.8.0.sig"
|
|
125
125
|
}
|
|
126
126
|
}
|
package/yarn.lock
CHANGED
|
@@ -354,10 +354,10 @@
|
|
|
354
354
|
chalk "^2.4.2"
|
|
355
355
|
cli-ux "^4.9.3"
|
|
356
356
|
|
|
357
|
-
"@salesforce/core@2.
|
|
358
|
-
version "2.
|
|
359
|
-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.
|
|
360
|
-
integrity sha512-
|
|
357
|
+
"@salesforce/core@2.33.1", "@salesforce/core@^2.2.0", "@salesforce/core@^2.31.0", "@salesforce/core@^2.6.0":
|
|
358
|
+
version "2.33.1"
|
|
359
|
+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.33.1.tgz#23c22953174ad0e809b2f1c7b2881b5ba8a89d9c"
|
|
360
|
+
integrity sha512-jKVFYEvlV+loBoau5heBOVXmzsPO+RbYh6SPybJK6xF7khQmzu7+WAQbikY2eY8VaXcded2kka8L/FKuD/LKBg==
|
|
361
361
|
dependencies:
|
|
362
362
|
"@salesforce/bunyan" "^2.0.0"
|
|
363
363
|
"@salesforce/kit" "^1.5.0"
|
|
@@ -367,13 +367,13 @@
|
|
|
367
367
|
"@types/jsforce" "^1.9.35"
|
|
368
368
|
"@types/mkdirp" "^1.0.1"
|
|
369
369
|
debug "^3.1.0"
|
|
370
|
+
faye "^1.4.0"
|
|
370
371
|
graceful-fs "^4.2.4"
|
|
371
372
|
jsen "0.6.6"
|
|
372
373
|
jsforce "^1.11.0"
|
|
373
374
|
jsonwebtoken "8.5.0"
|
|
374
375
|
mkdirp "1.0.4"
|
|
375
376
|
semver "^7.3.5"
|
|
376
|
-
sfdx-faye "^1.0.9"
|
|
377
377
|
ts-retry-promise "^0.6.0"
|
|
378
378
|
|
|
379
379
|
"@salesforce/dev-config@1.4.1":
|
|
@@ -723,7 +723,7 @@ arrify@^1.0.1:
|
|
|
723
723
|
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
|
|
724
724
|
integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=
|
|
725
725
|
|
|
726
|
-
asap@*, asap@~2.0.3
|
|
726
|
+
asap@*, asap@~2.0.3:
|
|
727
727
|
version "2.0.6"
|
|
728
728
|
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
|
|
729
729
|
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
|
|
@@ -1223,7 +1223,7 @@ cross-spawn@^7.0.1:
|
|
|
1223
1223
|
shebang-command "^2.0.0"
|
|
1224
1224
|
which "^2.0.1"
|
|
1225
1225
|
|
|
1226
|
-
csprng
|
|
1226
|
+
csprng@*:
|
|
1227
1227
|
version "0.1.2"
|
|
1228
1228
|
resolved "https://registry.yarnpkg.com/csprng/-/csprng-0.1.2.tgz#4bc68f12fa368d252a59841cbaca974b18ab45e2"
|
|
1229
1229
|
integrity sha1-S8aPEvo2jSUqWYQcusqXSxirReI=
|
|
@@ -1586,13 +1586,6 @@ faye-websocket@>=0.9.1:
|
|
|
1586
1586
|
dependencies:
|
|
1587
1587
|
websocket-driver ">=0.5.1"
|
|
1588
1588
|
|
|
1589
|
-
faye-websocket@~0.9.1:
|
|
1590
|
-
version "0.9.4"
|
|
1591
|
-
resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.9.4.tgz#885934c79effb0409549e0c0a3801ed17a40cdad"
|
|
1592
|
-
integrity sha1-iFk0x57/sECVSeDAo4Ae0XpAza0=
|
|
1593
|
-
dependencies:
|
|
1594
|
-
websocket-driver ">=0.5.1"
|
|
1595
|
-
|
|
1596
1589
|
faye@^1.4.0:
|
|
1597
1590
|
version "1.4.0"
|
|
1598
1591
|
resolved "https://registry.yarnpkg.com/faye/-/faye-1.4.0.tgz#01d3d26ed5642c1cb203eed358afb1c1444b8669"
|
|
@@ -3201,7 +3194,7 @@ pseudomap@^1.0.2:
|
|
|
3201
3194
|
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
|
|
3202
3195
|
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
|
|
3203
3196
|
|
|
3204
|
-
psl@^1.1.
|
|
3197
|
+
psl@^1.1.28, psl@^1.1.33:
|
|
3205
3198
|
version "1.8.0"
|
|
3206
3199
|
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
|
|
3207
3200
|
integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
|
|
@@ -3214,11 +3207,6 @@ pump@^3.0.0:
|
|
|
3214
3207
|
end-of-stream "^1.1.0"
|
|
3215
3208
|
once "^1.3.1"
|
|
3216
3209
|
|
|
3217
|
-
punycode@^1.4.1:
|
|
3218
|
-
version "1.4.1"
|
|
3219
|
-
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
|
|
3220
|
-
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
|
|
3221
|
-
|
|
3222
3210
|
punycode@^2.1.0, punycode@^2.1.1:
|
|
3223
3211
|
version "2.1.1"
|
|
3224
3212
|
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
|
|
@@ -3490,17 +3478,6 @@ set-value@^2.0.0, set-value@^2.0.1:
|
|
|
3490
3478
|
is-plain-object "^2.0.3"
|
|
3491
3479
|
split-string "^3.0.1"
|
|
3492
3480
|
|
|
3493
|
-
sfdx-faye@^1.0.9:
|
|
3494
|
-
version "1.0.9"
|
|
3495
|
-
resolved "https://registry.yarnpkg.com/sfdx-faye/-/sfdx-faye-1.0.9.tgz#24e678ddb783d7085f3e40a2c155ac367416be26"
|
|
3496
|
-
integrity sha512-/p0Ifvhh9rVYj6YmYOBU+psQsP+9RrNrUU4lr1p+HhZhTgnviMIabcgKZUN12S69zUpl0YagpFdMhmxKGkf+5g==
|
|
3497
|
-
dependencies:
|
|
3498
|
-
asap "~2.0.6"
|
|
3499
|
-
csprng "~0.1.2"
|
|
3500
|
-
faye-websocket "~0.9.1"
|
|
3501
|
-
tough-cookie "~2.4.3"
|
|
3502
|
-
tunnel-agent "~0.6.0"
|
|
3503
|
-
|
|
3504
3481
|
shebang-command@^1.2.0:
|
|
3505
3482
|
version "1.2.0"
|
|
3506
3483
|
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
|
|
@@ -3969,14 +3946,6 @@ tough-cookie@*:
|
|
|
3969
3946
|
punycode "^2.1.1"
|
|
3970
3947
|
universalify "^0.1.2"
|
|
3971
3948
|
|
|
3972
|
-
tough-cookie@~2.4.3:
|
|
3973
|
-
version "2.4.3"
|
|
3974
|
-
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
|
|
3975
|
-
integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==
|
|
3976
|
-
dependencies:
|
|
3977
|
-
psl "^1.1.24"
|
|
3978
|
-
punycode "^1.4.1"
|
|
3979
|
-
|
|
3980
3949
|
tough-cookie@~2.5.0:
|
|
3981
3950
|
version "2.5.0"
|
|
3982
3951
|
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
|
|
@@ -4061,7 +4030,7 @@ tsutils@^2.29.0:
|
|
|
4061
4030
|
dependencies:
|
|
4062
4031
|
tslib "^1.8.1"
|
|
4063
4032
|
|
|
4064
|
-
tunnel-agent@*, tunnel-agent@^0.6.0
|
|
4033
|
+
tunnel-agent@*, tunnel-agent@^0.6.0:
|
|
4065
4034
|
version "0.6.0"
|
|
4066
4035
|
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
|
|
4067
4036
|
integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=
|