Skip to content

Commit

Permalink
bump codefresh-sdk (#689)
Browse files Browse the repository at this point in the history
* bump codefresh-sdk

* bump sdk

* fix tests

* fix tests
  • Loading branch information
denis-codefresh authored Jun 29, 2021
1 parent 1375aec commit 222083f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.75.26",
"version": "0.75.28",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down Expand Up @@ -37,7 +37,7 @@
"cf-errors": "^0.1.12",
"chalk": "^4.1.0",
"cli-progress": "3.6.0",
"codefresh-sdk": "^1.9.19",
"codefresh-sdk": "^1.9.22",
"colors": "^1.1.2",
"columnify": "^1.5.4",
"compare-versions": "^3.4.0",
Expand Down
6 changes: 5 additions & 1 deletion test-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ const { Config } = require('codefresh-sdk');
const openapi = require('./openapi');

jest.mock('./lib/output/Output');
jest.mock('codefresh-sdk/helpers/whoami');
jest.mock('codefresh-sdk/helpers/whoami', () => ({
getUser: jest.fn().mockResolvedValue(),
getExecutionContext: jest.fn().mockResolvedValue(),
getCurrentAccount: jest.fn().mockResolvedValue(),
}));
jest.mock('request-promise', () => (() => ({ options: { request: {} } })));

let SDK_CONFIGURED;
Expand Down
19 changes: 12 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1058,24 +1058,24 @@ code-point-at@^1.0.0:
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=

codefresh-sdk@^1.9.19:
version "1.9.19"
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.9.19.tgz#c38eb0739bfe3ce2fac9db9c56778b0ea052a5fc"
integrity sha512-6dJI7qV6AQMU4RXjFD5KuLan+nBXZkahxKfXhQwlgc4RumQdURYMyVenFcMJ/nlUZ5Vmkp/1ElWooXdioz5aOQ==
codefresh-sdk@^1.9.22:
version "1.9.22"
resolved "https://registry.yarnpkg.com/codefresh-sdk/-/codefresh-sdk-1.9.22.tgz#6dbe39ea86c2772b114ea5aded16a80852b6cb25"
integrity sha512-Zq+C/nrmpe0n2rd+SxmCTHL4PyCyp+IsD0rhg8ASbhhtO9zlNzTPPT7EPVyDscyXg44bYf0w9GW6kewwBGulaQ==
dependencies:
"@codefresh-io/cf-receiver" "0.0.1-alpha19"
bluebird "^3.5.3"
cf-errors "^0.1.15"
compare-versions "^3.4.0"
debug "^4.1.1"
decompress "^4.2.0"
decompress "^4.2.1"
decompress-targz "^4.1.1"
decompress-unzip "^4.0.1"
firebase "git+https://github.com/codefresh-io/firebase.git#80b2ed883ff281cd67b53bd0f6a0bbd6f330fed5"
fs-extra "^7.0.1"
js-yaml "^3.13.1"
jsonwebtoken "^8.4.0"
lodash "4.17.20"
lodash "^4.17.21"
moment "^2.24.0"
recursive-readdir "^2.2.2"
request "2.88.2"
Expand Down Expand Up @@ -1358,7 +1358,7 @@ decompress-unzip@^4.0.1:
pify "^2.3.0"
yauzl "^2.4.2"

decompress@^4.0.0, decompress@^4.2.0:
decompress@^4.0.0, decompress@^4.2.0, decompress@^4.2.1:
version "4.2.1"
resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.1.tgz#007f55cc6a62c055afa37c07eb6a4ee1b773f118"
integrity sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ==
Expand Down Expand Up @@ -3688,6 +3688,11 @@ [email protected], lodash@^4.17.19:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

lodash@^4.17.21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

log-symbols@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
Expand Down

0 comments on commit 222083f

Please sign in to comment.