Skip to content

Commit 222083f

Browse files
bump codefresh-sdk (#689)
* bump codefresh-sdk * bump sdk * fix tests * fix tests
1 parent 1375aec commit 222083f

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.75.26",
3+
"version": "0.75.28",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,
@@ -37,7 +37,7 @@
3737
"cf-errors": "^0.1.12",
3838
"chalk": "^4.1.0",
3939
"cli-progress": "3.6.0",
40-
"codefresh-sdk": "^1.9.19",
40+
"codefresh-sdk": "^1.9.22",
4141
"colors": "^1.1.2",
4242
"columnify": "^1.5.4",
4343
"compare-versions": "^3.4.0",

test-setup.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ const { Config } = require('codefresh-sdk');
55
const openapi = require('./openapi');
66

77
jest.mock('./lib/output/Output');
8-
jest.mock('codefresh-sdk/helpers/whoami');
8+
jest.mock('codefresh-sdk/helpers/whoami', () => ({
9+
getUser: jest.fn().mockResolvedValue(),
10+
getExecutionContext: jest.fn().mockResolvedValue(),
11+
getCurrentAccount: jest.fn().mockResolvedValue(),
12+
}));
913
jest.mock('request-promise', () => (() => ({ options: { request: {} } })));
1014

1115
let SDK_CONFIGURED;

yarn.lock

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,24 +1058,24 @@ code-point-at@^1.0.0:
10581058
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
10591059
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
10601060

1061-
codefresh-sdk@^1.9.19:
1062-
version "1.9.19"
1063-
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.9.19.tgz#c38eb0739bfe3ce2fac9db9c56778b0ea052a5fc"
1064-
integrity sha512-6dJI7qV6AQMU4RXjFD5KuLan+nBXZkahxKfXhQwlgc4RumQdURYMyVenFcMJ/nlUZ5Vmkp/1ElWooXdioz5aOQ==
1061+
codefresh-sdk@^1.9.22:
1062+
version "1.9.22"
1063+
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.9.22.tgz#6dbe39ea86c2772b114ea5aded16a80852b6cb25"
1064+
integrity sha512-Zq+C/nrmpe0n2rd+SxmCTHL4PyCyp+IsD0rhg8ASbhhtO9zlNzTPPT7EPVyDscyXg44bYf0w9GW6kewwBGulaQ==
10651065
dependencies:
10661066
"@codefresh-io/cf-receiver" "0.0.1-alpha19"
10671067
bluebird "^3.5.3"
10681068
cf-errors "^0.1.15"
10691069
compare-versions "^3.4.0"
10701070
debug "^4.1.1"
1071-
decompress "^4.2.0"
1071+
decompress "^4.2.1"
10721072
decompress-targz "^4.1.1"
10731073
decompress-unzip "^4.0.1"
10741074
firebase "git+https://github.com/codefresh-io/firebase.git#80b2ed883ff281cd67b53bd0f6a0bbd6f330fed5"
10751075
fs-extra "^7.0.1"
10761076
js-yaml "^3.13.1"
10771077
jsonwebtoken "^8.4.0"
1078-
lodash "4.17.20"
1078+
lodash "^4.17.21"
10791079
moment "^2.24.0"
10801080
recursive-readdir "^2.2.2"
10811081
request "2.88.2"
@@ -1358,7 +1358,7 @@ decompress-unzip@^4.0.1:
13581358
pify "^2.3.0"
13591359
yauzl "^2.4.2"
13601360

1361-
decompress@^4.0.0, decompress@^4.2.0:
1361+
decompress@^4.0.0, decompress@^4.2.0, decompress@^4.2.1:
13621362
version "4.2.1"
13631363
resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.1.tgz#007f55cc6a62c055afa37c07eb6a4ee1b773f118"
13641364
integrity sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ==
@@ -3688,6 +3688,11 @@ lodash@4.17.20, lodash@^4.17.19:
36883688
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
36893689
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
36903690

3691+
lodash@^4.17.21:
3692+
version "4.17.21"
3693+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
3694+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
3695+
36913696
log-symbols@^2.2.0:
36923697
version "2.2.0"
36933698
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"

0 commit comments

Comments
 (0)