@salesforce/plugin-apex 0.2.8 → 0.5.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 +2 -2
- package/lib/commands/force/apex/execute.js.map +1 -1
- package/lib/commands/force/apex/log/get.d.ts +3 -3
- 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 +17 -0
- package/lib/commands/force/apex/log/tail.js +86 -0
- package/lib/commands/force/apex/log/tail.js.map +1 -0
- package/lib/commands/force/apex/test/report.d.ts +4 -4
- package/lib/commands/force/apex/test/report.js.map +1 -1
- package/lib/commands/force/apex/test/run.d.ts +6 -6
- package/lib/commands/force/apex/test/run.js +6 -0
- package/lib/commands/force/apex/test/run.js.map +1 -1
- package/lib/legacyColorization.d.ts +6 -0
- package/lib/legacyColorization.js +70 -0
- package/lib/legacyColorization.js.map +1 -0
- package/lib/reporters/index.js +3 -2
- package/lib/reporters/index.js.map +1 -1
- package/lib/reporters/jsonReporter.js +1 -0
- package/lib/reporters/jsonReporter.js.map +1 -1
- package/lib/reporters/util.js +1 -0
- package/lib/reporters/util.js.map +1 -1
- package/lib/utils.js +1 -0
- package/lib/utils.js.map +1 -1
- package/messages/tail.json +12 -0
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/yarn.lock +159 -30
|
@@ -5,8 +5,8 @@ export default class Execute extends SfdxCommand {
|
|
|
5
5
|
static longDescription: string;
|
|
6
6
|
static examples: string[];
|
|
7
7
|
protected static requiresUsername: boolean;
|
|
8
|
-
|
|
9
|
-
apexcodefile: flags.Discriminated<flags.
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
|
+
apexcodefile: flags.Discriminated<flags.String>;
|
|
10
10
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
11
11
|
apiversion: flags.Builtin;
|
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,CAAC,CAAC;YAC9D,IAAI,EAAE,QAAQ,CAAC,IAAI;SACpB,CAAC;QACF,OAAO,iBAAiB,CAAC;IAC3B,CAAC;;AAhGH,0BAiGC;AAhGe,mBAAW,GAAG,wBAAgB,CAC1C,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EACzC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CACvC,CAAC;AACY,uBAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AAEzD,gBAAQ,GAAG;IACvB,yEAAyE;IACzE,0CAA0C;IAC1C,2HAA2H;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,13 +5,13 @@ 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;
|
|
12
|
-
logid: flags.Discriminated<flags.
|
|
12
|
+
logid: flags.Discriminated<flags.String>;
|
|
13
13
|
number: flags.Discriminated<flags.Number>;
|
|
14
|
-
outputdir: flags.Discriminated<flags.
|
|
14
|
+
outputdir: flags.Discriminated<flags.String>;
|
|
15
15
|
};
|
|
16
16
|
run(): Promise<AnyJson>;
|
|
17
17
|
}
|
|
@@ -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,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;gBAExC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE;oBAC3C,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;iBACvB;gBACD,MAAM,UAAU,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC;oBAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;oBACvB,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;oBAC/B,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;iBAChC,CAAC,CAAC;gBAEH,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE;oBAC3B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC;oBACnD,OAAO,EAAE,CAAC;iBACX;gBAED,IAAI,IAAI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;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":["../../../../../src/commands/force/apex/log/list.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAA0E;AAC1E,iDAAyD;AACzD,2CAA4C;AAC5C,6CAAgE;AAEhE,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;IA2B9B,GAAG;;YACd,IAAI;gBACF,8CAA8C;gBAC9C,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,CAAC,aAAa,EAAE,CAAC;gBACvC,MAAM,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;gBACxC,MAAM,UAAU,GAAG,MAAM,UAAU,CAAC,aAAa,EAAE,CAAC;gBAEpD,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE;oBAC3B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,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CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;SACvE;QACD,OAAO,IAAI,CAAC;IACd,CAAC;;AA/HH,uBAgIC;AA/HkB,qBAAgB,GAAG,IAAI,CAAC;AAE3B,gBAAW,GAAG,wBAAgB,CAC1C,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EACzC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CACvC,CAAC;AAEY,oBAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACzD,aAAQ,GAAG;IACvB,4BAA4B;IAC5B,yCAAyC;CAC1C,CAAC;AAEqB,gBAAW,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;CAC5B,CAAC"}
|
|
@@ -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
|
+
static readonly flagsConfig: {
|
|
8
|
+
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
9
|
+
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
10
|
+
apiversion: flags.Builtin;
|
|
11
|
+
color: flags.Discriminated<flags.Boolean<boolean>>;
|
|
12
|
+
debuglevel: flags.Discriminated<flags.String>;
|
|
13
|
+
skiptraceflag: flags.Discriminated<flags.Boolean<boolean>>;
|
|
14
|
+
};
|
|
15
|
+
run(): Promise<void>;
|
|
16
|
+
logTailer(fullLog: string): Promise<void>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2021, salesforce.com, inc.
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Licensed under the BSD 3-Clause license.
|
|
6
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const tslib_1 = require("tslib");
|
|
10
|
+
const apex_node_1 = require("@salesforce/apex-node");
|
|
11
|
+
const command_1 = require("@salesforce/command");
|
|
12
|
+
const core_1 = require("@salesforce/core");
|
|
13
|
+
const utils_1 = require("../../../../utils");
|
|
14
|
+
const legacyColorization_1 = require("../../../../legacyColorization");
|
|
15
|
+
core_1.Messages.importMessagesDirectory(__dirname);
|
|
16
|
+
const messages = core_1.Messages.loadMessages('@salesforce/plugin-apex', 'tail');
|
|
17
|
+
class Tail extends command_1.SfdxCommand {
|
|
18
|
+
run() {
|
|
19
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
try {
|
|
21
|
+
if (this.org) {
|
|
22
|
+
const conn = this.org.getConnection();
|
|
23
|
+
const logService = new apex_node_1.LogService(conn);
|
|
24
|
+
if (!this.flags.skiptraceflag) {
|
|
25
|
+
yield logService.prepareTraceFlag(this.flags.debuglevel);
|
|
26
|
+
}
|
|
27
|
+
yield logService.tail(this.org, this.logTailer.bind(this));
|
|
28
|
+
this.ux.log(messages.getMessage('finishedTailing'));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) {
|
|
32
|
+
return Promise.reject(e);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
logTailer(fullLog) {
|
|
37
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
if (fullLog) {
|
|
39
|
+
if (this.flags.json) {
|
|
40
|
+
this.ux.logJson({
|
|
41
|
+
status: process.exitCode,
|
|
42
|
+
result: fullLog
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const output = this.flags.color ? yield legacyColorization_1.colorizeLog(fullLog) : fullLog;
|
|
47
|
+
this.ux.log(output);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.default = Tail;
|
|
54
|
+
Tail.requiresUsername = true;
|
|
55
|
+
Tail.description = utils_1.buildDescription(messages.getMessage('commandDescription'), messages.getMessage('longDescription'));
|
|
56
|
+
Tail.longDescription = messages.getMessage('longDescription');
|
|
57
|
+
Tail.examples = [
|
|
58
|
+
`$ sfdx force:apex:log:tail`,
|
|
59
|
+
`$ sfdx force:apex:log:tail --debuglevel MyDebugLevel`,
|
|
60
|
+
`$ sfdx force:apex:log:tail -c -s`
|
|
61
|
+
];
|
|
62
|
+
Tail.flagsConfig = {
|
|
63
|
+
json: command_1.flags.boolean({
|
|
64
|
+
description: messages.getMessage('jsonDescription')
|
|
65
|
+
}),
|
|
66
|
+
loglevel: command_1.flags.enum({
|
|
67
|
+
description: messages.getMessage('logLevelDescription'),
|
|
68
|
+
longDescription: messages.getMessage('logLevelLongDescription'),
|
|
69
|
+
default: 'warn',
|
|
70
|
+
options: utils_1.logLevels
|
|
71
|
+
}),
|
|
72
|
+
apiversion: command_1.flags.builtin(),
|
|
73
|
+
color: command_1.flags.boolean({
|
|
74
|
+
char: 'c',
|
|
75
|
+
description: messages.getMessage('colorDescription')
|
|
76
|
+
}),
|
|
77
|
+
debuglevel: command_1.flags.string({
|
|
78
|
+
char: 'd',
|
|
79
|
+
description: messages.getMessage('debugLevelDescription')
|
|
80
|
+
}),
|
|
81
|
+
skiptraceflag: command_1.flags.boolean({
|
|
82
|
+
char: 's',
|
|
83
|
+
description: messages.getMessage('skipTraceFlagDescription')
|
|
84
|
+
})
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=tail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tail.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/log/tail.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAmD;AACnD,iDAAyD;AACzD,2CAA4C;AAC5C,6CAAgE;AAChE,uEAA6D;AAE7D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAE1E,MAAqB,IAAK,SAAQ,qBAAW;IAwC9B,GAAG;;YACd,IAAI;gBACF,IAAI,IAAI,CAAC,GAAG,EAAE;oBACZ,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;oBACtC,MAAM,UAAU,GAAG,IAAI,sBAAU,CAAC,IAAI,CAAC,CAAC;oBAExC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE;wBAC7B,MAAM,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;qBAC1D;oBACD,MAAM,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;oBAC3D,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;iBACrD;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;aAC1B;QACH,CAAC;KAAA;IAEY,SAAS,CAAC,OAAe;;YACp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QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC;KACrD,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,MAAM,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;KAC1D,CAAC;IACF,aAAa,EAAE,eAAK,CAAC,OAAO,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;CACH,CAAC"}
|
|
@@ -5,15 +5,15 @@ export default class Report extends SfdxCommand {
|
|
|
5
5
|
static description: string;
|
|
6
6
|
static longDescription: string;
|
|
7
7
|
static examples: string[];
|
|
8
|
-
|
|
9
|
-
testrunid: flags.Discriminated<flags.
|
|
8
|
+
static readonly flagsConfig: {
|
|
9
|
+
testrunid: flags.Discriminated<flags.String>;
|
|
10
10
|
json: flags.Discriminated<flags.Boolean<boolean>>;
|
|
11
11
|
loglevel: flags.Discriminated<flags.Enum<string>>;
|
|
12
12
|
apiversion: flags.Builtin;
|
|
13
13
|
codecoverage: flags.Discriminated<flags.Boolean<boolean>>;
|
|
14
|
-
outputdir: flags.Discriminated<flags.
|
|
14
|
+
outputdir: flags.Discriminated<flags.String>;
|
|
15
15
|
resultformat: flags.Discriminated<flags.Enum<string>>;
|
|
16
|
-
wait: flags.Discriminated<flags.
|
|
16
|
+
wait: flags.Discriminated<flags.String>;
|
|
17
17
|
verbose: flags.Builtin;
|
|
18
18
|
};
|
|
19
19
|
run(): Promise<AnyJson>;
|
|
@@ -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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CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;KACvD,CAAC;CACH,CAAC"}
|
|
@@ -8,18 +8,18 @@ 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;
|
|
15
15
|
codecoverage: flags.Discriminated<flags.Boolean<boolean>>;
|
|
16
|
-
outputdir: flags.Discriminated<flags.
|
|
16
|
+
outputdir: flags.Discriminated<flags.String>;
|
|
17
17
|
testlevel: flags.Discriminated<flags.Enum<string>>;
|
|
18
|
-
classnames: flags.Discriminated<flags.
|
|
18
|
+
classnames: flags.Discriminated<flags.String>;
|
|
19
19
|
resultformat: flags.Discriminated<flags.Enum<string>>;
|
|
20
|
-
suitenames: flags.Discriminated<flags.
|
|
21
|
-
tests: flags.Discriminated<flags.
|
|
22
|
-
wait: flags.Discriminated<flags.
|
|
20
|
+
suitenames: flags.Discriminated<flags.String>;
|
|
21
|
+
tests: flags.Discriminated<flags.String>;
|
|
22
|
+
wait: flags.Discriminated<flags.String>;
|
|
23
23
|
synchronous: flags.Discriminated<flags.Boolean<boolean>>;
|
|
24
24
|
verbose: flags.Builtin;
|
|
25
25
|
detailedcoverage: flags.Discriminated<flags.Boolean<boolean>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TestLevelValues = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
/*
|
|
5
6
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -30,6 +31,11 @@ class Run extends command_1.SfdxCommand {
|
|
|
30
31
|
if (this.flags.outputdir) {
|
|
31
32
|
this.ux.warn(messages.getMessage('warningMessage'));
|
|
32
33
|
}
|
|
34
|
+
// W-9346875 - default to human-readable result format for --wait flag
|
|
35
|
+
if (this.flags.hasOwnProperty('wait') &&
|
|
36
|
+
!this.flags.hasOwnProperty('resultformat')) {
|
|
37
|
+
this.flags.resultformat = 'human';
|
|
38
|
+
}
|
|
33
39
|
// add listener for errors
|
|
34
40
|
process.on('uncaughtException', err => {
|
|
35
41
|
const formattedErr = this.formatError(new core_1.SfdxError(messages.getMessage('apexLibErr', [err.message])));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.js","sourceRoot":"","sources":["../../../../../src/commands/force/apex/test/run.ts"],"names":[],"mappings":"
|
|
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;IA4UpE,CAAC;IAjQc,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,sEAAsE;YACtE,IACE,IAAI,CAAC,K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AAC;CACH,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2021, salesforce.com, inc.
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Licensed under the BSD 3-Clause license.
|
|
6
|
+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.colorizeLog = void 0;
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
|
+
const chalk = require("chalk");
|
|
12
|
+
const core_1 = require("@salesforce/core");
|
|
13
|
+
const DEFAULT_COLOR_MAP = {
|
|
14
|
+
CONSTRUCTOR_: 'magenta',
|
|
15
|
+
EXCEPTION_: 'red',
|
|
16
|
+
FATAL_: 'red',
|
|
17
|
+
METHOD_: 'blue',
|
|
18
|
+
SOQL_: 'yellow',
|
|
19
|
+
USER_: 'green',
|
|
20
|
+
VARIABLE_: 'darkcyan'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @description this is a holdover from the toolbelt API, which allows for custom colorization of the logs.
|
|
24
|
+
* @param log - full debug log retrieved from an org.
|
|
25
|
+
* @returns colorized log
|
|
26
|
+
*/
|
|
27
|
+
function colorizeLog(log) {
|
|
28
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
const logger = yield core_1.Logger.child('apexLogApi', { tag: 'tail' });
|
|
30
|
+
let colorMap = DEFAULT_COLOR_MAP;
|
|
31
|
+
const localColorMapFile = process.env.SFDX_APEX_LOG_COLOR_MAP;
|
|
32
|
+
if (localColorMapFile) {
|
|
33
|
+
try {
|
|
34
|
+
colorMap = require(localColorMapFile);
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
logger.warn(`Color registry not found: ${localColorMapFile}`);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const logLines = log.split(/\n/g);
|
|
41
|
+
if (!logLines || logLines.length < 1) {
|
|
42
|
+
logger.warn('colorizeLog unable to split logLines');
|
|
43
|
+
return log;
|
|
44
|
+
}
|
|
45
|
+
const line1 = chalk.bold(logLines.shift());
|
|
46
|
+
return [
|
|
47
|
+
line1,
|
|
48
|
+
...logLines.map(logLine => {
|
|
49
|
+
for (const [key, color] of Object.entries(colorMap)) {
|
|
50
|
+
if (logLine.includes(`|${key}`)) {
|
|
51
|
+
const colorFn = chalk.keyword(color);
|
|
52
|
+
if (typeof colorFn !== 'function') {
|
|
53
|
+
logger.warn(`Color ${color} is not supported`);
|
|
54
|
+
return logLine;
|
|
55
|
+
}
|
|
56
|
+
const count = (logLine.match(/\|/g) || []).length;
|
|
57
|
+
if (count === 1) {
|
|
58
|
+
return colorFn(logLine);
|
|
59
|
+
}
|
|
60
|
+
const first = logLine.indexOf('|', logLine.indexOf('|') + 1);
|
|
61
|
+
return `${colorFn(logLine.substring(0, first))}${logLine.substring(first)}`;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return logLine;
|
|
65
|
+
})
|
|
66
|
+
].join('\n');
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
exports.colorizeLog = colorizeLog;
|
|
70
|
+
//# sourceMappingURL=legacyColorization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacyColorization.js","sourceRoot":"","sources":["../src/legacyColorization.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;AAEH,+BAA+B;AAC/B,2CAA0C;AAE1C,MAAM,iBAAiB,GAAG;IACxB,YAAY,EAAE,SAAS;IACvB,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF;;;;GAIG;AACH,SAAsB,WAAW,CAAC,GAAW;;QAC3C,MAAM,MAAM,GAAG,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C,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"}
|
package/lib/reporters/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildOutputDirConfig = exports.JsonReporter = void 0;
|
|
3
4
|
/*
|
|
4
5
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
5
6
|
* All rights reserved.
|
|
@@ -7,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
8
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
8
9
|
*/
|
|
9
10
|
var jsonReporter_1 = require("./jsonReporter");
|
|
10
|
-
exports
|
|
11
|
+
Object.defineProperty(exports, "JsonReporter", { enumerable: true, get: function () { return jsonReporter_1.JsonReporter; } });
|
|
11
12
|
var util_1 = require("./util");
|
|
12
|
-
exports
|
|
13
|
+
Object.defineProperty(exports, "buildOutputDirConfig", { enumerable: true, get: function () { return util_1.buildOutputDirConfig; } });
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/reporters/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/reporters/index.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+CAA6D;AAApD,4GAAA,YAAY,OAAA;AACrB,+BAA8C;AAArC,4GAAA,oBAAoB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonReporter.js","sourceRoot":"","sources":["../../src/reporters/jsonReporter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jsonReporter.js","sourceRoot":"","sources":["../../src/reporters/jsonReporter.ts"],"names":[],"mappings":";;;AAkEA,MAAM,iBAAiB,GAAG,CAAC,UAAU,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC;AACrE,MAAM,cAAc,GAAG;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,iBAAiB;CAClB,CAAC;AAEF,MAAa,YAAY;IAChB,MAAM,CACX,MAAkB;QAMlB,uBACE,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EACnC,KAAK,EAAE,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,KAAK,CAAC,IACxC,CAAC,MAAM,CAAC,YAAY;YACrB,CAAC,CAAC;gBACE,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC;aACtC;YACH,CAAC,CAAC,EAAE,CAAC,EACP;IACJ,CAAC;IAEO,aAAa,CAAC,UAAsB;QAC1C,MAAM,OAAO,GAAG,EAAE,CAAC;QAEnB,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YAC1D,IAAI,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACnC,OAAO;aACR;YAED,IAAI,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAChC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,M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AAkB,EAAE;gCAClB,EAAE,EAAE,WAAW,CAAC,oBAAoB;gCACpC,IAAI,EAAE,WAAW,CAAC,sBAAsB;6BACzC,EACD,iBAAiB,EAAE,WAAW,CAAC,iBAAiB,GAC7B,CAAC,CAAC;oBACzB,CAAC,CAAC,CAAC;iBACJ;YACH,CAAC,CAAC,CAAC;SACJ;QAED,OAAO,YAAY,CAAC;IACtB,CAAC;CACF;AAhHD,oCAgHC"}
|
package/lib/reporters/util.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/reporters/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../src/reporters/util.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,qDAQ+B;AAG/B;;;;;;;;;GASG;AACH,SAAgB,oBAAoB,CAClC,MAAoC,EACpC,UAA2C,EAC3C,SAAiB,EACjB,YAAsC,EACtC,gBAAyB,EACzB,WAAW,GAAG,KAAK;;IAEnB,MAAM,eAAe,GAAoB;QACvC,OAAO,EAAE,SAAS;KACnB,CAAC;IAEF,IAAI,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE;QACpC,MAAM,GAAG,MAAoB,CAAC;QAC9B,UAAU,GAAG,UAA2B,CAAC;QAEzC,IAAI,OAAO,YAAY,KAAK,WAAW,IAAI,WAAW,EAAE;YACtD,eAAe,CAAC,SAAS,GAAG;gBAC1B;oBACE,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,SAAS;wBAChC,CAAC,CAAC,eAAe,MAAM,CAAC,OAAO,CAAC,SAAS,OAAO;wBAChD,CAAC,CAAC,kBAAkB;oBACtB,OAAO,EAAE,UAAU;iBACpB;gBACD,GAAG,CAAC,UAAU,CAAC,QAAQ;oBACrB,CAAC,CAAC;wBACE;4BACE,QAAQ,EAAE,+BAA+B;4BACzC,OAAO,EAAE,MAAA,UAAU,CAAC,QAAQ,0CAAE,QAAQ;yBACvC;qBACF;oBACH,CAAC,CAAC,EAAE,CAAC;aACR,CAAC;YACF,eAAe,CAAC,aAAa,GAAG,CAAC,wBAAY,CAAC,KAAK,CAAC,CAAC;SACtD;QAED,IAAI,OAAO,YAAY,KAAK,WAAW,IAAI,WAAW,EAAE;YACtD,YAAY,GAAG,wBAAY,CAAC,KAAK,CAAC;SACnC;QAED,QAAQ,YAAY,EAAE;YACpB,KAAK,KAAK;gBACR,MAAM,SAAS,GAAG,IAAI,uBAAW,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;gBACnD,MAAA,eAAe,CAAC,SAAS,0CAAE,IAAI,CAAC;oBAC9B,QAAQ,EAAE,iBAAiB;oBAC3B,OAAO,EAAE,SAAS;iBACnB,CAAC,CAAC;gBACH,MAAA,eAAe,CAAC,aAAa,0CAAE,IAAI,CAAC,wBAAY,CAAC,GAAG,CAAC,CAAC;gBACtD,MAAM;YACR,KAAK,OAAO;gBACV,MAAM,WAAW,GAAG,IAAI,yBAAa,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;gBACvD,MAAA,eAAe,CAAC,SAAS,0CAAE,IAAI,CAAC;oBAC9B,QAAQ,EAAE,iBAAiB;oBAC3B,OAAO,EAAE,WAAW;iBACrB,CAAC,CAAC;gBACH,MAAM;YACR,KAAK,OAAO;gBACV,MAAM,WAAW,GAAG,IAAI,yBAAa,EAAE,CAAC,MAAM,CAC5C,MAAM,EACN,gBAAgB,CACjB,CAAC;gBACF,MAAA,eAAe,CAAC,SAAS,0CAAE,IAAI,CAAC;oBAC9B,QAAQ,EAAE,iBAAiB;oBAC3B,OAAO,EAAE,WAAW;iBACrB,CAAC,CAAC;gBACH,MAAM;SACT;KACF;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAtED,oDAsEC"}
|
package/lib/utils.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.colorLogs = exports.buildDescription = exports.logLevels = exports.resultFormat = exports.colorError = exports.colorSuccess = exports.FAILURE_EXIT_CODE = void 0;
|
|
9
10
|
const chalk = require("chalk");
|
|
10
11
|
exports.FAILURE_EXIT_CODE = 100;
|
|
11
12
|
exports.colorSuccess = chalk.bold.green;
|
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+BAA+B;AAElB,QAAA,iBAAiB,GAAG,GAAG,CAAC;AAExB,QAAA,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;AAChC,QAAA,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;AAE5B,QAAA,YAAY,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACjD,QAAA,SAAS,GAAG;IACvB,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;CACR,CAAC;AAEF,SAAgB,gBAAgB,CAC9B,gBAAwB,EACxB,eAAuB;IAEvB,OAAO,GAAG,gBAAgB,KAAK,eAAe,EAAE,CAAC;AACnD,CAAC;AALD,4CAKC;AAED,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC;IACvB,CAAC,IAAI,MAAM,CAAC,sBAAsB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IACtD,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC;IA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. 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
|
+
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.2.8","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.5.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.5.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.
|
|
12
|
-
"@salesforce/command": "
|
|
13
|
-
"@salesforce/core": "2.
|
|
11
|
+
"@salesforce/apex-node": "0.5.0",
|
|
12
|
+
"@salesforce/command": "4.2.0",
|
|
13
|
+
"@salesforce/core": "2.31.0",
|
|
14
14
|
"chalk": "^4.1.0",
|
|
15
15
|
"tslib": "^1"
|
|
16
16
|
},
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"shx": "0.2.2",
|
|
36
36
|
"sinon": "^7.3.1",
|
|
37
37
|
"ts-node": "^8.7.0",
|
|
38
|
-
"typescript": "3.
|
|
38
|
+
"typescript": "4.3.2"
|
|
39
39
|
},
|
|
40
40
|
"resolutions": {
|
|
41
|
-
"**/@salesforce/core": "2.
|
|
41
|
+
"**/@salesforce/core": "2.31.0"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
44
|
"node": ">=10.17.0"
|
|
@@ -121,6 +121,6 @@
|
|
|
121
121
|
},
|
|
122
122
|
"sfdx": {
|
|
123
123
|
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
|
|
124
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.
|
|
124
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.5.0.sig"
|
|
125
125
|
}
|
|
126
126
|
}
|
package/yarn.lock
CHANGED
|
@@ -139,6 +139,18 @@
|
|
|
139
139
|
debug "^4.1.1"
|
|
140
140
|
semver "^7.3.2"
|
|
141
141
|
|
|
142
|
+
"@oclif/command@^1.8.1", "@oclif/command@^1.8.6":
|
|
143
|
+
version "1.8.7"
|
|
144
|
+
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.8.7.tgz#825d34bea8e93cecfaf0cb9bf327f4ab87cd0714"
|
|
145
|
+
integrity sha512-5DRLd2WHppuKsudHe8rCZnjgEpA2/6P4zxrLwWBXrGz+/kzA/RWcPJgkcdfm1uBCEgHMSWZP4MX21d4lAB1vYA==
|
|
146
|
+
dependencies:
|
|
147
|
+
"@oclif/config" "^1.18.1"
|
|
148
|
+
"@oclif/errors" "^1.3.5"
|
|
149
|
+
"@oclif/parser" "^3.8.6"
|
|
150
|
+
"@oclif/plugin-help" "^3.2.10"
|
|
151
|
+
debug "^4.1.1"
|
|
152
|
+
semver "^7.3.2"
|
|
153
|
+
|
|
142
154
|
"@oclif/config@^1", "@oclif/config@^1.14.0", "@oclif/config@^1.15.1", "@oclif/config@^1.17.0":
|
|
143
155
|
version "1.17.0"
|
|
144
156
|
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.17.0.tgz#ba8639118633102a7e481760c50054623d09fcab"
|
|
@@ -151,6 +163,18 @@
|
|
|
151
163
|
is-wsl "^2.1.1"
|
|
152
164
|
tslib "^2.0.0"
|
|
153
165
|
|
|
166
|
+
"@oclif/config@^1.18.1":
|
|
167
|
+
version "1.18.1"
|
|
168
|
+
resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.1.tgz#81207d3682fa967bcd6981954fcfe414a29dcc77"
|
|
169
|
+
integrity sha512-twRJO5RRl3CCDaAASb6LiynfFQl/SbkWWOQy1l0kJZSMPysEhz+fk3BKfmlCCm451Btkp4UezHUwI1JtH+/zYg==
|
|
170
|
+
dependencies:
|
|
171
|
+
"@oclif/errors" "^1.3.3"
|
|
172
|
+
"@oclif/parser" "^3.8.0"
|
|
173
|
+
debug "^4.1.1"
|
|
174
|
+
globby "^11.0.1"
|
|
175
|
+
is-wsl "^2.1.1"
|
|
176
|
+
tslib "^2.0.0"
|
|
177
|
+
|
|
154
178
|
"@oclif/dev-cli@^1":
|
|
155
179
|
version "1.26.0"
|
|
156
180
|
resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.26.0.tgz#e3ec294b362c010ffc8948003d3770955c7951fd"
|
|
@@ -181,11 +205,32 @@
|
|
|
181
205
|
strip-ansi "^6.0.0"
|
|
182
206
|
wrap-ansi "^7.0.0"
|
|
183
207
|
|
|
208
|
+
"@oclif/errors@^1.3.5":
|
|
209
|
+
version "1.3.5"
|
|
210
|
+
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.5.tgz#a1e9694dbeccab10fe2fe15acb7113991bed636c"
|
|
211
|
+
integrity sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ==
|
|
212
|
+
dependencies:
|
|
213
|
+
clean-stack "^3.0.0"
|
|
214
|
+
fs-extra "^8.1"
|
|
215
|
+
indent-string "^4.0.0"
|
|
216
|
+
strip-ansi "^6.0.0"
|
|
217
|
+
wrap-ansi "^7.0.0"
|
|
218
|
+
|
|
184
219
|
"@oclif/linewrap@^1.0.0":
|
|
185
220
|
version "1.0.0"
|
|
186
221
|
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
|
|
187
222
|
integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==
|
|
188
223
|
|
|
224
|
+
"@oclif/parser@3.8.6", "@oclif/parser@^3.8.6":
|
|
225
|
+
version "3.8.6"
|
|
226
|
+
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.6.tgz#d5a108af9c708a051cc6b1d27d47359d75f41236"
|
|
227
|
+
integrity sha512-tXb0NKgSgNxmf6baN6naK+CCwOueaFk93FG9u202U7mTBHUKsioOUlw1SG/iPi9aJM3WE4pHLXmty59pci0OEw==
|
|
228
|
+
dependencies:
|
|
229
|
+
"@oclif/errors" "^1.2.2"
|
|
230
|
+
"@oclif/linewrap" "^1.0.0"
|
|
231
|
+
chalk "^4.1.0"
|
|
232
|
+
tslib "^2.0.0"
|
|
233
|
+
|
|
189
234
|
"@oclif/parser@^3.8.0", "@oclif/parser@^3.8.3":
|
|
190
235
|
version "3.8.5"
|
|
191
236
|
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.5.tgz#c5161766a1efca7343e1f25d769efbefe09f639b"
|
|
@@ -237,6 +282,22 @@
|
|
|
237
282
|
widest-line "^3.1.0"
|
|
238
283
|
wrap-ansi "^4.0.0"
|
|
239
284
|
|
|
285
|
+
"@oclif/plugin-help@^3.2.10":
|
|
286
|
+
version "3.2.10"
|
|
287
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.2.10.tgz#1843ac05f8cd139b575ee8b1dfc34bb500110e68"
|
|
288
|
+
integrity sha512-U3Jk01MTnqnd9druulNSn6nTjPEE1Rr6PWhD4rJ6Z+NjLFTKhp3S1kutWDXJQd7CQ6m8tHd1AYgsIjiR+36bSw==
|
|
289
|
+
dependencies:
|
|
290
|
+
"@oclif/command" "^1.8.6"
|
|
291
|
+
"@oclif/config" "^1.18.1"
|
|
292
|
+
"@oclif/errors" "^1.3.5"
|
|
293
|
+
chalk "^4.1.2"
|
|
294
|
+
indent-string "^4.0.0"
|
|
295
|
+
lodash "^4.17.21"
|
|
296
|
+
string-width "^4.2.0"
|
|
297
|
+
strip-ansi "^6.0.0"
|
|
298
|
+
widest-line "^3.1.0"
|
|
299
|
+
wrap-ansi "^6.2.0"
|
|
300
|
+
|
|
240
301
|
"@oclif/screen@^1.0.3":
|
|
241
302
|
version "1.0.4"
|
|
242
303
|
resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493"
|
|
@@ -261,19 +322,19 @@
|
|
|
261
322
|
mv "~2"
|
|
262
323
|
safe-json-stringify "~1"
|
|
263
324
|
|
|
264
|
-
"@salesforce/command@
|
|
265
|
-
version "
|
|
266
|
-
resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-
|
|
267
|
-
integrity sha512-
|
|
325
|
+
"@salesforce/command@4.2.0":
|
|
326
|
+
version "4.2.0"
|
|
327
|
+
resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-4.2.0.tgz#e2a1a620e6a0f1f1e25747bd651a749cf29ad9e6"
|
|
328
|
+
integrity sha512-KxvzBHqJHLR5WMP/Gh4TpSjCSfIveZEVRA8+zS+ZFXXLILuZzCPi/kHwZnKwOedO3EyjC8HFnFDgKt62vqgw8w==
|
|
268
329
|
dependencies:
|
|
269
|
-
"@oclif/command" "^1.
|
|
330
|
+
"@oclif/command" "^1.8.1"
|
|
270
331
|
"@oclif/errors" "^1.2.2"
|
|
271
|
-
"@oclif/parser" "
|
|
332
|
+
"@oclif/parser" "3.8.6"
|
|
272
333
|
"@oclif/plugin-help" "^2.2.0"
|
|
273
334
|
"@oclif/test" "^1.2.4"
|
|
274
|
-
"@salesforce/core" "^2.
|
|
275
|
-
"@salesforce/kit" "^1.
|
|
276
|
-
"@salesforce/ts-types" "^1.
|
|
335
|
+
"@salesforce/core" "^2.31.0"
|
|
336
|
+
"@salesforce/kit" "^1.5.17"
|
|
337
|
+
"@salesforce/ts-types" "^1.5.20"
|
|
277
338
|
chalk "^2.4.2"
|
|
278
339
|
cli-ux "^4.9.3"
|
|
279
340
|
|
|
@@ -293,24 +354,25 @@
|
|
|
293
354
|
chalk "^2.4.2"
|
|
294
355
|
cli-ux "^4.9.3"
|
|
295
356
|
|
|
296
|
-
"@salesforce/core@2.
|
|
297
|
-
version "2.
|
|
298
|
-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.
|
|
299
|
-
integrity sha512-
|
|
357
|
+
"@salesforce/core@2.31.0", "@salesforce/core@^2.2.0", "@salesforce/core@^2.31.0", "@salesforce/core@^2.6.0":
|
|
358
|
+
version "2.31.0"
|
|
359
|
+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.31.0.tgz#cdeaa9968060afb52f40c12bf5a4f9844a2a1909"
|
|
360
|
+
integrity sha512-ROEjX/M0ZHpGlmRfNUoDKsE4ppOZUU5Hcl3XHr2pCO7F505imAmhKg8I+XfGSxXyj4bL/kftkNTK5xFffJ+6mw==
|
|
300
361
|
dependencies:
|
|
301
362
|
"@salesforce/bunyan" "^2.0.0"
|
|
302
363
|
"@salesforce/kit" "^1.5.0"
|
|
303
364
|
"@salesforce/schemas" "^1.0.1"
|
|
304
365
|
"@salesforce/ts-types" "^1.5.13"
|
|
305
366
|
"@types/graceful-fs" "^4.1.5"
|
|
306
|
-
"@types/jsforce" "^1.9.
|
|
367
|
+
"@types/jsforce" "^1.9.35"
|
|
307
368
|
"@types/mkdirp" "^1.0.1"
|
|
308
369
|
debug "^3.1.0"
|
|
309
370
|
graceful-fs "^4.2.4"
|
|
310
371
|
jsen "0.6.6"
|
|
311
|
-
jsforce "^1.
|
|
372
|
+
jsforce "^1.11.0"
|
|
312
373
|
jsonwebtoken "8.5.0"
|
|
313
374
|
mkdirp "1.0.4"
|
|
375
|
+
semver "^7.3.5"
|
|
314
376
|
sfdx-faye "^1.0.9"
|
|
315
377
|
ts-retry-promise "^0.6.0"
|
|
316
378
|
|
|
@@ -339,6 +401,15 @@
|
|
|
339
401
|
"@salesforce/ts-types" "^1.5.13"
|
|
340
402
|
tslib "^1.10.0"
|
|
341
403
|
|
|
404
|
+
"@salesforce/kit@^1.5.17":
|
|
405
|
+
version "1.5.18"
|
|
406
|
+
resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-1.5.18.tgz#77c30e3351d71dbe37444e6741c80e0ce7e233f3"
|
|
407
|
+
integrity sha512-SntvHmzzxc6vY4MpyWw6xB/vYKPoGiJG9SLzbAaRgSd+F2j6TX1na2HabrxQo8ppxGLjIou2gfezkiyuO+Ru6w==
|
|
408
|
+
dependencies:
|
|
409
|
+
"@salesforce/ts-types" "^1.5.20"
|
|
410
|
+
shx "^0.3.3"
|
|
411
|
+
tslib "^2.2.0"
|
|
412
|
+
|
|
342
413
|
"@salesforce/plugin-command-reference@1.1.0":
|
|
343
414
|
version "1.1.0"
|
|
344
415
|
resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-1.1.0.tgz#c253fc4501ce524b91a31869094646fca6202605"
|
|
@@ -388,6 +459,13 @@
|
|
|
388
459
|
dependencies:
|
|
389
460
|
tslib "^1.10.0"
|
|
390
461
|
|
|
462
|
+
"@salesforce/ts-types@^1.5.20":
|
|
463
|
+
version "1.5.20"
|
|
464
|
+
resolved "https://registry.yarnpkg.com/@salesforce/ts-types/-/ts-types-1.5.20.tgz#f6875a710ceca48223b240026a14af6d3b39882f"
|
|
465
|
+
integrity sha512-Ov6um4CWd63EvkRavkHG0J/P9XYL55sdkDWPMr7+AIgqh5flHxDRz09/C4e9M94aX30rzJxW4TVX6EBf4Cu2BQ==
|
|
466
|
+
dependencies:
|
|
467
|
+
tslib "^2.2.0"
|
|
468
|
+
|
|
391
469
|
"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
|
|
392
470
|
version "1.8.2"
|
|
393
471
|
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.2.tgz#858f5c4b48d80778fde4b9d541f27edc0d56488b"
|
|
@@ -460,10 +538,10 @@
|
|
|
460
538
|
dependencies:
|
|
461
539
|
"@types/node" "*"
|
|
462
540
|
|
|
463
|
-
"@types/jsforce@^1.9.
|
|
464
|
-
version "1.9.
|
|
465
|
-
resolved "https://registry.yarnpkg.com/@types/jsforce/-/jsforce-1.9.
|
|
466
|
-
integrity sha512-
|
|
541
|
+
"@types/jsforce@^1.9.35":
|
|
542
|
+
version "1.9.35"
|
|
543
|
+
resolved "https://registry.yarnpkg.com/@types/jsforce/-/jsforce-1.9.35.tgz#abda87c796910d286420b07a97382c782b576ca8"
|
|
544
|
+
integrity sha512-GEb1iMAK8raElbBbozR7aVEuMl47jrPYLNkeh+3h2vLJIG21uQ/kOk4kPgMiMFwCmgfX4/tPDugnjb7qrMav4A==
|
|
467
545
|
dependencies:
|
|
468
546
|
"@types/node" "*"
|
|
469
547
|
|
|
@@ -880,6 +958,14 @@ chalk@^4.0.0, chalk@^4.1.0:
|
|
|
880
958
|
ansi-styles "^4.1.0"
|
|
881
959
|
supports-color "^7.1.0"
|
|
882
960
|
|
|
961
|
+
chalk@^4.1.2:
|
|
962
|
+
version "4.1.2"
|
|
963
|
+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
|
964
|
+
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
|
965
|
+
dependencies:
|
|
966
|
+
ansi-styles "^4.1.0"
|
|
967
|
+
supports-color "^7.1.0"
|
|
968
|
+
|
|
883
969
|
check-error@^1.0.2:
|
|
884
970
|
version "1.0.2"
|
|
885
971
|
resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
|
|
@@ -1507,7 +1593,7 @@ faye-websocket@~0.9.1:
|
|
|
1507
1593
|
dependencies:
|
|
1508
1594
|
websocket-driver ">=0.5.1"
|
|
1509
1595
|
|
|
1510
|
-
faye@^1.
|
|
1596
|
+
faye@^1.4.0:
|
|
1511
1597
|
version "1.4.0"
|
|
1512
1598
|
resolved "https://registry.yarnpkg.com/faye/-/faye-1.4.0.tgz#01d3d26ed5642c1cb203eed358afb1c1444b8669"
|
|
1513
1599
|
integrity sha512-kRrIg4be8VNYhycS2PY//hpBJSzZPr/DBbcy9VWelhZMW3KhyLkQR0HL0k0MNpmVoNFF4EdfMFkNAWjTP65g6w==
|
|
@@ -2266,10 +2352,10 @@ jsesc@^2.5.1:
|
|
|
2266
2352
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
|
2267
2353
|
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
|
|
2268
2354
|
|
|
2269
|
-
jsforce@^1.
|
|
2270
|
-
version "1.
|
|
2271
|
-
resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-1.
|
|
2272
|
-
integrity sha512-
|
|
2355
|
+
jsforce@^1.11.0:
|
|
2356
|
+
version "1.11.0"
|
|
2357
|
+
resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-1.11.0.tgz#7e853b82c534f1fe8e18f432a344bae81881a133"
|
|
2358
|
+
integrity sha512-vYNXJXXdz9ZQNdfRqq/MCJ/zU7JGA7iEduwafQDzChR9FeqXgTNfHTppLVbw9mIniKkQZemmxSOtl7N04lj/5Q==
|
|
2273
2359
|
dependencies:
|
|
2274
2360
|
base64-url "^2.2.0"
|
|
2275
2361
|
co-prompt "^1.0.0"
|
|
@@ -2277,7 +2363,7 @@ jsforce@^1.10.1:
|
|
|
2277
2363
|
commander "^2.9.0"
|
|
2278
2364
|
csv-parse "^4.10.1"
|
|
2279
2365
|
csv-stringify "^1.0.4"
|
|
2280
|
-
faye "^1.
|
|
2366
|
+
faye "^1.4.0"
|
|
2281
2367
|
inherits "^2.0.1"
|
|
2282
2368
|
lodash "^4.17.19"
|
|
2283
2369
|
multistream "^2.0.5"
|
|
@@ -2511,6 +2597,11 @@ lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19:
|
|
|
2511
2597
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
|
|
2512
2598
|
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
|
|
2513
2599
|
|
|
2600
|
+
lodash@^4.17.21:
|
|
2601
|
+
version "4.17.21"
|
|
2602
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
|
2603
|
+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
|
2604
|
+
|
|
2514
2605
|
lolex@^2.4.2:
|
|
2515
2606
|
version "2.7.5"
|
|
2516
2607
|
resolved "https://registry.yarnpkg.com/lolex/-/lolex-2.7.5.tgz#113001d56bfc7e02d56e36291cc5c413d1aa0733"
|
|
@@ -2638,7 +2729,7 @@ minimist@0.0.8:
|
|
|
2638
2729
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
|
2639
2730
|
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
|
2640
2731
|
|
|
2641
|
-
minimist@^1.2.0, minimist@^1.2.5:
|
|
2732
|
+
minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5:
|
|
2642
2733
|
version "1.2.5"
|
|
2643
2734
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
|
2644
2735
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
|
@@ -3372,6 +3463,13 @@ semver@^7.3.2:
|
|
|
3372
3463
|
dependencies:
|
|
3373
3464
|
lru-cache "^6.0.0"
|
|
3374
3465
|
|
|
3466
|
+
semver@^7.3.5:
|
|
3467
|
+
version "7.3.5"
|
|
3468
|
+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
|
|
3469
|
+
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
|
|
3470
|
+
dependencies:
|
|
3471
|
+
lru-cache "^6.0.0"
|
|
3472
|
+
|
|
3375
3473
|
sequin@*:
|
|
3376
3474
|
version "0.1.1"
|
|
3377
3475
|
resolved "https://registry.yarnpkg.com/sequin/-/sequin-0.1.1.tgz#5c2d389d66a383734eaafbc45edeb2c1cb1be701"
|
|
@@ -3436,6 +3534,15 @@ shelljs@^0.7.3:
|
|
|
3436
3534
|
interpret "^1.0.0"
|
|
3437
3535
|
rechoir "^0.6.2"
|
|
3438
3536
|
|
|
3537
|
+
shelljs@^0.8.4:
|
|
3538
|
+
version "0.8.4"
|
|
3539
|
+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
|
|
3540
|
+
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
|
|
3541
|
+
dependencies:
|
|
3542
|
+
glob "^7.0.0"
|
|
3543
|
+
interpret "^1.0.0"
|
|
3544
|
+
rechoir "^0.6.2"
|
|
3545
|
+
|
|
3439
3546
|
shx@0.2.2:
|
|
3440
3547
|
version "0.2.2"
|
|
3441
3548
|
resolved "https://registry.yarnpkg.com/shx/-/shx-0.2.2.tgz#0a304d020b0edf1306ad81570e80f0346df58a39"
|
|
@@ -3445,6 +3552,14 @@ shx@0.2.2:
|
|
|
3445
3552
|
minimist "^1.2.0"
|
|
3446
3553
|
shelljs "^0.7.3"
|
|
3447
3554
|
|
|
3555
|
+
shx@^0.3.3:
|
|
3556
|
+
version "0.3.3"
|
|
3557
|
+
resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.3.tgz#681a88c7c10db15abe18525349ed474f0f1e7b9f"
|
|
3558
|
+
integrity sha512-nZJ3HFWVoTSyyB+evEKjJ1STiixGztlqwKLTUNV5KqMWtGey9fTd4KU1gdZ1X9BV6215pswQ/Jew9NsuS/fNDA==
|
|
3559
|
+
dependencies:
|
|
3560
|
+
minimist "^1.2.3"
|
|
3561
|
+
shelljs "^0.8.4"
|
|
3562
|
+
|
|
3448
3563
|
signal-exit@^3.0.0, signal-exit@^3.0.2:
|
|
3449
3564
|
version "3.0.3"
|
|
3450
3565
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
|
|
@@ -3901,6 +4016,11 @@ tslib@^2, tslib@^2.0.0, tslib@^2.0.3:
|
|
|
3901
4016
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
|
|
3902
4017
|
integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==
|
|
3903
4018
|
|
|
4019
|
+
tslib@^2.2.0:
|
|
4020
|
+
version "2.3.1"
|
|
4021
|
+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
|
|
4022
|
+
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
|
4023
|
+
|
|
3904
4024
|
tslint-microsoft-contrib@^5:
|
|
3905
4025
|
version "5.2.1"
|
|
3906
4026
|
resolved "https://registry.yarnpkg.com/tslint-microsoft-contrib/-/tslint-microsoft-contrib-5.2.1.tgz#a6286839f800e2591d041ea2800c77487844ad81"
|
|
@@ -3975,10 +4095,10 @@ typedarray-to-buffer@^3.1.5:
|
|
|
3975
4095
|
dependencies:
|
|
3976
4096
|
is-typedarray "^1.0.0"
|
|
3977
4097
|
|
|
3978
|
-
typescript@3.
|
|
3979
|
-
version "3.
|
|
3980
|
-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.
|
|
3981
|
-
integrity sha512
|
|
4098
|
+
typescript@4.3.2:
|
|
4099
|
+
version "4.3.2"
|
|
4100
|
+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
|
|
4101
|
+
integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==
|
|
3982
4102
|
|
|
3983
4103
|
typescript@^3:
|
|
3984
4104
|
version "3.9.7"
|
|
@@ -4127,6 +4247,15 @@ wrap-ansi@^5.1.0:
|
|
|
4127
4247
|
string-width "^3.0.0"
|
|
4128
4248
|
strip-ansi "^5.0.0"
|
|
4129
4249
|
|
|
4250
|
+
wrap-ansi@^6.2.0:
|
|
4251
|
+
version "6.2.0"
|
|
4252
|
+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
|
|
4253
|
+
integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
|
|
4254
|
+
dependencies:
|
|
4255
|
+
ansi-styles "^4.0.0"
|
|
4256
|
+
string-width "^4.1.0"
|
|
4257
|
+
strip-ansi "^6.0.0"
|
|
4258
|
+
|
|
4130
4259
|
wrap-ansi@^7.0.0:
|
|
4131
4260
|
version "7.0.0"
|
|
4132
4261
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|