@salesforce/plugin-org 3.2.2 → 3.3.1

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
@@ -216,7 +216,7 @@ FLAG DESCRIPTIONS
216
216
  sandbox.
217
217
  ```
218
218
 
219
- _See code: [lib/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/create/sandbox.ts)_
219
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/create/sandbox.ts)_
220
220
 
221
221
  ## `sf org create scratch`
222
222
 
@@ -369,7 +369,7 @@ FLAG DESCRIPTIONS
369
369
  Omit this flag to have Salesforce generate a unique username for your org.
370
370
  ```
371
371
 
372
- _See code: [lib/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/create/scratch.ts)_
372
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/create/scratch.ts)_
373
373
 
374
374
  ## `sf org delete sandbox`
375
375
 
@@ -413,7 +413,7 @@ EXAMPLES
413
413
  $ sf org delete sandbox --target-org my-sandbox --no-prompt
414
414
  ```
415
415
 
416
- _See code: [lib/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/delete/sandbox.ts)_
416
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/delete/sandbox.ts)_
417
417
 
418
418
  ## `sf org delete scratch`
419
419
 
@@ -455,7 +455,7 @@ EXAMPLES
455
455
  $ sf org delete scratch --target-org my-scratch-org --no-prompt
456
456
  ```
457
457
 
458
- _See code: [lib/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/delete/scratch.ts)_
458
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/delete/scratch.ts)_
459
459
 
460
460
  ## `sf org disable tracking`
461
461
 
@@ -493,7 +493,7 @@ EXAMPLES
493
493
  $ sf org disable tracking
494
494
  ```
495
495
 
496
- _See code: [lib/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/disable/tracking.ts)_
496
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/disable/tracking.ts)_
497
497
 
498
498
  ## `sf org display`
499
499
 
@@ -537,7 +537,7 @@ EXAMPLES
537
537
  $ sf org display --target-org TestOrg1 --verbose
538
538
  ```
539
539
 
540
- _See code: [lib/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/display.ts)_
540
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/display.ts)_
541
541
 
542
542
  ## `sf org enable tracking`
543
543
 
@@ -578,7 +578,7 @@ EXAMPLES
578
578
  $ sf org enable tracking
579
579
  ```
580
580
 
581
- _See code: [lib/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/enable/tracking.ts)_
581
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/enable/tracking.ts)_
582
582
 
583
583
  ## `sf org list`
584
584
 
@@ -616,7 +616,7 @@ EXAMPLES
616
616
  $ sf org list --clean
617
617
  ```
618
618
 
619
- _See code: [lib/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list.ts)_
619
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/list.ts)_
620
620
 
621
621
  ## `sf org list metadata`
622
622
 
@@ -681,7 +681,7 @@ FLAG DESCRIPTIONS
681
681
  Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
682
682
  ```
683
683
 
684
- _See code: [lib/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list/metadata.ts)_
684
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/list/metadata.ts)_
685
685
 
686
686
  ## `sf org list metadata-types`
687
687
 
@@ -735,7 +735,7 @@ FLAG DESCRIPTIONS
735
735
  Override the api version used for api requests made by this command
736
736
  ```
737
737
 
738
- _See code: [lib/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/list/metadata-types.ts)_
738
+ _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/list/metadata-types.ts)_
739
739
 
740
740
  ## `sf org open`
741
741
 
@@ -743,8 +743,8 @@ Open your default scratch org, or another specified org, in a browser.
743
743
 
744
744
  ```
745
745
  USAGE
746
- $ sf org open -o <value> [--json] [--api-version <value>] [-b chrome|edge|firefox | -r] [-p <value> | -f
747
- <value>]
746
+ $ sf org open -o <value> [--json] [--api-version <value>] [--private | -r | -b chrome|edge|firefox] [-p
747
+ <value> | -f <value>]
748
748
 
749
749
  FLAGS
750
750
  -b, --browser=<option> Browser where the org opens.
@@ -755,6 +755,7 @@ FLAGS
755
755
  -p, --path=<value> Navigation URL path to open a specific page.
756
756
  -r, --url-only Display navigation URL, but don’t launch browser.
757
757
  --api-version=<value> Override the api version used for api requests made by this command
758
+ --private Open the org in the default browser using private (incognito) mode.
758
759
 
759
760
  GLOBAL FLAGS
760
761
  --json Format output as json.
@@ -783,6 +784,10 @@ EXAMPLES
783
784
 
784
785
  $ sf org open
785
786
 
787
+ Open your default org in an incognito window of your default browser:
788
+
789
+ $ sf org open --private
790
+
786
791
  Open the org with alias MyTestOrg1 in the Firefox browser:
787
792
 
788
793
  $ sf org open --target-org MyTestOrg1 --browser firefox
@@ -801,7 +806,7 @@ EXAMPLES
801
806
  $ sf org open --source-file force-app/main/default/flows/Hello.flow-meta.xml
802
807
  ```
