refactor: upgrade: react, react-dom #2329
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade multiple dependencies.
👯♂ The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
from 16.14.0 to 18.2.0
on 2022-06-14
from 16.14.0 to 18.2.0
on 2022-06-14
Release notes
Package name: react
-
18.2.0 - 2022-06-14
- Provide a component stack as a second argument to
- Fix hydrating into
- Fix false positive hydration errors with Suspense. (@ gnoff in #24480 and @ acdlite in #24532)
- Fix ignored
- Pass information about server errors to the client. (@ salazarm and @ gnoff in #24551 and #24591)
- Allow to provide a reason when aborting the HTML stream. (@ gnoff in #24680)
- Eliminate extraneous text separators in the HTML where possible. (@ gnoff in #24630)
- Disallow complex children inside
- Fix buffering in some worker environments by explicitly setting
- Add support for
-
18.2.0-next-f7b44539c-20220610 - 2022-06-10
-
18.2.0-next-e531a4a62-20220505 - 2022-05-06
-
18.2.0-next-d89657bc8-20220519 - 2022-05-19
-
18.2.0-next-d4acbe85d-20220505 - 2022-05-05
-
18.2.0-next-d300cebde-20220601 - 2022-06-03
-
18.2.0-next-d2c9e834a-20220601 - 2022-06-01
-
18.2.0-next-d20c3af9d-20220506 - 2022-05-09
-
18.2.0-next-ce1386028-20220428 - 2022-04-29
-
18.2.0-next-c7e494b55-20220503 - 2022-05-04
-
18.2.0-next-c5e039d9b-20220516 - 2022-05-16
-
18.2.0-next-be229c565-20220613 - 2022-06-14
-
18.2.0-next-aec575914-20220529 - 2022-05-31
-
18.2.0-next-a412d787e-20220518 - 2022-05-18
-
18.2.0-next-a2505792e-20220524 - 2022-05-24
-
18.2.0-next-9f80a48ad-20220427 - 2022-04-27
-
18.2.0-next-99eef9e2d-20220503 - 2022-05-03
-
18.2.0-next-82c64e1a4-20220520 - 2022-05-23
-
18.2.0-next-8186b1937-20220608 - 2022-06-09
-
18.2.0-next-7d9e17a98-20220511 - 2022-05-11
-
18.2.0-next-7a5b8227c-20220602 - 2022-06-03
-
18.2.0-next-6e2f38f3a-20220519 - 2022-05-20
-
18.2.0-next-52c434be1-20220512 - 2022-05-12
-
18.2.0-next-4ddd8b455-20220606 - 2022-06-06
-
18.2.0-next-47944142f-20220608 - 2022-06-08
-
18.2.0-next-357a61324-20220516 - 2022-05-17
-
18.2.0-next-340060ccc-20220428 - 2022-04-28
-
18.2.0-next-327e4a1f9-20220613 - 2022-06-13
-
18.2.0-next-3133dfa6e-20220526 - 2022-05-26
-
18.2.0-next-2c8a1452b-20220512 - 2022-05-13
-
18.2.0-next-2c68776ab-20220525 - 2022-05-25
-
18.1.0 - 2022-04-26
- Fix the false positive warning about
- Fix
- Fix
- Fix some transition updates being ignored. (@ acdlite in #24353)
- Fix
- Fix throttling of revealing Suspense fallbacks. (@ sunderls in #24253)
- Fix an inconsistency in whether the props object is the same between renders. (@ Andarist and @ acdlite in #24421)
- Fix a missing warning about a
- Fix a spurious hydration error. (@ gnoff in #24404)
- Warn when calling
- Ensure the reason for hydration errors is always displayed. (@ gaearon in #24276)
- Fix escaping for the
- Significantly improve performance of
- Fix false positive errors with a large number of branches. (@ scyron6 in #24287)
- Don't consider a known dependency stable when the variable is reassigned. (@ afzalsayed96 in #24343)
- Replace the implementation with the
-
18.1.0-next-fc47cb1b6-20220404 - 2022-04-04
-
18.1.0-next-f7cf077cc-20220412 - 2022-04-12
-
18.1.0-next-ebd7ff65b-20220401 - 2022-04-01
-
18.1.0-next-df5d32f23-20220411 - 2022-04-11
-
18.1.0-next-ddb1ab1e9-20220413 - 2022-04-14
-
18.1.0-next-bd4784c8f-20220425 - 2022-04-26
-
18.1.0-next-bd0813766-20220420 - 2022-04-21
-
18.1.0-next-af730436c-20220405 - 2022-04-05
-
18.1.0-next-aa05e7315-20220331 - 2022-03-31
-
18.1.0-next-726ba8029-20220415 - 2022-04-15
-
18.1.0-next-5b2e7253f-20220408 - 2022-04-08
-
18.1.0-next-354772952-20220420 - 2022-04-20
-
18.1.0-next-2bf5eba72-20220416 - 2022-04-18
-
18.1.0-next-168da8d55-20220412 - 2022-04-13
-
18.1.0-next-057915477-20220407 - 2022-04-07
-
18.1.0-next-0568c0f8c-20220409 - 2022-04-11
-
18.0.0 - 2022-03-29
-
18.0.0-rc.3-next-e7d0053e6-20220325 - 2022-03-28
-
18.0.0-rc.3-next-de516ca5a-20220321 - 2022-03-22
-
18.0.0-rc.3-next-3f8990898-20220323 - 2022-03-23
-
18.0.0-rc.3-next-1159ff619-20220324 - 2022-03-24
-
18.0.0-rc.3-next-033fe52b4-20220325 - 2022-03-25
-
18.0.0-rc.2-next-b9de50d2f-20220308 - 2022-03-09
-
18.0.0-rc.2-next-8fce11699-20220316 - 2022-03-16
-
18.0.0-rc.2-next-72a933d28-20220309 - 2022-03-10
-
18.0.0-rc.2-next-645ec5d6f-20220317 - 2022-03-18
-
18.0.0-rc.2-next-581f0c42e-20220310 - 2022-03-11
-
18.0.0-rc.2-next-577f2de46-20220320 - 2022-03-21
-
18.0.0-rc.2-next-2bf7c02f0-20220314 - 2022-03-14
-
18.0.0-rc.1-next-f468816ef-20220225 - 2022-02-28
-
18.0.0-rc.1-next-f0dd459e0-20220301 - 2022-03-02
-
18.0.0-rc.1-next-cb1e7b1c6-20220303 - 2022-03-04
-
18.0.0-rc.1-next-a59f53a60-20220308 - 2022-03-08
-
18.0.0-rc.1-next-629036a9c-20220224 - 2022-02-25
-
18.0.0-rc.1-next-17806594c-20220301 - 2022-03-01
-
18.0.0-rc.1-next-14c2be8da-20220304 - 2022-03-07
-
18.0.0-rc.1-next-05c283c3c-20220302 - 2022-03-03
-
18.0.0-rc.0-next-fe905f152-20220107 - 2022-01-08
-
18.0.0-rc.0-next-fe419346d-20220105 - 2022-01-06
-
18.0.0-rc.0-next-fa816be7f-20220128 - 2022-01-31
-
18.0.0-rc.0-next-f2a59df48-20211208 - 2021-12-08
-
18.0.0-rc.0-next-efd8f6442-20220210 - 2022-02-10
-
18.0.0-rc.0-next-e28a0db22-20220124 - 2022-01-24
-
18.0.0-rc.0-next-e12a9dfc9-20220120 - 2022-01-20
-
18.0.0-rc.0-next-d3001fb6f-20211208 - 2021-12-08
-
18.0.0-rc.0-next-ceee524a8-20211217 - 2021-12-20
-
18.0.0-rc.0-next-cd4eb116c-20220207 - 2022-02-07
-
18.0.0-rc.0-next-c09596cc6-20220112 - 2022-01-13
-
18.0.0-rc.0-next-bcd24a670-20211221 - 2021-12-22
-
18.0.0-rc.0-next-aa8f2bdbc-20211215 - 2021-12-16
-
18.0.0-rc.0-next-a3bde7974-20220208 - 2022-02-09
-
18.0.0-rc.0-next-9d4e8e84f-20220207 - 2022-02-08
-
18.0.0-rc.0-next-9a7e6bf0d-20220111 - 2022-01-12
-
18.0.0-rc.0-next-8c4cd65cf-20220224 - 2022-02-24
-
18.0.0-rc.0-next-848e802d2-20220204 - 2022-02-04
-
18.0.0-rc.0-next-811634762-20220110 - 2022-01-11
-
18.0.0-rc.0-next-79ed5e18f-20220217 - 2022-02-17
-
18.0.0-rc.0-next-790b5246f-20220118 - 2022-01-19
-
18.0.0-rc.0-next-64223fed8-20220210 - 2022-02-10
-
18.0.0-rc.0-next-575791925-20211213 - 2021-12-14
-
18.0.0-rc.0-next-5318971f5-20220202 - 2022-02-03
-
18.0.0-rc.0-next-529dc3ce8-20220124 - 2022-01-24
-
18.0.0-rc.0-next-51947a14b-20220113 - 2022-01-14
-
18.0.0-rc.0-next-4de99b3ca-20220221 - 2022-02-21
-
18.0.0-rc.0-next-42c30e8b1-20220104 - 2022-01-04
-
18.0.0-rc.0-next-419ccc2b1-20220217 - 2022-02-18
-
18.0.0-rc.0-next-3dc41d8a2-20211223 - 2021-12-24
-
18.0.0-rc.0-next-3b3daf557-20211210 - 2021-12-10
-
18.0.0-rc.0-next-3a4462129-20220201 - 2022-02-02
-
18.0.0-rc.0-next-2ed58eb88-20220126 - 2022-01-27
-
18.0.0-rc.0-next-2c693b2de-20220223 - 2022-02-23
-
18.0.0-rc.0-next-27b569969-20220211 - 2022-02-14
-
18.0.0-rc.0-next-20212349a-20211223 - 2021-12-23
-
18.0.0-rc.0-next-13036bfbc-20220121 - 2022-01-21
-
18.0.0-rc.0-next-05a55a4b0-20220119 - 2022-01-19
-
18.0.0-rc.3 - 2022-03-22
-
18.0.0-rc.2 - 2022-03-08
-
18.0.0-rc.1 - 2022-03-01
-
18.0.0-rc.0 - 2021-12-08
-
18.0.0-next-7e3121e1c-20220330 - 2022-03-30
-
18.0.0-next-3e997fdba-20220329 - 2022-03-29
-
18.0.0-beta-fdc1d617a-20211118 - 2021-11-18
-
18.0.0-beta-f320ef88f-20211116 - 2021-11-17
-
18.0.0-beta-ca106a02d-20211125 - 2021-11-25
-
18.0.0-beta-c7917fe76-20211206 - 2021-12-07
-
18.0.0-beta-c1220ebdd-20211123 - 2021-11-24
-
18.0.0-beta-a65ceef37-20211130 - 2021-11-30
-
18.0.0-beta-96ca8d915-20211115 - 2021-11-15
-
18.0.0-beta-71d16750c-20211202 - 2021-12-02
-
18.0.0-beta-4ff5f5719-20211115 - 2021-11-16
-
18.0.0-beta-4729ff6d1-20211202 - 2021-12-03
-
18.0.0-beta-24dd07bd2-20211208 - 2021-12-08
-
18.0.0-beta-149b420f6-20211119 - 2021-11-19
-
18.0.0-beta-12bffc78d-20211206 - 2021-12-06
-
18.0.0-beta-0cc724c77-20211125 - 2021-11-25
-
18.0.0-alpha-fd5e01c2e-20210913 - 2021-09-13
-
18.0.0-alpha-f6abf4b40-20211020 - 2021-10-21
-
18.0.0-alpha-f2c381131-20211004 - 2021-10-04
-
18.0.0-alpha-ee069065d-20211105 - 2021-11-05
-
18.0.0-alpha-edfe50510-20210823 - 2021-08-24
-
18.0.0-alpha-ed6c091fe-20210701 - 2021-07-02
-
18.0.0-alpha-ebf9ae857-20211101 - 2021-11-01
-
18.0.0-alpha-e6be2d531 - 2021-06-08
-
18.0.0-alpha-e4e8226c6-20210812 - 2021-08-13
-
18.0.0-alpha-e3b76a85c-20210802 - 2021-08-02
-
18.0.0-alpha-e0aa5e205-20211109 - 2021-11-10
-
18.0.0-alpha-dbe3363cc - 2021-06-14
-
18.0.0-alpha-d7dce572c - 2021-06-23
-
18.0.0-alpha-d5de45820-20210714 - 2021-07-15
-
18.0.0-alpha-d174d063d-20210922 - 2021-09-23
-
18.0.0-alpha-cb8afda18-20210708 - 2021-07-09
-
18.0.0-alpha-cb8a50619-20210909 - 2021-09-10
-
18.0.0-alpha-cb11155c8-20211112 - 2021-11-12
-
18.0.0-alpha-cae635054-20210626 - 2021-06-28
-
18.0.0-alpha-cadf94df1-20211005 - 2021-10-06
-
18.0.0-alpha-c96b78e0e - 2021-06-10
-
18.0.0-alpha-c76e4dbbc-20210722 - 2021-07-23
-
18.0.0-alpha-c3a19e5af-20211014 - 2021-10-14
-
18.0.0-alpha-bfa50f827-20210712 - 2021-07-12
-
18.0.0-alpha-bdd6d5064-20211001 - 2021-10-01
-
18.0.0-alpha-bd5bf555e-20210823 - 2021-08-23
-
18.0.0-alpha-bd255700d-20210816 - 2021-08-17
-
18.0.0-alpha-bc9bb87c2-20210917 - 2021-09-17
-
18.0.0-alpha-bc4e75112-20210815 - 2021-08-16
-
18.0.0-alpha-baff3f200-20210921 - 2021-09-21
-
18.0.0-alpha-b9964684b-20210824 - 2021-08-25
-
18.0.0-alpha-b9934d6db-20210805 - 2021-08-06
-
18.0.0-alpha-b81de8633-20211019 - 2021-10-19
-
18.0.0-alpha-b6ff9ad16-20210820 - 2021-08-20
-
18.0.0-alpha-b54f36f2b-20210803 - 2021-08-03
-
18.0.0-alpha-b1a1cb116-20210924 - 2021-09-24
-
18.0.0-alpha-aecb3b6d1 - 2021-06-09
-
18.0.0-alpha-ae5d26154-20210721 - 2021-07-22
-
18.0.0-alpha-a8cabb564-20210915 - 2021-09-16
-
18.0.0-alpha-a44a7a2a3-20211111 - 2021-11-11
-
18.0.0-alpha-a0d991fe6-20211031 - 2021-11-01
-
18.0.0-alpha-a0d2d1e1e - 2021-06-16
-
18.0.0-alpha-9fb344225-20211102 - 2021-11-02
-
18.0.0-alpha-9f88b5355-20210728 - 2021-07-28
-
18.0.0-alpha-9eb2aaaf8-20210818 - 2021-08-18
-
18.0.0-alpha-9c8161ba8-20211028 - 2021-10-28
-
18.0.0-alpha-9b76d2d7b-20210719 - 2021-07-19
-
18.0.0-alpha-9ab90de60-20210720 - 2021-07-21
-
18.0.0-alpha-996da67b2-20211018 - 2021-10-18
-
18.0.0-alpha-95d762e40-20210908 - 2021-09-08
-
18.0.0-alpha-930c9e7ee-20211015 - 2021-10-15
-
18.0.0-alpha-9212d994b - 2021-06-15
-
18.0.0-alpha-9175f4d15-20210928 - 2021-09-28
-
18.0.0-alpha-8f96c6b2a-20210909 - 2021-09-09
-
18.0.0-alpha-8ee4ff883-20211013 - 2021-10-13
-
18.0.0-alpha-88d121899-20210811 - 2021-08-11
-
18.0.0-alpha-8723e772b-20210826 - 2021-08-27
-
18.0.0-alpha-82583617b-20210812 - 2021-08-12
-
18.0.0-alpha-81346764b-20210714 - 2021-07-14
-
18.0.0-alpha-806aaa2e2-20210913 - 2021-09-14
-
18.0.0-alpha-7ec4c5597 - 2021-06-15
-
18.0.0-alpha-7d38e4fd8-20210930 - 2021-09-30
-
18.0.0-alpha-79b8fc667-20210920 - 2021-09-20
-
18.0.0-alpha-75f3ddebf-20211101 - 2021-11-01
-
18.0.0-alpha-73ffce1b6-20210624 - 2021-06-25
-
18.0.0-alpha-6f3fcbd6f-20210730 - 2021-07-30
-
18.0.0-alpha-6ecad79cc-20211006 - 2021-10-06
-
18.0.0-alpha-6c3dcc7a4-20211027 - 2021-10-27
-
18.0.0-alpha-6bf111772-20210701 - 2021-07-01
-
18.0.0-alpha-6bce0355c-20211031 - 2021-10-31
-
18.0.0-alpha-6bbe7c344 - 2021-06-08
-
18.0.0-alpha-67f38366a-20210830 - 2021-08-31
-
18.0.0-alpha-67222f044-20210915 - 2021-09-15
-
18.0.0-alpha-64f83a6fd-20210819 - 2021-08-19
-
18.0.0-alpha-64931821a-20210808 - 2021-08-09
-
18.0.0-alpha-5fa4d79b0-20211008 - 2021-10-08
-
18.0.0-alpha-5cccacd13-20211101 - 2021-11-01
-
18.0.0-alpha-5ca4b0433-20211020 - 2021-10-20
-
18.0.0-alpha-5b57bc6e3-20210921 - 2021-09-21
-
18.0.0-alpha-5a0607278-20210922 - 2021-09-22
-
18.0.0-alpha-568dc3532 - 2021-06-18
-
18.0.0-alpha-55d75005b-20211011 - 2021-10-11
-
18.0.0-alpha-50263d327-20210914 - 2021-09-14
-
18.0.0-alpha-4cc8ec64c-20210726 - 2021-07-27
-
18.0.0-alpha-46a0f050a-20210828 - 2021-08-30
-
18.0.0-alpha-464f27572-20210713 - 2021-07-13
-
18.0.0-alpha-43f4cc160 - 2021-06-17
-
18.0.0-alpha-4298ddbc5-20211023 - 2021-10-25
-
18.0.0-alpha-419cc9c37-20210726 - 2021-07-26
-
18.0.0-alpha-3f62dec84-20210719 - 2021-07-20
-
18.0.0-alpha-3ee7a004e-20210920 - 2021-09-20
-
18.0.0-alpha-3e8c86c1c-20210630 - 2021-06-30
-
18.0.0-alpha-3c4c1c470-20211021 - 2021-10-22
-
18.0.0-alpha-386e8f2ea-20210624 - 2021-06-24
-
18.0.0-alpha-34308b5ad-20210729 - 2021-07-29
-
18.0.0-alpha-33226fada-20210913 - 2021-09-13
-
18.0.0-alpha-327d5c484-20211106 - 2021-11-08
-
18.0.0-alpha-310187264-20210716 - 2021-07-16
-
18.0.0-alpha-2bf2e76d3-20210826 - 2021-08-26
-
18.0.0-alpha-255221c86-20211103 - 2021-11-03
-
18.0.0-alpha-241485a2c-20210708 - 2021-07-08
-
18.0.0-alpha-200415c91-20211115 - 2021-11-15
-
18.0.0-alpha-1e247ff89-20211012 - 2021-10-12
-
18.0.0-alpha-1a3f1afbd - 2021-06-09
-
18.0.0-alpha-1a106bdc2 - 2021-06-14
-
18.0.0-alpha-19092ac8c-20210803 - 2021-08-04
-
18.0.0-alpha-13455d26d-20211104 - 2021-11-04
-
18.0.0-alpha-1314299c7-20210901 - 2021-09-02
-
18.0.0-alpha-0883c4cd3-20210929 - 2021-09-29
-
18.0.0-alpha-05726d72c-20210927 - 2021-09-27
-
18.0.0-alpha-031abd24b-20210907 - 2021-09-07
-
18.0.0-alpha-02f411578-20211019 - 2021-10-19
-
18.0.0-alpha-01be61c12 - 2021-06-11
-
18.0.0-alpha-00ced1e2b-20211102 - 2021-11-03
-
17.0.2 - 2021-03-22
- Remove an unused dependency to address the
- react: https://unpkg.com/react@17.0.2/umd/
- react-art: https://unpkg.com/react-art@17.0.2/umd/
- react-dom: https://unpkg.com/react-dom@17.0.2/umd/
- react-is: https://unpkg.com/react-is@17.0.2/umd/
- react-test-renderer: https://unpkg.com/react-test-renderer@17.0.2/umd/
- scheduler: https://unpkg.com/scheduler@0.20.2/umd/
-
17.0.1 - 2020-10-22
- Fix a crash in IE11. (@ gaearon in #20071)
-
17.0.0 - 2020-10-20
-
17.0.0-rc.3 - 2020-10-07
-
17.0.0-rc.2 - 2020-09-22
-
17.0.0-rc.1 - 2020-08-28
-
17.0.0-rc.0 - 2020-08-10
-
16.14.0 - 2020-10-14
- Add support for the new JSX transform. (@ lunaruan in #18299)
from react GitHub release notesReact DOM
onRecoverableError. (@ gnoff in #24591)documentcausing a blank page on mismatch. (@ gnoff in #24523)setStatein Safari when adding an iframe. (@ gaearon in #24459)React DOM Server
<title>elements to match the browser constraints. (@ gnoff in #24679)highWaterMarkto0. (@ jplhomer in #24641)Server Components (Experimental)
useId()inside Server Components. (@ gnoff) in #24172React DOM
react-dom/clientwhen using UMD bundle. (@ alireza-molaee in #24274)suppressHydrationWarningto work in production too. (@ gaearon in #24271)componentWillUnmountfiring twice inside of Suspense. (@ acdlite in #24308)useDeferredValuecausing an infinite loop when passed an unmemoized value. (@ acdlite in #24247)setStateloop inuseEffect. (@ gaearon in #24298)setStateinuseInsertionEffect. (@ gaearon in #24295)React DOM Server
bootstrapScriptContentcontents. (@ gnoff in #24385)renderToPipeableStream. (@ gnoff in #24291)ESLint Plugin: React Hooks
Use Subscription
use-sync-external-storeshim. (@ gaearon in #24289)Read more
React DOM
SharedArrayBuffercross-origin isolation warning. (@ koba04 and @ bvaughn in #20831, #20832, and #20840)Artifacts
React DOM
Read more
React
Package name: react-dom
React DOM
onRecoverableError. (@ gnoff in #24591)documentcausing a blank page on mismatch. (@ gnoff in #24523)setStatein Safari when adding an iframe. (@ gaearon in #24459)React DOM Server
<title>elements to match the browser constraints. (@ gnoff in #24679)highWaterMarkto0. (@ jplhomer in #24641)Server Components (Experimental)
useId()inside Server Components. (@ gnoff) in #24172React DOM
react-dom/clientwhen using UMD bundle. (@ alireza-molaee in #24274)suppressHydrationWarningto work in production too. (@ gaearon in #24271)componentWillUnmountfiring twice inside of Suspense. (@ acdlite in #24308)useDeferredValuecausing an infinite loop when passed an unmemoized value. (@ acdlite in #24247)setStateloop inuseEffect. (@ gaearon in #24298)setStateinuseInsertionEffect. (@ gaearon in #24295)React DOM Server
bootstrapScriptContentcontents. (@ gnoff in #24385)renderToPipeableStream. (@ gnoff in #24291)ESLint Plugin: React Hooks
Use Subscription
use-sync-external-storeshim. (@ gaearon in #24289)Read more
React DOM
SharedArrayBuffercross-origin isolation warning. (@ koba04 and @ bvaughn in #20831, #20832, and #20840)Artifacts
React DOM