@salesforce/plugin-deploy-retrieve 3.2.13 → 3.2.14

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 CHANGED
@@ -139,7 +139,7 @@ FLAG DESCRIPTIONS
139
139
  If you specify this parameter, don’t specify --metadata or --source-dir.
140
140
  ```
141
141
 
142
- _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/convert/mdapi.ts)_
142
+ _See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/convert/mdapi.ts)_
143
143
 
144
144
  ## `sf project convert source`
145
145
 
@@ -151,7 +151,7 @@ USAGE
151
151
  <value> | -m <value>]
152
152
 
153
153
  FLAGS
154
- -d, --output-dir=<value> [default: metadataPackage_1707554665380] Output directory to store the Metadata
154
+ -d, --output-dir=<value> [default: metadataPackage_1707766162417] Output directory to store the Metadata
155
155
  API–formatted files in.
156
156
  -m, --metadata=<value>... Metadata component names to convert.
157
157
  -n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
@@ -211,7 +211,7 @@ FLAG DESCRIPTIONS
211
211
  Override the api version used for api requests made by this command
212
212
  ```
213
213
 
214
- _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/convert/source.ts)_
214
+ _See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/convert/source.ts)_
215
215
 
216
216
  ## `sf project delete source`
217
217
 
@@ -350,7 +350,7 @@ FLAG DESCRIPTIONS
350
350
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
351
351
  ```
352
352
 
353
- _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/delete/source.ts)_
353
+ _See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/delete/source.ts)_
354
354
 
355
355
  ## `sf project delete tracking`
356
356
 
@@ -386,7 +386,7 @@ EXAMPLES
386
386
  $ sf project delete tracking --target-org my-scratch
387
387
  ```
388
388
 
389
- _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/delete/tracking.ts)_
389
+ _See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/delete/tracking.ts)_
390
390
 
391
391
  ## `sf project deploy cancel`
392
392
 
@@ -456,7 +456,7 @@ FLAG DESCRIPTIONS
456
456
  project deploy report".
457
457
  ```
458
458
 
459
- _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/cancel.ts)_
459
+ _See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/cancel.ts)_
460
460
 
461
461
  ## `sf project deploy preview`
462
462
 
@@ -540,7 +540,7 @@ FLAG DESCRIPTIONS
540
540
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
541
541
  ```
542
542
 
543
- _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/preview.ts)_
543
+ _See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/preview.ts)_
544
544
 
545
545
  ## `sf project deploy quick`
546
546
 
@@ -624,7 +624,7 @@ FLAG DESCRIPTIONS
624
624
  deploy report".
625
625
  ```
626
626
 
627
- _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/quick.ts)_
627
+ _See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/quick.ts)_
628
628
 
629
629
  ## `sf project deploy report`
630
630
 
@@ -719,7 +719,7 @@ FLAG DESCRIPTIONS
719
719
  --coverage-formatters lcov --coverage-formatters clover
720
720
  ```
721
721
 
722
- _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/report.ts)_
722
+ _See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/report.ts)_
723
723
 
724
724
  ## `sf project deploy resume`
725
725
 
@@ -803,7 +803,7 @@ FLAG DESCRIPTIONS
803
803
  --coverage-formatters lcov --coverage-formatters clover
804
804
  ```
805
805
 
806
- _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/resume.ts)_
806
+ _See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/resume.ts)_
807
807
 
808
808
  ## `sf project deploy start`
809
809
 
@@ -1015,7 +1015,7 @@ FLAG DESCRIPTIONS
1015
1015
  --coverage-formatters lcov --coverage-formatters clover
1016
1016
  ```
1017
1017
 
1018
- _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/start.ts)_
1018
+ _See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/start.ts)_
1019
1019
 
1020
1020
  ## `sf project deploy validate`
1021
1021
 
@@ -1177,7 +1177,7 @@ FLAG DESCRIPTIONS
1177
1177
  --coverage-formatters lcov --coverage-formatters clover
1178
1178
  ```
1179
1179
 
1180
- _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/deploy/validate.ts)_
1180
+ _See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/deploy/validate.ts)_
1181
1181
 
1182
1182
  ## `sf project generate manifest`
1183
1183
 
@@ -1252,7 +1252,7 @@ EXAMPLES
1252
1252
  $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
1253
1253
  ```
1254
1254
 
1255
- _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/generate/manifest.ts)_
1255
+ _See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/generate/manifest.ts)_
1256
1256
 
1257
1257
  ## `sf project list ignored`
1258
1258
 
@@ -1293,7 +1293,7 @@ EXAMPLES
1293
1293
  $ sf project list ignored --source-dir package.xml
