Skip to content

Commit 713143d

Browse files
authored
Fix all security warnings by upgrading packages (#81)
* Fix all security warnings by upgrading packages Closes #79, #78, #75, #74, #73, #59, #54, #53, and #47 * Version bump
1 parent 346fe11 commit 713143d

File tree

2 files changed

+100
-31
lines changed

2 files changed

+100
-31
lines changed

package.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bynder/bynder-js-sdk",
3-
"version": "2.3.3",
3+
"version": "2.3.4",
44
"description": "Bynder Javascript SDK",
55
"main": "./dist/bynder-js-sdk.js",
66
"scripts": {
@@ -38,12 +38,19 @@
3838
"axios": "^0.21.1",
3939
"babel-plugin-transform-object-rest-spread": "^6.26.0",
4040
"babel-plugin-transform-runtime": "^6.23.0",
41+
"elliptic": "6.5.4",
42+
"handlebars": "4.7.7",
43+
"ini": "1.3.7",
4144
"is-url": "^1.2.4",
4245
"isomorphic-form-data": "^1.0.0",
43-
"node-fetch": "^1.6.0",
46+
"node-fetch": "2.6.1",
4447
"proper-url-join": "^1.2.0",
45-
"query-string": "^6.13.8",
46-
"simple-oauth2": "^2.5.1"
48+
"query-string": "6.14.1",
49+
"simple-oauth2": "^2.5.1",
50+
"ssri": "6.0.2",
51+
"websocket-extensions": "0.1.4",
52+
"y18n": "4.0.1",
53+
"yargs-parser": "13.1.2"
4754
},
4855
"resolutions": {
4956
"graceful-fs": "^4.2.4"

yarn.lock

+89-27
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,11 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
13681368
version "4.11.8"
13691369
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
13701370

1371+
bn.js@^4.11.9:
1372+
version "4.12.0"
1373+
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
1374+
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
1375+
13711376
body@^5.1.0:
13721377
version "5.1.0"
13731378
resolved "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz#e4ba0ce410a46936323367609ecb4e6553125069"
@@ -1409,7 +1414,7 @@ braces@^2.3.1, braces@^2.3.2:
14091414
split-string "^3.0.2"
14101415
to-regex "^3.0.1"
14111416

1412-
brorand@^1.0.1:
1417+
brorand@^1.0.1, brorand@^1.1.0:
14131418
version "1.1.0"
14141419
resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
14151420

@@ -2131,6 +2136,19 @@ electron-to-chromium@^1.3.47:
21312136
version "1.3.306"
21322137
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.306.tgz#e8265301d053d5f74e36cb876486830261fbe946"
21332138

2139+
2140+
version "6.5.4"
2141+
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
2142+
integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
2143+
dependencies:
2144+
bn.js "^4.11.9"
2145+
brorand "^1.1.0"
2146+
hash.js "^1.0.0"
2147+
hmac-drbg "^1.0.1"
2148+
inherits "^2.0.4"
2149+
minimalistic-assert "^1.0.1"
2150+
minimalistic-crypto-utils "^1.0.1"
2151+
21342152
elliptic@^6.0.0:
21352153
version "6.5.1"
21362154
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b"
@@ -2159,12 +2177,6 @@ encodeurl@~1.0.2:
21592177
version "1.0.2"
21602178
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
21612179

2162-
encoding@^0.1.11:
2163-
version "0.1.12"
2164-
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
2165-
dependencies:
2166-
iconv-lite "~0.4.13"
2167-
21682180
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
21692181
version "1.4.4"
21702182
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
@@ -3184,6 +3196,18 @@ gulplog@^1.0.0:
31843196
dependencies:
31853197
glogg "^1.0.0"
31863198

3199+
3200+
version "4.7.7"
3201+
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
3202+
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
3203+
dependencies:
3204+
minimist "^1.2.5"
3205+
neo-async "^2.6.0"
3206+
source-map "^0.6.1"
3207+
wordwrap "^1.0.0"
3208+
optionalDependencies:
3209+
uglify-js "^3.1.4"
3210+
31873211
handlebars@^4.1.2:
31883212
version "4.5.1"
31893213
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.1.tgz#8a01c382c180272260d07f2d1aa3ae745715c7ba"
@@ -3276,7 +3300,7 @@ hash.js@^1.0.0, hash.js@^1.0.3:
32763300
inherits "^2.0.3"
32773301
minimalistic-assert "^1.0.1"
32783302

3279-
hmac-drbg@^1.0.0:
3303+
hmac-drbg@^1.0.0, hmac-drbg@^1.0.1:
32803304
version "1.0.1"
32813305
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
32823306
dependencies:
@@ -3357,7 +3381,7 @@ https-browserify@^1.0.0:
33573381
version "1.0.0"
33583382
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
33593383

3360-
[email protected], iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
3384+
[email protected], iconv-lite@^0.4.24, iconv-lite@^0.4.4:
33613385
version "0.4.24"
33623386
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
33633387
dependencies:
@@ -3418,7 +3442,7 @@ inherits@1:
34183442
version "1.0.2"
34193443
resolved "https://registry.yarnpkg.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
34203444

3421-
inherits@2, [email protected], inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3:
3445+
inherits@2, [email protected], inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3:
34223446
version "2.0.4"
34233447
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
34243448

@@ -3430,6 +3454,11 @@ [email protected]:
34303454
version "2.0.3"
34313455
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
34323456

3457+
3458+
version "1.3.7"
3459+
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
3460+
integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==
3461+
34333462
ini@^1.3.4, ini@~1.3.0:
34343463
version "1.3.5"
34353464
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
@@ -3662,7 +3691,7 @@ is-resolvable@^1.0.0:
36623691
version "1.1.0"
36633692
resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88"
36643693

3665-
is-stream@^1.0.1, is-stream@^1.1.0:
3694+
is-stream@^1.1.0:
36663695
version "1.1.0"
36673696
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
36683697

@@ -4663,6 +4692,11 @@ minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0:
46634692
version "1.2.0"
46644693
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
46654694

4695+
minimist@^1.2.5:
4696+
version "1.2.5"
4697+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
4698+
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
4699+
46664700
minimist@~0.0.1:
46674701
version "0.0.10"
46684702
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
@@ -4797,12 +4831,10 @@ nice-try@^1.0.4:
47974831
version "1.0.5"
47984832
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
47994833

4800-
node-fetch@^1.6.0:
4801-
version "1.7.3"
4802-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
4803-
dependencies:
4804-
encoding "^0.1.11"
4805-
is-stream "^1.0.1"
4834+
4835+
version "2.6.1"
4836+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
4837+
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
48064838

48074839
node-int64@^0.4.0:
48084840
version "0.4.0"
@@ -5470,6 +5502,16 @@ qs@~6.5.2:
54705502
version "6.5.2"
54715503
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
54725504

5505+
5506+
version "6.14.1"
5507+
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a"
5508+
integrity sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw==
5509+
dependencies:
5510+
decode-uri-component "^0.2.0"
5511+
filter-obj "^1.1.0"
5512+
split-on-first "^1.0.0"
5513+
strict-uri-encode "^2.0.0"
5514+
54735515
query-string@^5.0.1:
54745516
version "5.1.1"
54755517
resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb"
@@ -5478,16 +5520,6 @@ query-string@^5.0.1:
54785520
object-assign "^4.1.0"
54795521
strict-uri-encode "^1.0.0"
54805522

5481-
query-string@^6.13.8:
5482-
version "6.14.0"
5483-
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.0.tgz#0b7b7ca326f5facf10dd2d45d26645cd287f8c92"
5484-
integrity sha512-In3o+lUxlgejoVJgwEdYtdxrmlL0cQWJXj0+kkI7RWVo7hg5AhFtybeKlC9Dpgbr8eOC4ydpEh8017WwyfzqVQ==
5485-
dependencies:
5486-
decode-uri-component "^0.2.0"
5487-
filter-obj "^1.1.0"
5488-
split-on-first "^1.0.0"
5489-
strict-uri-encode "^2.0.0"
5490-
54915523
querystring-es3@^0.2.0:
54925524
version "0.2.1"
54935525
resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
@@ -6230,6 +6262,13 @@ sshpk@^1.7.0:
62306262
safer-buffer "^2.0.2"
62316263
tweetnacl "~0.14.0"
62326264

6265+
6266+
version "6.0.2"
6267+
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5"
6268+
integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==
6269+
dependencies:
6270+
figgy-pudding "^3.5.1"
6271+
62336272
ssri@^6.0.1:
62346273
version "6.0.1"
62356274
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8"
@@ -6935,6 +6974,11 @@ websocket-driver@>=0.5.1:
69356974
safe-buffer ">=5.1.0"
69366975
websocket-extensions ">=0.1.1"
69376976

6977+
6978+
version "0.1.4"
6979+
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42"
6980+
integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==
6981+
69386982
websocket-extensions@>=0.1.1:
69396983
version "0.1.3"
69406984
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
@@ -6985,6 +7029,11 @@ word-wrap@~1.2.3:
69857029
version "1.2.3"
69867030
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
69877031

7032+
wordwrap@^1.0.0:
7033+
version "1.0.0"
7034+
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
7035+
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
7036+
69887037
wordwrap@~0.0.2:
69897038
version "0.0.3"
69907039
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
@@ -7053,6 +7102,11 @@ xmlcreate@^2.0.0:
70537102
version "4.0.2"
70547103
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
70557104

7105+
7106+
version "4.0.1"
7107+
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.1.tgz#8db2b83c31c5d75099bb890b23f3094891e247d4"
7108+
integrity sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==
7109+
70567110
y18n@^4.0.0:
70577111
version "4.0.0"
70587112
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
@@ -7061,6 +7115,14 @@ yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3:
70617115
version "3.1.1"
70627116
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
70637117

7118+
7119+
version "13.1.2"
7120+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.2.tgz#130f09702ebaeef2650d54ce6e3e5706f7a4fb38"
7121+
integrity sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==
7122+
dependencies:
7123+
camelcase "^5.0.0"
7124+
decamelize "^1.2.0"
7125+
70647126
yargs-parser@^13.1.1:
70657127
version "13.1.1"
70667128
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0"

0 commit comments

Comments
 (0)