Skip to content

Commit 9f8fecb

Browse files
committed
fix: snyk vulnerability of apollo client
Signed-off-by: Alvaro Bueno <alvaro.bueno@mailchimp.com>
2 parents a6f3099 + 057b02d commit 9f8fecb

File tree

4 files changed

+44
-34
lines changed

4 files changed

+44
-34
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [4.1.1](https://github.com/reactioncommerce/example-storefront/compare/v4.1.0...v4.1.1) (2021-08-23)
2+
3+
4+
### Bug Fixes
5+
6+
* upgrade graphql from 14.1.1 to 14.7.0 ([3b97799](https://github.com/reactioncommerce/example-storefront/commit/3b977990afd068a72bc13f48bac7382d50fbb3a2))
7+
* upgrade mdi-material-ui from 5.9.0 to 5.33.1 ([323fdff](https://github.com/reactioncommerce/example-storefront/commit/323fdff30afb5a0601f40b7c8c67a97479955bbf))
8+
* upgrade styled-components from 5.1.1 to 5.3.0 ([7672cad](https://github.com/reactioncommerce/example-storefront/commit/7672cad4f37844ae1839a2d90b8bd6a107586b34))
9+
* upgrade swr from 0.1.18 to 0.5.6 ([cb39c7a](https://github.com/reactioncommerce/example-storefront/commit/cb39c7a9b2bd1c625a6096199dac1d128af74e35))
10+
111
# [4.1.0](https://github.com/reactioncommerce/example-storefront/compare/v4.0.2...v4.1.0) (2021-06-23)
212

313

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ networks:
1313

1414
services:
1515
web:
16-
image: reactioncommerce/example-storefront:4.1.0
16+
image: reactioncommerce/example-storefront:4.1.1
1717
env_file:
1818
- ./.env
1919
networks:

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example-storefront",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"description": "The Example Storefront serves as a reference for implementing a web based storefront using the Reaction Commerce GraphQL API.",
55
"keywords": [],
66
"author": {
@@ -112,14 +112,14 @@
112112
"date-fns": "~1.30.1",
113113
"envalid": "~4.2.0",
114114
"express": "~4.16.4",
115-
"graphql": "~14.1.1",
115+
"graphql": "~14.7.0",
116116
"graphql-request": "^2.0.0",
117117
"graphql-tag": "~2.10.1",
118118
"isomorphic-unfetch": "^3.0.0",
119119
"js-cookie": "~2.2.0",
120120
"keymirror": "~0.1.1",
121121
"lodash": "~4.17.20",
122-
"mdi-material-ui": "~5.9.0",
122+
"mdi-material-ui": "~5.33.1",
123123
"next": "9.4.1",
124124
"passport": "~0.4.0",
125125
"passport-oauth2": "~1.4.0",
@@ -131,9 +131,9 @@
131131
"react-stripe-elements": "~2.0.3",
132132
"react-tracking": "~5.6.0",
133133
"reacto-form": "~1.4.0",
134-
"styled-components": "^5.0.1",
134+
"styled-components": "^5.3.0",
135135
"subscriptions-transport-ws": "~0.9.15",
136-
"swr": "^0.1.18"
136+
"swr": "^0.5.6"
137137
},
138138
"devDependencies": {
139139
"@commitlint/cli": "^11.0.0",

yarn.lock

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3209,10 +3209,10 @@ babel-plugin-macros@^2.0.0:
32093209
cosmiconfig "^6.0.0"
32103210
resolve "^1.12.0"
32113211

3212-
"babel-plugin-styled-components@>= 1":
3213-
version "1.10.7"
3214-
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.7.tgz#3494e77914e9989b33cc2d7b3b29527a949d635c"
3215-
integrity sha512-MBMHGcIA22996n9hZRf/UJLVVgkEOITuR2SvjHLb5dSTUyR4ZRGn+ngITapes36FI3WLxZHfRhkA1ffHxihOrg==
3212+
"babel-plugin-styled-components@>= 1.12.0":
3213+
version "1.13.2"
3214+
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.13.2.tgz#ebe0e6deff51d7f93fceda1819e9b96aeb88278d"
3215+
integrity sha512-Vb1R3d4g+MUfPQPVDMCGjm3cDocJEUTR7Xq7QS95JWWeksN1wdFRYpD2kulDgI3Huuaf1CZd+NK4KQmqUFh5dA==
32163216
dependencies:
32173217
"@babel/helper-annotate-as-pure" "^7.0.0"
32183218
"@babel/helper-module-imports" "^7.0.0"
@@ -5137,6 +5137,11 @@ deprecation@^2.0.0, deprecation@^2.3.1:
51375137
resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
51385138
integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==
51395139

5140+
dequal@2.0.2:
5141+
version "2.0.2"
5142+
resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.2.tgz#85ca22025e3a87e65ef75a7a437b35284a7e319d"
5143+
integrity sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==
5144+
51405145
des.js@^1.0.0:
51415146
version "1.0.1"
51425147
resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843"
@@ -6011,11 +6016,6 @@ extsprintf@^1.2.0:
60116016
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
60126017
integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
60136018

6014-
fast-deep-equal@2.0.1:
6015-
version "2.0.1"
6016-
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
6017-
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
6018-
60196019
fast-deep-equal@^1.0.0:
60206020
version "1.1.0"
60216021
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614"
@@ -6621,10 +6621,10 @@ graphql-tag@^2.12.3:
66216621
dependencies:
66226622
tslib "^2.1.0"
66236623

6624-
graphql@~14.1.1:
6625-
version "14.1.1"
6626-
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.1.tgz#d5d77df4b19ef41538d7215d1e7a28834619fac0"
6627-
integrity sha512-C5zDzLqvfPAgTtP8AUPIt9keDabrdRAqSWjj2OPRKrKxI9Fb65I36s1uCs1UUBFnSWTdO7hyHi7z1ZbwKMKF6Q==
6624+
graphql@~14.7.0:
6625+
version "14.7.0"
6626+
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.7.0.tgz#7fa79a80a69be4a31c27dda824dc04dac2035a72"
6627+
integrity sha512-l0xWZpoPKpppFzMfvVyFmp9vLN7w/ZZJPefUicMCepfJeQ8sMcztloGYY9DfjVPo6tIUDzU5Hw3MUbIjj9AVVA==
66286628
dependencies:
66296629
iterall "^1.2.2"
66306630

@@ -9025,16 +9025,16 @@ md5.js@^1.3.4:
90259025
inherits "^2.0.1"
90269026
safe-buffer "^5.1.2"
90279027

9028+
mdi-material-ui@~5.33.1:
9029+
version "5.33.1"
9030+
resolved "https://registry.yarnpkg.com/mdi-material-ui/-/mdi-material-ui-5.33.1.tgz#a6a476a8ce7217357b4f4b9bd1774337fe540123"
9031+
integrity sha512-YIVE/SOlsgM4/vnPwaV5pm0/70WtD7idEO3JU9dbJhcD3VVsTl5lzO1LYxwSvIl0vpQVcw48aZhTL7Ld640UXQ==
9032+
90289033
mdi-material-ui@~5.8.0:
90299034
version "5.8.0"
90309035
resolved "https://registry.yarnpkg.com/mdi-material-ui/-/mdi-material-ui-5.8.0.tgz#2b92231a37ac52bef46e4ef5450ca7432fec5695"
90319036
integrity sha512-KixZVfNg0ejURv9CIliB1M3kl4Soe6f6yAFjFNsoYPMvGGw1AhnQKGZ3EOEKOIdp2X9YeZFOaO+i9e4ZHUrpNA==
90329037

9033-
mdi-material-ui@~5.9.0:
9034-
version "5.9.0"
9035-
resolved "https://registry.yarnpkg.com/mdi-material-ui/-/mdi-material-ui-5.9.0.tgz#88d662a0c618224e8150d02b3f7f2ab2569803a0"
9036-
integrity sha512-+3vYdXmh3zS/FhIb/0+fGLoplgVGxOtK6zxP7hhDZ9nVYxhSP85n+Uh/g5qLb/W1mXihOxEGkcKS2p+dxYBg6w==
9037-
90389038
mdn-data@2.0.4:
90399039
version "2.0.4"
90409040
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b"
@@ -13094,17 +13094,17 @@ style-loader@1.2.1:
1309413094
loader-utils "^2.0.0"
1309513095
schema-utils "^2.6.6"
1309613096

13097-
styled-components@^5.0.1:
13098-
version "5.1.1"
13099-
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.1.1.tgz#96dfb02a8025794960863b9e8e365e3b6be5518d"
13100-
integrity sha512-1ps8ZAYu2Husx+Vz8D+MvXwEwvMwFv+hqqUwhNlDN5ybg6A+3xyW1ECrAgywhvXapNfXiz79jJyU0x22z0FFTg==
13097+
styled-components@^5.3.0:
13098+
version "5.3.0"
13099+
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.0.tgz#e47c3d3e9ddfff539f118a3dd0fd4f8f4fb25727"
13100+
integrity sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ==
1310113101
dependencies:
1310213102
"@babel/helper-module-imports" "^7.0.0"
1310313103
"@babel/traverse" "^7.4.5"
1310413104
"@emotion/is-prop-valid" "^0.8.8"
1310513105
"@emotion/stylis" "^0.8.4"
1310613106
"@emotion/unitless" "^0.7.4"
13107-
babel-plugin-styled-components ">= 1"
13107+
babel-plugin-styled-components ">= 1.12.0"
1310813108
css-to-react-native "^3.0.0"
1310913109
hoist-non-react-statics "^3.0.0"
1311013110
shallowequal "^1.1.0"
@@ -13220,12 +13220,12 @@ svgo@^1.0.0:
1322013220
unquote "~1.1.1"
1322113221
util.promisify "~1.0.0"
1322213222

13223-
swr@^0.1.18:
13224-
version "0.1.18"
13225-
resolved "https://registry.yarnpkg.com/swr/-/swr-0.1.18.tgz#be62df4cb8d188dc092305b35ecda1f3be8e61c1"
13226-
integrity sha512-lD31JxsD0bXdT7dyGVIB7MHcwgFp+HbBBOLt075hJT0sEgW01E3+EuCeB6fsavxZ2UjUZ3f+SbNMo9c8pv9uiA==
13223+
swr@^0.5.6:
13224+
version "0.5.6"
13225+
resolved "https://registry.yarnpkg.com/swr/-/swr-0.5.6.tgz#70bfe9bc9d7ac49a064be4a0f4acf57982e55a31"
13226+
integrity sha512-Bmx3L4geMZjYT5S2Z6EE6/5Cx6v1Ka0LhqZKq8d6WL2eu9y6gHWz3dUzfIK/ymZVHVfwT/EweFXiYGgfifei3w==
1322713227
dependencies:
13228-
fast-deep-equal "2.0.1"
13228+
dequal "2.0.2"
1322913229

1323013230
symbol-observable@1.2.0, symbol-observable@^1.0.2, symbol-observable@^1.0.4, symbol-observable@^1.1.0, symbol-observable@^1.2.0:
1323113231
version "1.2.0"

0 commit comments

Comments
 (0)