1294
1294
  ```
1295
1295
 
1296
- _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/list/ignored.ts)_
1296
+ _See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/list/ignored.ts)_
1297
1297
 
1298
1298
  ## `sf project reset tracking`
1299
1299
 
@@ -1341,7 +1341,7 @@ EXAMPLES
1341
1341
  $ sf project reset tracking --revision 30
1342
1342
  ```
1343
1343
 
1344
- _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/reset/tracking.ts)_
1344
+ _See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/reset/tracking.ts)_
1345
1345
 
1346
1346
  ## `sf project retrieve preview`
1347
1347
 
@@ -1397,7 +1397,7 @@ FLAG DESCRIPTIONS
1397
1397
  Overrides your default org.
1398
1398
  ```
1399
1399
 
1400
- _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/retrieve/preview.ts)_
1400
+ _See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/retrieve/preview.ts)_
1401
1401
 
1402
1402
  ## `sf project retrieve start`
1403
1403
 
@@ -1543,6 +1543,6 @@ FLAG DESCRIPTIONS
1543
1543
  If you specify this parameter, don’t specify --metadata or --source-dir.
1544
1544
  ```
1545
1545
 
1546
- _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.13/src/commands/project/retrieve/start.ts)_
1546
+ _See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.2.14/src/commands/project/retrieve/start.ts)_
1547
1547
 
1548
1548
  <!-- commandsstop -->
