From ac08e7587a40fbee574f01e8598a431df74a1d3e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2020 21:13:38 +0800 Subject: [PATCH] Build(deps): Bump react and react-dom in /website (#9463) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker --- netlify.toml | 2 +- website/.eslintrc.yml | 2 +- website/pages/playground/index.html | 4 ++-- website/static/service-worker.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/netlify.toml b/netlify.toml index 6d60c9340..f50fbb5fa 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build.environment] NODE_VERSION = "12" - YARN_VERSION = "1.22.4" + YARN_VERSION = "1.22.10" diff --git a/website/.eslintrc.yml b/website/.eslintrc.yml index 25c8bbb69..363839b80 100644 --- a/website/.eslintrc.yml +++ b/website/.eslintrc.yml @@ -6,7 +6,7 @@ extends: - prettier/react settings: react: - version: "16" + version: "17" rules: import/no-extraneous-dependencies: off react/display-name: off diff --git a/website/pages/playground/index.html b/website/pages/playground/index.html index b481cbe36..e59632057 100644 --- a/website/pages/playground/index.html +++ b/website/pages/playground/index.html @@ -58,8 +58,8 @@ - - + + diff --git a/website/static/service-worker.js b/website/static/service-worker.js index 68c50127c..cbea4fee8 100644 --- a/website/static/service-worker.js +++ b/website/static/service-worker.js @@ -38,8 +38,8 @@ toolbox.precache([ "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js", "https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js", - "https://cdnjs.cloudflare.com/ajax/libs/react/16.14.0/umd/react.production.min.js", - "https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.14.0/umd/react-dom.production.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/react/17.0.1/umd/react.production.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/react-dom/17.0.1/umd/react-dom.production.min.js", // Images "/prettier.png",