803
808
 
804
- _See code: [lib/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/open.ts)_
809
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/open.ts)_
805
810
 
806
811
  ## `sf org resume sandbox`
807
812
 
@@ -863,7 +868,7 @@ FLAG DESCRIPTIONS
863
868
  returns the job ID. To resume checking the sandbox creation, rerun this command.
864
869
  ```
865
870
 
866
- _See code: [lib/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/resume/sandbox.ts)_
871
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/resume/sandbox.ts)_
867
872
 
868
873
  ## `sf org resume scratch`
869
874
 
@@ -909,6 +914,6 @@ FLAG DESCRIPTIONS
909
914
  The job ID is valid for 24 hours after you start the scratch org creation.
910
915
  ```
911
916
 
912
- _See code: [lib/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.2.2/lib/commands/org/resume/scratch.ts)_
917
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/3.3.1/src/commands/org/resume/scratch.ts)_
913
918
 
914
919
  <!-- commandsstop -->
@@ -9,17 +9,14 @@ export declare class OrgOpenCommand extends SfCommand<OrgOpenOutput> {
9
9
  static readonly flags: {
10
10
  'target-org': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<Org, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
11
11
  'api-version': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
12
+ private: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
12
13
  browser: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<"chrome" | "edge" | "firefox" | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
13
14
  path: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
14
15
  'url-only': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
15
16
  loglevel: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
16
17
  'source-file': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
17
18
  };
18
- private org;
19
- private conn;
20
19
  run(): Promise<OrgOpenOutput>;
21
- private buildFrontdoorUrl;
22
- private generateFileUrl;
23
20
  }