@@ -0,0 +1,6 @@
1
+ import { SfDoctor } from '@salesforce/plugin-info';
2
+ type HookFunction = (options: {
3
+ doctor: SfDoctor;
4
+ }) => Promise<[void]>;
5
+ export declare const hook: HookFunction;
6
+ export {};
@@ -0,0 +1,127 @@
1
+ /*
2
+ * Copyright (c) 2022, salesforce.com, inc.
3
+ * All rights reserved.
4
+ * Licensed under the BSD 3-Clause license.
5
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
+ */
7
+ import { ConfigAggregator, Lifecycle, Logger, Messages, SfProject, OrgConfigProperties, Org } from '@salesforce/core';
8
+ let logger;
9
+ const getLogger = () => {
10
+ if (!logger) {
11
+ logger = Logger.childFromRoot('plugin-deploy-retrieve-diagnostics');
12
+ }
13
+ return logger;
14
+ };
15
+ const pluginName = '@salesforce/plugin-deploy-retrieve';
16
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
17
+ const messages = Messages.loadMessages(pluginName, 'diagnostics');
18
+ export const hook = async (options) => {
19
+ getLogger().debug(`Running SfDoctor diagnostics for ${pluginName}`);
20
+ return Promise.all([apiVersionTest(options.doctor)]);
21
+ };
22
+ // ============================
23
+ // *** DIAGNOSTIC TESTS ***
24
+ // ============================
25
+ // Gathers and compares the following API versions:
26
+ // 1. apiVersion (if set) from the sfdx config, including environment variable
27
+ // 2. sourceApiVersion (if set) from sfdx-project.json
28
+ // 3. max apiVersion of the default target dev hub org (if set)
29
+ // 4. max apiVersion of the default target org (if set)
30
+ //
31
+ // Warns if:
32
+ // 1. apiVersion and sourceApiVersion are set but not equal
33
+ // 2. apiVersion and sourceApiVersion are both not set
34
+ // 3. default devhub target org and default target org have different max apiVersions
35
+ // 4. sourceApiVersion is set and does not match max apiVersion of default target org
36
+ // 5. apiVersion is set and does not match max apiVersion of default target org
37
+ const apiVersionTest = async (doctor) => {
38
+ getLogger().debug('Running API Version tests');
39
+ // check org-api-version from ConfigAggregator
40
+ const aggregator = await ConfigAggregator.create();
41
+ const apiVersion = aggregator.getPropertyValue(OrgConfigProperties.ORG_API_VERSION);
42
+ const sourceApiVersion = await getSourceApiVersion();
43
+ const targetDevHub = aggregator.getPropertyValue(OrgConfigProperties.TARGET_DEV_HUB);
44
+ const targetOrg = aggregator.getPropertyValue(OrgConfigProperties.TARGET_ORG);
45
+ const targetDevHubApiVersion = targetDevHub && (await getMaxApiVersion(aggregator, targetDevHub));
46
+ const targetOrgApiVersion = targetOrg && (await getMaxApiVersion(aggregator, targetOrg));
47
+ doctor.addPluginData(pluginName, {
48
+ apiVersion,
49
+ sourceApiVersion,
50
+ targetDevHubApiVersion,
51
+ targetOrgApiVersion,
52
+ });
53
+ const testName1 = `[${pluginName}] sourceApiVersion matches apiVersion`;
54
+ let status1 = 'pass';
55
+ if (diff(sourceApiVersion, apiVersion)) {
56
+ status1 = 'warn';
57
+ doctor.addSuggestion(messages.getMessage('apiVersionMismatch'));
58
+ }
59
+ if (sourceApiVersion === undefined && apiVersion === undefined) {
60
+ status1 = 'warn';
61
+ doctor.addSuggestion(messages.getMessage('apiVersionUnset'));
62
+ }
63
+ void Lifecycle.getInstance().emit('Doctor:diagnostic', { testName: testName1, status: status1 });
64
+ if (targetDevHubApiVersion && targetOrgApiVersion) {
65
+ const testName2 = `[${pluginName}] default target DevHub max apiVersion matches default target org max apiVersion`;
66
+ let status2 = 'pass';
67
+ if (diff(targetDevHubApiVersion, targetOrgApiVersion)) {
68
+ status2 = 'warn';
69
+ doctor.addSuggestion(messages.getMessage('maxApiVersionMismatch'));
70
+ }
71
+ void Lifecycle.getInstance().emit('Doctor:diagnostic', { testName: testName2, status: status2 });
72
+ }
73
+ // Only run this test if both sourceApiVersion and the default target org max version are set.
74
+ if (sourceApiVersion?.length && targetOrgApiVersion?.length) {
75
+ const testName3 = `[${pluginName}] sourceApiVersion matches default target org max apiVersion`;
76
+ let status3 = 'pass';
77
+ if (diff(sourceApiVersion, targetOrgApiVersion)) {
78
+ status3 = 'warn';
79
+ doctor.addSuggestion(messages.getMessage('sourceApiVersionMaxMismatch', [targetOrgApiVersion]));
80
+ }
81
+ void Lifecycle.getInstance().emit('Doctor:diagnostic', { testName: testName3, status: status3 });
82
+ }
83
+ // Only run this test if both apiVersion and the default target org max version are set.
84
+ if (apiVersion?.length && targetOrgApiVersion?.length) {
85
+ const testName4 = `[${pluginName}] apiVersion matches default target org max apiVersion`;
86
+ let status4 = 'pass';
87
+ if (diff(apiVersion, targetOrgApiVersion)) {
88
+ status4 = 'warn';
89
+ doctor.addSuggestion(messages.getMessage('apiVersionMaxMismatch', [targetOrgApiVersion]));
90
+ }
91
+ void Lifecycle.getInstance().emit('Doctor:diagnostic', { testName: testName4, status: status4 });
92
+ }
93
+ };
94
+ // check sfdx-project.json for sourceApiVersion
95
+ const getSourceApiVersion = async () => {
96
+ try {
97
+ const project = SfProject.getInstance();
98
+ const projectJson = await project.resolveProjectConfig();
99
+ return projectJson.sourceApiVersion;
100
+ }
101
+ catch (error) {
102
+ const errMsg = error.message;
103
+ getLogger().debug(`Cannot determine sourceApiVersion due to: ${errMsg}`);
104
+ }
105
+ };
106
+ // check max API version for default orgs
107
+ const getMaxApiVersion = async (aggregator, aliasOrUsername) => {
108
+ try {
109
+ const org = await Org.create({ aliasOrUsername, aggregator });
110
+ return await org.retrieveMaxApiVersion();
111
+ }
112
+ catch (error) {
113
+ const errMsg = error.message;
114
+ getLogger().debug(`Cannot determine the max ApiVersion for org: [${aliasOrUsername}] due to: ${errMsg}`);
115
+ }
116
+ };
117
+ // Compare 2 API versions that have values and return if they are different.
118
+ // E.g.,
119
+ // Comparing undefined with 56.0 would return false.
120
+ // Comparing undefined with undefined would return false.
121
+ // Comparing 55.0 with 55.0 would return false.
122
+ // Comparing 55.0 with 56.0 would return true.
123
+ const diff = (version1, version2) => {
124
+ getLogger().debug(`Comparing API versions: [${version1},${version2}]`);
125
+ return !!version1?.length && !!version2?.length && version1 !== version2;
126
+ };
127
+ //# sourceMappingURL=diagnostics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagnostics.js","sourceRoot":"","sources":["../../src/hooks/diagnostics.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,mBAAmB,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAKtH,IAAI,MAAc,CAAC;AACnB,MAAM,SAAS,GAAG,GAAW,EAAE;IAC7B,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,oCAAoC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,oCAAoC,CAAC;AACxD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,IAAI,GAAiB,KAAK,EAAE,OAAO,EAAE,EAAE;IACl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C,SAAS,EAAE,CAAC,KAAK,CAAC,6CAA6C,MAAM,EAAE,CAAC,CAAC;IAC3E,CAAC;AACH,CAAC,CAAC;AAEF,yCAAyC;AACzC,MAAM,gBAAgB,GAAG,KAAK,EAAE,UAA4B,EAAE,eAAuB,EAA+B,EAAE;IACpH,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC,CAAC;QAC9D,OAAO,MAAM,GAAG,CAAC,qBAAqB,EAAE,CAAC;IAC3C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,MAAM,GAAI,KAAe,CAAC,OAAO,CAAC;QACxC,SAAS,EAAE,CAAC,KAAK,CAAC,iDAAiD,eAAe,aAAa,MAAM,EAAE,CAAC,CAAC;IAC3G,CAAC;AACH,CAAC,CAAC;AAEF,4EAA4E;AAC5E,QAAQ;AACR,sDAAsD;AACtD,2DAA2D;AAC3D,iDAAiD;AACjD,gDAAgD;AAChD,MAAM,IAAI,GAAG,CAAC,QAA4B,EAAE,QAA4B,EAAW,EAAE;IACnF,SAAS,EAAE,CAAC,KAAK,CAAC,4BAA4B,QAAQ,IAAI,QAAQ,GAAG,CAAC,CAAC;IACvE,OAAO,CAAC,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,CAAC,QAAQ,EAAE,MAAM,IAAI,QAAQ,KAAK,QAAQ,CAAC;AAC3E,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ # apiVersionMismatch
2
+
3
+ The sourceApiVersion in sfdx-project.json doesn't match the apiVersion. The commands that deploy and retrieve source use the sourceApiVersion in this case. The version mismatch isn't a problem, as long as it's the behavior you actually want.
4
+
5
+ # apiVersionUnset
6
+
7
+ Neither sourceApiVersion nor apiVersion are defined. The commands that deploy and retrieve source use the max apiVersion of the target org in this case. The issue isn't a problem, as long as it's the behavior you actually want.
8
+
9
+ # maxApiVersionMismatch
10
+
11
+ The max apiVersion of the default DevHub org doesn't match the max apiVersion of the default target org. This mismatch means that the default target orgs are running different API versions. Be sure you explicitly set the apiVersion when you deploy or retrieve source, or you will likely run into problems.
12
+
13
+ # sourceApiVersionMaxMismatch
14
+
15
+ The sourceApiVersion in sfdx-project.json doesn't match the max apiVersion of the default target org. As a result, you're not using the latest features available in API version %s. The version mismatch isn't a problem, as long as it's the behavior you actually want.
16
+
17
+ # apiVersionMaxMismatch
18
+
19
+ The apiVersion doesn't match the max apiVersion of the default target org. As a result, you're not using the latest features available in API version %s. The version mismatch isn't a problem, as long as it's the behavior you actually want.
package/oclif.lock CHANGED
@@ -1180,6 +1180,11 @@
1180
1180
  "@babel/helper-validator-identifier" "^7.22.5"
