Bump react-refresh from 0.10.0 to 0.11.0 in /desktop (#3083)
Summary: Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.10.0 to 0.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-refresh's releases</a>.</em></p> <blockquote> <h2>v0.11.0</h2> <h3>React Core</h3> <h4>Breaking Changes</h4> <ul> <li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li> <li><code>MyComponent()</code> now returns a descriptor, not an instance</li> <li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li> <li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li> </ul> <h4>New Features</h4> <ul> <li>Rendering to <code>null</code></li> <li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li> <li>New normalized <code>onBeforeInput</code> event</li> <li><code>React.Children.count</code> has been added as a helper for counting the number of children</li> </ul> <h4>Bug Fixes</h4> <ul> <li>Re-renders are batched in more cases</li> <li>Events: <code>e.view</code> properly normalized</li> <li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li> <li>Improved SVG support <ul> <li>Changing <code>className</code> on a mounted SVG component now works correctly</li> <li>Added support for elements <code>mask</code> and <code>tspan</code></li> <li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li> </ul> </li> <li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li> <li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li> <li><code>img</code> event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same <code>data-reactid</code>"</li> <li>Added explicit warning when missing polyfills</li> </ul> <h3>React With Addons</h3> <ul> <li>PureRenderMixin: a mixin which helps optimize "pure" components</li> <li>Perf: a new set of tools to help with performance analysis</li> <li>Update: New <code>$apply</code> command to transform values</li> <li>TransitionGroup bug fixes with null elements, Android</li> </ul> <h3>React NPM Module</h3> <ul> <li>Now includes the pre-built packages under <code>dist/</code>.</li> <li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li> </ul> <h3>JSX</h3> <ul> <li>Added support for namespaces, eg <code><Components.Checkbox /></code></li> <li>JSXTransformer <ul> <li>Enable the same <code>harmony</code> features available in the command line with <code><script type="text/jsx;harmony=true"></code></li> <li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li> <li>Fixed a bug preventing sourcemaps from working in Firefox</li> </ul> </li> </ul> <h3>React Tools Module</h3> <ul> <li>Improved readme with usage and API information</li> <li>Improved ES6 transforms available with <code>--harmony</code> option</li> <li>Added <code>--source-map-inline</code> option to the <code>jsx</code> executable</li> <li>New <code>transformWithDetails</code> API which gives access to the raw sourcemap data</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-refresh's changelog</a>.</em></p> <blockquote> <h2>0.11.0 (July 17, 2014)</h2> <h3>React Core</h3> <h4>Breaking Changes</h4> <ul> <li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li> <li><code>MyComponent()</code> now returns a descriptor, not an instance</li> <li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li> <li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li> </ul> <h4>New Features</h4> <ul> <li>Rendering to <code>null</code></li> <li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li> <li>New normalized <code>onBeforeInput</code> event</li> <li><code>React.Children.count</code> has been added as a helper for counting the number of children</li> </ul> <h4>Bug Fixes</h4> <ul> <li>Re-renders are batched in more cases</li> <li>Events: <code>e.view</code> properly normalized</li> <li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li> <li>Improved SVG support <ul> <li>Changing <code>className</code> on a mounted SVG component now works correctly</li> <li>Added support for elements <code>mask</code> and <code>tspan</code></li> <li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li> </ul> </li> <li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li> <li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li> <li><code>img</code> event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the same <code>data-reactid</code>"</li> <li>Added explicit warning when missing polyfills</li> </ul> <h3>React With Addons</h3> <ul> <li>PureRenderMixin: a mixin which helps optimize "pure" components</li> <li>Perf: a new set of tools to help with performance analysis</li> <li>Update: New <code>$apply</code> command to transform values</li> <li>TransitionGroup bug fixes with null elements, Android</li> </ul> <h3>React NPM Module</h3> <ul> <li>Now includes the pre-built packages under <code>dist/</code>.</li> <li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li> </ul> <h3>JSX</h3> <ul> <li>Added support for namespaces, eg <code><Components.Checkbox /></code></li> <li>JSXTransformer <ul> <li>Enable the same <code>harmony</code> features available in the command line with <code><script type="text/jsx;harmony=true"></code></li> <li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li> <li>Fixed a bug preventing sourcemaps from working in Firefox</li> </ul> </li> </ul> <h3>React Tools Module</h3> <ul> <li>Improved readme with usage and API information</li> <li>Improved ES6 transforms available with <code>--harmony</code> option</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/react/commits/v0.11.0/packages/react">compare view</a></li> </ul> </details> <br /> [](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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/3083 Reviewed By: lblasa Differential Revision: D32674349 Pulled By: passy fbshipit-source-id: 76cf85a26763c82aa732902bf22e5ad1b436b1cd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
674f828599
commit
c399e6a8c1
@@ -23,6 +23,6 @@
|
||||
},
|
||||
"optionalDependencies": {},
|
||||
"devDependencies": {
|
||||
"react-refresh": "^0.10.0"
|
||||
"react-refresh": "^0.11.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
"pretty-format": "^27.3.1",
|
||||
"promisify-child-process": "^4.1.0",
|
||||
"react-async": "^10.0.0",
|
||||
"react-refresh": "^0.10.0",
|
||||
"react-refresh": "^0.11.0",
|
||||
"recursive-readdir": "^2.2.2",
|
||||
"redux": "^4.1.2",
|
||||
"rimraf": "^3.0.2",
|
||||
|
||||
@@ -11282,10 +11282,10 @@ react-redux@^7.2.6:
|
||||
prop-types "^15.7.2"
|
||||
react-is "^17.0.2"
|
||||
|
||||
react-refresh@^0.10.0:
|
||||
version "0.10.0"
|
||||
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.10.0.tgz#2f536c9660c0b9b1d500684d9e52a65e7404f7e3"
|
||||
integrity sha512-PgidR3wST3dDYKr6b4pJoqQFpPGNKDSCDx4cZoshjXipw3LzO7mG1My2pwEzz2JVkF+inx3xRpDeQLFQGH/hsQ==
|
||||
react-refresh@^0.11.0:
|
||||
version "0.11.0"
|
||||
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046"
|
||||
integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==
|
||||
|
||||
react-refresh@^0.4.0:
|
||||
version "0.4.2"
|
||||
|
||||
Reference in New Issue
Block a user