Skip to content

Commit 11bfaa2

Browse files
authored
Merge pull request #775 from salesforcecli/mdonnalley/nuts
fix: bump sf-plugins-core
2 parents d6ff258 + d6291e1 commit 11bfaa2

File tree

5 files changed

+67
-49
lines changed

5 files changed

+67
-49
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@oclif/core": "^4",
99
"@salesforce/core": "^8.6.2",
10-
"@salesforce/sf-plugins-core": "^12.0.9",
10+
"@salesforce/sf-plugins-core": "^12.0.10",
1111
"fast-levenshtein": "^3.0.0"
1212
},
1313
"devDependencies": {

test/commands/alias/list.nut.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ describe('alias list NUTs', () => {
6565
env: { ...process.env, SF_NO_TABLE_STYLE: 'true' },
6666
}).shellOutput;
6767
expect(res).to.include('Alias List'); // Table header
68-
expect(res).to.include('alias value');
69-
expect(res).to.include('DevHub mydevhuborg@salesforce.com');
68+
expect(res).to.match(/alias\s+value/);
69+
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce\.com/);
7070
});
7171
});
7272

@@ -103,10 +103,10 @@ describe('alias list NUTs', () => {
103103
}).shellOutput;
104104

105105
expect(res).to.include('Alias List'); // Table header
106-
expect(res).to.include('alias value');
107-
expect(res).to.include('DevHub mydevhuborg@salesforce.com');
108-
expect(res).to.include('Admin admin@salesforce.com');
109-
expect(res).to.include('user user@salesforce.com');
106+
expect(res).to.match(/alias\s+value/);
107+
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce\.com/);
108+
expect(res).to.match(/Admin\s+admin@salesforce\.com/);
109+
expect(res).to.match(/user\s+user@salesforce\.com/);
110110
});
111111
});
112112
});

test/commands/alias/set.nut.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ describe('alias set NUTs', () => {
5454
}).shellOutput;
5555

5656
expect(res).to.include('Alias Set'); // Table header
57-
expect(res).to.include('alias value success');
58-
expect(res).to.include('DevHub devhuborg@salesforce.com true');
59-
expect(res).to.include('Admin admin@salesforce.com true');
57+
expect(res).to.match(/alias\s+value\s+success/);
58+
expect(res).to.match(/DevHub\s+devhuborg@salesforce.com\s+true/);
59+
expect(res).to.match(/Admin\s+admin@salesforce.com\s+true/);
6060
});
6161

6262
it('alias set with spaces in value', () => {
@@ -128,9 +128,9 @@ describe('alias set NUTs', () => {
128128
}).shellOutput;
129129

130130
expect(res).to.include('Alias Set'); // Table header
131-
expect(res).to.include('alias value success');
132-
expect(res).to.include('DevHub newdevhub@salesforce.com true');
133-
expect(res).to.include('Admin admin@salesforce.com true');
131+
expect(res).to.match(/alias\s+value\s+success/);
132+
expect(res).to.match(/DevHub\s+newdevhub@salesforce.com\s+true/);
133+
expect(res).to.match(/Admin\s+admin@salesforce.com\s+true/);
134134
});
135135
});
136136

test/commands/alias/unset.nut.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ describe('alias unset NUTs', () => {
4646
}).shellOutput;
4747

4848
expect(res).to.include('Alias Unset'); // Table header
49-
expect(res).to.include('alias value success');
50-
expect(res).to.include('noAlias true');
49+
expect(res).to.match(/alias\s+value\s+success/);
50+
expect(res).to.match(/noAlias\s+true/);
5151
});
5252
});
5353

@@ -89,8 +89,8 @@ describe('alias unset NUTs', () => {
8989
}).shellOutput;
9090

9191
expect(res).to.include('Alias Unset'); // Table header
92-
expect(res).to.include('alias value success');
93-
expect(res).to.include('DevHub mydevhuborg@salesforce.com true');
92+
expect(res).to.match(/alias\s+value\s+success/);
93+
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce.com\s+true/);
9494
});
9595
});
9696

@@ -151,9 +151,9 @@ describe('alias unset NUTs', () => {
151151
}).shellOutput;
152152

153153
expect(res).to.include('Alias Unset'); // Table header
154-
expect(res).to.include('alias value success');
155-
expect(res).to.include('DevHub mydevhuborg@salesforce.com true');
156-
expect(res).to.include('user user@salesforce.com true');
154+
expect(res).to.match(/alias\s+value\s+success/);
155+
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce.com\s+true/);
156+
expect(res).to.match(/user\s+user@salesforce.com\s+true/);
157157
});
158158

