apex-code-coverage-transformer 1.7.6 → 2.1.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/README.md +10 -5
- package/lib/commands/{apex-code-coverage/transformer → acc-transformer}/transform.d.ts +1 -4
- package/lib/commands/{apex-code-coverage/transformer → acc-transformer}/transform.js +13 -16
- package/lib/commands/acc-transformer/transform.js.map +1 -0
- package/lib/helpers/setCoverageDataType.d.ts +2 -0
- package/lib/helpers/setCoverageDataType.js +60 -0
- package/lib/helpers/setCoverageDataType.js.map +1 -0
- package/lib/helpers/types.d.ts +17 -14
- package/lib/hooks/postrun.js +1 -3
- package/lib/hooks/postrun.js.map +1 -1
- package/messages/transformer.transform.md +1 -5
- package/oclif.lock +273 -142
- package/oclif.manifest.json +7 -26
- package/package.json +10 -5
- package/lib/commands/apex-code-coverage/transformer/transform.js.map +0 -1
package/README.md
CHANGED
|
@@ -35,20 +35,19 @@ sf plugins install apex-code-coverage-transformer@x.y.z
|
|
|
35
35
|
|
|
36
36
|
The `apex-code-coverage-transformer` has 1 command:
|
|
37
37
|
|
|
38
|
-
- `sf
|
|
38
|
+
- `sf acc-transformer transform`
|
|
39
39
|
|
|
40
40
|
This command needs to be ran somewhere inside your Salesforce DX git repository, whether in the root folder (recommended) or in a subfolder. This plugin will determine the root folder of this repository and read the `sfdx-project.json` file in the root folder. All package directories listed in the `sfdx-project.json` file will be processed when running this plugin.
|
|
41
41
|
|
|
42
|
-
## `sf
|
|
42
|
+
## `sf acc-transformer transform`
|
|
43
43
|
|
|
44
44
|
```
|
|
45
45
|
USAGE
|
|
46
|
-
$ sf
|
|
46
|
+
$ sf acc-transformer transform -j <value> -x <value> [--json]
|
|
47
47
|
|
|
48
48
|
FLAGS
|
|
49
49
|
-j, --coverage-json=<value> Path to the code coverage JSON file created by the Salesforce CLI deployment or test command.
|
|
50
50
|
-x, --xml=<value> [default: "coverage.xml"] Path to code coverage XML file that will be created by this plugin.
|
|
51
|
-
-c, --command=<value> [default: "deploy"] The type of Salesforce CLI command you are running. Valid options: "deploy" or "test".
|
|
52
51
|
|
|
53
52
|
GLOBAL FLAGS
|
|
54
53
|
--json Format output as json.
|
|
@@ -57,7 +56,7 @@ DESCRIPTION
|
|
|
57
56
|
This plugin will convert the code coverage JSON file created by the Salesforce CLI during Apex deployments and test runs into an XML accepted by tools like SonarQube.
|
|
58
57
|
|
|
59
58
|
EXAMPLES
|
|
60
|
-
$ sf
|
|
59
|
+
$ sf acc-transformer transform -j "coverage.json" -x "coverage.xml"
|
|
61
60
|
```
|
|
62
61
|
|
|
63
62
|
## Hook
|
|
@@ -102,6 +101,12 @@ Warning: The file name AccountProfile was not found in any package directory.
|
|
|
102
101
|
Warning: None of the files listed in the coverage JSON were processed. The coverage XML will be empty.
|
|
103
102
|
```
|
|
104
103
|
|
|
104
|
+
The code coverage JSON files created by the Salesforce CLI deployment commands follow a different format than the code coverage files created by the test commands. If the code coverage JSON file provided does not match one of the 2 expected coverage data types, the plugin will fail with:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
Error (1): The provided JSON does not match a known coverage data format from the Salesforce deploy or test command.
|
|
108
|
+
```
|
|
109
|
+
|
|
105
110
|
If the `sfdx-project.json` file was not found in your repository's root folder, the plugin will fail with:
|
|
106
111
|
|
|
107
112
|
```
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
-
|
|
3
|
-
path: string;
|
|
4
|
-
};
|
|
2
|
+
import { TransformerTransformResult } from '../../helpers/types.js';
|
|
5
3
|
export default class TransformerTransform extends SfCommand<TransformerTransformResult> {
|
|
6
4
|
static readonly summary: string;
|
|
7
5
|
static readonly description: string;
|
|
@@ -9,7 +7,6 @@ export default class TransformerTransform extends SfCommand<TransformerTransform
|
|
|
9
7
|
static readonly flags: {
|
|
10
8
|
'coverage-json': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
11
9
|
xml: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
12
|
-
command: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
13
10
|
};
|
|
14
11
|
run(): Promise<TransformerTransformResult>;
|
|
15
12
|
}
|
|
@@ -3,8 +3,9 @@ import { resolve } from 'node:path';
|
|
|
3
3
|
import { writeFile, readFile } from 'node:fs/promises';
|
|
4
4
|
import { SfCommand, Flags } from '@salesforce/sf-plugins-core';
|
|
5
5
|
import { Messages } from '@salesforce/core';
|
|
6
|
-
import { transformDeployCoverageReport } from '
|
|
7
|
-
import { transformTestCoverageReport } from '
|
|
6
|
+
import { transformDeployCoverageReport } from '../../helpers/transformDeployCoverageReport.js';
|
|
7
|
+
import { transformTestCoverageReport } from '../../helpers/transformTestCoverageReport.js';
|
|
8
|
+
import { checkCoverageDataType } from '../../helpers/setCoverageDataType.js';
|
|
8
9
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
9
10
|
const messages = Messages.loadMessages('apex-code-coverage-transformer', 'transformer.transform');
|
|
10
11
|
export default class TransformerTransform extends SfCommand {
|
|
@@ -25,37 +26,33 @@ export default class TransformerTransform extends SfCommand {
|
|
|
25
26
|
exists: false,
|
|
26
27
|
default: 'coverage.xml',
|
|
27
28
|
}),
|
|
28
|
-
command: Flags.string({
|
|
29
|
-
summary: messages.getMessage('flags.command.summary'),
|
|
30
|
-
char: 'c',
|
|
31
|
-
required: true,
|
|
32
|
-
default: 'deploy',
|
|
33
|
-
options: ['deploy', 'test'],
|
|
34
|
-
}),
|
|
35
29
|
};
|
|
36
30
|
async run() {
|
|
37
31
|
const { flags } = await this.parse(TransformerTransform);
|
|
38
32
|
const jsonFilePath = resolve(flags['coverage-json']);
|
|
39
33
|
const xmlFilePath = resolve(flags['xml']);
|
|
40
|
-
const commandType = flags['command'];
|
|
41
34
|
const jsonData = await readFile(jsonFilePath, 'utf-8');
|
|
42
35
|
let xmlData;
|
|
43
36
|
let warnings = [];
|
|
44
37
|
let filesProcessed = 0;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
const parsedData = JSON.parse(jsonData);
|
|
39
|
+
const commandType = checkCoverageDataType(parsedData);
|
|
40
|
+
// Determine the type of coverage data using type guards
|
|
41
|
+
if (commandType === 'TestCoverageData') {
|
|
42
|
+
const result = await transformTestCoverageReport(parsedData);
|
|
48
43
|
xmlData = result.xml;
|
|
49
44
|
warnings = result.warnings;
|
|
50
45
|
filesProcessed = result.filesProcessed;
|
|
51
46
|
}
|
|
52
|
-
else {
|
|
53
|
-
const
|
|
54
|
-
const result = await transformDeployCoverageReport(coverageData);
|
|
47
|
+
else if (commandType === 'DeployCoverageData') {
|
|
48
|
+
const result = await transformDeployCoverageReport(parsedData);
|
|
55
49
|
xmlData = result.xml;
|
|
56
50
|
warnings = result.warnings;
|
|
57
51
|
filesProcessed = result.filesProcessed;
|
|
58
52
|
}
|
|
53
|
+
else {
|
|
54
|
+
this.error('The provided JSON does not match a known coverage data format from the Salesforce deploy or test command.');
|
|
55
|
+
}
|
|
59
56
|
// Print warnings if any
|
|
60
57
|
if (warnings.length > 0) {
|
|
61
58
|
warnings.forEach((warning) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../src/commands/acc-transformer/transform.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAA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,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QACtC,IAAI,CAAC,GAAG,CAAC,wCAAwC,WAAW,EAAE,CAAC,CAAC;QAChE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAC/B,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// Type guard for DeployCoverageData
|
|
3
|
+
function isDeployCoverageData(data) {
|
|
4
|
+
if (typeof data !== 'object' || data === null)
|
|
5
|
+
return false;
|
|
6
|
+
return Object.entries(data).every(([, item]) => {
|
|
7
|
+
if (typeof item !== 'object' || item === null)
|
|
8
|
+
return false;
|
|
9
|
+
const { path, fnMap, branchMap, f, b, s, statementMap } = item;
|
|
10
|
+
if (typeof path !== 'string' ||
|
|
11
|
+
typeof fnMap !== 'object' ||
|
|
12
|
+
typeof branchMap !== 'object' ||
|
|
13
|
+
typeof f !== 'object' ||
|
|
14
|
+
typeof b !== 'object' ||
|
|
15
|
+
typeof s !== 'object' ||
|
|
16
|
+
typeof statementMap !== 'object' ||
|
|
17
|
+
statementMap === null) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return Object.values(statementMap).every((statement) => {
|
|
21
|
+
if (typeof statement !== 'object' || statement === null)
|
|
22
|
+
return false;
|
|
23
|
+
const { start, end } = statement;
|
|
24
|
+
return (typeof start === 'object' &&
|
|
25
|
+
start !== null &&
|
|
26
|
+
typeof start.line === 'number' &&
|
|
27
|
+
typeof start.column === 'number' &&
|
|
28
|
+
typeof end === 'object' &&
|
|
29
|
+
end !== null &&
|
|
30
|
+
typeof end.line === 'number' &&
|
|
31
|
+
typeof end.column === 'number');
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
// Type guard for a single TestCoverageData
|
|
36
|
+
function isSingleTestCoverageData(data) {
|
|
37
|
+
return (typeof data === 'object' &&
|
|
38
|
+
data !== null &&
|
|
39
|
+
typeof data.id === 'string' &&
|
|
40
|
+
typeof data.name === 'string' &&
|
|
41
|
+
typeof data.totalLines === 'number' &&
|
|
42
|
+
typeof data.lines === 'object' &&
|
|
43
|
+
typeof data.totalCovered === 'number' &&
|
|
44
|
+
typeof data.coveredPercent === 'number' &&
|
|
45
|
+
Object.values(data.lines).every((line) => typeof line === 'number'));
|
|
46
|
+
}
|
|
47
|
+
// Type guard for TestCoverageData array
|
|
48
|
+
function isTestCoverageDataArray(data) {
|
|
49
|
+
return Array.isArray(data) && data.every(isSingleTestCoverageData);
|
|
50
|
+
}
|
|
51
|
+
export function checkCoverageDataType(data) {
|
|
52
|
+
if (isDeployCoverageData(data)) {
|
|
53
|
+
return 'DeployCoverageData';
|
|
54
|
+
}
|
|
55
|
+
else if (isTestCoverageDataArray(data)) {
|
|
56
|
+
return 'TestCoverageData';
|
|
57
|
+
}
|
|
58
|
+
return 'Unknown';
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=setCoverageDataType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setCoverageDataType.js","sourceRoot":"","sources":["../../src/helpers/setCoverageDataType.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAIb,oCAAoC;AACpC,SAAS,oBAAoB,CAAC,IAAa;IACzC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAE5D,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE;QAC7C,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI;YAAE,OAAO,KAAK,CAAC;QAE5D,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,YAAY,EAAE,GAAG,IAQzD,CAAC;QAEF,IACE,OAAO,IAAI,KAAK,QAAQ;YACxB,OAAO,KA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cAAc,KAAK,QAAQ;QAC7D,MAAM,CAAC,MAAM,CAAE,IAAyB,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAa,EAAE,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,CAAC,CACnG,CAAC;AACJ,CAAC;AAED,wCAAwC;AACxC,SAAS,uBAAuB,CAAC,IAAa;IAC5C,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,qBAAqB,CACnC,IAA6C;IAE7C,IAAI,oBAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/B,OAAO,oBAAoB,CAAC;IAC9B,CAAC;SAAM,IAAI,uBAAuB,CAAC,IAAI,CAAC,EAAE,CAAC;QACzC,OAAO,kBAAkB,CAAC;IAC5B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/lib/helpers/types.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type TransformerTransformResult = {
|
|
2
|
+
path: string;
|
|
3
|
+
};
|
|
4
|
+
export type DeployCoverageData = {
|
|
2
5
|
[className: string]: {
|
|
3
6
|
fnMap: Record<string, unknown>;
|
|
4
7
|
branchMap: Record<string, unknown>;
|
|
@@ -17,37 +20,37 @@ export interface DeployCoverageData {
|
|
|
17
20
|
};
|
|
18
21
|
}>;
|
|
19
22
|
};
|
|
20
|
-
}
|
|
21
|
-
export
|
|
23
|
+
};
|
|
24
|
+
export type TestCoverageData = {
|
|
22
25
|
id: string;
|
|
23
26
|
name: string;
|
|
24
27
|
totalLines: number;
|
|
25
28
|
lines: Record<string, number>;
|
|
26
29
|
totalCovered: number;
|
|
27
30
|
coveredPercent: number;
|
|
28
|
-
}
|
|
29
|
-
export
|
|
31
|
+
};
|
|
32
|
+
export type SfdxProject = {
|
|
30
33
|
packageDirectories: Array<{
|
|
31
34
|
path: string;
|
|
32
35
|
}>;
|
|
33
|
-
}
|
|
34
|
-
|
|
36
|
+
};
|
|
37
|
+
type LineToCover = {
|
|
35
38
|
'@lineNumber': number;
|
|
36
39
|
'@covered': string;
|
|
37
|
-
}
|
|
38
|
-
export
|
|
40
|
+
};
|
|
41
|
+
export type FileObject = {
|
|
39
42
|
'@path': string;
|
|
40
43
|
lineToCover: LineToCover[];
|
|
41
|
-
}
|
|
42
|
-
export
|
|
44
|
+
};
|
|
45
|
+
export type CoverageObject = {
|
|
43
46
|
coverage: {
|
|
44
47
|
file: FileObject[];
|
|
45
48
|
'@version': string;
|
|
46
49
|
};
|
|
47
|
-
}
|
|
48
|
-
export
|
|
50
|
+
};
|
|
51
|
+
export type ConfigFile = {
|
|
49
52
|
deployCoverageJsonPath: string;
|
|
50
53
|
testCoverageJsonPath: string;
|
|
51
54
|
coverageXmlPath: string;
|
|
52
|
-
}
|
|
55
|
+
};
|
|
53
56
|
export {};
|
package/lib/hooks/postrun.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { existsSync } from 'node:fs';
|
|
3
3
|
import { readFile } from 'node:fs/promises';
|
|
4
4
|
import { resolve } from 'node:path';
|
|
5
|
-
import TransformerTransform from '../commands/
|
|
5
|
+
import TransformerTransform from '../commands/acc-transformer/transform.js';
|
|
6
6
|
import { getRepoRoot } from '../helpers/getRepoRoot.js';
|
|
7
7
|
export const postrun = async function (options) {
|
|
8
8
|
let commandType;
|
|
@@ -46,8 +46,6 @@ export const postrun = async function (options) {
|
|
|
46
46
|
commandArgs.push(coverageJsonPath);
|
|
47
47
|
commandArgs.push('--xml');
|
|
48
48
|
commandArgs.push(coverageXmlPath);
|
|
49
|
-
commandArgs.push('--command');
|
|
50
|
-
commandArgs.push(commandType);
|
|
51
49
|
await TransformerTransform.run(commandArgs);
|
|
52
50
|
};
|
|
53
51
|
//# sourceMappingURL=postrun.js.map
|
package/lib/hooks/postrun.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postrun.js","sourceRoot":"","sources":["../../src/hooks/postrun.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,oBAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"postrun.js","sourceRoot":"","sources":["../../src/hooks/postrun.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,oBAAoB,MAAM,0CAA0C,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,CAAC,MAAM,OAAO,GAAoB,KAAK,WAAW,OAAO;IAC7D,IAAI,WAAmB,CAAC;IACxB,IAAI,YAAoB,CAAC;IACzB,IACE,CAAC,yBAAyB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,uBAAuB,CAAC,CAAC,QAAQ,CAC5G,OAAO,CAAC,OAAO,CAAC,EAAE,CACnB,EACD,CAAC;QACD,WAAW,GAAG,QAAQ,CAAC;IACzB,CAAC;SAAM,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;QAC3E,WAAW,GAAG,MAAM,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,OAAO;IACT,CAAC;IACD,IAAI,UAAsB,CAAC;IAC3B,MAAM,QAAQ,GAAG,MAAM,WAAW,EAAE,CAAC;IACrC,MAAM,UAAU,GAAG,OAAO,CAAC,QAAQ,EAAE,qCAAqC,CAAC,CAAC;IAE5E,IAAI,CAAC;QACH,MAAM,UAAU,GAAW,MAAM,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAC/D,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAe,CAAC;IACpD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAW,UAAU,CAAC,eAAe,IAAI,cAAc,CAAC;IAEzE,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;QAC7B,YAAY,GAAG,UAAU,CAAC,sBAAsB,IAAI,GAAG,CAAC;IAC1D,CAAC;SAAM,CAAC;QACN,YAAY,GAAG,UAAU,CAAC,oBAAoB,IAAI,GAAG,CAAC;IACxD,CAAC;IAED,IAAI,YAAY,CAAC,IAAI,EAAE,KAAK,GAAG,EAAE,CAAC;QAChC,OAAO;IACT,CAAC;IAED,MAAM,gBAAgB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/C,MAAM,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAE7C,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAClC,OAAO;IACT,CAAC;IAED,MAAM,WAAW,GAAa,EAAE,CAAC;IACjC,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACpC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACnC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1B,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAClC,MAAM,oBAAoB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC9C,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ This plugin will convert the code coverage JSON file created by the Salesforce C
|
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
- `sf
|
|
11
|
+
- `sf acc-transformer transform -j "coverage.json" -x "coverage.xml"`
|
|
12
12
|
|
|
13
13
|
# flags.coverage-json.summary
|
|
14
14
|
|
|
@@ -17,7 +17,3 @@ Path to the code coverage JSON file created by the Salesforce CLI deployment or
|
|
|
17
17
|
# flags.xml.summary
|
|
18
18
|
|
|
19
19
|
Path to code coverage XML file that will be created by this plugin.
|
|
20
|
-
|
|
21
|
-
# flags.command.summary
|
|
22
|
-
|
|
23
|
-
The type of Salesforce CLI command you are running.
|
package/oclif.lock
CHANGED
|
@@ -852,16 +852,16 @@
|
|
|
852
852
|
resolve-global "1.0.0"
|
|
853
853
|
yargs "^17.0.0"
|
|
854
854
|
|
|
855
|
-
"@commitlint/cli@^18.6.
|
|
856
|
-
version "18.6.
|
|
857
|
-
resolved "https://registry.
|
|
858
|
-
integrity sha512-
|
|
859
|
-
dependencies:
|
|
860
|
-
"@commitlint/format" "^18.6.
|
|
861
|
-
"@commitlint/lint" "^18.6.
|
|
862
|
-
"@commitlint/load" "^18.6.
|
|
863
|
-
"@commitlint/read" "^18.6.
|
|
864
|
-
"@commitlint/types" "^18.6.
|
|
855
|
+
"@commitlint/cli@^18.6.1":
|
|
856
|
+
version "18.6.1"
|
|
857
|
+
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-18.6.1.tgz#78bffdfa00d6f01425d53096954993d83f2b343d"
|
|
858
|
+
integrity sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==
|
|
859
|
+
dependencies:
|
|
860
|
+
"@commitlint/format" "^18.6.1"
|
|
861
|
+
"@commitlint/lint" "^18.6.1"
|
|
862
|
+
"@commitlint/load" "^18.6.1"
|
|
863
|
+
"@commitlint/read" "^18.6.1"
|
|
864
|
+
"@commitlint/types" "^18.6.1"
|
|
865
865
|
execa "^5.0.0"
|
|
866
866
|
lodash.isfunction "^3.0.9"
|
|
867
867
|
resolve-from "5.0.0"
|
|
@@ -890,12 +890,12 @@
|
|
|
890
890
|
"@commitlint/types" "^17.8.1"
|
|
891
891
|
ajv "^8.11.0"
|
|
892
892
|
|
|
893
|
-
"@commitlint/config-validator@^18.6.
|
|
894
|
-
version "18.6.
|
|
895
|
-
resolved "https://registry.
|
|
896
|
-
integrity sha512-
|
|
893
|
+
"@commitlint/config-validator@^18.6.1":
|
|
894
|
+
version "18.6.1"
|
|
895
|
+
resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-18.6.1.tgz#e0d71a99c984a68586c7ae7afd3f52342022fae8"
|
|
896
|
+
integrity sha512-05uiToBVfPhepcQWE1ZQBR/Io3+tb3gEotZjnI4tTzzPk16NffN6YABgwFQCLmzZefbDcmwWqJWc2XT47q7Znw==
|
|
897
897
|
dependencies:
|
|
898
|
-
"@commitlint/types" "^18.6.
|
|
898
|
+
"@commitlint/types" "^18.6.1"
|
|
899
899
|
ajv "^8.11.0"
|
|
900
900
|
|
|
901
901
|
"@commitlint/ensure@^17.8.1":
|
|
@@ -910,12 +910,12 @@
|
|
|
910
910
|
lodash.startcase "^4.4.0"
|
|
911
911
|
lodash.upperfirst "^4.3.1"
|
|
912
912
|
|
|
913
|
-
"@commitlint/ensure@^18.6.
|
|
914
|
-
version "18.6.
|
|
915
|
-
resolved "https://registry.
|
|
916
|
-
integrity sha512-
|
|
913
|
+
"@commitlint/ensure@^18.6.1":
|
|
914
|
+
version "18.6.1"
|
|
915
|
+
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-18.6.1.tgz#17141e083200ca94d8480dc23b0e8f8b1fd37b7f"
|
|
916
|
+
integrity sha512-BPm6+SspyxQ7ZTsZwXc7TRQL5kh5YWt3euKmEIBZnocMFkJevqs3fbLRb8+8I/cfbVcAo4mxRlpTPfz8zX7SnQ==
|
|
917
917
|
dependencies:
|
|
918
|
-
"@commitlint/types" "^18.6.
|
|
918
|
+
"@commitlint/types" "^18.6.1"
|
|
919
919
|
lodash.camelcase "^4.3.0"
|
|
920
920
|
lodash.kebabcase "^4.1.1"
|
|
921
921
|
lodash.snakecase "^4.1.1"
|
|
@@ -927,10 +927,10 @@
|
|
|
927
927
|
resolved "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-17.8.1.tgz"
|
|
928
928
|
integrity sha512-JHVupQeSdNI6xzA9SqMF+p/JjrHTcrJdI02PwesQIDCIGUrv04hicJgCcws5nzaoZbROapPs0s6zeVHoxpMwFQ==
|
|
929
929
|
|
|
930
|
-
"@commitlint/execute-rule@^18.
|
|
931
|
-
version "18.
|
|
932
|
-
resolved "https://registry.
|
|
933
|
-
integrity sha512-
|
|
930
|
+
"@commitlint/execute-rule@^18.6.1":
|
|
931
|
+
version "18.6.1"
|
|
932
|
+
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-18.6.1.tgz#18175e043fe6fb5fceea7b8530316c644f93dfe6"
|
|
933
|
+
integrity sha512-7s37a+iWyJiGUeMFF6qBlyZciUkF8odSAnHijbD36YDctLhGKoYltdvuJ/AFfRm6cBLRtRk9cCVPdsEFtt/2rg==
|
|
934
934
|
|
|
935
935
|
"@commitlint/format@^17.8.1":
|
|
936
936
|
version "17.8.1"
|
|
@@ -940,12 +940,12 @@
|
|
|
940
940
|
"@commitlint/types" "^17.8.1"
|
|
941
941
|
chalk "^4.1.0"
|
|
942
942
|
|
|
943
|
-
"@commitlint/format@^18.6.
|
|
944
|
-
version "18.6.
|
|
945
|
-
resolved "https://registry.
|
|
946
|
-
integrity sha512-
|
|
943
|
+
"@commitlint/format@^18.6.1":
|
|
944
|
+
version "18.6.1"
|
|
945
|
+
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-18.6.1.tgz#5f2b8b3ae4d8d80bd9239178e97df63e5b8d280a"
|
|
946
|
+
integrity sha512-K8mNcfU/JEFCharj2xVjxGSF+My+FbUHoqR+4GqPGrHNqXOGNio47ziiR4HQUPKtiNs05o8/WyLBoIpMVOP7wg==
|
|
947
947
|
dependencies:
|
|
948
|
-
"@commitlint/types" "^18.6.
|
|
948
|
+
"@commitlint/types" "^18.6.1"
|
|
949
949
|
chalk "^4.1.0"
|
|
950
950
|
|
|
951
951
|
"@commitlint/is-ignored@^17.8.1":
|
|
@@ -956,13 +956,13 @@
|
|
|
956
956
|
"@commitlint/types" "^17.8.1"
|
|
957
957
|
semver "7.5.4"
|
|
958
958
|
|
|
959
|
-
"@commitlint/is-ignored@^18.6.
|
|
960
|
-
version "18.6.
|
|
961
|
-
resolved "https://registry.
|
|
962
|
-
integrity sha512-
|
|
959
|
+
"@commitlint/is-ignored@^18.6.1":
|
|
960
|
+
version "18.6.1"
|
|
961
|
+
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-18.6.1.tgz#4ee08ba91ff3defb06e0ef19259a9c6734a8d06e"
|
|
962
|
+
integrity sha512-MOfJjkEJj/wOaPBw5jFjTtfnx72RGwqYIROABudOtJKW7isVjFe9j0t8xhceA02QebtYf4P/zea4HIwnXg8rvA==
|
|
963
963
|
dependencies:
|
|
964
|
-
"@commitlint/types" "^18.6.
|
|
965
|
-
semver "7.
|
|
964
|
+
"@commitlint/types" "^18.6.1"
|
|
965
|
+
semver "7.6.0"
|
|
966
966
|
|
|
967
967
|
"@commitlint/lint@^17.8.1":
|
|
968
968
|
version "17.8.1"
|
|
@@ -974,15 +974,15 @@
|
|
|
974
974
|
"@commitlint/rules" "^17.8.1"
|
|
975
975
|
"@commitlint/types" "^17.8.1"
|
|
976
976
|
|
|
977
|
-
"@commitlint/lint@^18.6.
|
|
978
|
-
version "18.6.
|
|
979
|
-
resolved "https://registry.
|
|
980
|
-
integrity sha512-
|
|
977
|
+
"@commitlint/lint@^18.6.1":
|
|
978
|
+
version "18.6.1"
|
|
979
|
+
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-18.6.1.tgz#fe3834636c99ee14534a8eb3832831ac362e9fd8"
|
|
980
|
+
integrity sha512-8WwIFo3jAuU+h1PkYe5SfnIOzp+TtBHpFr4S8oJWhu44IWKuVx6GOPux3+9H1iHOan/rGBaiacicZkMZuluhfQ==
|
|
981
981
|
dependencies:
|
|
982
|
-
"@commitlint/is-ignored" "^18.6.
|
|
983
|
-
"@commitlint/parse" "^18.6.
|
|
984
|
-
"@commitlint/rules" "^18.6.
|
|
985
|
-
"@commitlint/types" "^18.6.
|
|
982
|
+
"@commitlint/is-ignored" "^18.6.1"
|
|
983
|
+
"@commitlint/parse" "^18.6.1"
|
|
984
|
+
"@commitlint/rules" "^18.6.1"
|
|
985
|
+
"@commitlint/types" "^18.6.1"
|
|
986
986
|
|
|
987
987
|
"@commitlint/load@^17.8.1":
|
|
988
988
|
version "17.8.1"
|
|
@@ -1004,15 +1004,15 @@
|
|
|
1004
1004
|
ts-node "^10.8.1"
|
|
1005
1005
|
typescript "^4.6.4 || ^5.2.2"
|
|
1006
1006
|
|
|
1007
|
-
"@commitlint/load@^18.6.
|
|
1008
|
-
version "18.6.
|
|
1009
|
-
resolved "https://registry.
|
|
1010
|
-
integrity sha512-
|
|
1007
|
+
"@commitlint/load@^18.6.1":
|
|
1008
|
+
version "18.6.1"
|
|
1009
|
+
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-18.6.1.tgz#fb79ed7ee8b5897a9b5c274c1e24eda9162df816"
|
|
1010
|
+
integrity sha512-p26x8734tSXUHoAw0ERIiHyW4RaI4Bj99D8YgUlVV9SedLf8hlWAfyIFhHRIhfPngLlCe0QYOdRKYFt8gy56TA==
|
|
1011
1011
|
dependencies:
|
|
1012
|
-
"@commitlint/config-validator" "^18.6.
|
|
1013
|
-
"@commitlint/execute-rule" "^18.
|
|
1014
|
-
"@commitlint/resolve-extends" "^18.6.
|
|
1015
|
-
"@commitlint/types" "^18.6.
|
|
1012
|
+
"@commitlint/config-validator" "^18.6.1"
|
|
1013
|
+
"@commitlint/execute-rule" "^18.6.1"
|
|
1014
|
+
"@commitlint/resolve-extends" "^18.6.1"
|
|
1015
|
+
"@commitlint/types" "^18.6.1"
|
|
1016
1016
|
chalk "^4.1.0"
|
|
1017
1017
|
cosmiconfig "^8.3.6"
|
|
1018
1018
|
cosmiconfig-typescript-loader "^5.0.0"
|
|
@@ -1026,10 +1026,10 @@
|
|
|
1026
1026
|
resolved "https://registry.npmjs.org/@commitlint/message/-/message-17.8.1.tgz"
|
|
1027
1027
|
integrity sha512-6bYL1GUQsD6bLhTH3QQty8pVFoETfFQlMn2Nzmz3AOLqRVfNNtXBaSY0dhZ0dM6A2MEq4+2d7L/2LP8TjqGRkA==
|
|
1028
1028
|
|
|
1029
|
-
"@commitlint/message@^18.
|
|
1030
|
-
version "18.
|
|
1031
|
-
resolved "https://registry.
|
|
1032
|
-
integrity sha512-
|
|
1029
|
+
"@commitlint/message@^18.6.1":
|
|
1030
|
+
version "18.6.1"
|
|
1031
|
+
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-18.6.1.tgz#107bd40923ad23d2de56c92a68b179ebfb7e314e"
|
|
1032
|
+
integrity sha512-VKC10UTMLcpVjMIaHHsY1KwhuTQtdIKPkIdVEwWV+YuzKkzhlI3aNy6oo1eAN6b/D2LTtZkJe2enHmX0corYRw==
|
|
1033
1033
|
|
|
1034
1034
|
"@commitlint/parse@^17.8.1":
|
|
1035
1035
|
version "17.8.1"
|
|
@@ -1040,12 +1040,12 @@
|
|
|
1040
1040
|
conventional-changelog-angular "^6.0.0"
|
|
1041
1041
|
conventional-commits-parser "^4.0.0"
|
|
1042
1042
|
|
|
1043
|
-
"@commitlint/parse@^18.6.
|
|
1044
|
-
version "18.6.
|
|
1045
|
-
resolved "https://registry.
|
|
1046
|
-
integrity sha512-
|
|
1043
|
+
"@commitlint/parse@^18.6.1":
|
|
1044
|
+
version "18.6.1"
|
|
1045
|
+
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-18.6.1.tgz#2946b814125e907b9c4d63d3e71d0c1b54b30b62"
|
|
1046
|
+
integrity sha512-eS/3GREtvVJqGZrwAGRwR9Gdno3YcZ6Xvuaa+vUF8j++wsmxrA2En3n0ccfVO2qVOLJC41ni7jSZhQiJpMPGOQ==
|
|
1047
1047
|
dependencies:
|
|
1048
|
-
"@commitlint/types" "^18.6.
|
|
1048
|
+
"@commitlint/types" "^18.6.1"
|
|
1049
1049
|
conventional-changelog-angular "^7.0.0"
|
|
1050
1050
|
conventional-commits-parser "^5.0.0"
|
|
1051
1051
|
|
|
@@ -1060,13 +1060,13 @@
|
|
|
1060
1060
|
git-raw-commits "^2.0.11"
|
|
1061
1061
|
minimist "^1.2.6"
|
|
1062
1062
|
|
|
1063
|
-
"@commitlint/read@^18.6.
|
|
1064
|
-
version "18.6.
|
|
1065
|
-
resolved "https://registry.
|
|
1066
|
-
integrity sha512-
|
|
1063
|
+
"@commitlint/read@^18.6.1":
|
|
1064
|
+
version "18.6.1"
|
|
1065
|
+
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-18.6.1.tgz#8c138311ed9749427920c369f6276be136f2aa50"
|
|
1066
|
+
integrity sha512-ia6ODaQFzXrVul07ffSgbZGFajpe8xhnDeLIprLeyfz3ivQU1dIoHp7yz0QIorZ6yuf4nlzg4ZUkluDrGN/J/w==
|
|
1067
1067
|
dependencies:
|
|
1068
|
-
"@commitlint/top-level" "^18.
|
|
1069
|
-
"@commitlint/types" "^18.6.
|
|
1068
|
+
"@commitlint/top-level" "^18.6.1"
|
|
1069
|
+
"@commitlint/types" "^18.6.1"
|
|
1070
1070
|
git-raw-commits "^2.0.11"
|
|
1071
1071
|
minimist "^1.2.6"
|
|
1072
1072
|
|
|
@@ -1082,13 +1082,13 @@
|
|
|
1082
1082
|
resolve-from "^5.0.0"
|
|
1083
1083
|
resolve-global "^1.0.0"
|
|
1084
1084
|
|
|
1085
|
-
"@commitlint/resolve-extends@^18.6.
|
|
1086
|
-
version "18.6.
|
|
1087
|
-
resolved "https://registry.
|
|
1088
|
-
integrity sha512-
|
|
1085
|
+
"@commitlint/resolve-extends@^18.6.1":
|
|
1086
|
+
version "18.6.1"
|
|
1087
|
+
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-18.6.1.tgz#f0572c682fc24dbabe2e0f42873261e0fa42c91a"
|
|
1088
|
+
integrity sha512-ifRAQtHwK+Gj3Bxj/5chhc4L2LIc3s30lpsyW67yyjsETR6ctHAHRu1FSpt0KqahK5xESqoJ92v6XxoDRtjwEQ==
|
|
1089
1089
|
dependencies:
|
|
1090
|
-
"@commitlint/config-validator" "^18.6.
|
|
1091
|
-
"@commitlint/types" "^18.6.
|
|
1090
|
+
"@commitlint/config-validator" "^18.6.1"
|
|
1091
|
+
"@commitlint/types" "^18.6.1"
|
|
1092
1092
|
import-fresh "^3.0.0"
|
|
1093
1093
|
lodash.mergewith "^4.6.2"
|
|
1094
1094
|
resolve-from "^5.0.0"
|
|
@@ -1105,15 +1105,15 @@
|
|
|
1105
1105
|
"@commitlint/types" "^17.8.1"
|
|
1106
1106
|
execa "^5.0.0"
|
|
1107
1107
|
|
|
1108
|
-
"@commitlint/rules@^18.6.
|
|
1109
|
-
version "18.6.
|
|
1110
|
-
resolved "https://registry.
|
|
1111
|
-
integrity sha512-
|
|
1108
|
+
"@commitlint/rules@^18.6.1":
|
|
1109
|
+
version "18.6.1"
|
|
1110
|
+
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-18.6.1.tgz#da25aeffe6c0e1c7625e44f46089fb8860986caf"
|
|
1111
|
+
integrity sha512-kguM6HxZDtz60v/zQYOe0voAtTdGybWXefA1iidjWYmyUUspO1zBPQEmJZ05/plIAqCVyNUTAiRPWIBKLCrGew==
|
|
1112
1112
|
dependencies:
|
|
1113
|
-
"@commitlint/ensure" "^18.6.
|
|
1114
|
-
"@commitlint/message" "^18.
|
|
1115
|
-
"@commitlint/to-lines" "^18.
|
|
1116
|
-
"@commitlint/types" "^18.6.
|
|
1113
|
+
"@commitlint/ensure" "^18.6.1"
|
|
1114
|
+
"@commitlint/message" "^18.6.1"
|
|
1115
|
+
"@commitlint/to-lines" "^18.6.1"
|
|
1116
|
+
"@commitlint/types" "^18.6.1"
|
|
1117
1117
|
execa "^5.0.0"
|
|
1118
1118
|
|
|
1119
1119
|
"@commitlint/to-lines@^17.8.1":
|
|
@@ -1121,10 +1121,10 @@
|
|
|
1121
1121
|
resolved "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-17.8.1.tgz"
|
|
1122
1122
|
integrity sha512-LE0jb8CuR/mj6xJyrIk8VLz03OEzXFgLdivBytoooKO5xLt5yalc8Ma5guTWobw998sbR3ogDd+2jed03CFmJA==
|
|
1123
1123
|
|
|
1124
|
-
"@commitlint/to-lines@^18.
|
|
1125
|
-
version "18.
|
|
1126
|
-
resolved "https://registry.
|
|
1127
|
-
integrity sha512-
|
|
1124
|
+
"@commitlint/to-lines@^18.6.1":
|
|
1125
|
+
version "18.6.1"
|
|
1126
|
+
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-18.6.1.tgz#d28827a4a540c98eea1aae31dafd66f80b2f1b9e"
|
|
1127
|
+
integrity sha512-Gl+orGBxYSNphx1+83GYeNy5N0dQsHBQ9PJMriaLQDB51UQHCVLBT/HBdOx5VaYksivSf5Os55TLePbRLlW50Q==
|
|
1128
1128
|
|
|
1129
1129
|
"@commitlint/top-level@^17.8.1":
|
|
1130
1130
|
version "17.8.1"
|
|
@@ -1133,10 +1133,10 @@
|
|
|
1133
1133
|
dependencies:
|
|
1134
1134
|
find-up "^5.0.0"
|
|
1135
1135
|
|
|
1136
|
-
"@commitlint/top-level@^18.
|
|
1137
|
-
version "18.
|
|
1138
|
-
resolved "https://registry.
|
|
1139
|
-
integrity sha512-
|
|
1136
|
+
"@commitlint/top-level@^18.6.1":
|
|
1137
|
+
version "18.6.1"
|
|
1138
|
+
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-18.6.1.tgz#429fcb985e3beaba9b17e05c0ae61926c647baf0"
|
|
1139
|
+
integrity sha512-HyiHQZUTf0+r0goTCDs/bbVv/LiiQ7AVtz6KIar+8ZrseB9+YJAIo8HQ2IC2QT1y3N1lbW6OqVEsTHjbT6hGSw==
|
|
1140
1140
|
dependencies:
|
|
1141
1141
|
find-up "^5.0.0"
|
|
1142
1142
|
|
|
@@ -1147,10 +1147,10 @@
|
|
|
1147
1147
|
dependencies:
|
|
1148
1148
|
chalk "^4.1.0"
|
|
1149
1149
|
|
|
1150
|
-
"@commitlint/types@^18.6.
|
|
1151
|
-
version "18.6.
|
|
1152
|
-
resolved "https://registry.
|
|
1153
|
-
integrity sha512-
|
|
1150
|
+
"@commitlint/types@^18.6.1":
|
|
1151
|
+
version "18.6.1"
|
|
1152
|
+
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-18.6.1.tgz#7eb3ab2d799d9166fbb98b96b0744581e59a4ad4"
|
|
1153
|
+
integrity sha512-gwRLBLra/Dozj2OywopeuHj2ac26gjGkz2cZ+86cTJOdtWfiRRr4+e77ZDAGc6MDWxaWheI+mAV5TLWWRwqrFg==
|
|
1154
1154
|
dependencies:
|
|
1155
1155
|
chalk "^4.1.0"
|
|
1156
1156
|
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
read-package-json-fast "^3.0.0"
|
|
1580
1580
|
which "^3.0.0"
|
|
1581
1581
|
|
|
1582
|
-
"@oclif/core@^3.
|
|
1582
|
+
"@oclif/core@^3.16.0", "@oclif/core@^3.18.1":
|
|
1583
1583
|
version "3.18.1"
|
|
1584
1584
|
resolved "https://registry.npmjs.org/@oclif/core/-/core-3.18.1.tgz"
|
|
1585
1585
|
integrity sha512-l0LsjzGcqjbUEdeSBX6bdZieVmEv82Q0W3StiyaDMEnPZ9KLH28HrLpcZg6d50mCYW9CUZNzmRo6qrCHWrgLKw==
|
|
@@ -1612,20 +1612,44 @@
|
|
|
1612
1612
|
wordwrap "^1.0.0"
|
|
1613
1613
|
wrap-ansi "^7.0.0"
|
|
1614
1614
|
|
|
1615
|
-
"@oclif/
|
|
1616
|
-
version "
|
|
1617
|
-
resolved "https://registry.
|
|
1618
|
-
integrity sha512-
|
|
1615
|
+
"@oclif/core@^4":
|
|
1616
|
+
version "4.0.29"
|
|
1617
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.0.29.tgz#55f7a6b85e3e67dd1ce9fcef421dc2555e5ddf53"
|
|
1618
|
+
integrity sha512-WEbrRn+X9FG8Wk8U/JUAd4bTzCwOtKPqpCP4ijfqEK8g2ZXV1bGG3FSCTmZkZLNDt/WUYYJpC0Tjjqxn1T4Bzg==
|
|
1619
1619
|
dependencies:
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1620
|
+
ansi-escapes "^4.3.2"
|
|
1621
|
+
ansis "^3.3.2"
|
|
1622
|
+
clean-stack "^3.0.1"
|
|
1623
|
+
cli-spinners "^2.9.2"
|
|
1624
|
+
debug "^4.3.7"
|
|
1625
|
+
ejs "^3.1.10"
|
|
1626
|
+
get-package-type "^0.1.0"
|
|
1627
|
+
globby "^11.1.0"
|
|
1628
|
+
indent-string "^4.0.0"
|
|
1629
|
+
is-wsl "^3"
|
|
1630
|
+
lilconfig "^3.1.2"
|
|
1631
|
+
minimatch "^9.0.5"
|
|
1632
|
+
semver "^7.6.3"
|
|
1633
|
+
string-width "^4.2.3"
|
|
1634
|
+
supports-color "^8"
|
|
1635
|
+
widest-line "^3.1.0"
|
|
1636
|
+
wordwrap "^1.0.0"
|
|
1637
|
+
wrap-ansi "^7.0.0"
|
|
1638
|
+
|
|
1639
|
+
"@oclif/plugin-command-snapshot@^5.2.19":
|
|
1640
|
+
version "5.2.19"
|
|
1641
|
+
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.2.19.tgz#02f3f2c426aa0791bfcc598c9210e061f98caf54"
|
|
1642
|
+
integrity sha512-tw4R1ohyo73/lWMFF2aGiN5qrURsttY59GRaVPSb9KMLHUS1l0kPt5k3Qm10ci4i3CALCOa78Chowan2OW4cnQ==
|
|
1643
|
+
dependencies:
|
|
1644
|
+
"@oclif/core" "^4"
|
|
1645
|
+
ansis "^3.3.2"
|
|
1646
|
+
globby "^14.0.2"
|
|
1623
1647
|
just-diff "^5.2.0"
|
|
1624
1648
|
lodash.difference "^4.5.0"
|
|
1625
1649
|
lodash.get "^4.4.2"
|
|
1626
1650
|
lodash.sortby "^4.7.0"
|
|
1627
|
-
semver "^7.
|
|
1628
|
-
ts-json-schema-generator "^1.
|
|
1651
|
+
semver "^7.6.3"
|
|
1652
|
+
ts-json-schema-generator "^1.5.1"
|
|
1629
1653
|
|
|
1630
1654
|
"@oclif/plugin-help@^6.0.9":
|
|
1631
1655
|
version "6.0.12"
|
|
@@ -1913,6 +1937,11 @@
|
|
|
1913
1937
|
resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz"
|
|
1914
1938
|
integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==
|
|
1915
1939
|
|
|
1940
|
+
"@sindresorhus/merge-streams@^2.1.0":
|
|
1941
|
+
version "2.3.0"
|
|
1942
|
+
resolved "https://registry.yarnpkg.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz#719df7fb41766bc143369eaa0dd56d8dc87c9958"
|
|
1943
|
+
integrity sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==
|
|
1944
|
+
|
|
1916
1945
|
"@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
|
|
1917
1946
|
version "1.8.3"
|
|
1918
1947
|
resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz"
|
|
@@ -2495,7 +2524,7 @@
|
|
|
2495
2524
|
resolved "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz"
|
|
2496
2525
|
integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==
|
|
2497
2526
|
|
|
2498
|
-
"@types/json-schema@^7.0.12":
|
|
2527
|
+
"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.15":
|
|
2499
2528
|
version "7.0.15"
|
|
2500
2529
|
resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz"
|
|
2501
2530
|
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
|
|
@@ -2512,18 +2541,6 @@
|
|
|
2512
2541
|
dependencies:
|
|
2513
2542
|
"@types/node" "*"
|
|
2514
2543
|
|
|
2515
|
-
"@types/lodash.difference@^4.5.8":
|
|
2516
|
-
version "4.5.9"
|
|
2517
|
-
resolved "https://registry.npmjs.org/@types/lodash.difference/-/lodash.difference-4.5.9.tgz"
|
|
2518
|
-
integrity sha512-MNlajcjtwzLpXk+cw38UkBvEXJNEPhULgS8A4EHwtUwT7f7yFH/SFKD0iw5Rfilwh60yJIgFo0vsMr7xsa5+aw==
|
|
2519
|
-
dependencies:
|
|
2520
|
-
"@types/lodash" "*"
|
|
2521
|
-
|
|
2522
|
-
"@types/lodash@*":
|
|
2523
|
-
version "4.14.201"
|
|
2524
|
-
resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.201.tgz"
|
|
2525
|
-
integrity sha512-y9euML0cim1JrykNxADLfaG0FgD1g/yTHwUs/Jg9ZIU7WKj2/4IW9Lbb1WZbvck78W/lfGXFfe+u2EGfIJXdLQ==
|
|
2526
|
-
|
|
2527
2544
|
"@types/minimatch@*":
|
|
2528
2545
|
version "5.1.2"
|
|
2529
2546
|
resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz"
|
|
@@ -2910,6 +2927,11 @@ ansicolors@~0.3.2:
|
|
|
2910
2927
|
resolved "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz"
|
|
2911
2928
|
integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==
|
|
2912
2929
|
|
|
2930
|
+
ansis@^3.3.2:
|
|
2931
|
+
version "3.3.2"
|
|
2932
|
+
resolved "https://registry.yarnpkg.com/ansis/-/ansis-3.3.2.tgz#15adc36fea112da95c74d309706e593618accac3"
|
|
2933
|
+
integrity sha512-cFthbBlt+Oi0i9Pv/j6YdVWJh54CtjGACaMPCIrEV4Ha7HWsIjXDwseYV79TIL0B4+KfSwD5S70PeQDkPUd1rA==
|
|
2934
|
+
|
|
2913
2935
|
anymatch@~3.1.2:
|
|
2914
2936
|
version "3.1.3"
|
|
2915
2937
|
resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz"
|
|
@@ -3537,7 +3559,7 @@ cli-progress@^3.12.0:
|
|
|
3537
3559
|
dependencies:
|
|
3538
3560
|
string-width "^4.2.3"
|
|
3539
3561
|
|
|
3540
|
-
cli-spinners@^2.5.0, cli-spinners@^2.9.1:
|
|
3562
|
+
cli-spinners@^2.5.0, cli-spinners@^2.9.1, cli-spinners@^2.9.2:
|
|
3541
3563
|
version "2.9.2"
|
|
3542
3564
|
resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz"
|
|
3543
3565
|
integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==
|
|
@@ -3696,10 +3718,10 @@ commander@7.1.0:
|
|
|
3696
3718
|
resolved "https://registry.npmjs.org/commander/-/commander-7.1.0.tgz"
|
|
3697
3719
|
integrity sha512-pRxBna3MJe6HKnBGsDyMv8ETbptw3axEdYHoqNh7gu5oDcew8fs0xnivZGm06Ogk8zGAJ9VX+OPEr2GXEQK4dg==
|
|
3698
3720
|
|
|
3699
|
-
commander@^
|
|
3700
|
-
version "
|
|
3701
|
-
resolved "https://registry.
|
|
3702
|
-
integrity sha512-
|
|
3721
|
+
commander@^12.0.0:
|
|
3722
|
+
version "12.1.0"
|
|
3723
|
+
resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3"
|
|
3724
|
+
integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==
|
|
3703
3725
|
|
|
3704
3726
|
commander@^4.0.1:
|
|
3705
3727
|
version "4.1.1"
|
|
@@ -3916,6 +3938,13 @@ debug@^3.2.7:
|
|
|
3916
3938
|
dependencies:
|
|
3917
3939
|
ms "^2.1.1"
|
|
3918
3940
|
|
|
3941
|
+
debug@^4.3.7:
|
|
3942
|
+
version "4.3.7"
|
|
3943
|
+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52"
|
|
3944
|
+
integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==
|
|
3945
|
+
dependencies:
|
|
3946
|
+
ms "^2.1.3"
|
|
3947
|
+
|
|
3919
3948
|
debuglog@^1.0.1:
|
|
3920
3949
|
version "1.0.1"
|
|
3921
3950
|
resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz"
|
|
@@ -4121,6 +4150,13 @@ ecdsa-sig-formatter@1.0.11:
|
|
|
4121
4150
|
dependencies:
|
|
4122
4151
|
safe-buffer "^5.0.1"
|
|
4123
4152
|
|
|
4153
|
+
ejs@^3.1.10:
|
|
4154
|
+
version "3.1.10"
|
|
4155
|
+
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b"
|
|
4156
|
+
integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==
|
|
4157
|
+
dependencies:
|
|
4158
|
+
jake "^10.8.5"
|
|
4159
|
+
|
|
4124
4160
|
ejs@^3.1.8, ejs@^3.1.9:
|
|
4125
4161
|
version "3.1.9"
|
|
4126
4162
|
resolved "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz"
|
|
@@ -4570,7 +4606,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
|
|
4570
4606
|
resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
|
|
4571
4607
|
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
|
4572
4608
|
|
|
4573
|
-
fast-glob@^3.2.11, fast-glob@^3.2.9:
|
|
4609
|
+
fast-glob@^3.2.11, fast-glob@^3.2.9, fast-glob@^3.3.2:
|
|
4574
4610
|
version "3.3.2"
|
|
4575
4611
|
resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz"
|
|
4576
4612
|
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==
|
|
@@ -5049,6 +5085,18 @@ globby@^11.0.1, globby@^11.1.0:
|
|
|
5049
5085
|
merge2 "^1.4.1"
|
|
5050
5086
|
slash "^3.0.0"
|
|
5051
5087
|
|
|
5088
|
+
globby@^14.0.2:
|
|
5089
|
+
version "14.0.2"
|
|
5090
|
+
resolved "https://registry.yarnpkg.com/globby/-/globby-14.0.2.tgz#06554a54ccfe9264e5a9ff8eded46aa1e306482f"
|
|
5091
|
+
integrity sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==
|
|
5092
|
+
dependencies:
|
|
5093
|
+
"@sindresorhus/merge-streams" "^2.1.0"
|
|
5094
|
+
fast-glob "^3.3.2"
|
|
5095
|
+
ignore "^5.2.4"
|
|
5096
|
+
path-type "^5.0.0"
|
|
5097
|
+
slash "^5.1.0"
|
|
5098
|
+
unicorn-magic "^0.1.0"
|
|
5099
|
+
|
|
5052
5100
|
gopd@^1.0.1:
|
|
5053
5101
|
version "1.0.1"
|
|
5054
5102
|
resolved "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz"
|
|
@@ -5290,10 +5338,10 @@ husky@^7.0.4:
|
|
|
5290
5338
|
resolved "https://registry.npmjs.org/husky/-/husky-7.0.4.tgz"
|
|
5291
5339
|
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
|
|
5292
5340
|
|
|
5293
|
-
husky@^9.
|
|
5294
|
-
version "9.
|
|
5295
|
-
resolved "https://registry.
|
|
5296
|
-
integrity sha512-
|
|
5341
|
+
husky@^9.1.4:
|
|
5342
|
+
version "9.1.4"
|
|
5343
|
+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.4.tgz#926fd19c18d345add5eab0a42b2b6d9a80259b34"
|
|
5344
|
+
integrity sha512-bho94YyReb4JV7LYWRWxZ/xr6TtOTt8cMfmQ39MQYJ7f/YE268s3GdghGwi+y4zAeqewE5zYLvuhV0M0ijsDEA==
|
|
5297
5345
|
|
|
5298
5346
|
hyperlinker@^1.0.0:
|
|
5299
5347
|
version "1.0.0"
|
|
@@ -5515,6 +5563,11 @@ is-docker@^2.0.0:
|
|
|
5515
5563
|
resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz"
|
|
5516
5564
|
integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
|
|
5517
5565
|
|
|
5566
|
+
is-docker@^3.0.0:
|
|
5567
|
+
version "3.0.0"
|
|
5568
|
+
resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200"
|
|
5569
|
+
integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==
|
|
5570
|
+
|
|
5518
5571
|
is-extglob@^2.1.1:
|
|
5519
5572
|
version "2.1.1"
|
|
5520
5573
|
resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz"
|
|
@@ -5532,6 +5585,13 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:
|
|
|
5532
5585
|
dependencies:
|
|
5533
5586
|
is-extglob "^2.1.1"
|
|
5534
5587
|
|
|
5588
|
+
is-inside-container@^1.0.0:
|
|
5589
|
+
version "1.0.0"
|
|
5590
|
+
resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4"
|
|
5591
|
+
integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==
|
|
5592
|
+
dependencies:
|
|
5593
|
+
is-docker "^3.0.0"
|
|
5594
|
+
|
|
5535
5595
|
is-interactive@^1.0.0:
|
|
5536
5596
|
version "1.0.0"
|
|
5537
5597
|
resolved "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz"
|
|
@@ -5685,6 +5745,13 @@ is-wsl@^2.1.1, is-wsl@^2.2.0:
|
|
|
5685
5745
|
dependencies:
|
|
5686
5746
|
is-docker "^2.0.0"
|
|
5687
5747
|
|
|
5748
|
+
is-wsl@^3:
|
|
5749
|
+
version "3.1.0"
|
|
5750
|
+
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2"
|
|
5751
|
+
integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==
|
|
5752
|
+
dependencies:
|
|
5753
|
+
is-inside-container "^1.0.0"
|
|
5754
|
+
|
|
5688
5755
|
isarray@0.0.1:
|
|
5689
5756
|
version "0.0.1"
|
|
5690
5757
|
resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
|
|
@@ -6057,6 +6124,11 @@ lie@~3.3.0:
|
|
|
6057
6124
|
dependencies:
|
|
6058
6125
|
immediate "~3.0.5"
|
|
6059
6126
|
|
|
6127
|
+
lilconfig@^3.1.2:
|
|
6128
|
+
version "3.1.2"
|
|
6129
|
+
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.1.2.tgz#e4a7c3cb549e3a606c8dcc32e5ae1005e62c05cb"
|
|
6130
|
+
integrity sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==
|
|
6131
|
+
|
|
6060
6132
|
lines-and-columns@^1.1.6:
|
|
6061
6133
|
version "1.2.4"
|
|
6062
6134
|
resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz"
|
|
@@ -6516,6 +6588,13 @@ minimatch@^7.2.0:
|
|
|
6516
6588
|
dependencies:
|
|
6517
6589
|
brace-expansion "^2.0.1"
|
|
6518
6590
|
|
|
6591
|
+
minimatch@^9.0.5:
|
|
6592
|
+
version "9.0.5"
|
|
6593
|
+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
|
|
6594
|
+
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
|
|
6595
|
+
dependencies:
|
|
6596
|
+
brace-expansion "^2.0.1"
|
|
6597
|
+
|
|
6519
6598
|
minimist-options@4.1.0:
|
|
6520
6599
|
version "4.1.0"
|
|
6521
6600
|
resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz"
|
|
@@ -6682,7 +6761,7 @@ ms@2.1.2, ms@^2.0.0, ms@^2.1.1:
|
|
|
6682
6761
|
resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz"
|
|
6683
6762
|
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
|
6684
6763
|
|
|
6685
|
-
ms@2.1.3:
|
|
6764
|
+
ms@2.1.3, ms@^2.1.3:
|
|
6686
6765
|
version "2.1.3"
|
|
6687
6766
|
resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
|
|
6688
6767
|
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
|
@@ -7452,6 +7531,11 @@ path-type@^4.0.0:
|
|
|
7452
7531
|
resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz"
|
|
7453
7532
|
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
|
|
7454
7533
|
|
|
7534
|
+
path-type@^5.0.0:
|
|
7535
|
+
version "5.0.0"
|
|
7536
|
+
resolved "https://registry.yarnpkg.com/path-type/-/path-type-5.0.0.tgz#14b01ed7aea7ddf9c7c3f46181d4d04f9c785bb8"
|
|
7537
|
+
integrity sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==
|
|
7538
|
+
|
|
7455
7539
|
pathval@^1.1.1:
|
|
7456
7540
|
version "1.1.1"
|
|
7457
7541
|
resolved "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz"
|
|
@@ -8038,18 +8122,30 @@ secure-json-parse@^2.4.0:
|
|
|
8038
8122
|
resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz"
|
|
8039
8123
|
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
|
|
8040
8124
|
|
|
8041
|
-
semver@7.5.4
|
|
8125
|
+
semver@7.5.4:
|
|
8042
8126
|
version "7.5.4"
|
|
8043
8127
|
resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz"
|
|
8044
8128
|
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
|
|
8045
8129
|
dependencies:
|
|
8046
8130
|
lru-cache "^6.0.0"
|
|
8047
8131
|
|
|
8132
|
+
semver@7.6.0:
|
|
8133
|
+
version "7.6.0"
|
|
8134
|
+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d"
|
|
8135
|
+
integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==
|
|
8136
|
+
dependencies:
|
|
8137
|
+
lru-cache "^6.0.0"
|
|
8138
|
+
|
|
8048
8139
|
semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
|
|
8049
8140
|
version "6.3.1"
|
|
8050
8141
|
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz"
|
|
8051
8142
|
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
|
|
8052
8143
|
|
|
8144
|
+
semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.8, semver@^7.5.4, semver@^7.6.3:
|
|
8145
|
+
version "7.6.3"
|
|
8146
|
+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
|
|
8147
|
+
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
|
|
8148
|
+
|
|
8053
8149
|
sentence-case@^3.0.4:
|
|
8054
8150
|
version "3.0.4"
|
|
8055
8151
|
resolved "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz"
|
|
@@ -8218,6 +8314,11 @@ slash@^3.0.0:
|
|
|
8218
8314
|
resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz"
|
|
8219
8315
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
|
8220
8316
|
|
|
8317
|
+
slash@^5.1.0:
|
|
8318
|
+
version "5.1.0"
|
|
8319
|
+
resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce"
|
|
8320
|
+
integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==
|
|
8321
|
+
|
|
8221
8322
|
slice-ansi@^4.0.0:
|
|
8222
8323
|
version "4.0.0"
|
|
8223
8324
|
resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz"
|
|
@@ -8374,7 +8475,16 @@ ssri@^9.0.0:
|
|
|
8374
8475
|
dependencies:
|
|
8375
8476
|
minipass "^3.1.1"
|
|
8376
8477
|
|
|
8377
|
-
"string-width-cjs@npm:string-width@^4.2.0"
|
|
8478
|
+
"string-width-cjs@npm:string-width@^4.2.0":
|
|
8479
|
+
version "4.2.3"
|
|
8480
|
+
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
|
|
8481
|
+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
8482
|
+
dependencies:
|
|
8483
|
+
emoji-regex "^8.0.0"
|
|
8484
|
+
is-fullwidth-code-point "^3.0.0"
|
|
8485
|
+
strip-ansi "^6.0.1"
|
|
8486
|
+
|
|
8487
|
+
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
|
8378
8488
|
version "4.2.3"
|
|
8379
8489
|
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
|
|
8380
8490
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
@@ -8433,7 +8543,14 @@ string_decoder@^1.3.0:
|
|
|
8433
8543
|
dependencies:
|
|
8434
8544
|
safe-buffer "~5.2.0"
|
|
8435
8545
|
|
|
8436
|
-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1"
|
|
8546
|
+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
|
|
8547
|
+
version "6.0.1"
|
|
8548
|
+
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
|
|
8549
|
+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
8550
|
+
dependencies:
|
|
8551
|
+
ansi-regex "^5.0.1"
|
|
8552
|
+
|
|
8553
|
+
strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
|
8437
8554
|
version "6.0.1"
|
|
8438
8555
|
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
|
|
8439
8556
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
@@ -8501,7 +8618,7 @@ strnum@^1.0.5:
|
|
|
8501
8618
|
resolved "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz"
|
|
8502
8619
|
integrity sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==
|
|
8503
8620
|
|
|
8504
|
-
supports-color@8.1.1, supports-color@^8.1.1:
|
|
8621
|
+
supports-color@8.1.1, supports-color@^8, supports-color@^8.1.1:
|
|
8505
8622
|
version "8.1.1"
|
|
8506
8623
|
resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz"
|
|
8507
8624
|
integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==
|
|
@@ -8644,18 +8761,18 @@ ts-api-utils@^1.0.1:
|
|
|
8644
8761
|
resolved "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz"
|
|
8645
8762
|
integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==
|
|
8646
8763
|
|
|
8647
|
-
ts-json-schema-generator@^1.
|
|
8648
|
-
version "1.
|
|
8649
|
-
resolved "https://registry.
|
|
8650
|
-
integrity sha512-
|
|
8764
|
+
ts-json-schema-generator@^1.5.1:
|
|
8765
|
+
version "1.5.1"
|
|
8766
|
+
resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-1.5.1.tgz#7759c421240be86d393a884ad186f926b22332db"
|
|
8767
|
+
integrity sha512-apX5qG2+NA66j7b4AJm8q/DpdTeOsjfh7A3LpKsUiil0FepkNwtN28zYgjrsiiya2/OPhsr/PSjX5FUYg79rCg==
|
|
8651
8768
|
dependencies:
|
|
8652
|
-
"@types/json-schema" "^7.0.
|
|
8653
|
-
commander "^
|
|
8769
|
+
"@types/json-schema" "^7.0.15"
|
|
8770
|
+
commander "^12.0.0"
|
|
8654
8771
|
glob "^8.0.3"
|
|
8655
8772
|
json5 "^2.2.3"
|
|
8656
8773
|
normalize-path "^3.0.0"
|
|
8657
8774
|
safe-stable-stringify "^2.4.3"
|
|
8658
|
-
typescript "~5.
|
|
8775
|
+
typescript "~5.4.2"
|
|
8659
8776
|
|
|
8660
8777
|
ts-node@^10.8.1, ts-node@^10.9.2:
|
|
8661
8778
|
version "10.9.2"
|
|
@@ -8830,10 +8947,10 @@ typescript@^4.9.5:
|
|
|
8830
8947
|
resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
|
|
8831
8948
|
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
|
|
8832
8949
|
|
|
8833
|
-
typescript@~5.
|
|
8834
|
-
version "5.
|
|
8835
|
-
resolved "https://registry.
|
|
8836
|
-
integrity sha512-
|
|
8950
|
+
typescript@~5.4.2:
|
|
8951
|
+
version "5.4.5"
|
|
8952
|
+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611"
|
|
8953
|
+
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==
|
|
8837
8954
|
|
|
8838
8955
|
unbox-primitive@^1.0.2:
|
|
8839
8956
|
version "1.0.2"
|
|
@@ -8850,6 +8967,11 @@ undici-types@~5.26.4:
|
|
|
8850
8967
|
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
|
|
8851
8968
|
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
|
|
8852
8969
|
|
|
8970
|
+
unicorn-magic@^0.1.0:
|
|
8971
|
+
version "0.1.0"
|
|
8972
|
+
resolved "https://registry.yarnpkg.com/unicorn-magic/-/unicorn-magic-0.1.0.tgz#1bb9a51c823aaf9d73a8bfcd3d1a23dde94b0ce4"
|
|
8973
|
+
integrity sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==
|
|
8974
|
+
|
|
8853
8975
|
unique-filename@^1.1.1:
|
|
8854
8976
|
version "1.1.1"
|
|
8855
8977
|
resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz"
|
|
@@ -9147,7 +9269,7 @@ workerpool@6.2.1:
|
|
|
9147
9269
|
resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz"
|
|
9148
9270
|
integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
|
|
9149
9271
|
|
|
9150
|
-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"
|
|
9272
|
+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
|
|
9151
9273
|
version "7.0.0"
|
|
9152
9274
|
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
|
|
9153
9275
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
@@ -9165,6 +9287,15 @@ wrap-ansi@^6.2.0:
|
|
|
9165
9287
|
string-width "^4.1.0"
|
|
9166
9288
|
strip-ansi "^6.0.0"
|
|
9167
9289
|
|
|
9290
|
+
wrap-ansi@^7.0.0:
|
|
9291
|
+
version "7.0.0"
|
|
9292
|
+
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
|
|
9293
|
+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
9294
|
+
dependencies:
|
|
9295
|
+
ansi-styles "^4.0.0"
|
|
9296
|
+
string-width "^4.1.0"
|
|
9297
|
+
strip-ansi "^6.0.0"
|
|
9298
|
+
|
|
9168
9299
|
wrap-ansi@^8.1.0:
|
|
9169
9300
|
version "8.1.0"
|
|
9170
9301
|
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz"
|
package/oclif.manifest.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"acc-transformer:transform": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
6
|
"description": "This plugin will convert the code coverage JSON file created by the Salesforce CLI during Apex deployments and test runs into an XML accepted by tools like SonarQube.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"`sf
|
|
8
|
+
"`sf acc-transformer transform -j \"coverage.json\" -x \"coverage.xml\"`"
|
|
9
9
|
],
|
|
10
10
|
"flags": {
|
|
11
11
|
"json": {
|
|
@@ -33,25 +33,11 @@
|
|
|
33
33
|
"hasDynamicHelp": false,
|
|
34
34
|
"multiple": false,
|
|
35
35
|
"type": "option"
|
|
36
|
-
},
|
|
37
|
-
"command": {
|
|
38
|
-
"char": "c",
|
|
39
|
-
"name": "command",
|
|
40
|
-
"required": true,
|
|
41
|
-
"summary": "The type of Salesforce CLI command you are running.",
|
|
42
|
-
"default": "deploy",
|
|
43
|
-
"hasDynamicHelp": false,
|
|
44
|
-
"multiple": false,
|
|
45
|
-
"options": [
|
|
46
|
-
"deploy",
|
|
47
|
-
"test"
|
|
48
|
-
],
|
|
49
|
-
"type": "option"
|
|
50
36
|
}
|
|
51
37
|
},
|
|
52
38
|
"hasDynamicHelp": false,
|
|
53
39
|
"hiddenAliases": [],
|
|
54
|
-
"id": "
|
|
40
|
+
"id": "acc-transformer:transform",
|
|
55
41
|
"pluginAlias": "apex-code-coverage-transformer",
|
|
56
42
|
"pluginName": "apex-code-coverage-transformer",
|
|
57
43
|
"pluginType": "core",
|
|
@@ -62,20 +48,15 @@
|
|
|
62
48
|
"relativePath": [
|
|
63
49
|
"lib",
|
|
64
50
|
"commands",
|
|
65
|
-
"
|
|
66
|
-
"transformer",
|
|
51
|
+
"acc-transformer",
|
|
67
52
|
"transform.js"
|
|
68
53
|
],
|
|
69
54
|
"aliasPermutations": [],
|
|
70
55
|
"permutations": [
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"transformer:transform:apex-code-coverage",
|
|
74
|
-
"apex-code-coverage:transform:transformer",
|
|
75
|
-
"transform:apex-code-coverage:transformer",
|
|
76
|
-
"transform:transformer:apex-code-coverage"
|
|
56
|
+
"acc-transformer:transform",
|
|
57
|
+
"transform:acc-transformer"
|
|
77
58
|
]
|
|
78
59
|
}
|
|
79
60
|
},
|
|
80
|
-
"version": "1.
|
|
61
|
+
"version": "2.1.0"
|
|
81
62
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apex-code-coverage-transformer",
|
|
3
3
|
"description": "Transforms the Apex code coverage JSON created during Salesforce deployments and test runs into the Generic Test Coverage Format (XML) for SonarQube.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "^3.18.1",
|
|
7
7
|
"@salesforce/core": "^6.4.7",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"xmlbuilder2": "^3.1.1"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@commitlint/cli": "^18.6.
|
|
13
|
+
"@commitlint/cli": "^18.6.1",
|
|
14
14
|
"@commitlint/config-conventional": "^18.6.0",
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^5.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^5.2.19",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.1.7",
|
|
17
17
|
"@salesforce/dev-scripts": "^8.3.0",
|
|
18
18
|
"eslint-plugin-sf-plugin": "^1.17.2",
|
|
19
|
-
"husky": "^9.
|
|
19
|
+
"husky": "^9.1.4",
|
|
20
20
|
"oclif": "^4.3.4",
|
|
21
21
|
"shx": "0.3.4",
|
|
22
22
|
"ts-node": "^10.9.2",
|
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
"commands": "./lib/commands",
|
|
52
52
|
"bin": "sf",
|
|
53
53
|
"topicSeparator": " ",
|
|
54
|
+
"topics": {
|
|
55
|
+
"acc-transformer": {
|
|
56
|
+
"description": "description for acc-transformer"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
54
59
|
"hooks": {
|
|
55
60
|
"postrun": "./lib/hooks/postrun"
|
|
56
61
|
},
|
|
@@ -65,7 +70,7 @@
|
|
|
65
70
|
"clean": "sf-clean",
|
|
66
71
|
"clean-all": "sf-clean all",
|
|
67
72
|
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
|
|
68
|
-
"compile": "
|
|
73
|
+
"compile": "wireit",
|
|
69
74
|
"docs": "sf-docs",
|
|
70
75
|
"format": "sf-format",
|
|
71
76
|
"lint": "wireit",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../../src/commands/apex-code-coverage/transformer/transform.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAE9F,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,gCAAgC,EAAE,uBAAuB,CAAC,CAAC;AAMlG,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAqC;IAC9E,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC;YAC1B,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;YAC3D,IAAI,EAAE,GAAG;YACT,QAAQ,EAAE,IAAI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