24
21
  export interface OrgOpenOutput {
25
22
  url: string;
@@ -5,15 +5,17 @@
5
5
  * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6
6
  */
7
7
  import path from 'node:path';
8
+ import { platform, tmpdir } from 'node:os';
9
+ import fs from 'node:fs';
8
10
  import { Flags, loglevel, orgApiVersionFlagWithDeprecations, requiredOrgFlagWithDeprecations, SfCommand, } from '@salesforce/sf-plugins-core';
11
+ import isWsl from 'is-wsl';
9
12
  import { Logger, Messages, Org, SfdcUrl, SfError } from '@salesforce/core';
10
- import { Duration, Env } from '@salesforce/kit';
13
+ import { Duration, Env, sleep } from '@salesforce/kit';
11
14
  import { MetadataResolver } from '@salesforce/source-deploy-retrieve';
12
15
  import { apps } from 'open';
13
16
  import utils from '../../shared/utils.js';
14
17
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
15
18
  const messages = Messages.loadMessages('@salesforce/plugin-org', 'open');
16
- const sharedMessages = Messages.loadMessages('@salesforce/plugin-org', 'messages');
17
19
  export class OrgOpenCommand extends SfCommand {
18
20
  static summary = messages.getMessage('summary');
19
21
  static description = messages.getMessage('description');
@@ -23,11 +25,15 @@ export class OrgOpenCommand extends SfCommand {
23
25
  static flags = {
24
26
  'target-org': requiredOrgFlagWithDeprecations,
25
27
  'api-version': orgApiVersionFlagWithDeprecations,
28
+ private: Flags.boolean({
29
+ summary: messages.getMessage('flags.private.summary'),
30
+ exclusive: ['url-only', 'browser'],
31
+ }),
26
32
  browser: Flags.option({
27
33
  char: 'b',
28
34
  summary: messages.getMessage('flags.browser.summary'),
29
35
  options: ['chrome', 'edge', 'firefox'], // These are ones supported by "open" package
30
- exclusive: ['url-only'],
36
+ exclusive: ['url-only', 'private'],
31
37
  })(),
32
38
  path: Flags.string({
33
39
  char: 'p',
@@ -51,28 +57,24 @@ export class OrgOpenCommand extends SfCommand {
51
57
  summary: messages.getMessage('flags.source-file.summary'),
52
58
  }),
53
59
  };
54
- org;
55
- conn;
56
60
  async run() {
57
61
  const { flags } = await this.parse(OrgOpenCommand);
58
- this.org = flags['target-org'];
59
- this.conn = this.org.getConnection(flags['api-version']);
60
- let url = await this.buildFrontdoorUrl();
62
+ const conn = flags['target-org'].getConnection(flags['api-version']);
61
63
  const env = new Env();
62
- if (flags['source-file']) {
63
- url += `&retURL=${await this.generateFileUrl(flags['source-file'])}`;
64
- }
65
- else if (flags.path) {
66
- url += `&retURL=${flags.path}`;
67
- }
68
- const orgId = this.org.getOrgId();
64
+ const [frontDoorUrl, retUrl] = await Promise.all([
65
+ buildFrontdoorUrl(flags['target-org'], conn),
66
+ flags['source-file'] ? generateFileUrl(flags['source-file'], conn) : flags.path,
67
+ ]);
68
+ const url = `${frontDoorUrl}${retUrl ? `&retURL=${retUrl}` : ''}`;
69
+ const orgId = flags['target-org'].getOrgId();
69
70
  // TODO: better typings in sfdx-core for orgs read from auth files
70
- const username = this.org.getUsername();
71
+ const username = flags['target-org'].getUsername();
71
72
  const output = { orgId, url, username };
72
73
  // NOTE: Deliberate use of `||` here since getBoolean() defaults to false, and we need to consider both env vars.
73
74
  const containerMode = env.getBoolean('SF_CONTAINER_MODE') || env.getBoolean('SFDX_CONTAINER_MODE');
74
75
  // security warning only for --json OR --url-only OR containerMode
75
76
  if (flags['url-only'] || Boolean(flags.json) || containerMode) {
77
+ const sharedMessages = Messages.loadMessages('@salesforce/plugin-org', 'messages');
76
78
  this.warn(sharedMessages.getMessage('SecurityWarning'));
77
79
  this.log('');
78
80
  }
@@ -91,8 +93,7 @@ export class OrgOpenCommand extends SfCommand {
91
93
  // we actually need to open the org
92
94
  try {
93
95
  this.spinner.start(messages.getMessage('domainWaiting'));
94
- const sfdcUrl = new SfdcUrl(url);
95
- await sfdcUrl.checkLightningDomain();
96
+ await new SfdcUrl(url).checkLightningDomain();
96
97
  this.spinner.stop();
97
98
  }
98
99
  catch (err) {
@@ -109,47 +110,57 @@ export class OrgOpenCommand extends SfCommand {
109
110
  }
110
111
  throw err;
111
112
  }
112
- await utils.openUrl(url, {
113
+ // create a local html file that contains the POST stuff.
114
+ const tempFilePath = path.join(tmpdir(), `org-open-${new Date().valueOf()}.html`);
115
+ await fs.promises.writeFile(tempFilePath, getFileContents(conn.accessToken, conn.instanceUrl, retUrl));
116
+ const cp = await utils.openUrl(`file:///${tempFilePath}`, {
113
117
  ...(flags.browser ? { app: { name: apps[flags.browser] } } : {}),
114
- // only applies on macOS. open library ignores this property as it is the default behavior on other OS
115
- newInstance: true,
118
+ ...(flags.private ? { newInstance: platform() === 'darwin', app: { name: apps.browserPrivate } } : {}),
116
119
  });
120
+ cp.on('error', (err) => {
121
+ fileCleanup(tempFilePath);
122
+ throw SfError.wrap(err);
123
+ });
124
+ // so we don't delete the file while the browser is still using it
125
+ // open returns when the CP is spawned, but there's not way to know if the browser is still using the file
126
+ await sleep(platform() === 'win32' || isWsl ? 7000 : 5000);
127
+ fileCleanup(tempFilePath);
117
128
  return output;
118
129
  }
119
- async buildFrontdoorUrl() {
120
- await this.org.refreshAuth(); // we need a live accessToken for the frontdoor url
121
- const accessToken = this.conn.accessToken;
122
- const instanceUrl = this.org.getField(Org.Fields.INSTANCE_URL);
123
- const instanceUrlClean = instanceUrl.replace(/\/$/, '');
124
- return `${instanceUrlClean}/secur/frontdoor.jsp?sid=${accessToken}`;
125
- }
126
- async generateFileUrl(file) {
127
- try {
128
- const metadataResolver = new MetadataResolver();
129
- const components = metadataResolver.getComponentsFromPath(file);
130
- const typeName = components[0]?.type?.name;
131
- if (typeName === 'FlexiPage') {
132
- const flexipage = await this.conn.singleRecordQuery(`SELECT id FROM flexipage WHERE DeveloperName='${path.basename(file, '.flexipage-meta.xml')}'`, { tooling: true });
133
- return `/visualEditor/appBuilder.app?pageId=${flexipage.Id}`;
134
- }
135
- else if (typeName === 'ApexPage') {
130
+ }
131
+ const fileCleanup = (tempFilePath) => fs.rmSync(tempFilePath, { force: true, maxRetries: 3, recursive: true });
132
+ const buildFrontdoorUrl = async (org, conn) => {
133
+ await org.refreshAuth(); // we need a live accessToken for the frontdoor url
134
+ const accessToken = conn.accessToken;
135
+ const instanceUrl = org.getField(Org.Fields.INSTANCE_URL);
136
+ const instanceUrlClean = instanceUrl.replace(/\/$/, '');
137
+ return `${instanceUrlClean}/secur/frontdoor.jsp?sid=${accessToken}`;
138
+ };
139
+ const generateFileUrl = async (file, conn) => {
140
+ try {
141
+ const metadataResolver = new MetadataResolver();
142
+ const components = metadataResolver.getComponentsFromPath(file);
143
+ const typeName = components[0]?.type?.name;
144
+ switch (typeName) {
145
+ case 'ApexPage':
136
146
  return `/apex/${path.basename(file).replace('.page-meta.xml', '').replace('.page', '')}`;
137
- }
138
- else if (typeName === 'Flow') {
139
- return `/builder_platform_interaction/flowBuilder.app?flowId=${await flowFileNameToId(this.conn, file)}`;
140
- }
141
- else {
147
+ case 'Flow':
148
+ return `/builder_platform_interaction/flowBuilder.app?flowId=${await flowFileNameToId(conn, file)}`;
149
+ case 'FlexiPage':
150
+ return `/visualEditor/appBuilder.app?pageId=${await flexiPageFilenameToId(conn, file)}`;
151
+ default:
142
152
  return 'lightning/setup/FlexiPageList/home';
143
- }
144
153
  }
145
- catch (error) {
146
- if (error instanceof Error && error.name === 'FlowIdNotFoundError') {
147
- this.error(error);
148
- }
149
- return 'lightning/setup/FlexiPageList/home';
154
+ }
155
+ catch (error) {
156
+ if (error instanceof Error && error.name === 'FlowIdNotFoundError') {
157
+ throw error;
150
158
  }
159
+ return 'lightning/setup/FlexiPageList/home';
151
160
  }
152
- }
161
+ };
162
+ /** query flexipage via toolingPAI to get its ID (starts with 0M0) */
163
+ const flexiPageFilenameToId = async (conn, filePath) => (await conn.singleRecordQuery(`SELECT id FROM flexipage WHERE DeveloperName='${path.basename(filePath, '.flexipage-meta.xml')}'`, { tooling: true })).Id;
153
164
  /** query the rest API to turn a flow's filepath into a FlowId (starts with 301) */
154
165
  const flowFileNameToId = async (conn, filePath) => {
155
166
  try {
@@ -160,4 +171,16 @@ const flowFileNameToId = async (conn, filePath) => {
160
171
  throw messages.createError('FlowIdNotFound', [filePath]);
161
172
  }
162
173
  };
174
+ /** builds the html file that does an automatic post to the frontdoor url */
175
+ const getFileContents = (authToken, instanceUrl,
176
+ // we have to defalt this to get to Setup only on the POST version. GET goes to Setup automatically
177
+ retUrl = '/lightning/setup/SetupOneHome/home') => `
178
+ <html>
179
+ <body onload="document.body.firstElementChild.submit()">
180
+ <form method="POST" action="${instanceUrl}/secur/frontdoor.jsp">
181
+ <input type="hidden" name="sid" value="${authToken}" />
182
+ <input type="hidden" name="retURL" value="${retUrl}" />
183
+ </form>
184
+ </body>
185
+ </html>`;
163
186
  //# sourceMappingURL=open.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"open.js","sourceRoot":"","sources":["../../../src/commands/org/open.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EACL,KAAK,EACL,QAAQ,EACR,iCAAiC,EACjC,+BAA+B,EAC/B,SAAS,GACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAc,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,QAAQ,EAAE,GAA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IAAI,GAAG,MAAM,IAAI,CAAC,iBAAiB,CACvC,6EAA6E,IAAI,CAAC,QAAQ,CACxF,QAAQ,EACR,gBAAgB,CACjB,uCAAuC,CACzC,CAAC;QACF,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,QAAQ,CAAC,WAAW,CAAC,gBAAgB,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC,CAAC;AAEF,4EAA4E;AAC5E,MAAM,eAAe,GAAG,CACtB,SAAiB,EACjB,WAAmB;AACnB,oGAAoG;AACpG,MAAM,GAAG,oCAAoC,EACrC,EAAE,CAAC;;;kCAGqB,WAAW;+CACE,SAAS;kDACN,MAAM;;;QAGhD,CAAC"}
package/messages/open.md CHANGED
@@ -18,6 +18,10 @@ To open in a specific browser, use the --browser flag. Supported browsers are "c
18
18
 
19
19
  $ <%= config.bin %> <%= command.id %>
20
20
 
21
+ - Open your default org in an incognito window of your default browser:
22
+
23
+ $ <%= config.bin %> <%= command.id %> --private
24
+
21
25
  - Open the org with alias MyTestOrg1 in the Firefox browser:
22
26
 
23
27
  $ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox
@@ -34,6 +38,10 @@ To open in a specific browser, use the --browser flag. Supported browsers are "c
34
38
 
35
39
  $ <%= config.bin %> <%= command.id %> --source-file force-app/main/default/flows/Hello.flow-meta.xml
36
40
 
41
+ # flags.private.summary
42
+
43
+ Open the org in the default browser using private (incognito) mode.
44
+
37
45
  # flags.browser.summary
38
46
 
39
47
  Browser where the org opens.
package/oclif.lock CHANGED
@@ -800,11 +800,12 @@
800
800
  read-package-json-fast "^3.0.0"
801
801
  which "^3.0.0"
802
802
 
803
- "@oclif/core@^3.12.0", "@oclif/core@^3.13.1", "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.16.0":
804
- version "3.16.0"
805
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.16.0.tgz#682657cb5e4a3262a47e26e0c8a7bf0343acaf76"
806
- integrity sha512-/PIz+udzb59XE8O/bQvqlCtXy6RByEHH0KsrAJNa/ZrqtdsLmeDNJcHdgygFHx+nz+PYMoUzsyzJMau++EDNoQ==
803
+ "@oclif/core@^3.15.0", "@oclif/core@^3.15.1", "@oclif/core@^3.16.0", "@oclif/core@^3.18.1":
804
+ version "3.18.1"
805
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.18.1.tgz#a8c9ee3848ad663d5694bef6079116c70d32fc55"
806
+ integrity sha512-l0LsjzGcqjbUEdeSBX6bdZieVmEv82Q0W3StiyaDMEnPZ9KLH28HrLpcZg6d50mCYW9CUZNzmRo6qrCHWrgLKw==
807
807
  dependencies:
808
+ "@types/cli-progress" "^3.11.5"
808
809
  ansi-escapes "^4.3.2"
809
810
  ansi-styles "^4.3.0"
810
811
  cardinal "^2.1.1"
@@ -828,7 +829,6 @@
828
829
  strip-ansi "^6.0.1"
829
830
  supports-color "^8.1.1"
830
831
  supports-hyperlinks "^2.2.0"
831
- tsconfck "^3.0.0"
832
832
  widest-line "^3.1.0"
833
833
  wordwrap "^1.0.0"
834
834
  wrap-ansi "^7.0.0"
@@ -996,10 +996,10 @@
996
996
  strip-ansi "6.0.1"
997
997
  ts-retry-promise "^0.7.1"
998
998
 
999
- "@salesforce/core@^6.2.0", "@salesforce/core@^6.2.2", "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4":
1000
- version "6.4.4"
1001
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.4.tgz#e96d2ef9cd05c3894578374d1054af80bfdca119"
1002
- integrity sha512-VegX3ChnJUOOztSP05QPiXCTOSioShB22NyhYjL7vVhf6yqSOH0VT2oQ3ywrMYbYCbjLSdsmFdTVLiQIFpK57g==
999
+ "@salesforce/core@^6.4.0", "@salesforce/core@^6.4.1", "@salesforce/core@^6.4.2", "@salesforce/core@^6.4.4":
1000
+ version "6.4.5"
1001
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-6.4.5.tgz#eb12362feea4fa69c8138e84a38b221521daa15e"
1002
+ integrity sha512-gDKHNnmtjXpbeWqoO7fFX3HOfSu/4ugbci+eAR2BLal2jTDK72gIS4uriZDiYOwhi4ekEC+uM9IL3sN+TVM40Q==
1003
1003
  dependencies:
1004
1004
  "@salesforce/kit" "^3.0.15"
1005
1005
  "@salesforce/schemas" "^1.6.1"
@@ -1025,10 +1025,10 @@
1025
1025
  resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e"
1026
1026
  integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA==
1027
1027
 
1028
- "@salesforce/dev-scripts@^8.2.0":
1029
- version "8.2.0"
1030
- resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.2.0.tgz#e8ca6fd377b0e85ecf88baea727493a68c2154ee"
1031
- integrity sha512-dzVBmetyBe8IM1XJCBw83U5rC0TSwvXa1MPRRI0pmE/VeBqlfxM7rneKtlORCirz9n8SAvCiQvI4oJ/yWW5Quw==
1028
+ "@salesforce/dev-scripts@^8.3.0":
1029
+ version "8.3.0"
1030
+ resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.3.0.tgz#8fcf223edc57dbdeb11397bf7db1f07a8a5e7720"
1031
+ integrity sha512-NoaGfTtyIYed5lGXtLM7QsyGbZvPVa5uflbmIQdeFOefrvAv48k0+RbJzOl7nuj58EmvULzqrZHL6B7w5u4T5Q==
1032
1032
  dependencies:
1033
1033
  "@commitlint/cli" "^17.1.2"
1034
1034
  "@commitlint/config-conventional" "^17.8.1"
@@ -1043,7 +1043,7 @@
1043
1043
  cosmiconfig "^7.0.0"
1044
1044
  eslint-config-salesforce-typescript "^3.0.5"
1045
1045
  husky "^7.0.4"
1046
- linkinator "^6.0.2"
1046
+ linkinator "^6.0.3"
1047
1047
  mocha "^10.2.0"
1048
1048
  nyc "^15.1.0"
1049
1049
  prettier "^2.8.8"
@@ -1065,15 +1065,15 @@
1065
1065
  "@salesforce/ts-types" "^2.0.9"
1066
1066
  tslib "^2.6.2"
1067
1067
 
1068
- "@salesforce/plugin-command-reference@^3.0.51":
1069
- version "3.0.51"
1070
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.51.tgz#d944701bef9ae43bf2ef1f74d3a1d79dccee6399"
1071
- integrity sha512-lKIktlP3ZwL9gM5DUl0yuclY9GaEIGaJ9E5CzGzCMN3FihMU7GJ+K80Z9XU2D4egb37U5LDfQFZepmqpi6hWUg==
1068
+ "@salesforce/plugin-command-reference@^3.0.61":
1069
+ version "3.0.61"
1070
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.0.61.tgz#3f7cd5089b52eed02059d5b6831349913b092f7c"
1071
+ integrity sha512-0mS90XJW8UaWDaf+bGz0digHjUz69nEZJkYV6UJ/TliYciHlGX3GZT/pRG0rEvnNvggIdcSbdZrq6IP9xyZoVg==
1072
1072
  dependencies:
1073
- "@oclif/core" "^3.13.1"
1074
- "@salesforce/core" "^6.2.2"
1073
+ "@oclif/core" "^3.16.0"
1074
+ "@salesforce/core" "^6.4.4"
1075
1075
  "@salesforce/kit" "^3.0.15"
1076
- "@salesforce/sf-plugins-core" "^5.0.5"
1076
+ "@salesforce/sf-plugins-core" "^5.0.13"
1077
1077
  "@salesforce/ts-types" "^2.0.9"
1078
1078
  chalk "^4"
1079
1079
  handlebars "^4.7.8"
@@ -1089,13 +1089,13 @@
1089
1089
  resolved "https://registry.yarnpkg.com/@salesforce/schemas/-/schemas-1.6.1.tgz#7d1c071e1e509ca9d2d8a6e48ac7447dd67a534d"
1090
1090
  integrity sha512-eVy947ZMxCJReKJdgfddUIsBIbPTa/i8RwQGwxq4/ss38H5sLOAeSTaun9V7HpJ1hkpDznWKfgzYvjsst9K6ig==
1091
1091
 
1092
- "@salesforce/sf-plugins-core@^5.0.5":
1093
- version "5.0.5"
1094
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.5.tgz#9ab91099fb3e5f8be86c5572d755adcc5913dd25"
1095
- integrity sha512-IlxDYH8ihznGwPclKyo/teKo4eutuIIzA3hq2d9AuFlGH4N6e7rN3IgTfhp7yV/K7RA70Ub/+dl7etIAO7FmMQ==
1092
+ "@salesforce/sf-plugins-core@^5.0.13":
1093
+ version "5.0.13"
1094
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-5.0.13.tgz#f2941527d66ded5750a6646e146af047ab72acc9"
1095
+ integrity sha512-b5R8krKeOIkW0hPxvfpm8T5tCSyWW7MDERnJwm/FXq4ueUJsC1/TCWSscyVKPSZ0VRcEFbzOWKJvpV/omB1D9w==
1096
1096
  dependencies:
1097
- "@oclif/core" "^3.12.0"
1098
- "@salesforce/core" "^6.2.0"
1097
+ "@oclif/core" "^3.15.1"
1098
+ "@salesforce/core" "^6.4.1"
1099
1099
  "@salesforce/kit" "^3.0.15"
1100
1100
  "@salesforce/ts-types" "^2.0.9"
1101
1101
  "@types/inquirer" "^8.2.3"
@@ -1291,6 +1291,13 @@
1291
1291
  resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.11.tgz#e95050bf79a932cb7305dd130254ccdf9bde671c"
1292
1292
  integrity sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==
1293
1293
 
1294
+ "@types/cli-progress@^3.11.5":
1295
+ version "3.11.5"
1296
+ resolved "https://registry.yarnpkg.com/@types/cli-progress/-/cli-progress-3.11.5.tgz#9518c745e78557efda057e3f96a5990c717268c3"
1297
+ integrity sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g==
1298
+ dependencies:
1299
+ "@types/node" "*"
1300
+
1294
1301
  "@types/expect@^1.20.4":
1295
1302
  version "1.20.4"
1296
1303
  resolved "https://registry.yarnpkg.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5"
@@ -5000,10 +5007,10 @@ lines-and-columns@^1.1.6:
5000
5007
  resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
5001
5008
  integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
5002
5009
 
5003
- linkinator@^6.0.2:
5004
- version "6.0.2"
5005
- resolved "https://registry.yarnpkg.com/linkinator/-/linkinator-6.0.2.tgz#6a33df3372894a2fa3b25f80f2cd5e6bb9f73e7d"
5006
- integrity sha512-28eiQVzGwaCvVUb/cxii5jraWZYUv5n2Q5CaSRUH9oGDo1Jr8GcREnpw/0IfJ5YTRoIt9/ihra2lG8yqCN292g==
5010
+ linkinator@^6.0.3:
5011
+ version "6.0.3"
5012
+ resolved "https://registry.yarnpkg.com/linkinator/-/linkinator-6.0.3.tgz#552965bafb37a8747858b2c02a70b3c148b68909"
5013
+ integrity sha512-QAcefOkkumXa5NciVhICPkSR5SMk6LFISe/FIX8vvPdLHLUqdXU06Dq/nuOPA5V89iv2gV9FDufYA7adxIcvOw==
5007
5014
  dependencies:
5008
5015
  chalk "^5.0.0"
5009
5016
  escape-html "^1.0.3"
@@ -5011,7 +5018,7 @@ linkinator@^6.0.2:
5011
5018
  glob "^10.3.10"
5012
5019
  htmlparser2 "^9.0.0"
5013
5020
  marked "^10.0.0"
5014
- meow "^12.0.1"
5021
+ meow "^13.0.0"
5015
5022
  mime "^3.0.0"
5016
5023
  server-destroy "^1.0.1"
5017
5024
  srcset "^5.0.0"
@@ -5363,10 +5370,10 @@ marked@^4.3.0:
5363
5370
  vinyl "^2.0.1"
5364
5371
  vinyl-file "^3.0.0"
5365
5372
 
5366
- meow@^12.0.1:
5367
- version "12.1.1"
5368
- resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6"
5369
- integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==
5373
+ meow@^13.0.0:
5374
+ version "13.1.0"
5375
+ resolved "https://registry.yarnpkg.com/meow/-/meow-13.1.0.tgz#62995b0e8c3951739fe6e0a4becdd4d0df23eb37"
5376
+ integrity sha512-o5R/R3Tzxq0PJ3v3qcQJtSvSE9nKOLSAaDuuoMzDVuGTwHdccMWcYomh9Xolng2tjT6O/Y83d+0coVGof6tqmA==
5370
5377
 
5371
5378
  meow@^8.0.0, meow@^8.1.2:
5372
5379
  version "8.1.2"
@@ -6102,10 +6109,10 @@ object.values@^1.1.7:
6102
6109
  define-properties "^1.2.0"
6103
6110
  es-abstract "^1.22.1"
6104
6111
 
6105
- oclif@^4.1.3:
6106
- version "4.1.3"
6107
- resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.1.3.tgz#07d3a6b16ff7e2e7c3fd06117fd745655c44abce"
6108
- integrity sha512-9OmzHaOmn58BZZt8S2USh1gW5RFfa69cDfOtXCWUyYrcRdO4wIJ3DPb0xZ3UxHHbPZKsDImuP/A54weFMH2izw==
6112
+ oclif@^4.1.4:
6113
+ version "4.1.4"
6114
+ resolved "https://registry.yarnpkg.com/oclif/-/oclif-4.1.4.tgz#661f8cae3a2b42c33058722c356e0a406cc90ad7"
6115
+ integrity sha512-tgZTmJqwakJAU+7FokbhaYcj6Eaj/mVvCfeuitP6qQOzAC1s8yhkY7gZ7DsAzAEh9VqT4h4xZmTJxV21Lc8CLQ==
6109
6116
  dependencies:
6110
6117
  "@oclif/core" "^3.16.0"
6111
6118
  "@oclif/plugin-help" "^6.0.9"
@@ -6145,10 +6152,10 @@ onetime@^5.1.0, onetime@^5.1.2:
6145
6152
  dependencies:
6146
6153
  mimic-fn "^2.1.0"
6147
6154
 
6148
- open@^10.0.2:
6149
- version "10.0.2"
6150
- resolved "https://registry.yarnpkg.com/open/-/open-10.0.2.tgz#93b099c6194552b47afac969c9b83f874aee1ab8"
6151
- integrity sha512-GnYLdE+E3K8NeSE23N0g67/9q9AXRph5oTUbz6IbIgElPigEnQ2aHuqRge3y0JUr67qoc84xME5kF03fDc3fcA==
6155
+ open@^10.0.3:
6156
+ version "10.0.3"
6157
+ resolved "https://registry.yarnpkg.com/open/-/open-10.0.3.tgz#f60d8db49fa126c50aec751957fb5d7de3308d4f"
6158
+ integrity sha512-dtbI5oW7987hwC9qjJTyABldTaa19SuyJse1QboWv3b0qCcrrLNVDqBx1XgELAjh9QTVQaP/C5b1nhQebd1H2A==
6152
6159
  dependencies:
6153
6160
  default-browser "^5.2.1"
6154
6161
  define-lazy-prop "^3.0.0"
@@ -7737,11 +7744,6 @@ ts-retry-promise@^0.7.1:
7737
7744
  resolved "https://registry.yarnpkg.com/ts-retry-promise/-/ts-retry-promise-0.7.1.tgz#176d6eee6415f07b6c7c286d3657355e284a6906"
7738
7745
  integrity sha512-NhHOCZ2AQORvH42hOPO5UZxShlcuiRtm7P2jIq2L2RY3PBxw2mLnUsEdHrIslVBFya1v5aZmrR55lWkzo13LrQ==
7739
7746
 
7740
- tsconfck@^3.0.0:
7741
- version "3.0.0"
7742
- resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.0.0.tgz#b469f1ced12973bbec3209a55ed8de3bb04223c9"
7743
- integrity sha512-w3wnsIrJNi7avf4Zb0VjOoodoO0woEqGgZGQm+LHH9przdUI+XDKsWAXwxHA1DaRTjeuZNcregSzr7RaA8zG9A==
7744
-
7745
7747
  tsconfig-paths@^3.14.2:
7746
7748
  version "3.14.2"
7747
7749
  resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"
@@ -202,6 +202,7 @@
202
202
  "description": "To open a specific page, specify the portion of the URL after \"https://mydomain.my.salesforce.com\" as the value for the --path flag. For example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\n\nUse the --source-file to open a Lightning Page from your local project in Lightning App Builder. Lightning page files have the suffix .flexipage-meta.xml, and are stored in the \"flexipages\" directory.\n\nTo generate a URL but not launch it in your browser, specify --url-only.\n\nTo open in a specific browser, use the --browser flag. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
203
203
  "examples": [
204
204
  "Open your default org in your default browser:\n$ <%= config.bin %> <%= command.id %>",
205
+ "Open your default org in an incognito window of your default browser:\n$ <%= config.bin %> <%= command.id %> --private",
205
206
  "Open the org with alias MyTestOrg1 in the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox",
206
207
  "Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a browser:\n$ <%= config.bin %> <%= command.id %> --url-only --path lightning",
207
208
  "Open a local Lightning page in your default org's Lightning App Builder:\n$ <%= config.bin %> <%= command.id %> --source-file force-app/main/default/flexipages/Hello.flexipage-meta.xml",
@@ -241,10 +242,21 @@
241
242
  "multiple": false,
242
243
  "type": "option"
243
244
  },
245
+ "private": {
246
+ "exclusive": [
247
+ "url-only",
248
+ "browser"
249
+ ],
250
+ "name": "private",
251
+ "summary": "Open the org in the default browser using private (incognito) mode.",
252
+ "allowNo": false,
253
+ "type": "boolean"
254
+ },
244
255
  "browser": {
245
256
  "char": "b",
246
257
  "exclusive": [
247
- "url-only"
258
+ "url-only",
259
+ "private"
248
260
  ],
249
261
  "name": "browser",
250
262
  "summary": "Browser where the org opens.",
@@ -2008,5 +2020,5 @@
2008
2020
  ]
2009
2021
  }
2010
2022
  },
2011
- "version": "3.2.2"
2023
+ "version": "3.3.1"
2012
2024
  }
package/package.json CHANGED
@@ -1,29 +1,30 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "Commands to interact with Salesforce orgs",
4
- "version": "3.2.2",
4
+ "version": "3.3.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^3.16.0",
8
+ "@oclif/core": "^3.18.1",
9
9
  "@salesforce/core": "^6.4.4",
10
10
  "@salesforce/kit": "^3.0.15",
11
11
  "@salesforce/sf-plugins-core": "^7.0.0",
12
12
  "@salesforce/source-deploy-retrieve": "^10.2.5",
13
13
  "chalk": "^5.3.0",
14
14
  "change-case": "^5.3.0",
15
- "open": "^10.0.2"
15
+ "is-wsl": "^3.1.0",
16
+ "open": "^10.0.3"
16
17
  },
17
18
  "devDependencies": {
18
19
  "@oclif/plugin-command-snapshot": "^5.0.5",
19
20
  "@salesforce/cli-plugins-testkit": "^5.1.4",
20
- "@salesforce/dev-scripts": "^8.2.0",
21
- "@salesforce/plugin-command-reference": "^3.0.51",
21
+ "@salesforce/dev-scripts": "^8.3.0",
22
+ "@salesforce/plugin-command-reference": "^3.0.61",
22
23
  "@salesforce/ts-sinon": "1.4.19",
23
24
  "@types/shelljs": "^0.8.14",
24
25
  "eslint-plugin-sf-plugin": "^1.17.0",
25
26
  "moment": "^2.30.1",
26
- "oclif": "^4.1.3",
27
+ "oclif": "^4.1.4",
27
28
  "shelljs": "^0.8.5",
28
29
  "shx": "0.3.4",
29
30
  "ts-node": "^10.9.2",
@@ -237,7 +238,7 @@
237
238
  "exports": "./lib/index.js",
238
239
  "type": "module",
239
240
  "sfdx": {
240
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.2.2.crt",
241
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.2.2.sig"
241
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.3.1.crt",
242
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/3.3.1.sig"
242
243
  }
243
244
  }