Skip to content

Commit 6fefd20

Browse files
use patch version modifier ~ - security lodash CR-3960
1 parent 5dca858 commit 6fefd20

2 files changed

Lines changed: 32 additions & 27 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh-sdk",
3-
"version": "1.9.20",
3+
"version": "1.9.21",
44
"description": "Codefresh_api_swagger_3_0_specification",
55
"main": "index.js",
66
"author": {
@@ -17,7 +17,7 @@
1717
"dependencies": {
1818
"@codefresh-io/cf-receiver": "0.0.1-alpha19",
1919
"bluebird": "^3.5.3",
20-
"cf-errors": "^0.1.15",
20+
"cf-errors": "^0.1.16",
2121
"compare-versions": "^3.4.0",
2222
"debug": "^4.1.1",
2323
"decompress": "^4.2.1",
@@ -27,11 +27,11 @@
2727
"fs-extra": "^7.0.1",
2828
"js-yaml": "^3.13.1",
2929
"jsonwebtoken": "^8.4.0",
30-
"lodash": "4.17.20",
30+
"lodash": "~4.17.20",
3131
"moment": "^2.24.0",
3232
"recursive-readdir": "^2.2.2",
33-
"request": "2.88.2",
34-
"request-promise": "4.2.6",
33+
"request": "~2.88.2",
34+
"request-promise": "~4.2.6",
3535
"requestretry": "^4.1.2",
3636
"swagger-client": "~3.12.2",
3737
"uniqid": "^5.2.0",

yarn.lock

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,12 @@ caseless@~0.12.0:
558558
version "0.12.0"
559559
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
560560

561-
cf-errors@^0.1.15:
562-
version "0.1.15"
563-
resolved "https://registry.yarnpkg.com/cf-errors/-/cf-errors-0.1.15.tgz#b55d03f1977e9677e3af7e7177ae0d901bafaf8a"
564-
integrity sha512-gwhuKuBI7W/CuMpz+bxluWQRAuB3hvGbNcp46A/KcymgRnGKw2vLmIMHI2JaGpATMNdJh49ErocwVruM2UlJqw==
561+
cf-errors@^0.1.16:
562+
version "0.1.16"
563+
resolved "https://registry.yarnpkg.com/cf-errors/-/cf-errors-0.1.16.tgz#03d0b050ac94762552792907b08bd39d1a012116"
564+
integrity sha512-ewA6cTS+bVC32NCxIdEu/5HQ8zb09PV1ubdu0t2yPXs51K31gI78+XGEomVjaXdTbZcGBPVIWhFnG6R/U7K4IQ==
565565
dependencies:
566-
lodash "4.17.20"
566+
lodash "^4.17.21"
567567

568568
chalk@^1.1.3:
569569
version "1.1.3"
@@ -2583,11 +2583,6 @@ lodash.sortby@^4.7.0:
25832583
version "4.7.0"
25842584
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
25852585

2586-
lodash@4.17.20, lodash@^4.17.15, lodash@^4.17.19:
2587-
version "4.17.20"
2588-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
2589-
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
2590-
25912586
lodash@^4.17.11, lodash@^4.17.4, lodash@^4.3.0:
25922587
version "4.17.11"
25932588
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
@@ -2596,6 +2591,16 @@ lodash@^4.17.14:
25962591
version "4.17.15"
25972592
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
25982593

2594+
lodash@^4.17.15, lodash@^4.17.19:
2595+
version "4.17.20"
2596+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
2597+
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
2598+
2599+
lodash@^4.17.21, lodash@~4.17.20:
2600+
version "4.17.21"
2601+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
2602+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
2603+
25992604
loose-envify@^1.0.0:
26002605
version "1.4.0"
26012606
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
@@ -3352,7 +3357,7 @@ request-promise-native@^1.0.5:
33523357
stealthy-require "^1.1.1"
33533358
tough-cookie "^2.3.3"
33543359

3355-
request-promise@4.2.6:
3360+
request-promise@~4.2.6:
33563361
version "4.2.6"
33573362
resolved "https://registry.yarnpkg.com/request-promise/-/request-promise-4.2.6.tgz#7e7e5b9578630e6f598e3813c0f8eb342a27f0a2"
33583363
integrity sha512-HCHI3DJJUakkOr8fNoCc73E5nU5bqITjOYFMDrKHYOXWXrgD/SBaC7LjwuPymUprRyuF06UK7hd/lMHkmUXglQ==
@@ -3362,10 +3367,9 @@ request-promise@4.2.6:
33623367
stealthy-require "^1.1.1"
33633368
tough-cookie "^2.3.3"
33643369

3365-
request@2.88.2:
3366-
version "2.88.2"
3367-
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
3368-
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
3370+
request@^2.87.0:
3371+
version "2.88.0"
3372+
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
33693373
dependencies:
33703374
aws-sign2 "~0.7.0"
33713375
aws4 "^1.8.0"
@@ -3374,7 +3378,7 @@ request@2.88.2:
33743378
extend "~3.0.2"
33753379
forever-agent "~0.6.1"
33763380
form-data "~2.3.2"
3377-
har-validator "~5.1.3"
3381+
har-validator "~5.1.0"
33783382
http-signature "~1.2.0"
33793383
is-typedarray "~1.0.0"
33803384
isstream "~0.1.2"
@@ -3384,13 +3388,14 @@ request@2.88.2:
33843388
performance-now "^2.1.0"
33853389
qs "~6.5.2"
33863390
safe-buffer "^5.1.2"
3387-
tough-cookie "~2.5.0"
3391+
tough-cookie "~2.4.3"
33883392
tunnel-agent "^0.6.0"
33893393
uuid "^3.3.2"
33903394

3391-
request@^2.87.0:
3392-
version "2.88.0"
3393-
resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
3395+
request@~2.88.2:
3396+
version "2.88.2"
3397+
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
3398+
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
33943399
dependencies:
33953400
aws-sign2 "~0.7.0"
33963401
aws4 "^1.8.0"
@@ -3399,7 +3404,7 @@ request@^2.87.0:
33993404
extend "~3.0.2"
34003405
forever-agent "~0.6.1"
34013406
form-data "~2.3.2"
3402-
har-validator "~5.1.0"
3407+
har-validator "~5.1.3"
34033408
http-signature "~1.2.0"
34043409
is-typedarray "~1.0.0"
34053410
isstream "~0.1.2"
@@ -3409,7 +3414,7 @@ request@^2.87.0:
34093414
performance-now "^2.1.0"
34103415
qs "~6.5.2"
34113416
safe-buffer "^5.1.2"
3412-
tough-cookie "~2.4.3"
3417+
tough-cookie "~2.5.0"
34133418
tunnel-agent "^0.6.0"
34143419
uuid "^3.3.2"
34153420

0 commit comments

Comments
 (0)