159159
it('removes all aliases when passing --all', () => {

yarn.lock

Lines changed: 47 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,6 +1349,22 @@
13491349
strip-ansi "^7.1.0"
13501350
wrap-ansi "^9.0.0"
13511351

1352+
"@oclif/table@^0.3.0":
1353+
version "0.3.1"
1354+
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.3.1.tgz#e18a4c2cfe1ba0a86ba45675fef1a839cd9b0b01"
1355+
integrity sha512-qx4ChjK440RssoBxPJ0QLza+wndfuvX4g9Run98OnembCWgDfpu4dSuXM1zW/PnbqeX1KPk9xFoBniyhafPVmw==
1356+
dependencies:
1357+
"@oclif/core" "^4"
1358+
"@types/react" "^18.3.12"
1359+
change-case "^5.4.4"
1360+
cli-truncate "^4.0.0"
1361+
ink "^5.0.1"
1362+
natural-orderby "^3.0.2"
1363+
object-hash "^3.0.0"
1364+
react "^18.3.1"
1365+
strip-ansi "^7.1.0"
1366+
wrap-ansi "^9.0.0"
1367+
13521368
"@oclif/test@^4":
13531369
version "4.0.9"
13541370
resolved "https://registry.yarnpkg.com/@oclif/test/-/test-4.0.9.tgz#c4b4b4878911489a79f296a15448e76d860b39d2"
@@ -1540,7 +1556,26 @@
15401556
string-width "^7.2.0"
15411557
terminal-link "^3.0.0"
15421558

1543-
"@salesforce/sf-plugins-core@^12.0.4", "@salesforce/sf-plugins-core@^12.0.9":
1559+
"@salesforce/sf-plugins-core@^12.0.10":
1560+
version "12.0.10"
1561+
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.10.tgz#193796818cc9caad99f2fdc5bbaefd0206d1a08f"
1562+
integrity sha512-SCrA7NARQYEPlQZjEgEgBAVxAAEJLyDRJ2CDS2jm+H5sy3tmr8f4+Wvif7zO0MdWk2rLaR+D+L27171NG0PreQ==
1563+
dependencies:
1564+
"@inquirer/confirm" "^3.1.22"
1565+
"@inquirer/password" "^2.2.0"
1566+
"@oclif/core" "^4.0.27"
1567+
"@oclif/table" "^0.3.0"
1568+
"@salesforce/core" "^8.5.1"
1569+
"@salesforce/kit" "^3.2.3"
1570+
"@salesforce/ts-types" "^2.0.12"
1571+
ansis "^3.3.2"
1572+
cli-progress "^3.12.0"
1573+
natural-orderby "^3.0.2"
1574+
slice-ansi "^7.1.0"
1575+
string-width "^7.2.0"
1576+
terminal-link "^3.0.0"
1577+
1578+
"@salesforce/sf-plugins-core@^12.0.4":
15441579
version "12.0.9"
15451580
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.9.tgz#8a48828924d7e7fd2b402188077e87f4fa424156"
15461581
integrity sha512-CklAvBje/t+a85Djp961Ly84Yeh3+jF5n9G7Uy3NniUqJ6WwQc2M4jy+nTbqsRxomEuEb60AP3/rPQH9eBO7KA==
@@ -2393,6 +2428,14 @@
23932428
"@types/prop-types" "*"
23942429
csstype "^3.0.2"
23952430

2431+
"@types/react@^18.3.12":
2432+
version "18.3.12"
2433+
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.12.tgz#99419f182ccd69151813b7ee24b792fe08774f60"
2434+
integrity sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==
2435+
dependencies:
2436+
"@types/prop-types" "*"
2437+
csstype "^3.0.2"
2438+
23962439
"@types/responselike@^1.0.0":
23972440
version "1.0.3"
23982441
resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50"
@@ -7486,16 +7529,7 @@ static-eval@2.0.2:
74867529
dependencies:
74877530
escodegen "^1.8.1"
74887531

7489-
"string-width-cjs@npm:string-width@^4.2.0":
7490-
version "4.2.3"
7491-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
7492-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
7493-
dependencies:
7494-
emoji-regex "^8.0.0"
7495-
is-fullwidth-code-point "^3.0.0"
7496-
strip-ansi "^6.0.1"
7497-
7498-
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
7532+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
74997533
version "4.2.3"
75007534
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
75017535
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -7563,14 +7597,7 @@ string_decoder@~1.1.1:
75637597
dependencies:
75647598
safe-buffer "~5.1.0"
75657599

7566-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
7567-
version "6.0.1"
7568-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
7569-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
7570-
dependencies:
7571-
ansi-regex "^5.0.1"
7572-
7573-
strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
7600+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1:
75747601
version "6.0.1"
75757602
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
75767603
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -8154,7 +8181,7 @@ workerpool@^6.5.1:
81548181
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
81558182
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==
81568183

8157-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
8184+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
81588185
version "7.0.0"
81598186
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
81608187
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -8172,15 +8199,6 @@ wrap-ansi@^6.2.0:
81728199
string-width "^4.1.0"
81738200
strip-ansi "^6.0.0"
81748201

8175-
wrap-ansi@^7.0.0:
8176-
version "7.0.0"
8177-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
8178-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
8179-
dependencies:
8180-
ansi-styles "^4.0.0"
8181-
string-width "^4.1.0"
8182-
strip-ansi "^6.0.0"
8183-
81848202
wrap-ansi@^8.1.0:
81858203
version "8.1.0"
81868204
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)