From 6b86b99f7e760c6ffa74b1330399d9fdd94e48a2 Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Fri, 26 Feb 2021 10:05:43 +0100 Subject: [PATCH] Move peerdeps to 16.9.0 & 17+ for react & react-dom (#29735) * Move peerdeps to 16.9.0 & 17+ for react & react-dom * update examples, ... * Update building-a-theme.md * Update package.json --- .eslintrc.js | 2 +- benchmarks/source-agilitycms/package.json | 6 ++--- docs/tutorial/building-a-theme.md | 24 +++++++++---------- e2e-tests/gatsby-image/package.json | 6 ++--- e2e-tests/gatsby-static-image/package.json | 6 ++--- e2e-tests/mdx-less-babel/package.json | 6 ++--- e2e-tests/mdx/package.json | 6 ++--- e2e-tests/path-prefix/package.json | 6 ++--- e2e-tests/production-runtime/package.json | 6 ++--- .../themes/development-runtime/package.json | 6 ++--- .../themes/gatsby-theme-about/package.json | 4 ++-- .../themes/production-runtime/package.json | 6 ++--- e2e-tests/visual-regression/package.json | 6 ++--- examples/client-only-paths/package.json | 6 ++--- examples/feed/package.json | 6 ++--- examples/gatsbygram/package.json | 6 ++--- examples/hn/package.json | 6 ++--- examples/image-processing/package.json | 6 ++--- examples/no-trailing-slashes/package.json | 6 ++--- examples/recipe-static-image/package.json | 6 ++--- examples/recipe-webpack-image/package.json | 6 ++--- examples/recipes-gatsby-image/package.json | 6 ++--- examples/route-api/package.json | 6 ++--- examples/simple-auth/package.json | 6 ++--- examples/sitemap/package.json | 6 ++--- examples/styleguide/package.json | 6 ++--- examples/using-asciidoc/package.json | 6 ++--- examples/using-contentful/package.json | 6 ++--- examples/using-css-modules/package.json | 6 ++--- examples/using-csv/package.json | 6 ++--- examples/using-drupal/package.json | 6 ++--- examples/using-emotion-prismjs/package.json | 6 ++--- examples/using-emotion/package.json | 6 ++--- examples/using-excel/package.json | 6 ++--- examples/using-faker/package.json | 6 ++--- examples/using-gatsby-image/package.json | 6 ++--- .../using-gatsby-without-graphql/package.json | 6 ++--- examples/using-glamor/package.json | 6 ++--- examples/using-hjson/package.json | 6 ++--- examples/using-jest/package.json | 6 ++--- examples/using-js-search/package.json | 6 ++--- examples/using-jss/package.json | 6 ++--- examples/using-local-plugins/package.json | 6 ++--- examples/using-markdown-pages/package.json | 6 ++--- examples/using-medium/package.json | 6 ++--- examples/using-mongodb/package.json | 6 ++--- .../using-multiple-providers/package.json | 6 ++--- .../using-page-loading-indicator/package.json | 6 ++--- examples/using-page-transitions/package.json | 6 ++--- examples/using-path-prefix/package.json | 6 ++--- .../package.json | 6 ++--- examples/using-reach-skip-nav/package.json | 6 ++--- examples/using-redirects/package.json | 6 ++--- examples/using-redux/package.json | 6 ++--- .../package.json | 6 ++--- examples/using-remark/package.json | 6 ++--- examples/using-sass/package.json | 6 ++--- examples/using-shopify/package.json | 6 ++--- examples/using-sqip/package.json | 6 ++--- examples/using-styled-jsx/package.json | 6 ++--- examples/using-styletron/package.json | 6 ++--- examples/using-stylus/package.json | 6 ++--- examples/using-type-definitions/package.json | 6 ++--- examples/using-video/package.json | 6 ++--- .../using-wordpress-with-acf/package.json | 6 ++--- .../cache-resilience/package.json | 6 ++--- .../gatsby-pipeline/package.json | 6 ++--- integration-tests/images/package.json | 6 ++--- .../long-term-caching/package.json | 6 ++--- .../structured-logging/package.json | 6 ++--- packages/gatsby-cli/package.json | 4 ++-- packages/gatsby-link/package.json | 6 ++--- packages/gatsby-plugin-cxs/package.json | 6 +++-- packages/gatsby-plugin-feed/package.json | 6 +++-- packages/gatsby-plugin-fullstory/package.json | 6 +++-- packages/gatsby-plugin-glamor/package.json | 6 +++-- .../package.json | 6 ++--- .../gatsby-plugin-google-gtag/package.json | 6 +++-- .../package.json | 6 +++-- packages/gatsby-plugin-image/package.json | 6 ++--- packages/gatsby-plugin-jss/package.json | 6 +++-- packages/gatsby-plugin-mdx/package.json | 6 +++-- .../gatsby-plugin-netlify-cms/package.json | 6 ++--- packages/gatsby-plugin-offline/package.json | 6 +++-- packages/gatsby-plugin-sitemap/package.json | 6 +++-- .../package.json | 4 +++- packages/gatsby-plugin-styletron/package.json | 4 ++-- .../gatsby-plugin-typography/package.json | 6 ++--- .../gatsby-react-router-scroll/package.json | 6 ++--- .../package.json | 6 +++-- packages/gatsby-remark-prismjs/package.json | 2 +- packages/gatsby/package.json | 6 ++--- yarn.lock | 11 ++++++++- 93 files changed, 299 insertions(+), 266 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e917e67b92867..0e801b4351173 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -205,7 +205,7 @@ module.exports = { ], settings: { react: { - version: "16.4.2", + version: "16.9.0", }, }, } diff --git a/benchmarks/source-agilitycms/package.json b/benchmarks/source-agilitycms/package.json index 3ddc362be10b3..db4fe765062dc 100644 --- a/benchmarks/source-agilitycms/package.json +++ b/benchmarks/source-agilitycms/package.json @@ -28,8 +28,8 @@ "gatsby-source-filesystem": "^2.2.1", "gatsby-transformer-sharp": "^2.4.1", "node-fetch": "^2.6.0", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "truncate-html": "^1.0.2" }, @@ -43,4 +43,4 @@ "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } -} +} \ No newline at end of file diff --git a/docs/tutorial/building-a-theme.md b/docs/tutorial/building-a-theme.md index ae264e1904f06..c1f3fa21b1336 100644 --- a/docs/tutorial/building-a-theme.md +++ b/docs/tutorial/building-a-theme.md @@ -107,8 +107,8 @@ You should now see the following dependencies in your `site/package.json`: "dependencies": { "gatsby": "^2.9.11", "gatsby-theme-events": "*", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^17.0.0", + "react-dom": "^17.0.0" } } ``` @@ -155,14 +155,14 @@ The `gatsby-theme-events/package.json` file should now include the following: ```json:title=gatsby-theme-events/package.json { "peerDependencies": { - "gatsby": "^2.9.11", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "gatsby": "^3.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "devDependencies": { - "gatsby": "^2.9.11", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "gatsby": "^3.0.0", + "react": "^16.9.0", + "react-dom": "^16.9.0" } } ``` @@ -1335,13 +1335,13 @@ It's important to namespace your theme. It helps differentiate between published }, "peerDependencies": { "gatsby": "^2.13.19", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "devDependencies": { "gatsby": "^2.13.19", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "dependencies": { "@emotion/react": "^11.0.0", diff --git a/e2e-tests/gatsby-image/package.json b/e2e-tests/gatsby-image/package.json index efb031ad453f9..7d6cd8b6f41b7 100644 --- a/e2e-tests/gatsby-image/package.json +++ b/e2e-tests/gatsby-image/package.json @@ -13,8 +13,8 @@ "gatsby-plugin-sharp": "^2.0.20", "gatsby-source-filesystem": "^2.0.20", "gatsby-transformer-sharp": "^2.1.13", - "react": "^16.8.0", - "react-dom": "^16.8.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.0" }, "keywords": [ @@ -42,4 +42,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/gatsby-static-image/package.json b/e2e-tests/gatsby-static-image/package.json index 022eea298fe26..91da06a887b30 100644 --- a/e2e-tests/gatsby-static-image/package.json +++ b/e2e-tests/gatsby-static-image/package.json @@ -8,8 +8,8 @@ "gatsby": "^2.0.118", "gatsby-plugin-image": "^0.0.2", "gatsby-plugin-sharp": "^2.0.20", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -36,4 +36,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/mdx-less-babel/package.json b/e2e-tests/mdx-less-babel/package.json index 31609b1d32bab..7df2170e3f8fe 100644 --- a/e2e-tests/mdx-less-babel/package.json +++ b/e2e-tests/mdx-less-babel/package.json @@ -9,8 +9,8 @@ "gatsby": "^2.0.118", "gatsby-plugin-mdx": "^1.2.19", "gatsby-source-filesystem": "^2.3.14", - "react": "^16.8.0", - "react-dom": "^16.8.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "theme-ui": "^0.3.1" }, "keywords": [ @@ -34,4 +34,4 @@ "prettier": "2.0.4", "start-server-and-test": "^1.7.1" } -} +} \ No newline at end of file diff --git a/e2e-tests/mdx/package.json b/e2e-tests/mdx/package.json index 31609b1d32bab..7df2170e3f8fe 100644 --- a/e2e-tests/mdx/package.json +++ b/e2e-tests/mdx/package.json @@ -9,8 +9,8 @@ "gatsby": "^2.0.118", "gatsby-plugin-mdx": "^1.2.19", "gatsby-source-filesystem": "^2.3.14", - "react": "^16.8.0", - "react-dom": "^16.8.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "theme-ui": "^0.3.1" }, "keywords": [ @@ -34,4 +34,4 @@ "prettier": "2.0.4", "start-server-and-test": "^1.7.1" } -} +} \ No newline at end of file diff --git a/e2e-tests/path-prefix/package.json b/e2e-tests/path-prefix/package.json index f1d96c45262f7..82319edd4fa91 100644 --- a/e2e-tests/path-prefix/package.json +++ b/e2e-tests/path-prefix/package.json @@ -15,8 +15,8 @@ "gatsby-plugin-sitemap": "^2.0.12", "gatsby-source-filesystem": "^2.8.1", "gatsby-transformer-sharp": "^2.9.0", - "react": "^16.8.0", - "react-dom": "^16.8.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.0" }, "keywords": [ @@ -53,4 +53,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/production-runtime/package.json b/e2e-tests/production-runtime/package.json index 805db5d64230d..8bc4bbaec3ee1 100644 --- a/e2e-tests/production-runtime/package.json +++ b/e2e-tests/production-runtime/package.json @@ -13,8 +13,8 @@ "gatsby-plugin-sharp": "^3.0.0-next.5", "gatsby-seo": "^0.1.0", "glob": "^7.1.3", - "react": "^16.8.0", - "react-dom": "^16.8.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.0", "typeface-merriweather": "^1.1.13" }, @@ -52,4 +52,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/themes/development-runtime/package.json b/e2e-tests/themes/development-runtime/package.json index d6a478a36d2d2..c5960c041488f 100644 --- a/e2e-tests/themes/development-runtime/package.json +++ b/e2e-tests/themes/development-runtime/package.json @@ -6,8 +6,8 @@ "dependencies": { "gatsby": "^2.13.14", "gatsby-theme-about": "*", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "scripts": { @@ -36,4 +36,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/themes/gatsby-theme-about/package.json b/e2e-tests/themes/gatsby-theme-about/package.json index baac853712494..d496afbea54e6 100644 --- a/e2e-tests/themes/gatsby-theme-about/package.json +++ b/e2e-tests/themes/gatsby-theme-about/package.json @@ -25,7 +25,7 @@ "prettier": "2.0.4" }, "peerDependencies": { - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" } } diff --git a/e2e-tests/themes/production-runtime/package.json b/e2e-tests/themes/production-runtime/package.json index b6b53ad6ed0f9..3fca97a0cdfb0 100644 --- a/e2e-tests/themes/production-runtime/package.json +++ b/e2e-tests/themes/production-runtime/package.json @@ -6,8 +6,8 @@ "dependencies": { "gatsby": "^2.13.14", "gatsby-theme-about": "*", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "scripts": { @@ -33,4 +33,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/e2e-tests/visual-regression/package.json b/e2e-tests/visual-regression/package.json index 73833ae5706af..e7d06a28de13f 100644 --- a/e2e-tests/visual-regression/package.json +++ b/e2e-tests/visual-regression/package.json @@ -11,8 +11,8 @@ "gatsby-plugin-sharp": "^2.0.20", "gatsby-source-filesystem": "^2.3.35", "gatsby-transformer-sharp": "^2.5.19", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -42,4 +42,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby-starter-default" } -} +} \ No newline at end of file diff --git a/examples/client-only-paths/package.json b/examples/client-only-paths/package.json index b42365960b094..650323c735964 100644 --- a/examples/client-only-paths/package.json +++ b/examples/client-only-paths/package.json @@ -8,8 +8,8 @@ "gatsby": "next", "gatsby-plugin-netlify": "next", "gatsby-plugin-typography": "next", - "react": "^16.3.1", - "react-dom": "^16.3.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-transition-group": "^2.9.0", "react-typography": "^0.16.19", "typography": "^0.16.19", @@ -25,4 +25,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/feed/package.json b/examples/feed/package.json index f8eae290e622a..4406f337639e6 100644 --- a/examples/feed/package.json +++ b/examples/feed/package.json @@ -9,8 +9,8 @@ "gatsby-plugin-feed": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-remark": "next", - "react": "^16.4.1", - "react-dom": "^16.4.1" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -22,4 +22,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/gatsbygram/package.json b/examples/gatsbygram/package.json index edf5e6285abcd..0af16fab6a5b4 100644 --- a/examples/gatsbygram/package.json +++ b/examples/gatsbygram/package.json @@ -25,8 +25,8 @@ "mousetrap": "^1.6.5", "progress": "^2.0.3", "prop-types": "^15.7.2", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-gravatar": "^2.6.3", "react-icons": "^2.2.7", "react-modal": "^3.11.2", @@ -57,4 +57,4 @@ "gatsby-cypress": "^0.4.10", "start-server-and-test": "^1.11.3" } -} +} \ No newline at end of file diff --git a/examples/hn/package.json b/examples/hn/package.json index 1bcf0d5993b9a..e988b23e51fec 100644 --- a/examples/hn/package.json +++ b/examples/hn/package.json @@ -11,8 +11,8 @@ "gatsby-plugin-manifest": "next", "gatsby-source-hacker-news": "next", "lodash": "^4.17.20", - "react": "^16.3.1", - "react-dom": "^16.3.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "slash": "^2.0.0" }, "keywords": [ @@ -25,4 +25,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/image-processing/package.json b/examples/image-processing/package.json index d08ab261f4726..5e4cfce4cb66c 100644 --- a/examples/image-processing/package.json +++ b/examples/image-processing/package.json @@ -14,8 +14,8 @@ "gatsby-source-drupal": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-sharp": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "typography": "^0.16.19", "typography-theme-bootstrap": "^0.16.19" @@ -31,4 +31,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/no-trailing-slashes/package.json b/examples/no-trailing-slashes/package.json index 1bedc0537f7de..51245d4edd019 100644 --- a/examples/no-trailing-slashes/package.json +++ b/examples/no-trailing-slashes/package.json @@ -9,8 +9,8 @@ "gatsby-plugin-google-analytics": "next", "gatsby-plugin-offline": "next", "lodash": "^4.17.20", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "slash": "^1.0.0" }, "keywords": [ @@ -23,4 +23,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/recipe-static-image/package.json b/examples/recipe-static-image/package.json index b7852dc600306..00588441716ae 100644 --- a/examples/recipe-static-image/package.json +++ b/examples/recipe-static-image/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "gatsby": "next", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "prettier": "2.1.1" @@ -27,4 +27,4 @@ "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } -} +} \ No newline at end of file diff --git a/examples/recipe-webpack-image/package.json b/examples/recipe-webpack-image/package.json index 72fd0226e9b5b..79f490361f906 100644 --- a/examples/recipe-webpack-image/package.json +++ b/examples/recipe-webpack-image/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "gatsby": "next", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "prettier": "2.1.1" @@ -27,4 +27,4 @@ "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } -} +} \ No newline at end of file diff --git a/examples/recipes-gatsby-image/package.json b/examples/recipes-gatsby-image/package.json index b1b39cdd04607..548b0ae5db608 100644 --- a/examples/recipes-gatsby-image/package.json +++ b/examples/recipes-gatsby-image/package.json @@ -17,8 +17,8 @@ "gatsby-source-filesystem": "next", "gatsby-transformer-sharp": "next", "prop-types": "^15.7.2", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "devDependencies": { @@ -43,4 +43,4 @@ "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } -} +} \ No newline at end of file diff --git a/examples/route-api/package.json b/examples/route-api/package.json index 1370981d4d548..eb03b77b18e4d 100644 --- a/examples/route-api/package.json +++ b/examples/route-api/package.json @@ -9,8 +9,8 @@ "gatsby-source-filesystem": "next", "gatsby-transformer-remark": "next", "gatsby-transformer-yaml": "next", - "react": "^16.3.1", - "react-dom": "^16.3.1" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -22,4 +22,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/simple-auth/package.json b/examples/simple-auth/package.json index 4ef4928e355ad..4be691afd84a0 100644 --- a/examples/simple-auth/package.json +++ b/examples/simple-auth/package.json @@ -7,8 +7,8 @@ "gatsby": "next", "gatsby-plugin-react-helmet": "next", "prop-types": "^15.7.2", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -22,4 +22,4 @@ "start": "npm run develop", "test": "echo \"Error: no test specified\" && exit 1" } -} +} \ No newline at end of file diff --git a/examples/sitemap/package.json b/examples/sitemap/package.json index 4ba9d113eea20..c2a7de1618433 100644 --- a/examples/sitemap/package.json +++ b/examples/sitemap/package.json @@ -10,8 +10,8 @@ "gatsby-plugin-sitemap": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-remark": "next", - "react": "^16.3.2", - "react-dom": "^16.3.2" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -23,4 +23,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/styleguide/package.json b/examples/styleguide/package.json index 12037f185fd17..f3ba1b5b33e5b 100644 --- a/examples/styleguide/package.json +++ b/examples/styleguide/package.json @@ -11,8 +11,8 @@ "gatsby-transformer-remark": "next", "glamor": "^2.20.40", "html-to-react": "^1.4.3", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-live": "^2.2.2" }, "keywords": [ @@ -25,4 +25,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-asciidoc/package.json b/examples/using-asciidoc/package.json index 333a47eef580f..91b76f81e922f 100644 --- a/examples/using-asciidoc/package.json +++ b/examples/using-asciidoc/package.json @@ -13,8 +13,8 @@ "gatsby-source-filesystem": "next", "gatsby-transformer-asciidoc": "next", "lodash": "^4.17.20", - "react": "^16.3.1", - "react-dom": "^16.3.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "slash": "^1.0.0", "typography": "^0.16.19", @@ -30,4 +30,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-contentful/package.json b/examples/using-contentful/package.json index 08617916457f1..100e96239d338 100644 --- a/examples/using-contentful/package.json +++ b/examples/using-contentful/package.json @@ -14,8 +14,8 @@ "gatsby-source-contentful": "next", "gatsby-transformer-remark": "next", "lodash": "^4.17.20", - "react": "^16.3.1", - "react-dom": "^16.3.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "slash": "^2.0.0", "typography": "^0.16.19", @@ -34,4 +34,4 @@ "build": "gatsby build", "start": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-css-modules/package.json b/examples/using-css-modules/package.json index 0790bb9227099..a2ee66a52d217 100644 --- a/examples/using-css-modules/package.json +++ b/examples/using-css-modules/package.json @@ -7,8 +7,8 @@ "gatsby": "next", "gatsby-plugin-sass": "next", "node-sass": "^4.14.1", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "main": "n/a", @@ -17,4 +17,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-csv/package.json b/examples/using-csv/package.json index 00eee26ab52f7..e779f47ba4d20 100644 --- a/examples/using-csv/package.json +++ b/examples/using-csv/package.json @@ -8,8 +8,8 @@ "gatsby-plugin-google-analytics": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-csv": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -21,4 +21,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-drupal/package.json b/examples/using-drupal/package.json index d10c82772cb78..cd1d9b3286a31 100644 --- a/examples/using-drupal/package.json +++ b/examples/using-drupal/package.json @@ -17,8 +17,8 @@ "glamor": "^2.20.40", "gray-percentage": "^2.0.0", "lodash": "^4.17.20", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-icons": "^2.2.7", "react-typography": "^0.16.19", "slash": "^1.0.0", @@ -38,4 +38,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-emotion-prismjs/package.json b/examples/using-emotion-prismjs/package.json index aa6aef76c722b..72fad54c1983a 100644 --- a/examples/using-emotion-prismjs/package.json +++ b/examples/using-emotion-prismjs/package.json @@ -25,8 +25,8 @@ "lodash": "^4.17.20", "prismjs": "^1.21.0", "prop-types": "^15.7.2", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-typography": "^0.16.19", "typography": "^0.16.19", @@ -34,4 +34,4 @@ }, "author": "Andrew Wyatt ", "license": "MIT" -} +} \ No newline at end of file diff --git a/examples/using-emotion/package.json b/examples/using-emotion/package.json index 4211062a6b6cc..7711f499d764e 100644 --- a/examples/using-emotion/package.json +++ b/examples/using-emotion/package.json @@ -13,8 +13,8 @@ "gatsby-plugin-google-analytics": "next", "gatsby-plugin-offline": "next", "gatsby-plugin-react-helmet": "next", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "license": "MIT", @@ -25,4 +25,4 @@ "serve": "gatsby serve", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-excel/package.json b/examples/using-excel/package.json index db141885aa584..7f5c2db1cc16f 100644 --- a/examples/using-excel/package.json +++ b/examples/using-excel/package.json @@ -7,8 +7,8 @@ "gatsby": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-excel": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "main": "n/a", @@ -17,4 +17,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-faker/package.json b/examples/using-faker/package.json index 4fde736c8af2a..49fc69b3ec5be 100644 --- a/examples/using-faker/package.json +++ b/examples/using-faker/package.json @@ -8,8 +8,8 @@ "gatsby": "next", "gatsby-plugin-react-helmet": "next", "gatsby-source-faker": "next", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -24,4 +24,4 @@ "start": "npm run develop", "test": "echo \"Error: no test specified\" && exit 1" } -} +} \ No newline at end of file diff --git a/examples/using-gatsby-image/package.json b/examples/using-gatsby-image/package.json index 0967ab6c46a1e..ce72765499909 100644 --- a/examples/using-gatsby-image/package.json +++ b/examples/using-gatsby-image/package.json @@ -17,8 +17,8 @@ "gatsby-transformer-sharp": "next", "gatsby-transformer-yaml": "next", "numeral": "^2.0.6", - "react": "^16.6.0", - "react-dom": "^16.6.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-icons": "^3.11.0", "react-typography": "^0.16.19", "typeface-oswald": "0.0.75", @@ -32,4 +32,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-gatsby-without-graphql/package.json b/examples/using-gatsby-without-graphql/package.json index f43276962c5fd..c33a096a10c18 100755 --- a/examples/using-gatsby-without-graphql/package.json +++ b/examples/using-gatsby-without-graphql/package.json @@ -11,10 +11,10 @@ "dependencies": { "axios": "^0.20.0", "gatsby": "next", - "react": "^16.5.1", - "react-dom": "^16.5.1" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "version": "1.0.0", "main": "index.js", "author": "Jason Lengstorf " -} +} \ No newline at end of file diff --git a/examples/using-glamor/package.json b/examples/using-glamor/package.json index f771fe40e7746..211d5640e05db 100644 --- a/examples/using-glamor/package.json +++ b/examples/using-glamor/package.json @@ -12,8 +12,8 @@ "gatsby-plugin-typography": "next", "glamor": "^2.20.40", "lodash": "^4.17.20", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "slash": "^1.0.0", "typography": "^0.16.19", @@ -29,4 +29,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-hjson/package.json b/examples/using-hjson/package.json index b1f00e274e005..f3d2d1b3df841 100644 --- a/examples/using-hjson/package.json +++ b/examples/using-hjson/package.json @@ -8,8 +8,8 @@ "gatsby": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-hjson": "next", - "react": "^16.3.2", - "react-dom": "^16.3.2" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "main": "n/a", @@ -18,4 +18,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-jest/package.json b/examples/using-jest/package.json index 70425add03467..78d2a21f429aa 100644 --- a/examples/using-jest/package.json +++ b/examples/using-jest/package.json @@ -12,8 +12,8 @@ "gatsby-plugin-sharp": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-sharp": "next", - "react": "^16.7.0", - "react-dom": "^16.7.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -41,4 +41,4 @@ "type": "git", "url": "https://github.com/gatsbyjs/gatsby" } -} +} \ No newline at end of file diff --git a/examples/using-js-search/package.json b/examples/using-js-search/package.json index 408cddd370927..d32d3018faafd 100644 --- a/examples/using-js-search/package.json +++ b/examples/using-js-search/package.json @@ -20,7 +20,7 @@ "axios": "^0.20.0", "gatsby": "next", "js-search": "^1.4.3", - "react": "^16.5.1", - "react-dom": "^16.5.1" + "react": "^16.9.0", + "react-dom": "^16.9.0" } -} +} \ No newline at end of file diff --git a/examples/using-jss/package.json b/examples/using-jss/package.json index f051ba205e2ee..d20a72fe205d4 100644 --- a/examples/using-jss/package.json +++ b/examples/using-jss/package.json @@ -8,8 +8,8 @@ "gatsby": "next", "gatsby-plugin-flow": "next", "gatsby-plugin-jss": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-jss": "^8.6.1" }, "keywords": [ @@ -23,4 +23,4 @@ "start": "npm run develop", "serve": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-local-plugins/package.json b/examples/using-local-plugins/package.json index f43276962c5fd..c33a096a10c18 100755 --- a/examples/using-local-plugins/package.json +++ b/examples/using-local-plugins/package.json @@ -11,10 +11,10 @@ "dependencies": { "axios": "^0.20.0", "gatsby": "next", - "react": "^16.5.1", - "react-dom": "^16.5.1" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "version": "1.0.0", "main": "index.js", "author": "Jason Lengstorf " -} +} \ No newline at end of file diff --git a/examples/using-markdown-pages/package.json b/examples/using-markdown-pages/package.json index c3b40bba91817..c691d1d310fbc 100644 --- a/examples/using-markdown-pages/package.json +++ b/examples/using-markdown-pages/package.json @@ -15,8 +15,8 @@ "gatsby-transformer-remark": "next", "gatsby-transformer-sharp": "next", "prop-types": "^15.7.2", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "devDependencies": { @@ -34,4 +34,4 @@ "serve": "gatsby serve", "test": "echo \"Write tests! -> https://gatsby.dev/unit-testing \"" } -} +} \ No newline at end of file diff --git a/examples/using-medium/package.json b/examples/using-medium/package.json index d2a58d1c0948e..a384ffba568b4 100644 --- a/examples/using-medium/package.json +++ b/examples/using-medium/package.json @@ -9,8 +9,8 @@ "dependencies": { "gatsby": "next", "gatsby-source-medium": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -20,4 +20,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-mongodb/package.json b/examples/using-mongodb/package.json index 7437d440fe4ff..314e7a359af33 100644 --- a/examples/using-mongodb/package.json +++ b/examples/using-mongodb/package.json @@ -8,8 +8,8 @@ "gatsby-plugin-react-helmet": "next", "gatsby-source-mongodb": "next", "gatsby-transformer-remark": "next", - "react": "^16.4.1", - "react-dom": "^16.4.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "license": "MIT", @@ -19,4 +19,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-multiple-providers/package.json b/examples/using-multiple-providers/package.json index d368a6630dc9b..7ebab3c4a3617 100644 --- a/examples/using-multiple-providers/package.json +++ b/examples/using-multiple-providers/package.json @@ -11,9 +11,9 @@ "gatsby-plugin-jss": "next", "gatsby-plugin-styled-components": "next", "isomorphic-fetch": "^2.2.1", - "react": "^16.4.0", + "react": "^16.9.0", "react-apollo": "^2.5.8", - "react-dom": "^16.4.0", + "react-dom": "^16.9.0", "react-jss": "^8.6.1", "react-redux": "^5.1.2", "redux": "^4.0.5", @@ -30,4 +30,4 @@ "start": "npm run develop", "serve": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-page-loading-indicator/package.json b/examples/using-page-loading-indicator/package.json index 7763ae160df90..bc338bebf270f 100644 --- a/examples/using-page-loading-indicator/package.json +++ b/examples/using-page-loading-indicator/package.json @@ -6,8 +6,8 @@ "dependencies": { "gatsby": "next", "gatsby-plugin-nprogress": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "license": "MIT", "main": "n/a", @@ -16,4 +16,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-page-transitions/package.json b/examples/using-page-transitions/package.json index b08aff7c1aa7b..268c4fe7c9e86 100644 --- a/examples/using-page-transitions/package.json +++ b/examples/using-page-transitions/package.json @@ -7,8 +7,8 @@ "gatsby": "next", "gatsby-plugin-layout": "next", "gatsby-plugin-react-helmet": "next", - "react": "^16.4.1", - "react-dom": "^16.4.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-transition-group": "^2.9.0" }, @@ -24,4 +24,4 @@ "start": "npm run develop", "test": "echo \"Error: no test specified\" && exit 1" } -} +} \ No newline at end of file diff --git a/examples/using-path-prefix/package.json b/examples/using-path-prefix/package.json index c96f2c2e27a57..1127275700b9d 100644 --- a/examples/using-path-prefix/package.json +++ b/examples/using-path-prefix/package.json @@ -5,8 +5,8 @@ "author": "Kyle Mathews <mathews.kyle@gmail.com>", "dependencies": { "gatsby": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -19,4 +19,4 @@ "start": "npm run develop", "serve": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-prefetching-preloading-modules/package.json b/examples/using-prefetching-preloading-modules/package.json index 7514a2ebed3cb..e1aad31b0c2b0 100644 --- a/examples/using-prefetching-preloading-modules/package.json +++ b/examples/using-prefetching-preloading-modules/package.json @@ -12,8 +12,8 @@ "gatsby-plugin-styled-components": "next", "gatsby-plugin-typography": "next", "lodash": "^4.17.20", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-typography": "^0.16.19", "slash": "^1.0.0", @@ -31,4 +31,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-reach-skip-nav/package.json b/examples/using-reach-skip-nav/package.json index 07d30f676c828..6a5f68b91a7b0 100644 --- a/examples/using-reach-skip-nav/package.json +++ b/examples/using-reach-skip-nav/package.json @@ -11,8 +11,8 @@ "gatsby-plugin-react-helmet": "next", "gatsby-source-filesystem": "next", "lodash": "^4.17.20", - "react": "^16.3.1", - "react-dom": "^16.3.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -34,4 +34,4 @@ "cypress": "^4.12.1", "start-server-and-test": "^1.11.3" } -} +} \ No newline at end of file diff --git a/examples/using-redirects/package.json b/examples/using-redirects/package.json index d31cfe93ad31a..5607a7d1806a6 100644 --- a/examples/using-redirects/package.json +++ b/examples/using-redirects/package.json @@ -6,8 +6,8 @@ "dependencies": { "gatsby": "next", "gatsby-plugin-react-helmet": "next", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -20,4 +20,4 @@ "develop": "gatsby develop", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-redux/package.json b/examples/using-redux/package.json index d16188437ae6e..82e0774eaa6c2 100644 --- a/examples/using-redux/package.json +++ b/examples/using-redux/package.json @@ -6,8 +6,8 @@ "author": "Scotty Eckenthal ", "dependencies": { "gatsby": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-redux": "5.1.2", "redux": "3.7.2" }, @@ -22,4 +22,4 @@ "start": "npm run develop", "serve": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-remark-copy-linked-files/package.json b/examples/using-remark-copy-linked-files/package.json index 0a99208b368f5..caef29868e038 100644 --- a/examples/using-remark-copy-linked-files/package.json +++ b/examples/using-remark-copy-linked-files/package.json @@ -20,8 +20,8 @@ "gatsby-transformer-sharp": "next", "lodash": "^4.17.20", "prismjs": "^1.21.0", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-typography": "^0.16.19", "typeface-merriweather": "0.0.72", @@ -47,4 +47,4 @@ "deploy": "gatsby build --prefix-paths && gh-pages -d public", "fix-semi": "eslint --quiet --ignore-pattern node_modules --ignore-pattern public --parser babel-eslint --no-eslintrc --rule '{\"semi\": [2, \"never\"], \"no-extra-semi\": [2]}' --fix gatsby-node.js" } -} +} \ No newline at end of file diff --git a/examples/using-remark/package.json b/examples/using-remark/package.json index 52e9dcbfdb9b7..0b83caad0dc33 100644 --- a/examples/using-remark/package.json +++ b/examples/using-remark/package.json @@ -33,8 +33,8 @@ "lodash-id": "^0.14.0", "lodash-webpack-plugin": "^0.11.5", "prismjs": "^1.21.0", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "rehype-react": "^3.1.0", "slash": "^2.0.0", @@ -50,4 +50,4 @@ "start": "npm run develop", "serve": "gatsby serve" } -} +} \ No newline at end of file diff --git a/examples/using-sass/package.json b/examples/using-sass/package.json index d6aa9a0903636..ebf9e5630f646 100644 --- a/examples/using-sass/package.json +++ b/examples/using-sass/package.json @@ -16,8 +16,8 @@ "gatsby-plugin-offline": "next", "gatsby-plugin-sass": "next", "node-sass": "^4.14.1", - "react": "^16.3.0", - "react-dom": "^16.3.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "tachyons-sass": "^4.9.5" } -} +} \ No newline at end of file diff --git a/examples/using-shopify/package.json b/examples/using-shopify/package.json index 127f01e17d004..4179c4dbed6e7 100644 --- a/examples/using-shopify/package.json +++ b/examples/using-shopify/package.json @@ -15,8 +15,8 @@ "gatsby-source-shopify": "next", "gatsby-transformer-sharp": "next", "prop-types": "^15.7.2", - "react": "^16.8.1", - "react-dom": "^16.8.1", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-icons": "^3.11.0" }, @@ -42,4 +42,4 @@ "dotenv": "^6.2.0", "limax": "^1.7.0" } -} +} \ No newline at end of file diff --git a/examples/using-sqip/package.json b/examples/using-sqip/package.json index ca80a538be94d..56d7a1eaa4ca1 100644 --- a/examples/using-sqip/package.json +++ b/examples/using-sqip/package.json @@ -10,8 +10,8 @@ "gatsby-source-filesystem": "next", "gatsby-transformer-sharp": "next", "gatsby-transformer-sqip": "next", - "react": "^16.4.2", - "react-dom": "^16.4.2" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -27,4 +27,4 @@ "devDependencies": { "prettier": "2.1.1" } -} +} \ No newline at end of file diff --git a/examples/using-styled-jsx/package.json b/examples/using-styled-jsx/package.json index 4879f02d102ca..4608dae7b245f 100644 --- a/examples/using-styled-jsx/package.json +++ b/examples/using-styled-jsx/package.json @@ -6,8 +6,8 @@ "dependencies": { "gatsby": "next", "gatsby-plugin-styled-jsx": "next", - "react": "^16.2.0", - "react-dom": "^16.2.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "styled-jsx": "^3.3.0" }, "license": "MIT", @@ -17,4 +17,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-styletron/package.json b/examples/using-styletron/package.json index 0de959112c13d..dd4389620c11c 100644 --- a/examples/using-styletron/package.json +++ b/examples/using-styletron/package.json @@ -7,8 +7,8 @@ "dependencies": { "gatsby": "next", "gatsby-plugin-styletron": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -20,4 +20,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-stylus/package.json b/examples/using-stylus/package.json index d97fb53b4d3b2..b12c94b240895 100644 --- a/examples/using-stylus/package.json +++ b/examples/using-stylus/package.json @@ -16,9 +16,9 @@ "gatsby-plugin-offline": "next", "gatsby-plugin-stylus": "next", "gatsby-plugin-typography": "next", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-typography": "^0.16.19", "typography": "^0.16.19" } -} +} \ No newline at end of file diff --git a/examples/using-type-definitions/package.json b/examples/using-type-definitions/package.json index 922f46d3e4300..7080bf5aaf62d 100644 --- a/examples/using-type-definitions/package.json +++ b/examples/using-type-definitions/package.json @@ -11,8 +11,8 @@ "gatsby-transformer-json": "next", "gatsby-transformer-sharp": "next", "prop-types": "^15.7.2", - "react": "^16.6.3", - "react-dom": "^16.6.3", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1" }, "keywords": [ @@ -36,4 +36,4 @@ "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" } -} +} \ No newline at end of file diff --git a/examples/using-video/package.json b/examples/using-video/package.json index b6e45c5414a4f..fd9a5e0a8d0de 100644 --- a/examples/using-video/package.json +++ b/examples/using-video/package.json @@ -9,8 +9,8 @@ "dependencies": { "file-loader": "^4.3.0", "gatsby": "next", - "react": "^16.4.0", - "react-dom": "^16.4.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "keywords": [ "gatsby" @@ -20,4 +20,4 @@ "build": "gatsby build", "start": "npm run develop" } -} +} \ No newline at end of file diff --git a/examples/using-wordpress-with-acf/package.json b/examples/using-wordpress-with-acf/package.json index 610ac9371e8a6..cd238f9ed4b51 100644 --- a/examples/using-wordpress-with-acf/package.json +++ b/examples/using-wordpress-with-acf/package.json @@ -16,8 +16,8 @@ "gatsby-transformer-sharp": "next", "glamor": "^2.20.40", "lodash": "^4.17.20", - "react": "^16.3.2", - "react-dom": "^16.3.2", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.1", "react-icons": "^3.11.0", "react-typography": "^0.16.19", @@ -41,4 +41,4 @@ "devDependencies": { "eslint": "^4.19.1" } -} +} \ No newline at end of file diff --git a/integration-tests/cache-resilience/package.json b/integration-tests/cache-resilience/package.json index 7fa54b641c8e8..5e27ea3122f3a 100644 --- a/integration-tests/cache-resilience/package.json +++ b/integration-tests/cache-resilience/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "gatsby": "^3.0.0-next.0", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "gatsby-core-utils": "^1.0.21", @@ -27,4 +27,4 @@ "slash": "^3.0.0", "snapshot-diff": "^0.6.1" } -} +} \ No newline at end of file diff --git a/integration-tests/gatsby-pipeline/package.json b/integration-tests/gatsby-pipeline/package.json index 3d6cefacdcb88..d94482feb5dd5 100644 --- a/integration-tests/gatsby-pipeline/package.json +++ b/integration-tests/gatsby-pipeline/package.json @@ -11,8 +11,8 @@ "gatsby-source-filesystem": "latest", "gatsby-transformer-sharp": "latest", "prop-types": "^15.6.2", - "react": "^16.7.0", - "react-dom": "^16.7.0", + "react": "^16.9.0", + "react-dom": "^16.9.0", "react-helmet": "^5.2.0" }, "keywords": [ @@ -38,4 +38,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/integration-tests/images/package.json b/integration-tests/images/package.json index 56e5db3f8d6e7..120c9fa69828e 100644 --- a/integration-tests/images/package.json +++ b/integration-tests/images/package.json @@ -15,12 +15,12 @@ "gatsby-plugin-sharp": "next", "gatsby-source-filesystem": "next", "gatsby-transformer-sharp": "next", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "jest": "^24.0.0", "jest-cli": "^24.0.0", "pixelmatch": "^5.2.1" } -} +} \ No newline at end of file diff --git a/integration-tests/long-term-caching/package.json b/integration-tests/long-term-caching/package.json index 90b025d7ba471..ac6ce781196e3 100644 --- a/integration-tests/long-term-caching/package.json +++ b/integration-tests/long-term-caching/package.json @@ -11,12 +11,12 @@ "dependencies": { "gatsby": "^3.0.0-next.0", "gray-percentage": "^2.0.0", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "babel-plugin-dynamic-import-node-sync": "^2.0.1", "jest": "^24.0.0", "jest-cli": "^24.0.0" } -} +} \ No newline at end of file diff --git a/integration-tests/structured-logging/package.json b/integration-tests/structured-logging/package.json index 711b27966e959..ba9d25953f7a8 100644 --- a/integration-tests/structured-logging/package.json +++ b/integration-tests/structured-logging/package.json @@ -12,8 +12,8 @@ "dependencies": { "gatsby": "^3.0.0-next.0", "gray-percentage": "^2.0.0", - "react": "^16.8.0", - "react-dom": "^16.8.0" + "react": "^16.9.0", + "react-dom": "^16.9.0" }, "devDependencies": { "babel-plugin-dynamic-import-node-sync": "^2.0.1", @@ -24,4 +24,4 @@ "lodash": "^4.17.20", "node-fetch": "^2.6.1" } -} +} \ No newline at end of file diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 5a9c3f8002321..7f927c5191f40 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -64,7 +64,7 @@ "ink": "^3.0.8", "ink-spinner": "^4.0.1", "npm-run-all": "4.1.5", - "react": "^16.8.0", + "react": "^16.9.0", "rimraf": "^3.0.2", "rollup": "^2.34.2", "rollup-plugin-auto-external": "^2.0.0", @@ -101,4 +101,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index 2ccc2889ed5fd..4f8dffc2efa05 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -20,8 +20,8 @@ }, "peerDependencies": { "@reach/router": "^1.3.3", - "react": "^16.4.2 || ^17.0.0", - "react-dom": "^16.4.2 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme", "keywords": [ @@ -43,4 +43,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index c5e6f90b6bfa3..a122b6eb149a6 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -27,7 +27,9 @@ "main": "index.js", "peerDependencies": { "cxs": ">=5.0.0", - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -42,4 +44,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 05372186e360b..5d138890fc9f0 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -32,7 +32,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -47,4 +49,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index 19b4f7c377189..c5079e6d7e8f1 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -33,9 +33,11 @@ "cross-env": "^7.0.3" }, "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index a65ce5a73e141..582aa71dd1049 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -26,7 +26,9 @@ "main": "index.js", "peerDependencies": { "gatsby": "^3.0.0-next.0", - "glamor": "^2.20.29" + "glamor": "^2.20.29", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -41,4 +43,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index c063cb8119965..4ed164456e0d7 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -27,8 +27,8 @@ "main": "index.js", "peerDependencies": { "gatsby": "^3.0.0-next.0", - "react": "^16.4.2 || ^17.0.0", - "react-dom": "^16.4.2 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -44,4 +44,4 @@ "node": ">=12.13.0" }, "types": "./index.d.ts" -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index 0836bb26172f8..28f01948c8c01 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -26,7 +26,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -41,4 +43,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index bc7a3d2c8eac2..88a80b0a995b6 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -26,7 +26,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -41,4 +43,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index 2bb844c8ae50d..6730eaf09a2ee 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -68,8 +68,8 @@ "gatsby-image": "*", "gatsby-plugin-sharp": "*", "gatsby-source-filesystem": "*", - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "dependencies": { "@babel/parser": "^7.12.5", @@ -91,4 +91,4 @@ }, "author": "Matt Kane ", "license": "MIT" -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 86dad24382b0c..a7933686ab8d7 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -25,7 +25,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -40,4 +42,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index dfffe8d02f452..5e0daed1323e6 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -15,7 +15,9 @@ }, "peerDependencies": { "@mdx-js/mdx": "^1.0.0", - "@mdx-js/react": "^1.0.0" + "@mdx-js/react": "^1.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "dependencies": { "@babel/core": "^7.12.3", @@ -76,4 +78,4 @@ "rehype" ], "types": "index.d.ts" -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index d9e633265d7c2..941305b0e690a 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -37,8 +37,8 @@ "peerDependencies": { "gatsby": "^3.0.0-next.0", "netlify-cms-app": "^2.9.0", - "react": "^16.8.4 || ^17.0.0", - "react-dom": "^16.8.4 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -53,4 +53,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 137ee516993fd..ebce62cbc49bc 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -35,7 +35,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -52,4 +54,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 69d612aae6bf5..34140e3fed2b2 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -27,7 +27,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -42,4 +44,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index b3d423391c2a2..373ee52a19d18 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -26,6 +26,8 @@ "peerDependencies": { "babel-plugin-styled-components": ">1.5.0", "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0", "styled-components": ">=2.0.0" }, "repository": { @@ -41,4 +43,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index bdaba6d0e7ebf..39cc65c781d44 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -23,7 +23,7 @@ "main": "index.js", "peerDependencies": { "gatsby": "^3.0.0-next.0", - "react": "^16.4.2 || ^17.0.0", + "react": "^16.9.0 || ^17.0.0", "styletron-engine-atomic": "^1.4.6", "styletron-react": "^5.2.7" }, @@ -40,4 +40,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index 63a8758165c9b..6cbe0936b63ad 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -30,8 +30,8 @@ "main": "index.js", "peerDependencies": { "gatsby": "^3.0.0-next.0", - "react": "^16.4.2 || ^17.0.0", - "react-dom": "^16.4.2 || ^17.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0", "react-typography": "^0.16.1 || ^1.0.0-alpha.0", "typography": "^0.16.0 || ^1.0.0-alpha.0" }, @@ -48,4 +48,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 06e3538d90c0d..add01f4b0fb45 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -25,8 +25,8 @@ "main": "index.js", "peerDependencies": { "@reach/router": "^1.0.0", - "react": "^16.4.2 || ^17.0.0", - "react-dom": "^16.4.2 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -41,4 +41,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index 6f707f49ac0c0..c49924db0435b 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -29,7 +29,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { - "gatsby": "^3.0.0-next.0" + "gatsby": "^3.0.0-next.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -44,4 +46,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index 7356f0be05108..7c4c5ff7b50b0 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -46,4 +46,4 @@ "engines": { "node": ">=12.13.0" } -} +} \ No newline at end of file diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 476c9d368062a..aae2e15c56f61 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -229,8 +229,8 @@ "main": "cache-dir/commonjs/gatsby-browser-entry.js", "module": "cache-dir/gatsby-browser-entry.js", "peerDependencies": { - "react": "^16.4.2 || ^17.0.0", - "react-dom": "^16.4.2 || ^17.0.0" + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "repository": { "type": "git", @@ -262,4 +262,4 @@ "yargs": { "boolean-negation": false } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 4d3489d26c544..511928e7cc0a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22193,7 +22193,7 @@ react-typography@^0.16.19: resolved "https://registry.yarnpkg.com/react-typography/-/react-typography-0.16.19.tgz#5736b47961dcf6b9605b6fa38d41980db2588e28" integrity sha512-kV2qLEsdm0x9P4YXQEDVc88tDb4Vg0h/vdVZGgbqaRn8ERvNzV76JHUeOby3vvcUYU5MPd5Kz5DPH9Bhp4I/iw== -react@^16.12.0, react@^16.8.0: +react@^16.12.0: version "16.12.0" resolved "https://registry.yarnpkg.com/react/-/react-16.12.0.tgz#0c0a9c6a142429e3614834d5a778e18aa78a0b83" integrity sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA== @@ -22202,6 +22202,15 @@ react@^16.12.0, react@^16.8.0: object-assign "^4.1.1" prop-types "^15.6.2" +react@^16.9.0: + version "16.14.0" + resolved "https://registry.yarnpkg.com/react/-/react-16.14.0.tgz#94d776ddd0aaa37da3eda8fc5b6b18a4c9a3114d" + integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.2" + read-chunk@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/read-chunk/-/read-chunk-3.2.0.tgz#2984afe78ca9bfbbdb74b19387bf9e86289c16ca"