rc-server
rc-server copied to clipboard
[Security] Bump react from 0.13.3 to 17.0.2
Bumps react from 0.13.3 to 17.0.2. This update includes a security fix.
Vulnerabilities fixed
Sourced from The GitHub Security Advisory Database.
Cross-Site Scripting in react Versions of
reactprior to 0.14.0 are vulnerable to Cross-Site Scripting (XSS). The package'screateElementfunction fails to properly validate its input object, allowing attackers to execute arbitrary JavaScript in a victim's browser.Recommendation
Upgrade to version 0.14.0 or later.
Affected versions: < 0.14.0
Release notes
Sourced from react's releases.
17.0.2 (March 22, 2021)
React DOM
- Remove an unused dependency to address the
SharedArrayBuffercross-origin isolation warning. (@koba04and@bvaughnin #20831, #20832, and #20840)Artifacts
- react: https://unpkg.com/[email protected]/umd/
- react-art: https://unpkg.com/[email protected]/umd/
- react-dom: https://unpkg.com/[email protected]/umd/
- react-is: https://unpkg.com/[email protected]/umd/
- react-test-renderer: https://unpkg.com/[email protected]/umd/
- scheduler: https://unpkg.com/[email protected]/umd/
17.0.1 (October 14, 2020)
React DOM
17.0.0 (October 20, 2020)
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
- Add
react/jsx-runtimeandreact/jsx-dev-runtimefor the new JSX transform. (@lunaruanin #18299)- Build component stacks from native error frames. (
@sebmarkbagein #18561)- Allow to specify
displayNameon context for improved stacks. (@eps1lonin #18224)- Prevent
'use strict'from leaking in the UMD bundles. (@koba04in #19614)- Stop using
fb.mefor redirects. (@cylimin #19598)React DOM
- Delegate events to roots instead of
document. (@trueadmin #18195 and others)- Clean up all effects before running any next effects. (
@bvaughnin #17947)- Run
useEffectcleanup functions asynchronously. (@bvaughnin #17925)- Use browser
focusinandfocusoutforonFocusandonBlur. (@trueadmin #19186)- Make all
Captureevents use the browser capture phase. (@trueadmin #19221)- Don't emulate bubbling of the
onScrollevent. (@gaearonin #19464)- Throw if
forwardReformemocomponent returnsundefined. (@gaearonin #19550)- Remove event pooling. (
@trueadmin #18969)- Stop exposing internals that won’t be needed by React Native Web. (
@necolasin #18483)- Attach all known event listeners when the root mounts. (
@gaearonin #19659)- Disable
consolein the second render pass of DEV mode double render. (@sebmarkbagein #18547)- Deprecate the undocumented and misleading
ReactTestUtils.SimulateNativeAPI. (@gaearonin #13407)- Rename private field names used in the internals. (
@gaearonin #18377)- Don't call User Timing API in development. (
@gaearonin #18417)- Disable console during the repeated render in Strict Mode. (
@sebmarkbagein #18547)- In Strict Mode, double-render components without Hooks too. (
@eps1lonin #18430)
... (truncated)
Changelog
Sourced from react's changelog.
17.0.2 (March 22, 2021)
React DOM
- Remove an unused dependency to address the
SharedArrayBuffercross-origin isolation warning. (@koba04and@bvaughnin #20831, #20832, and #20840)17.0.1 (October 22, 2020)
React DOM
17.0.0 (October 20, 2020)
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
- Add
react/jsx-runtimeandreact/jsx-dev-runtimefor the new JSX transform. (@lunaruanin #18299)- Build component stacks from native error frames. (
@sebmarkbagein #18561)- Allow to specify
displayNameon context for improved stacks. (@eps1lonin #18224)- Prevent
'use strict'from leaking in the UMD bundles. (@koba04in #19614)- Stop using
fb.mefor redirects. (@cylimin #19598)React DOM
- Delegate events to roots instead of
document. (@trueadmin #18195 and others)- Clean up all effects before running any next effects. (
@bvaughnin #17947)- Run
useEffectcleanup functions asynchronously. (@bvaughnin #17925)- Use browser
focusinandfocusoutforonFocusandonBlur. (@trueadmin #19186)- Make all
Captureevents use the browser capture phase. (@trueadmin #19221)- Don't emulate bubbling of the
onScrollevent. (@gaearonin #19464)- Throw if
forwardReformemocomponent returnsundefined. (@gaearonin #19550)- Remove event pooling. (
@trueadmin #18969)- Stop exposing internals that won’t be needed by React Native Web. (
@necolasin #18483)- Attach all known event listeners when the root mounts. (
@gaearonin #19659)- Disable
consolein the second render pass of DEV mode double render. (@sebmarkbagein #18547)- Deprecate the undocumented and misleading
ReactTestUtils.SimulateNativeAPI. (@gaearonin #13407)- Rename private field names used in the internals. (
@gaearonin #18377)- Don't call User Timing API in development. (
@gaearonin #18417)- Disable console during the repeated render in Strict Mode. (
@sebmarkbagein #18547)- In Strict Mode, double-render components without Hooks too. (
@eps1lonin #18430)- Allow calling
ReactDOM.flushSyncduring lifecycle methods (but warn). (@sebmarkbagein #18759)- Add the
codeproperty to the keyboard event objects. (@bl00mberin #18287)- Add the
disableRemotePlaybackproperty forvideoelements. (@tombrowndevin #18619)- Add the
enterKeyHintproperty forinputelements. (@eps1lonin #18634)- Warn when no
valueis provided to<Context.Provider>. (@charlie1404in #19054)- Warn when
memoorforwardRefcomponents returnundefined. (@bvaughnin #19550)
... (truncated)
Commits
89b6109Bump versions for 17c63741foffscreen double invoke effects (#19523)c691734Fixed broken Profiler test (#19894)87c023bProfiler onRender only called when we do work (#19885)81aaee5Don't call onCommit et al if there are no effects (#19863)bc6b7b6Don't trigger lazy in DEV during element creation (#19871)781212aRemove double space in test name (#19762)d17086cDecouple public, internal act implementation (#19745)1f38dcfRemove withSuspenseConfig (#19724)ddd1faaRemove config argument from useTransition (#19719)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by gaearon, a new releaser for react since your current version.
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)