From b574a9e2fda8a14071130bf2013555221d0eb1a1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 9 May 2022 22:04:10 +0000
Subject: [PATCH] chore(deps-dev): bump react-dom from 18.0.0 to 18.1.0 (#425)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 18.0.0 to 18.1.0.
Release notes
Sourced from react-dom's releases.
18.1.0 (April 26, 2022)
React DOM
- Fix the false positive warning about
react-dom/client
when using UMD bundle. (@alireza-molaee
in #24274)
- Fix
suppressHydrationWarning
to work in production too. (@gaearon
in #24271)
- Fix
componentWillUnmount
firing twice inside of Suspense. (@acdlite
in #24308)
- Fix some transition updates being ignored. (
@acdlite
in #24353)
- Fix
useDeferredValue
causing an infinite loop when passed an unmemoized value. (@acdlite
in #24247)
- Fix throttling of revealing Suspense fallbacks. (
@sunderls
in #24253)
- Fix an inconsistency in whether the props object is the same between renders. (
@acdlite
in #24421)
- Fix a missing warning about a
setState
loop in useEffect
. (@gaearon
in #24298)
- Fix a spurious hydration error. (
@gnoff
in #24404)
- Warn when calling
setState
in useInsertionEffect
. (@gaearon
in #24295)
- Ensure the reason for hydration errors is always displayed. (
@gaearon
in #24276)
React DOM Server
- Fix escaping for the
bootstrapScriptContent
contents. (@gnoff
in #24385)
- Significantly improve performance of
renderToPipeableStream
. (@gnoff
in #24291)
ESLint Plugin: React Hooks
- 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)
Use Subscription
- Replace the implementation with the
use-sync-external-store
shim. (@gaearon
in #24289)
Changelog
Sourced from react-dom's changelog.
18.1.0 (April 26, 2022)
React DOM
- Fix the false positive warning about
react-dom/client
when using UMD bundle. (@alireza-molaee
in #24274)
- Fix
suppressHydrationWarning
to work in production too. (@gaearon
in #24271)
- Fix
componentWillUnmount
firing twice inside of Suspense. (@acdlite
in #24308)
- Fix some transition updates being ignored. (
@acdlite
in #24353)
- Fix
useDeferredValue
causing an infinite loop when passed an unmemoized value. (@acdlite
in #24247)
- Fix throttling of revealing Suspense fallbacks. (
@sunderls
in #24253)
- Fix an inconsistency in whether the props object is the same between renders. (
@acdlite
in #24421)
- Fix a missing warning about a
setState
loop in useEffect
. (@gaearon
in #24298)
- Fix a spurious hydration error. (
@gnoff
in #24404)
- Warn when calling
setState
in useInsertionEffect
. (@gaearon
in #24295)
- Ensure the reason for hydration errors is always displayed. (
@gaearon
in #24276)
React DOM Server
- Fix escaping for the
bootstrapScriptContent
contents. (@gnoff
in #24385)
- Significantly improve performance of
renderToPipeableStream
. (@gnoff
in #24291)
ESLint Plugin: React Hooks
- 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)
Use Subscription
- Replace the implementation with the
use-sync-external-store
shim. (@gaearon
in #24289)
Commits
bd4784c
Revert #24236 (Don't recreate the same fallback on the client if hydrating su...
9ae80d6
Suppress hydration warnings when a preceding sibling suspends (#24404)
0dc4e66
Land enableClientRenderFallbackOnHydrationMismatch (#24410)
3547729
Land enableSelectiveHydration flag (#24406)
392808a
Land enableClientRenderFallbackOnTextMismatch flag (#24405)
a6d53f3
Revert "Clean up Selective Hydration / Event Replay flag (#24156)" (#24402)
2bf5eba
explain the rationale for the chosen escaping implemenation in a comment (#24...
d40dc73
Escape bootstrapScriptContent for javascript embedding into HTML (#24385)
ea7b2ec
Remove wrong return pointer warning
8dcedba
Add fallback shim for AbortController (#24285)
- Additional commits viewable in compare view
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-dom&package-manager=npm_and_yarn&previous-version=18.0.0&new-version=18.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
---
package-lock.json | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index b6753662..9460dda6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7777,13 +7777,13 @@
}
},
"react-dom": {
- "version": "18.0.0",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.0.0.tgz",
- "integrity": "sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw==",
+ "version": "18.1.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.1.0.tgz",
+ "integrity": "sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==",
"dev": true,
"requires": {
"loose-envify": "^1.1.0",
- "scheduler": "^0.21.0"
+ "scheduler": "^0.22.0"
}
},
"react-is": {
@@ -8453,9 +8453,9 @@
}
},
"scheduler": {
- "version": "0.21.0",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.21.0.tgz",
- "integrity": "sha512-1r87x5fz9MXqswA2ERLo0EbOAU74DpIUO090gIasYTqlVoJeMcl+Z1Rg7WHz+qtPujhS/hGIt9kxZOYBV3faRQ==",
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.22.0.tgz",
+ "integrity": "sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==",
"dev": true,
"requires": {
"loose-envify": "^1.1.0"