Skip to content

Commit

Permalink
Merge pull request #775 from salesforcecli/mdonnalley/nuts
Browse files Browse the repository at this point in the history
fix: bump sf-plugins-core
  • Loading branch information
mdonnalley authored Oct 30, 2024
2 parents d6ff258 + d6291e1 commit 11bfaa2
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 49 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@oclif/core": "^4",
"@salesforce/core": "^8.6.2",
"@salesforce/sf-plugins-core": "^12.0.9",
"@salesforce/sf-plugins-core": "^12.0.10",
"fast-levenshtein": "^3.0.0"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions test/commands/alias/list.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ describe('alias list NUTs', () => {
env: { ...process.env, SF_NO_TABLE_STYLE: 'true' },
}).shellOutput;
expect(res).to.include('Alias List'); // Table header
expect(res).to.include('alias value');
expect(res).to.include('DevHub [email protected]');
expect(res).to.match(/alias\s+value/);
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce\.com/);
});
});

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

expect(res).to.include('Alias List'); // Table header
expect(res).to.include('alias value');
expect(res).to.include('DevHub [email protected]');
expect(res).to.include('Admin [email protected]');
expect(res).to.include('user [email protected]');
expect(res).to.match(/alias\s+value/);
expect(res).to.match(/DevHub\s+mydevhuborg@salesforce\.com/);
expect(res).to.match(/Admin\s+admin@salesforce\.com/);
expect(res).to.match(/user\s+user@salesforce\.com/);
});
});
});
12 changes: 6 additions & 6 deletions test/commands/alias/set.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ describe('alias set NUTs', () => {
}).shellOutput;

expect(res).to.include('Alias Set'); // Table header
expect(res).to.include('alias value success');
expect(res).to.include('DevHub [email protected] true');
expect(res).to.include('Admin [email protected] true');
expect(res).to.match(/alias\s+value\s+success/);
expect(res).to.match(/DevHub\s+[email protected]\s+true/);
expect(res).to.match(/Admin\s+[email protected]\s+true/);
});

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

expect(res).to.include('Alias Set'); // Table header
expect(res).to.include('alias value success');
expect(res).to.include('DevHub [email protected] true');
expect(res).to.include('Admin [email protected] true');
expect(res).to.match(/alias\s+value\s+success/);
expect(res).to.match(/DevHub\s+[email protected]\s+true/);
expect(res).to.match(/Admin\s+[email protected]\s+true/);
});
});

Expand Down
14 changes: 7 additions & 7 deletions test/commands/alias/unset.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ describe('alias unset NUTs', () => {
}).shellOutput;

expect(res).to.include('Alias Unset'); // Table header
expect(res).to.include('alias value success');
expect(res).to.include('noAlias true');
expect(res).to.match(/alias\s+value\s+success/);
expect(res).to.match(/noAlias\s+true/);
});
});

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

expect(res).to.include('Alias Unset'); // Table header
expect(res).to.include('alias value success');
expect(res).to.include('DevHub [email protected] true');
expect(res).to.match(/alias\s+value\s+success/);
expect(res).to.match(/DevHub\s+[email protected]\s+true/);
});
});

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

expect(res).to.include('Alias Unset'); // Table header
expect(res).to.include('alias value success');
expect(res).to.include('DevHub [email protected] true');
expect(res).to.include('user [email protected] true');
expect(res).to.match(/alias\s+value\s+success/);
expect(res).to.match(/DevHub\s+[email protected]\s+true/);
expect(res).to.match(/user\s+[email protected]\s+true/);
});

