Skip to content

Commit 18b5f30

Browse files
authored
fix(security): update vulnerable packages, include React 17 in peerDeps (#28545)
1 parent f8bbc06 commit 18b5f30

File tree

30 files changed

+882
-896
lines changed

30 files changed

+882
-896
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"ts-jest": "^22",
9191
"typescript": "^3.9.7",
9292
"unified": "^9.2.0",
93-
"yargs": "^10.1.2"
93+
"yargs": "^15.4.1"
9494
},
9595
"resolutions": {
9696
"theme-ui": "0.4.0-rc.14",

packages/gatsby-admin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"gatsby": "^2.31.0-next.1",
2424
"gatsby-interface": "^0.0.225",
2525
"gatsby-plugin-typescript": "^2.11.0-next.0",
26-
"gatsby-plugin-webfonts": "^1.1.3",
26+
"gatsby-plugin-webfonts": "^1.1.4",
2727
"gatsby-source-graphql": "^2.13.0-next.0",
2828
"lodash-es": "^4.17.20",
2929
"ncp": "^2.0.0",

packages/gatsby-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"uuid": "3.4.0",
4848
"yargs": "^15.4.1",
4949
"yoga-layout-prebuilt": "^1.9.6",
50-
"yurnalist": "^1.1.2"
50+
"yurnalist": "^2.1.0"
5151
},
5252
"devDependencies": {
5353
"@babel/cli": "^7.12.1",

packages/gatsby-link/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"peerDependencies": {
2222
"@reach/router": "^1.3.3",
23-
"react": "^16.4.2",
24-
"react-dom": "^16.4.2"
23+
"react": "^16.4.2 || ^17.0.0",
24+
"react-dom": "^16.4.2 || ^17.0.0"
2525
},
2626
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
2727
"keywords": [

packages/gatsby-plugin-google-analytics/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"main": "index.js",
2828
"peerDependencies": {
2929
"gatsby": "^2.0.0",
30-
"react": "^16.4.2",
31-
"react-dom": "^16.4.2"
30+
"react": "^16.4.2 || ^17.0.0",
31+
"react-dom": "^16.4.2 || ^17.0.0"
3232
},
3333
"repository": {
3434
"type": "git",

packages/gatsby-plugin-lodash/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@babel/runtime": "^7.12.5",
1111
"babel-plugin-lodash": "^3.3.4",
12-
"lodash-webpack-plugin": "^0.11.5"
12+
"lodash-webpack-plugin": "^0.11.6"
1313
},
1414
"devDependencies": {
1515
"@babel/cli": "^7.12.1",

packages/gatsby-plugin-mdx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"change-case": "^3.1.0",
3030
"core-js": "^3.6.5",
3131
"dataloader": "^1.4.0",
32-
"debug": "^4.1.1",
32+
"debug": "^4.3.1",
3333
"escape-string-regexp": "^1.0.5",
3434
"eval": "^0.1.4",
3535
"fs-extra": "^8.1.0",

packages/gatsby-plugin-netlify-cms/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"peerDependencies": {
3939
"gatsby": "^2.0.101",
4040
"netlify-cms-app": "^2.9.0",
41-
"react": "^16.8.4",
42-
"react-dom": "^16.8.4"
41+
"react": "^16.8.4 || ^17.0.0",
42+
"react-dom": "^16.8.4 || ^17.0.0"
4343
},
4444
"repository": {
4545
"type": "git",

packages/gatsby-plugin-offline/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"cpx": "^1.5.0",
2323
"cross-env": "^7.0.3",
2424
"gatsby-plugin-utils": "^0.8.0-next.1",
25-
"rewire": "^4.0.1"
25+
"rewire": "^5.0.0"
2626
},
2727
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme",
2828
"keywords": [

packages/gatsby-plugin-sharp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lodash": "^4.17.20",
2121
"mini-svg-data-uri": "^1.2.3",
2222
"potrace": "^2.1.8",
23-
"probe-image-size": "^5.0.0",
23+
"probe-image-size": "^6.0.0",
2424
"progress": "^2.0.3",
2525
"semver": "^7.3.4",
2626
"sharp": "^0.27.0",

0 commit comments

Comments
 (0)