diff --git a/app/Http/View/Composers/FootComposer.php b/app/Http/View/Composers/FootComposer.php index 9fc26954..2b0fbbdb 100644 --- a/app/Http/View/Composers/FootComposer.php +++ b/app/Http/View/Composers/FootComposer.php @@ -58,13 +58,13 @@ class FootComposer ]; } elseif (!$this->request->is('/')) { $scripts[] = [ - 'src' => 'https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js', - 'integrity' => 'sha256-yUhvEmYVhZ/GGshIQKArLvySDSh6cdmdcIx0spR3UP4=', + 'src' => 'https://cdn.jsdelivr.net/npm/react@17.0.1/umd/react.production.min.js', + 'integrity' => 'sha256-Ag0WTc8xFszCJo1qbkTKp3wBMdjpjogsZDAhnSge744=', 'crossorigin' => 'anonymous', ]; $scripts[] = [ - 'src' => 'https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js', - 'integrity' => 'sha256-vFt3l+illeNlwThbDUdoPTqF81M8WNSZZZt3HEjsbSU=', + 'src' => 'https://cdn.jsdelivr.net/npm/react-dom@17.0.1/umd/react-dom.production.min.js', + 'integrity' => 'sha256-k8tzaSH8ucPwbsHEO4Wk5szE9zERNVz3XQynfyT66O0=', 'crossorigin' => 'anonymous', ]; } diff --git a/package.json b/package.json index f14d9a89..44131559 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dependencies": { "@emotion/core": "^10.0.28", "@emotion/styled": "^10.0.27", - "@hot-loader/react-dom": "^16.13.0", + "@hot-loader/react-dom": "^17.0.0", "@tweenjs/tween.js": "^18.5.0", "blessing-skin-shell": "^0.3.1", "cli-spinners": "^2.3.0", @@ -31,9 +31,9 @@ "immer": "^7.0.4", "lodash.debounce": "^4.0.8", "nanoid": "^3.1.9", - "react": "^16.13.0", + "react": "^17.0.1", "react-autosuggest": "^10.0.2", - "react-dom": "^16.13.0", + "react-dom": "^17.0.1", "react-draggable": "^4.4.2", "react-hot-loader": "^4.12.21", "react-loading-skeleton": "^2.1.1", diff --git a/yarn.lock b/yarn.lock index db06981f..67620cac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -623,15 +623,14 @@ resolved "https://registry.yarnpkg.com/@gplane/tsconfig/-/tsconfig-1.1.0.tgz#81b98eea24463ce3e4acaf4f7d1b473873f45013" integrity sha512-GOwmz1L5R5/CwoN1vtu+R9UjNawAXcKEhyw6Osk5jvy57Mvkudh5+9KDOIYd16Sqg69L4tqymrQ1eZEaeOnHvw== -"@hot-loader/react-dom@^16.13.0": - version "16.13.0" - resolved "https://registry.yarnpkg.com/@hot-loader/react-dom/-/react-dom-16.13.0.tgz#de245b42358110baf80aaf47a0592153d4047997" - integrity sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ== +"@hot-loader/react-dom@^17.0.0": + version "17.0.0" + resolved "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-17.0.0.tgz#1caa41d16006833717a8443d47e8677a9610dc7c" + integrity sha512-Po7ZIrs31ruikciz6bdUM2SNbz+I0ghIVFU+T5Gg9PBm05jn1lzKKysb2XGf4ZG/5og2nbqm4olUZw/lXEE3jg== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.0" + scheduler "^0.20.0" "@istanbuljs/load-nyc-config@^1.0.0": version "1.0.0" @@ -7419,7 +7418,7 @@ prompts@^2.0.1: kleur "^3.0.2" sisteransi "^1.0.0" -prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -7597,15 +7596,14 @@ react-autowhatever@^10.2.1: react-themeable "^1.1.0" section-iterator "^2.0.0" -react-dom@^16.13.0: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f" - integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag== +react-dom@^17.0.1: + version "17.0.1" + resolved "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6" + integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.19.1" + scheduler "^0.20.1" react-draggable@^4.4.2: version "4.4.2" @@ -7663,14 +7661,13 @@ react-themeable@^1.1.0: dependencies: object-assign "^3.0.0" -react@^16.13.0: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" - integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== +react@^17.0.1: + version "17.0.1" + resolved "https://registry.npmjs.org/react/-/react-17.0.1.tgz#6e0600416bd57574e3f86d92edba3d9008726127" + integrity sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" read-pkg-up@^7.0.1: version "7.0.1" @@ -8028,10 +8025,10 @@ saxes@^5.0.0: dependencies: xmlchars "^2.2.0" -scheduler@^0.19.0, scheduler@^0.19.1: - version "0.19.1" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" - integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA== +scheduler@^0.20.0, scheduler@^0.20.1: + version "0.20.1" + resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.20.1.tgz#da0b907e24026b01181ecbc75efdc7f27b5a000c" + integrity sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1"