it('removes all aliases when passing --all', () => {
Expand Down
76 changes: 47 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,22 @@
strip-ansi "^7.1.0"
wrap-ansi "^9.0.0"

"@oclif/table@^0.3.0":
version "0.3.1"
resolved "https://registry.yarnpkg.com/@oclif/table/-/table-0.3.1.tgz#e18a4c2cfe1ba0a86ba45675fef1a839cd9b0b01"
integrity sha512-qx4ChjK440RssoBxPJ0QLza+wndfuvX4g9Run98OnembCWgDfpu4dSuXM1zW/PnbqeX1KPk9xFoBniyhafPVmw==
dependencies:
"@oclif/core" "^4"
"@types/react" "^18.3.12"
change-case "^5.4.4"
cli-truncate "^4.0.0"
ink "^5.0.1"
natural-orderby "^3.0.2"
object-hash "^3.0.0"
react "^18.3.1"
strip-ansi "^7.1.0"
wrap-ansi "^9.0.0"

"@oclif/test@^4":
version "4.0.9"
resolved "https://registry.yarnpkg.com/@oclif/test/-/test-4.0.9.tgz#c4b4b4878911489a79f296a15448e76d860b39d2"
Expand Down Expand Up @@ -1540,7 +1556,26 @@
string-width "^7.2.0"
terminal-link "^3.0.0"

"@salesforce/sf-plugins-core@^12.0.4", "@salesforce/sf-plugins-core@^12.0.9":
"@salesforce/sf-plugins-core@^12.0.10":
version "12.0.10"
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.10.tgz#193796818cc9caad99f2fdc5bbaefd0206d1a08f"
integrity sha512-SCrA7NARQYEPlQZjEgEgBAVxAAEJLyDRJ2CDS2jm+H5sy3tmr8f4+Wvif7zO0MdWk2rLaR+D+L27171NG0PreQ==
dependencies:
"@inquirer/confirm" "^3.1.22"
"@inquirer/password" "^2.2.0"
"@oclif/core" "^4.0.27"
"@oclif/table" "^0.3.0"
"@salesforce/core" "^8.5.1"
"@salesforce/kit" "^3.2.3"
"@salesforce/ts-types" "^2.0.12"
ansis "^3.3.2"
cli-progress "^3.12.0"
natural-orderby "^3.0.2"
slice-ansi "^7.1.0"
string-width "^7.2.0"
terminal-link "^3.0.0"

"@salesforce/sf-plugins-core@^12.0.4":
version "12.0.9"
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.0.9.tgz#8a48828924d7e7fd2b402188077e87f4fa424156"
integrity sha512-CklAvBje/t+a85Djp961Ly84Yeh3+jF5n9G7Uy3NniUqJ6WwQc2M4jy+nTbqsRxomEuEb60AP3/rPQH9eBO7KA==
Expand Down Expand Up @@ -2393,6 +2428,14 @@
"@types/prop-types" "*"
csstype "^3.0.2"

"@types/react@^18.3.12":
version "18.3.12"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.12.tgz#99419f182ccd69151813b7ee24b792fe08774f60"
integrity sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"

"@types/responselike@^1.0.0":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50"
Expand Down Expand Up @@ -7486,16 +7529,7 @@ [email protected]:
dependencies:
escodegen "^1.8.1"

"string-width-cjs@npm:string-width@^4.2.0":
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
dependencies:
emoji-regex "^8.0.0"
is-fullwidth-code-point "^3.0.0"
strip-ansi "^6.0.1"

string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
"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:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
Expand Down Expand Up @@ -7563,14 +7597,7 @@ string_decoder@~1.1.1:
dependencies:
safe-buffer "~5.1.0"

"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
dependencies:
ansi-regex "^5.0.1"

[email protected], strip-ansi@^6.0.0, strip-ansi@^6.0.1:
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", [email protected], strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
Expand Down Expand Up @@ -8154,7 +8181,7 @@ workerpool@^6.5.1:
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544"
integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==

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

wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
dependencies:
ansi-styles "^4.0.0"
string-width "^4.1.0"
strip-ansi "^6.0.0"

wrap-ansi@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
Expand Down

0 comments on commit 11bfaa2

Please sign in to comment.