1181
1181
  to-fast-properties "^2.0.0"
1182
1182
 
1183
+ "@colors/colors@1.5.0":
1184
+ version "1.5.0"
1185
+ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9"
1186
+ integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==
1187
+
1183
1188
  "@commitlint/cli@^17.1.2":
1184
1189
  version "17.6.5"
1185
1190
  resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.6.5.tgz#3a8abd6499f9d4aeafe3bf9201338ccb868a14b9"
@@ -1442,6 +1447,15 @@
1442
1447
  strip-ansi "^6.0.1"
1443
1448
  wrap-ansi "^6.2.0"
1444
1449
 
1450
+ "@inquirer/input@^1.2.16":
1451
+ version "1.2.16"
1452
+ resolved "https://registry.yarnpkg.com/@inquirer/input/-/input-1.2.16.tgz#94d8765a47689e799fd55ed0361dedc8f554341b"
1453
+ integrity sha512-Ou0LaSWvj1ni+egnyQ+NBtfM1885UwhRCMtsRt2bBO47DoC1dwtCa+ZUNgrxlnCHHF0IXsbQHYtIIjFGAavI4g==
1454
+ dependencies:
1455
+ "@inquirer/core" "^6.0.0"
1456
+ "@inquirer/type" "^1.1.6"
1457
+ chalk "^4.1.2"
1458
+
1445
1459
  "@inquirer/password@^1.1.16":
1446
1460
  version "1.1.16"
1447
1461
  resolved "https://registry.yarnpkg.com/@inquirer/password/-/password-1.1.16.tgz#37ddebbe37c6e76f8ad27d1f726aacdd7c423558"
@@ -1985,7 +1999,7 @@
1985
1999
  strip-ansi "6.0.1"
1986
2000
  ts-retry-promise "^0.8.0"
1987
2001
 
1988
- "@salesforce/core@^6.1.0", "@salesforce/core@^6.1.3", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.7", "@salesforce/core@^6.5.1", "@salesforce/core@^6.5.2":
2002
+ "@salesforce/core@^6.1.0", "@salesforce/core@^6.1.3", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4", "@salesforce/core@^6.4.7", "@salesforce/core@^6.5.1", "@salesforce/core@^6.5.2":
1989
2003
  version "6.5.3"
1990
2004
  resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.5.3.tgz#b1ceef7947b9046ab23e78e73851115fec86f4f9"
1991
2005
  integrity sha512-L4I2LrGyuXbNDCkoQdrMQ2sR/nhNIgRMLgpYNpOARZFIWKUsnjgBLVpUui+knCzjrQsOMoSwev+W0vp17iT76w==
@@ -2068,6 +2082,23 @@
2068
2082
  handlebars "^4.7.8"
2069
2083
  tslib "^2"
2070
2084
 
2085
+ "@salesforce/plugin-info@^3.0.21":
2086
+ version "3.0.21"
2087
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-info/-/plugin-info-3.0.21.tgz#f5b4f5af315dce829c0d0abe49a8f51321b17fcb"
2088
+ integrity sha512-j060NJicZLWlci35v50PP5XhKRwQ9yITycdUc8M3dBoELoJcK8EBT0pwuN1u7ypi49K2Lma1z+69nT9vSuh0Cw==
2089
+ dependencies:
2090
+ "@inquirer/input" "^1.2.16"
2091
+ "@oclif/core" "^3.18.2"
2092
+ "@salesforce/core" "^6.4.2"
2093
+ "@salesforce/kit" "^3.0.15"
2094
+ "@salesforce/sf-plugins-core" "^7.1.4"
2095
+ got "^13.0.0"
2096
+ marked "^4.3.0"
2097
+ marked-terminal "^4.2.0"
2098
+ open "^8.4.2"
2099
+ proxy-agent "^6.3.1"
2100
+ semver "^7.5.4"
2101
+
2071
2102
  "@salesforce/plugin-source@^2.11.4":
2072
2103
  version "2.11.4"
2073
2104
  resolved "https://registry.yarnpkg.com/@salesforce/plugin-source/-/plugin-source-2.11.4.tgz#03d8b7fd9787f09ae210d657d2b91fc433be3f90"
@@ -2108,7 +2139,7 @@
2108
2139
  chalk "^4"
2109
2140
  inquirer "^8.2.5"
2110
2141
 
2111
- "@salesforce/sf-plugins-core@^7.1.9":
2142
+ "@salesforce/sf-plugins-core@^7.1.4", "@salesforce/sf-plugins-core@^7.1.9":
2112
2143
  version "7.1.9"
2113
2144
  resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-7.1.9.tgz#b4ea2005096f2289160cfd4452afb51d53bdefb3"
2114
2145
  integrity sha512-nyl6Kh1IHbGxcbQSUoJcte3t4fvozaXuHQWkHExIMGKjvSp8fCnx4pra8NZRdg/HnbWWu6eIHV4b/cHdzKWjnQ==
@@ -2206,6 +2237,11 @@
2206
2237
  resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f"
2207
2238
  integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==
2208
2239
 
2240
+ "@sindresorhus/is@^5.2.0":
2241
+ version "5.6.0"
2242
+ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668"
2243
+ integrity sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==
2244
+
2209
2245
  "@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.1":
2210
2246
  version "1.8.6"
2211
2247
  resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9"
@@ -2766,6 +2802,13 @@
2766
2802
  dependencies:
2767
2803
  defer-to-connect "^2.0.0"
2768
2804
 
2805
+ "@szmarczak/http-timer@^5.0.1":
2806
+ version "5.0.1"
2807
+ resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a"
2808
+ integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==
2809
+ dependencies:
2810
+ defer-to-connect "^2.0.1"
2811
+
2769
2812
  "@tootallnate/once@1":
2770
2813
  version "1.1.2"
2771
2814
  resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
@@ -2854,6 +2897,11 @@
2854
2897
  resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812"
2855
2898
  integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==
2856
2899
 
2900
+ "@types/http-cache-semantics@^4.0.2":
2901
+ version "4.0.4"
2902
+ resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4"
2903
+ integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==
2904
+
2857
2905
  "@types/inquirer@^8.2.3":
2858
2906
  version "8.2.10"
2859
2907
  resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-8.2.10.tgz#9444dce2d764c35bc5bb4d742598aaa4acb6561b"
@@ -3259,7 +3307,7 @@ ansi-colors@4.1.1:
3259
3307
  resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
3260
3308
  integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==
3261
3309
 
3262
- ansi-escapes@^4.2.1, ansi-escapes@^4.3.2:
3310
+ ansi-escapes@^4.2.1, ansi-escapes@^4.3.1, ansi-escapes@^4.3.2:
3263
3311
  version "4.3.2"
3264
3312
  resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
3265
3313
  integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==
@@ -3761,6 +3809,24 @@ cacheable-lookup@^5.0.3:
3761
3809
  resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005"
3762
3810
  integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==
3763
3811
 
3812
+ cacheable-lookup@^7.0.0:
3813
+ version "7.0.0"
3814
+ resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27"
3815
+ integrity sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==
3816
+
3817
+ cacheable-request@^10.2.8:
3818
+ version "10.2.14"
3819
+ resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-10.2.14.tgz#eb915b665fda41b79652782df3f553449c406b9d"
3820
+ integrity sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==
3821
+ dependencies:
3822
+ "@types/http-cache-semantics" "^4.0.2"
3823
+ get-stream "^6.0.1"
3824
+ http-cache-semantics "^4.1.1"
3825
+ keyv "^4.5.3"
3826
+ mimic-response "^4.0.0"
3827
+ normalize-url "^8.0.0"
3828
+ responselike "^3.0.0"
3829
+
3764
3830
  cacheable-request@^7.0.2:
3765
3831
  version "7.0.4"
3766
3832
  resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817"
@@ -3993,6 +4059,15 @@ cli-spinners@^2.5.0, cli-spinners@^2.9.2:
3993
4059
  resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41"
3994
4060
  integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==
3995
4061
 
4062
+ cli-table3@^0.6.0:
4063
+ version "0.6.3"
4064
+ resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.3.tgz#61ab765aac156b52f222954ffc607a6f01dbeeb2"
4065
+ integrity sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==
4066
+ dependencies:
4067
+ string-width "^4.2.0"
4068
+ optionalDependencies:
4069
+ "@colors/colors" "1.5.0"
4070
+
3996
4071
  cli-table@^0.3.1:
3997
4072
  version "0.3.11"
3998
4073
  resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.11.tgz#ac69cdecbe81dccdba4889b9a18b7da312a9d3ee"
@@ -4428,7 +4503,7 @@ defaults@^1.0.3:
4428
4503
  dependencies:
4429
4504
  clone "^1.0.2"
4430
4505
 
4431
- defer-to-connect@^2.0.0:
4506
+ defer-to-connect@^2.0.0, defer-to-connect@^2.0.1:
4432
4507
  version "2.0.1"
4433
4508
  resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587"
4434
4509
  integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==
@@ -4442,6 +4517,11 @@ define-data-property@^1.0.1, define-data-property@^1.1.1:
4442
4517
  gopd "^1.0.1"
4443
4518
  has-property-descriptors "^1.0.0"
4444
4519
 
4520
+ define-lazy-prop@^2.0.0:
4521
+ version "2.0.0"
4522
+ resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
4523
+ integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==
4524
+
4445
4525
  define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0:
4446
4526
  version "1.2.0"
4447
4527
  resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5"
@@ -5254,6 +5334,11 @@ foreground-child@^3.1.0:
5254
5334
  cross-spawn "^7.0.0"
5255
5335
  signal-exit "^4.0.1"
5256
5336
 
5337
+ form-data-encoder@^2.1.2:
5338
+ version "2.1.4"
5339
+ resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
5340
+ integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
5341
+
5257
5342
  form-data@^4.0.0:
5258
5343
  version "4.0.0"
5259
5344
  resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
@@ -5411,7 +5496,7 @@ get-stream@^5.0.0, get-stream@^5.1.0:
5411
5496
  dependencies:
5412
5497
  pump "^3.0.0"
5413
5498
 
5414
- get-stream@^6.0.0:
5499
+ get-stream@^6.0.0, get-stream@^6.0.1:
5415
5500
  version "6.0.1"
5416
5501
  resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
5417
5502
  integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
@@ -5579,6 +5664,23 @@ got@^11, got@^11.8.6:
5579
5664
  p-cancelable "^2.0.0"
5580
5665
  responselike "^2.0.0"
5581
5666
 
5667
+ got@^13.0.0:
5668
+ version "13.0.0"
5669
+ resolved "https://registry.yarnpkg.com/got/-/got-13.0.0.tgz#a2402862cef27a5d0d1b07c0fb25d12b58175422"
5670
+ integrity sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==
5671
+ dependencies:
5672
+ "@sindresorhus/is" "^5.2.0"
5673
+ "@szmarczak/http-timer" "^5.0.1"
5674
+ cacheable-lookup "^7.0.0"
5675
+ cacheable-request "^10.2.8"
5676
+ decompress-response "^6.0.0"
5677
+ form-data-encoder "^2.1.2"
5678
+ get-stream "^6.0.1"
5679
+ http2-wrapper "^2.1.10"
5680
+ lowercase-keys "^3.0.0"
5681
+ p-cancelable "^3.0.0"
5682
+ responselike "^3.0.0"
5683
+
5582
5684
  graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6:
5583
5685
  version "4.2.11"
5584
5686
  resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
@@ -5785,6 +5887,14 @@ http2-wrapper@^1.0.0-beta.5.2:
5785
5887
  quick-lru "^5.1.1"
5786
5888
  resolve-alpn "^1.0.0"
5787
5889
 
5890
+ http2-wrapper@^2.1.10:
5891
+ version "2.2.1"
5892
+ resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-2.2.1.tgz#310968153dcdedb160d8b72114363ef5fce1f64a"
5893
+ integrity sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==
5894
+ dependencies:
5895
+ quick-lru "^5.1.1"
5896
+ resolve-alpn "^1.2.0"
5897
+
5788
5898
  https-proxy-agent@^5.0.0:
5789
5899
  version "5.0.1"
5790
5900
  resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6"
@@ -6048,7 +6158,7 @@ is-date-object@^1.0.1:
6048
6158
  dependencies:
6049
6159
  has-tostringtag "^1.0.0"
6050
6160
 
6051
- is-docker@^2.0.0:
6161
+ is-docker@^2.0.0, is-docker@^2.1.1:
6052
6162
  version "2.2.1"
6053
6163
  resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
6054
6164
  integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
@@ -6563,6 +6673,13 @@ keyv@^4.0.0:
6563
6673
  dependencies:
6564
6674
  json-buffer "3.0.1"
6565
6675
 
6676
+ keyv@^4.5.3:
6677
+ version "4.5.4"
6678
+ resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93"
6679
+ integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==
6680
+ dependencies:
6681
+ json-buffer "3.0.1"
6682
+
6566
6683
  kind-of@^6.0.3:
6567
6684
  version "6.0.3"
6568
6685
  resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
@@ -6814,6 +6931,11 @@ lowercase-keys@^2.0.0:
6814
6931
  resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
6815
6932
  integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==
6816
6933
 
6934
+ lowercase-keys@^3.0.0:
6935
+ version "3.0.0"
6936
+ resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2"
6937
+ integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==
6938
+
6817
6939
  lru-cache@^5.1.1:
6818
6940
  version "5.1.1"
6819
6941
  resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
@@ -6937,6 +7059,18 @@ map-obj@^4.0.0:
6937
7059
  resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a"
6938
7060
  integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==
6939
7061
 
7062
+ marked-terminal@^4.2.0:
7063
+ version "4.2.0"
7064
+ resolved "https://registry.yarnpkg.com/marked-terminal/-/marked-terminal-4.2.0.tgz#593734a53cf9a4bb01ea961aa579bd21889ce502"
7065
+ integrity sha512-DQfNRV9svZf0Dm9Cf5x5xaVJ1+XjxQW6XjFJ5HFkVyK52SDpj5PCBzS5X5r2w9nHr3mlB0T5201UMLue9fmhUw==
7066
+ dependencies:
7067
+ ansi-escapes "^4.3.1"
7068
+ cardinal "^2.1.1"
7069
+ chalk "^4.1.0"
7070
+ cli-table3 "^0.6.0"
7071
+ node-emoji "^1.10.0"
7072
+ supports-hyperlinks "^2.1.0"
7073
+
6940
7074
  marked@^10.0.0:
6941
7075
  version "10.0.0"
6942
7076
  resolved "https://registry.yarnpkg.com/marked/-/marked-10.0.0.tgz#7fe1805bb908433d760e2de0fcc8841a2b2d745c"
@@ -7050,6 +7184,11 @@ mimic-response@^3.1.0:
7050
7184
  resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
7051
7185
  integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
7052
7186
 
7187
+ mimic-response@^4.0.0:
7188
+ version "4.0.0"
7189
+ resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-4.0.0.tgz#35468b19e7c75d10f5165ea25e75a5ceea7cf70f"
7190
+ integrity sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==
7191
+
7053
7192
  min-indent@^1.0.0:
7054
7193
  version "1.0.1"
7055
7194
  resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
@@ -7377,6 +7516,13 @@ no-case@^3.0.4:
7377
7516
  lower-case "^2.0.2"
7378
7517
  tslib "^2.0.3"
7379
7518
 
7519
+ node-emoji@^1.10.0:
7520
+ version "1.11.0"
7521
+ resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.11.0.tgz#69a0150e6946e2f115e9d7ea4df7971e2628301c"
7522
+ integrity sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==
7523
+ dependencies:
7524
+ lodash "^4.17.21"
7525
+
7380
7526
  node-fetch@^2.6.1, node-fetch@^2.6.7, node-fetch@^2.6.9:
7381
7527
  version "2.7.0"
7382
7528
  resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d"
@@ -7483,6 +7629,11 @@ normalize-url@^6.0.1:
7483
7629
  resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
7484
7630
  integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==
7485
7631
 
7632
+ normalize-url@^8.0.0:
7633
+ version "8.0.0"
7634
+ resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-8.0.0.tgz#593dbd284f743e8dcf6a5ddf8fadff149c82701a"
7635
+ integrity sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==
7636
+
7486
7637
  npm-bundled@^1.1.1:
7487
7638
  version "1.1.2"
7488
7639
  resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1"
@@ -7777,6 +7928,15 @@ open@^7.0.0:
7777
7928
  is-docker "^2.0.0"
7778
7929
  is-wsl "^2.1.1"
7779
7930
 
7931
+ open@^8.4.2:
7932
+ version "8.4.2"
7933
+ resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9"
7934
+ integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==
7935
+ dependencies:
7936
+ define-lazy-prop "^2.0.0"
7937
+ is-docker "^2.1.1"
7938
+ is-wsl "^2.2.0"
7939
+
7780
7940
  optionator@^0.9.3:
7781
7941
  version "0.9.3"
7782
7942
  resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64"
@@ -7814,6 +7974,11 @@ p-cancelable@^2.0.0:
7814
7974
  resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf"
7815
7975
  integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==
7816
7976
 
7977
+ p-cancelable@^3.0.0:
7978
+ version "3.0.0"
7979
+ resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050"
7980
+ integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==
7981
+
7817
7982
  p-finally@^1.0.0:
7818
7983
  version "1.0.0"
7819
7984
  resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
@@ -8541,7 +8706,7 @@ requires-port@^1.0.0:
8541
8706
  resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
8542
8707
  integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==
8543
8708
 
8544
- resolve-alpn@^1.0.0:
8709
+ resolve-alpn@^1.0.0, resolve-alpn@^1.2.0:
8545
8710
  version "1.2.1"
8546
8711
  resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9"
8547
8712
  integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==
@@ -8579,6 +8744,13 @@ responselike@^2.0.0:
8579
8744
  dependencies:
8580
8745
  lowercase-keys "^2.0.0"
8581
8746
 
8747
+ responselike@^3.0.0:
8748
+ version "3.0.0"
8749
+ resolved "https://registry.yarnpkg.com/responselike/-/responselike-3.0.0.tgz#20decb6c298aff0dbee1c355ca95461d42823626"
8750
+ integrity sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==
8751
+ dependencies:
8752
+ lowercase-keys "^3.0.0"
8753
+
8582
8754
  restore-cursor@^3.1.0:
8583
8755
  version "3.1.0"
8584
8756
  resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"
@@ -9230,7 +9402,7 @@ supports-color@^7.0.0, supports-color@^7.1.0:
9230
9402
  dependencies:
9231
9403
  has-flag "^4.0.0"
9232
9404
 
9233
- supports-hyperlinks@^2.2.0:
9405
+ supports-hyperlinks@^2.1.0, supports-hyperlinks@^2.2.0:
9234
9406
  version "2.3.0"
9235
9407
  resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624"
9236
9408
  integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==
@@ -202,7 +202,7 @@
202
202
  "deprecateAliases": true,
203
203
  "name": "output-dir",
204
204
  "summary": "Output directory to store the Metadata API–formatted files in.",
205
- "default": "metadataPackage_1707554922816",
205
+ "default": "metadataPackage_1707766381865",
206
206
  "hasDynamicHelp": false,
207
207
  "multiple": false,
208
208
  "type": "option"
@@ -2815,5 +2815,5 @@
2815
2815
  ]
2816
2816
  }
2817
2817
  },
2818
- "version": "3.2.13"
2818
+ "version": "3.2.14"
2819
2819
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-deploy-retrieve",
3
3
  "description": "deploy and retrieve commands for sf",
4
- "version": "3.2.13",
4
+ "version": "3.2.14",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -9,6 +9,7 @@
9
9
  "@salesforce/apex-node": "^3.0.2",
10
10
  "@salesforce/core": "^6.4.4",
11
11
  "@salesforce/kit": "^3.0.15",
12
+ "@salesforce/plugin-info": "^3.0.21",
12
13
  "@salesforce/sf-plugins-core": "^7.1.9",
13
14
  "@salesforce/source-deploy-retrieve": "^10.2.13",
14
15
  "@salesforce/source-tracking": "^5.1.11",
@@ -91,6 +92,9 @@
91
92
  }
92
93
  }
93
94
  },
95
+ "hooks": {
96
+ "sf-doctor-@salesforce/plugin-deploy-retrieve": "./lib/hooks/diagnostics"
97
+ },
94
98
  "flexibleTaxonomy": true
95
99
  },
96
100
  "repository": "salesforcecli/plugin-deploy-retrieve",
@@ -249,7 +253,7 @@
249
253
  "exports": "./lib/index.js",
250
254
  "type": "module",
251
255
  "sfdx": {
252
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.2.13.crt",
253
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.2.13.sig"
256
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.2.14.crt",
257
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-deploy-retrieve/3.2.14.sig"
254
258
  }
255
259
  }