160b05a5bdb8596a45bd3b1c93ed796f9138fba2
229 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
160b05a5bd |
Bump deps
Summary: This updates minor and patch level dependencies. Frustratingly, I had to revert a bunch of changes in that version range that still caused incompatibilities and test failures. If I find time, I'll dig a bit deeper. Reviewed By: ivanmisuno Differential Revision: D48433210 fbshipit-source-id: 9ab12e774c1992d4f22cc1428d34f102ce820b75 |
||
|
|
075de45076 |
Bump react-refresh from 0.11.0 to 0.14.0 in /desktop (#4540)
Summary: Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.11.0 to 0.14.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.14.0</h2> <p>See <a href="http://facebook.github.io/react/blog/2015/10/07/react-v0.14.html">http://facebook.github.io/react/blog/2015/10/07/react-v0.14.html</a>.</p> <h2>v0.13.3</h2> <h3>React Core</h3> <h4>New Features</h4> <ul> <li>Added <code>clipPath</code> element and attribute for SVG</li> <li>Improved warnings for deprecated methods in plain JS classes</li> </ul> <h4>Bug Fixes</h4> <ul> <li>Loosened <code>dangerouslySetInnerHTML</code> restrictions so <code>{__html: undefined}</code> will no longer throw</li> <li>Fixed extraneous context warning with non-pure <code>getChildContext</code></li> <li>Ensure <code>replaceState(obj)</code> retains prototype of <code>obj</code></li> </ul> <h3>React with Add-ons</h3> <h3>Bug Fixes</h3> <ul> <li>Test Utils: Ensure that shallow rendering works when components define <code>contextTypes</code></li> </ul> <h2>v0.13.2</h2> <h3>React Core</h3> <h4>New Features</h4> <ul> <li>Added <code>strokeDashoffset</code>, <code>flexPositive</code>, <code>flexNegative</code> to the list of unitless CSS properties</li> <li>Added support for more DOM properties: <ul> <li><code>scoped</code> - for <code><style></code> elements</li> <li><code>high</code>, <code>low</code>, <code>optimum</code> - for <code><meter></code> elements</li> <li><code>unselectable</code> - IE-specific property to prevent user selection</li> </ul> </li> </ul> <h4>Bug Fixes</h4> <ul> <li>Fixed a case where re-rendering after rendering null didn't properly pass context</li> <li>Fixed a case where re-rendering after rendering with <code>style={null}</code> didn't properly update <code>style</code></li> <li>Update <code>uglify</code> dependency to prevent a bug in IE8</li> <li>Improved warnings</li> </ul> <h3>React with Add-Ons</h3> <h4>Bug Fixes</h4> <ul> <li>Immutabilty Helpers: Ensure it supports <code>hasOwnProperty</code> as an object key</li> </ul> <h3>React Tools</h3> <ul> <li>Improve documentation for new options</li> </ul> <h2>v0.13.1</h2> <h3>React Core</h3> <h4>Bug Fixes</h4> <ul> <li>Don't throw when rendering empty <code><select></code> elements</li> <li>Ensure updating <code>style</code> works when transitioning from <code>null</code></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.14.0 (October 7, 2015)</h2> <h3>Major changes</h3> <ul> <li>Split the main <code>react</code> package into two: <code>react</code> and <code>react-dom</code>. This paves the way to writing components that can be shared between the web version of React and React Native. This means you will need to include both files and some functions have been moved from <code>React</code> to <code>ReactDOM</code>.</li> <li>Addons have been moved to separate packages (<code>react-addons-clone-with-props</code>, <code>react-addons-create-fragment</code>, <code>react-addons-css-transition-group</code>, <code>react-addons-linked-state-mixin</code>, <code>react-addons-perf</code>, <code>react-addons-pure-render-mixin</code>, <code>react-addons-shallow-compare</code>, <code>react-addons-test-utils</code>, <code>react-addons-transition-group</code>, <code>react-addons-update</code>, <code>ReactDOM.unstable_batchedUpdates</code>).</li> <li>Stateless functional components - React components were previously created using React.createClass or using ES6 classes. This release adds a <a href="https://reactjs.org/docs/reusable-components.html#stateless-functions">new syntax</a> where a user defines a single <a href="https://reactjs.org/docs/reusable-components.html#stateless-functions">stateless render function</a> (with one parameter: <code>props</code>) which returns a JSX element, and this function may be used as a component.</li> <li>Refs to DOM components as the DOM node itself. Previously the only useful thing you can do with a DOM component is call <code>getDOMNode()</code> to get the underlying DOM node. Starting with this release, a ref to a DOM component <em>is</em> the actual DOM node. <strong>Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change.</strong></li> </ul> <h3>Breaking changes</h3> <ul> <li><code>React.initializeTouchEvents</code> is no longer necessary and has been removed completely. Touch events now work automatically.</li> <li>Add-Ons: Due to the DOM node refs change mentioned above, <code>TestUtils.findAllInRenderedTree</code> and related helpers are no longer able to take a DOM component, only a custom component.</li> <li>The <code>props</code> object is now frozen, so mutating props after creating a component element is no longer supported. In most cases, <a href="https://reactjs.org/docs/react-api.html#cloneelement"><code>React.cloneElement</code></a> should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.</li> <li>Plain objects are no longer supported as React children; arrays should be used instead. You can use the <a href="https://reactjs.org/docs/create-fragment.html"><code>createFragment</code></a> helper to migrate, which now returns an array.</li> <li>Add-Ons: <code>classSet</code> has been removed. Use <a href="https://github.com/JedWatson/classnames">classnames</a> instead.</li> <li>Web components (custom elements) now use native property names. Eg: <code>class</code> instead of <code>className</code>.</li> </ul> <h3>Deprecations</h3> <ul> <li><code>this.getDOMNode()</code> is now deprecated and <code>ReactDOM.findDOMNode(this)</code> can be used instead. Note that in the common case, <code>findDOMNode</code> is now unnecessary since a ref to the DOM component is now the actual DOM node.</li> <li><code>setProps</code> and <code>replaceProps</code> are now deprecated. Instead, call ReactDOM.render again at the top level with the new props.</li> <li>ES6 component classes must now extend <code>React.Component</code> in order to enable stateless function components. The <a href="https://reactjs.org/blog/2015/01/27/react-v0.13.0-beta-1.html#other-languages">ES3 module pattern</a> will continue to work.</li> <li>Reusing and mutating a <code>style</code> object between renders has been deprecated. This mirrors our change to freeze the <code>props</code> object.</li> <li>Add-Ons: <code>cloneWithProps</code> is now deprecated. Use <a href="https://reactjs.org/docs/react-api.html#cloneelement"><code>React.cloneElement</code></a> instead (unlike <code>cloneWithProps</code>, <code>cloneElement</code> does not merge <code>className</code> or <code>style</code> automatically; you can merge them manually if needed).</li> <li>Add-Ons: To improve reliability, <code>CSSTransitionGroup</code> will no longer listen to transition events. Instead, you should specify transition durations manually using props such as <code>transitionEnterTimeout={500}</code>.</li> </ul> <h3>Notable enhancements</h3> <ul> <li>Added <code>React.Children.toArray</code> which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in your <code>render</code> methods, especially if you want to reorder or slice <code>this.props.children</code> before passing it down. In addition, <code>React.Children.map</code> now returns plain arrays too.</li> <li>React uses <code>console.error</code> instead of <code>console.warn</code> for warnings so that browsers show a full stack trace in the console. (Our warnings appear when you use patterns that will break in future releases and for code that is likely to behave unexpectedly, so we do consider our warnings to be “must-fix” errors.)</li> <li>Previously, including untrusted objects as React children <a href="http://danlec.com/blog/xss-via-a-spoofed-react-element">could result in an XSS security vulnerability</a>. This problem should be avoided by properly validating input at the application layer and by never passing untrusted objects around your application code. As an additional layer of protection, <a href="https://github-redirect.dependabot.com/facebook/react/pull/4832">React now tags elements</a> with a specific <a href="http://www.2ality.com/2014/12/es6-symbols.html">ES2015 (ES6) <code>Symbol</code></a> in browsers that support it, in order to ensure that React never considers untrusted JSON to be a valid element. If this extra security protection is important to you, you should add a <code>Symbol</code> polyfill for older browsers, such as the one included by <a href="https://babeljs.io/docs/usage/polyfill/">Babel’s polyfill</a>.</li> <li>When possible, React DOM now generates XHTML-compatible markup.</li> <li>React DOM now supports these standard HTML attributes: <code>capture</code>, <code>challenge</code>, <code>inputMode</code>, <code>is</code>, <code>keyParams</code>, <code>keyType</code>, <code>minLength</code>, <code>summary</code>, <code>wrap</code>. It also now supports these non-standard attributes: <code>autoSave</code>, <code>results</code>, <code>security</code>.</li> <li>React DOM now supports these SVG attributes, which render into namespaced attributes: <code>xlinkActuate</code>, <code>xlinkArcrole</code>, <code>xlinkHref</code>, <code>xlinkRole</code>, <code>xlinkShow</code>, <code>xlinkTitle</code>, <code>xlinkType</code>, <code>xmlBase</code>, <code>xmlLang</code>, <code>xmlSpace</code>.</li> <li>The <code>image</code> SVG tag is now supported by React DOM.</li> <li>In React DOM, arbitrary attributes are supported on custom elements (those with a hyphen in the tag name or an <code>is="..."</code> attribute).</li> <li>React DOM now supports these media events on <code>audio</code> and <code>video</code> tags: <code>onAbort</code>, <code>onCanPlay</code>, <code>onCanPlayThrough</code>, <code>onDurationChange</code>, <code>onEmptied</code>, <code>onEncrypted</code>, <code>onEnded</code>, <code>onError</code>, <code>onLoadedData</code>, <code>onLoadedMetadata</code>, <code>onLoadStart</code>, <code>onPause</code>, <code>onPlay</code>, <code>onPlaying</code>, <code>onProgress</code>, <code>onRateChange</code>, <code>onSeeked</code>, <code>onSeeking</code>, <code>onStalled</code>, <code>onSuspend</code>, <code>onTimeUpdate</code>, <code>onVolumeChange</code>, <code>onWaiting</code>.</li> <li>Many small performance improvements have been made.</li> <li>Many warnings show more context than before.</li> <li>Add-Ons: A <a href="https://github-redirect.dependabot.com/facebook/react/pull/3355"><code>shallowCompare</code></a> add-on has been added as a migration path for <code>PureRenderMixin</code> in ES6 classes.</li> <li>Add-Ons: <code>CSSTransitionGroup</code> can now use <a href="https://github.com/facebook/react/blob/48942b85/docs/docs/10.1-animation.md#custom-classes">custom class names</a> instead of appending <code>-enter-active</code> or similar to the transition name.</li> </ul> <h3>New helpful warnings</h3> <ul> <li>React DOM now warns you when nesting HTML elements invalidly, which helps you avoid surprising errors during updates.</li> <li>Passing <code>document.body</code> directly as the container to <code>ReactDOM.render</code> now gives a warning as doing so can cause problems with browser extensions that modify the DOM.</li> <li>Using multiple instances of React together is not supported, so we now warn when we detect this case to help you avoid running into the resulting problems.</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
18b6ce6f24 |
Dep bump
Summary: Combining a bunch of individual tasks for dep upgrades into one diff. Reviewed By: ivanmisuno Differential Revision: D42706074 fbshipit-source-id: 054b2545ad1295699f47f4c6eb5065b7b9a1d6a0 |
||
|
|
226ccf91f6 |
Create flipper-server-client package
Summary: FlipperServerClient is a useful abstraction for any JS-based client of headless Flipper. No need to bundle it with flipper-frontend-core, as the rest is not useful for external clients. Currently, I am planning to add it to jest-e2e to send commands to Flipper Reviewed By: lblasa Differential Revision: D40765668 fbshipit-source-id: af48710bb15444ac1ecd649fe9a2ab252f3088f3 |
||
|
|
c90ab4ed7b |
Change author from Facebook Inc to Meta
Reviewed By: mweststrate Differential Revision: D38828665 fbshipit-source-id: b9beb1f445a0caeed536f2119694da00df825005 |
||
|
|
646b9d5a5d |
UDS/TCP options
Summary: Provide an option to enable/disable TCP connections on flipper-server. The only change at this stage is that Flipper Desktop will use UDS to connect to flipper-server. Reviewed By: passy Differential Revision: D37519656 fbshipit-source-id: 3d02084666fde532ec76134edf8cf6a231060a48 |
||
|
|
4b396e1ef3 |
Use flipper-server if running, otherwise initiate one
Summary: Provided that GK passes: - If a flipper-server instance is running, use and connect. - If not, start flipper-server and connect. Reviewed By: passy Differential Revision: D37034960 fbshipit-source-id: ff79e56e80e74415373f84b78305b4fc3e31f7d0 |
||
|
|
eabc1c556e |
Extract flipper server instantiation
Summary: ^ This is a very small refactoring and addition to the Flipper Desktop app. The instantiation of FlipperServer was extracted to a separate function. This a very tiny change that allows to switch the implementation we use for FlipperServer in a more convenient way. In this same change, an unused function is added which will create a separate FlipperServer instance that uses a web-socket underneath which makes it possible to use with flipper-server. So, if interested, it is enough to call that function instead of the one currently in use and it will make Flipper connect to flipper-server instead. https://pxl.cl/24j8R Reviewed By: passy Differential Revision: D36440574 fbshipit-source-id: 94ea2ab7208b898a82ac5e7fd7edd9cb824b4810 |
||
|
|
342e22bd87 |
Upgrade more /desktop deps
Summary: More bumps for patch and minor releases. allow-large-files Reviewed By: aigoncharov Differential Revision: D36104098 fbshipit-source-id: 6db995e660afbe4febd72aa70ed8150cc16a8c93 |
||
|
|
ef19d06239 |
Upgrade metro
Summary: Bunch of dependabot PRs showed that the signal is green, but still wanted to have all in one diff. Reviewed By: aigoncharov Differential Revision: D36102480 fbshipit-source-id: 88d472fdc2a910a7441a9e8164fe8af0f2d90f7b |
||
|
|
cc3aca0e8b |
Upgrade @types/node to one version everywhere
Summary: Caused some inconsistencies when running `tsc`. This brings them back in line. Reviewed By: aigoncharov Differential Revision: D36101548 fbshipit-source-id: b8f757c59f879911c9b0920fe11396246ffa37e2 |
||
|
|
6d05e6c226 |
Bump /desktop again
Summary: New round of releases and PRs came up, so bumping again. Very selective Metro update as some dependencies don't play well together. A bunch of other dependencies use ESM and fail at various stages of the build or runtime process. Reviewed By: mweststrate Differential Revision: D34688830 fbshipit-source-id: 2ff5c46c253b814140f634a986ba0d246e9b0945 |
||
|
|
7c1251075f |
Dep bump for /desktop
Summary: Combining a bunch of dependabot PRs. N.B. I had to manually clean up the `yarn.lock` a few times because some dependencies resolved to multiple version numbers, catching tsc off-guard. allow-large-files Reviewed By: nikoant Differential Revision: D34579180 fbshipit-source-id: a4848e1010ff240d9b0e721d3878585e7b4bd078 |
||
|
|
c18aabd8ac |
Bump metro-runtime from 0.66.2 to 0.68.0 in /desktop (#3451)
Summary: Bumps [metro-runtime](https://github.com/facebook/metro) from 0.66.2 to 0.68.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-runtime's releases</a>.</em></p> <blockquote> <h2>Release v0.68.0</h2> <ul> <li><strong>[Breaking]</strong> <code>resolver.resolveRequest</code> moved to the front of the resolution algorithm and <a href="https://facebook.github.io/metro/docs/configuration/#resolverequest">has a new API</a> (d81d8877c05637eac2b4ea946a9fa1e8ae869b06)</li> <li><strong>[Feature]</strong> <code>metro-react-native-babel-preset</code>: Support async iterators, "for await ... of" (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/747">https://github.com/facebook/flipper/issues/747</a> by <a href="https://github.com/newyankeecodeshop"><code>@newyankeecodeshop</code></a>)</li> </ul> <p>Thanks to all of our contributors for helping improve Metro! 🚇</p> <h2>Release v0.67.0</h2> <ul> <li><strong>[Breaking]</strong> Use custom resolvers (<code>resolver.resolveRequest</code>) before checking the Haste map. (96fb6e904e1660b37f4d1f5353ca1e5477c4afbf)</li> <li><strong>[Feature]</strong> Update React Native lazy imports list with the removal of <code>StatusBarIOS</code>. (2a0f77925e3299e01c2bfe82d0356145a643adc0)</li> <li><strong>[Feature]</strong> Allow configuring the path of the canonical empty module, which now lives in <code>metro-runtime</code> by default. (bd5f9323337b03a77bc219636937bb75cd8c18ca, 6e3e789b685b95ea59a58364a751e8010d536e8b, 7723be545795c936cb81cad214ee202f72e169b3)</li> <li><strong>[Feature]</strong> Add <code>initialize_done</code>, <code>transformer_loading</code>, and <code>transformer_loaded</code> events to the <code>Reporter</code> interface. (d19cf5d7e88207a8d46c17b570f14a239dae8926)</li> <li><strong>[Feature]</strong> Add <code>waitForBundler</code> option to the <code>runServer()</code> and <code>runMetro()</code> APIs. (57d8a92583185a97dffcdc1c95fef7780be9104d)</li> <li><strong>[Feature]</strong> Add <code>resolver.disableHierarchicalLookup</code> option. (01416f1bc41a3d557b24e4b508fed5f158990108)</li> <li><strong>[Feature]</strong> Remove confusing troubleshooting steps from missing module errors. (1fa45c21f7508cc3a852071b775f592873700ad0)</li> <li><strong>[Feature]</strong> Infer names for anonymous functions in optional calls. (4ced2a1be8a42a9c7df71b566918a457bad207c1)</li> <li><strong>[Feature]</strong> Infer names for anonymous functions memoized with useCallback. (2611f618b245fd2bd2c3558d2536011269bb5a68)</li> <li><strong>[Feature]</strong> Update terser to v5 in <code>metro-minify-terser</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/754">facebook/metro#754</a> by <a href="https://github.com/rockwotj"><code>@rockwotj</code></a>, <a href="https://github-redirect.dependabot.com/facebook/metro/pull/606">facebook/metro#606</a> by <a href="https://github.com/janicduplessis"><code>@janicduplessis</code></a>)</li> <li><strong>[Fix]</strong> Fix a caching issue with custom resolvers. (793b1a03c1f0b5e63869b471adab3f1ad61b199b)</li> <li><strong>[Fix]</strong> Specify UTF-8 encoding when serving bundles. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/695">facebook/metro#695</a> by <a href="https://github.com/zhiqingchen"><code>@zhiqingchen</code></a>)</li> <li><strong>[Fix]</strong> Support <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> for requires with implicit extensions. (41522a25bec9325d1df5981b55d4672db7126895)</li> <li><strong>[Fix]</strong> Resolve <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> when the replaced module isn't a physical file. (171393a6319e507935eeb3d40561e908c1a2abfe)</li> <li><strong>[Fix]</strong> Fix stack trace symbolication when input files have non-Unix line endings. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/691">facebook/metro#691</a> by <a href="https://github.com/danielsmc"><code>@danielsmc</code></a>)</li> <li><strong>[Fix]</strong> Decrease the precedence of <code>resolver.nodeModulesPaths</code> to respect transitive dependencies. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/738">facebook/metro#738</a> by <a href="https://github.com/sharmilajesupaul"><code>@sharmilajesupaul</code></a>)</li> <li><strong>[Fix]</strong> Respect <code>mangle: false</code> & <code>sourceMap: false</code> in <code>minifierConfig</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/749">facebook/metro#749</a> by <a href="https://github.com/mfbx9da4"><code>@mfbx9da4</code></a>)</li> <li><strong>[Fix]</strong> Update hash function from MD4 to MD5 for Node 17 compatibility. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/752">facebook/metro#752</a> by <a href="https://github.com/tobua"><code>@tobua</code></a>)</li> </ul> <blockquote> <p>NOTE: Experimental features are not covered by semver and can change at any time.</p> </blockquote> <ul> <li><strong>[Experimental]</strong> Add <code>server.unstable_serverRoot</code> option to allow serving bundles from folders outside the project root. (026a66cf40df1bd05da2afc1660efa1d9605c55a, ca86682012eb836e2b6aeb001f2b3112129e38c3, e061cf342505f3d07fb21f85f22925e3d05557c9, 70e98882ad24d7c25c9b73eaf347e60f2a74c8ca, baacea28635dae7fea3bd30dd485252ae59a937e)</li> <li><strong>[Experimental]</strong> Update <code>metro-hermes-compiler</code>. (e80434cf329619e1a0c6c56ae7be6c88cb350c99)</li> <li><strong>[Experimental]</strong> Provide safe access to assets outside the project root using <code>/assets?unstable_path=...</code>. (f3d1157bacc341dff82efea2f70b634141105fc0)</li> <li><strong>[Experimental]</strong> Add <code>resolver.unstable_hasteMapModulePath</code> option. (e8c0de0411148bd31e3decb6a5c4c1dc1d645666)</li> </ul> <p>Thanks to all the contributors mentioned above for helping improve Metro! 🚇</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
2d2b214fb7 |
Bump pretty-format from 27.4.6 to 27.5.0 in /desktop (#3414)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.4.6 to 27.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>v27.5.0</h2> <h2>Features</h2> <ul> <li><code>[expect]</code> Add asymmetric matcher <code>expect.closeTo</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12243">#12243</a>)</li> <li><code>[jest-mock]</code> Added <code>mockFn.mock.lastCall</code> to retrieve last argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12285">#12285</a>)</li> </ul> <h2>Fixes</h2> <ul> <li><code>[expect]</code> Add a fix for <code>.toHaveProperty('')</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12251">#12251</a>)</li> <li><code>[jest-each, jest/globals]</code> Allow passing <code>ReadonlyArray</code> type of a table to <code>describe.each</code> and <code>test.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12297">#12297</a>)</li> <li><code>[jest/globals]</code> Add missing <code>options</code> argument to <code>jest.doMock</code> typing (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12292">#12292</a>)</li> <li><code>[jest-environment-node]</code> Add <code>atob</code> and <code>btoa</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12269">#12269</a>)</li> <li><code>[jest-matcher-utils]</code> Correct diff for expected asymmetric matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12264">#12264</a>)</li> <li><code>[jest-message-util]</code> Fix <code>.getTopFrame()</code> (and <code>toMatchInlineSnapshot()</code>) with <code>mjs</code> files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12277">#12277</a>)</li> </ul> <h2>Chore & Maintenance</h2> <ul> <li><code>[*]</code> Update <code>graceful-fs</code> to <code>^4.2.9</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11749">#11749</a>)</li> </ul> <h2>Performance</h2> <ul> <li><code>[jest-resolve]</code> perf: skip error creation on not found <code>stat</code> calls (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11749">#11749</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/markjm"><code>@markjm</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11749">facebook/jest#11749</a></li> <li><a href="https://github.com/benjamingr"><code>@benjamingr</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12266">facebook/jest#12266</a></li> <li><a href="https://github.com/aduh95"><code>@aduh95</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12269">facebook/jest#12269</a></li> <li><a href="https://github.com/piranna"><code>@piranna</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12272">facebook/jest#12272</a></li> <li><a href="https://github.com/od-c0d3r"><code>@od-c0d3r</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12234">facebook/jest#12234</a></li> <li><a href="https://github.com/davidnormo"><code>@davidnormo</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12264">facebook/jest#12264</a></li> <li><a href="https://github.com/mshima"><code>@mshima</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12277">facebook/jest#12277</a></li> <li><a href="https://github.com/Cambuchi"><code>@Cambuchi</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12246">facebook/jest#12246</a></li> <li><a href="https://github.com/vladsholokhov"><code>@vladsholokhov</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12185">facebook/jest#12185</a></li> <li><a href="https://github.com/robdy"><code>@robdy</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12254">facebook/jest#12254</a></li> <li><a href="https://github.com/Michael-M-Judd"><code>@Michael-M-Judd</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12212">facebook/jest#12212</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.7...v27.5.0">https://github.com/facebook/jest/compare/v27.4.7...v27.5.0</a></p> <h2>v27.4.7</h2> <h2>Fixes</h2> <ul> <li><code>jest-config</code> Add missing <code>babel/core</code> dependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12216">#12216</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.6...v27.4.7">https://github.com/facebook/jest/compare/v27.4.6...v27.4.7</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.5.0</h2> <h3>Features</h3> <ul> <li><code>[expect]</code> Add asymmetric matcher <code>expect.closeTo</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12243">#12243</a>)</li> <li><code>[jest-mock]</code> Added <code>mockFn.mock.lastCall</code> to retrieve last argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12285">#12285</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[expect]</code> Add a fix for <code>.toHaveProperty('')</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12251">#12251</a>)</li> <li><code>[jest-each, jest/globals]</code> Allow passing <code>ReadonlyArray</code> type of a table to <code>describe.each</code> and <code>test.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12297">#12297</a>)</li> <li><code>[jest/globals]</code> Add missing <code>options</code> argument to <code>jest.doMock</code> typing (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12292">#12292</a>)</li> <li><code>[jest-environment-node]</code> Add <code>atob</code> and <code>btoa</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12269">#12269</a>)</li> <li><code>[jest-matcher-utils]</code> Correct diff for expected asymmetric matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12264">#12264</a>)</li> <li><code>[jest-message-util]</code> Fix <code>.getTopFrame()</code> (and <code>toMatchInlineSnapshot()</code>) with <code>mjs</code> files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12277">#12277</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[*]</code> Update <code>graceful-fs</code> to <code>^4.2.9</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11749">#11749</a>)</li> </ul> <h3>Performance</h3> <ul> <li><code>[jest-resolve]</code> perf: skip error creation on not found <code>stat</code> calls (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11749">#11749</a>)</li> </ul> <h2>27.4.7</h2> <h3>Fixes</h3> <ul> <li><code>jest-config</code> Add missing <code>babel/core</code> dependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12216">#12216</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
96b99ac23e |
Bump pretty-format from 27.4.2 to 27.4.6 in /desktop (#3262)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.4.2 to 27.4.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>v27.4.6</h2> <h3>Fixes</h3> <ul> <li><code>[jest-environment-node]</code> Add <code>AbortSignal</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12157">#12157</a>)</li> <li><code>[jest-environment-node]</code> Add Missing node global <code>performance</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12002">#12002</a>)</li> <li><code>[jest-runtime]</code> Handle missing <code>mocked</code> property (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12213">#12213</a>)</li> <li><code>[jest/transform]</code> Update dependency package <code>pirates</code> to 4.0.4 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12002">#12002</a>)</li> </ul> <h3>Performance</h3> <ul> <li><code>jest-config</code> perf: only register ts-node once when loading TS config files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12160">#12160</a>)</li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/laozhu"><code>@laozhu</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12136">facebook/jest#12136</a></li> <li><a href="https://github.com/sfiquet"><code>@sfiquet</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12161">facebook/jest#12161</a></li> <li><a href="https://github.com/SimonSiefke"><code>@SimonSiefke</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12002">facebook/jest#12002</a></li> <li><a href="https://github.com/Semigradsky"><code>@Semigradsky</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12190">facebook/jest#12190</a></li> <li><a href="https://github.com/cmpadden"><code>@cmpadden</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12204">facebook/jest#12204</a></li> <li><a href="https://github.com/LitoMore"><code>@LitoMore</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12211">facebook/jest#12211</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.5...v27.4.6">https://github.com/facebook/jest/compare/v27.4.5...v27.4.6</a></p> <h2>v27.4.5</h2> <h2>Fixes</h2> <ul> <li><code>[jest-worker]</code> Stop explicitly passing <code>process.env</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12141">#12141</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/4geru"><code>@4geru</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12144">facebook/jest#12144</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.4...v27.4.5">https://github.com/facebook/jest/compare/v27.4.4...v27.4.5</a></p> <h2>v27.4.4</h2> <h2>Fixes</h2> <ul> <li><code>[babel-jest]</code> Add <code>process.version</code> chunk to the cache key (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12122">#12122</a>)</li> <li><code>[jest-environment]</code> Add <code>mocked</code> to <code>jest</code> object (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12133">#12133</a>)</li> <li><code>[jest-worker]</code> Stop explicitly passing <code>execArgv</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12128">#12128</a>)</li> </ul> <h2>Chore & Maintenance</h2> <ul> <li><code>[website]</code> Fix the card front that looks overlapping part of the card back</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aghArdeshir"><code>@aghArdeshir</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12109">facebook/jest#12109</a></li> <li><a href="https://github.com/ony3000"><code>@ony3000</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12127">facebook/jest#12127</a></li> <li><a href="https://github.com/liesislukas"><code>@liesislukas</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12135">facebook/jest#12135</a></li> <li><a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12128">facebook/jest#12128</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.3...v27.4.4">https://github.com/facebook/jest/compare/v27.4.3...v27.4.4</a></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.4.6</h2> <h3>Fixes</h3> <ul> <li><code>[jest-environment-node]</code> Add <code>AbortSignal</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12157">#12157</a>)</li> <li><code>[jest-environment-node]</code> Add Missing node global <code>performance</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12002">#12002</a>)</li> <li><code>[jest-runtime]</code> Handle missing <code>mocked</code> property (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12213">#12213</a>)</li> <li><code>[jest/transform]</code> Update dependency package <code>pirates</code> to 4.0.4 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12002">#12002</a>)</li> </ul> <h3>Performance</h3> <ul> <li><code>jest-config</code> perf: only register ts-node once when loading TS config files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12160">#12160</a>)</li> </ul> <h2>27.4.5</h2> <h3>Fixes</h3> <ul> <li><code>[jest-worker]</code> Stop explicitly passing <code>process.env</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12141">#12141</a>)</li> </ul> <h2>27.4.4</h2> <h3>Fixes</h3> <ul> <li><code>[babel-jest]</code> Add <code>process.version</code> chunk to the cache key (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12122">#12122</a>)</li> <li><code>[jest-environment]</code> Add <code>mocked</code> to <code>jest</code> object (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12133">#12133</a>)</li> <li><code>[jest-worker]</code> Stop explicitly passing <code>execArgv</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12128">#12128</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[website]</code> Fix the card front that looks overlapping part of the card back</li> </ul> <h2>27.4.3</h2> <h3>Fixes</h3> <ul> <li><code>[jest-environment-jsdom]</code> Remove <code>types/jsdom</code> dependency (and make its <code>dom</code> property <code>private</code>) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12107">#12107</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
bbff1d2fb7 |
Bump pretty-format from 27.3.1 to 27.4.2 in /desktop (#3165)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.3.1 to 27.4.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>v27.4.2</h2> <h2>27.4.2</h2> <h3>Fixes</h3> <ul> <li><code>[jest-worker]</code> Add additional <code>execArgv</code> to filter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12103">#12103</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/JonWallsten"><code>@JonWallsten</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12103">facebook/jest#12103</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.1...v27.4.2">https://github.com/facebook/jest/compare/v27.4.1...v27.4.2</a></p> <h2>v27.4.1</h2> <h3>Fixes</h3> <ul> <li><code>[jest-worker]</code> Filter <code>execArgv</code> correctly (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12097">#12097</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/SuperOleg39"><code>@SuperOleg39</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12097">facebook/jest#12097</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.4.0...v27.4.1">https://github.com/facebook/jest/compare/v27.4.0...v27.4.1</a></p> <h2>v27.4.0</h2> <h3>Features</h3> <ul> <li><code>[expect]</code> Enhancing the <code>toHaveProperty</code> matcher to support array selection (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12092">#12092</a>)</li> <li><code>[jest-core]</code> Add support for <code>testResultsProcessor</code> written in ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12006">#12006</a>)</li> <li><code>[jest-diff, pretty-format]</code> Add <code>compareKeys</code> option for custom sorting of object keys (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11992">#11992</a>)</li> <li><code>[jest-mock]</code> Add <code>ts-jest</code> mock util functions (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12089">#12089</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[expect]</code> Allow again <code>expect.Matchers</code> generic with single value (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11986">#11986</a>)</li> <li><code>[jest-circus, jest-jasmine2]</code> Avoid false concurrent test failures due to unhandled promise rejections (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11987">#11987</a>)</li> <li><code>[jest-config]</code> Add missing <code>slash</code> dependency to <code>package.json</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12080">#12080</a>)</li> <li><code>[jest-core]</code> Incorrect detection of open ZLIB handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12022">#12022</a>)</li> <li><code>[jest-diff]</code> Break dependency cycle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10818">#10818</a>)</li> <li><code>[jest-environment-jsdom]</code> Add <code>types/jsdom</code> dependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11999">#11999</a>)</li> <li><code>[jest-environment-jsdom]</code> Do not reset the global.document too early on teardown (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11871">#11871</a>)</li> <li><code>[jest-transform]</code> Improve error and warning messages (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11998">#11998</a>)</li> <li><code>[jest-worker]</code> Pass <code>execArgv</code> correctly to <code>worker_threads</code> worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12069">#12069</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> CLI options alphabetized (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11586">#11586</a>)</li> <li><code>[jest-runner]</code> Add info regarding timers to forcedExit message(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12083">#12083</a>)</li> <li><code>[*]</code> Replaced <code>substr</code> method with <code>substring</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12066">#12066</a>)</li> <li><code>[*]</code> Add <code>types</code> entry to all export maps (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12073">#12073</a>)</li> </ul> <h3>New Contributors</h3> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.4.2</h2> <h3>Fixes</h3> <ul> <li><code>[jest-worker]</code> Add additional <code>execArgv</code> to filter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12103">#12103</a>)</li> </ul> <h2>27.4.1</h2> <h3>Fixes</h3> <ul> <li><code>[jest-worker]</code> Filter <code>execArgv</code> correctly (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12097">#12097</a>)</li> </ul> <h2>27.4.0</h2> <h3>Features</h3> <ul> <li><code>[expect]</code> Enhancing the <code>toHaveProperty</code> matcher to support array selection (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12092">#12092</a>)</li> <li><code>[jest-core]</code> Add support for <code>testResultsProcessor</code> written in ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12006">#12006</a>)</li> <li><code>[jest-diff, pretty-format]</code> Add <code>compareKeys</code> option for custom sorting of object keys (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11992">#11992</a>)</li> <li><code>[jest-mock]</code> Add <code>ts-jest</code> mock util functions (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12089">#12089</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[expect]</code> Allow again <code>expect.Matchers</code> generic with single value (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11986">#11986</a>)</li> <li><code>[jest-circus, jest-jasmine2]</code> Avoid false concurrent test failures due to unhandled promise rejections (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11987">#11987</a>)</li> <li><code>[jest-config]</code> Add missing <code>slash</code> dependency to <code>package.json</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12080">#12080</a>)</li> <li><code>[jest-core]</code> Incorrect detection of open ZLIB handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12022">#12022</a>)</li> <li><code>[jest-diff]</code> Break dependency cycle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10818">#10818</a>)</li> <li><code>[jest-environment-jsdom]</code> Add <code>types/jsdom</code> dependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11999">#11999</a>)</li> <li><code>[jest-environment-jsdom]</code> Do not reset the global.document too early on teardown (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11871">#11871</a>)</li> <li><code>[jest-transform]</code> Improve error and warning messages (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11998">#11998</a>)</li> <li><code>[jest-worker]</code> Pass <code>execArgv</code> correctly to <code>worker_threads</code> worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12069">#12069</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> CLI options alphabetized (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11586">#11586</a>)</li> <li><code>[jest-runner]</code> Add info regarding timers to forcedExit message(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12083">#12083</a>)</li> <li><code>[*]</code> Replaced <code>substr</code> method with <code>substring</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12066">#12066</a>)</li> <li><code>[*]</code> Add <code>types</code> entry to all export maps (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12073">#12073</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
ad4a55f263 |
move node types, stub node modules
Summary: This diff stubs all node modules when running in the browser, so that, albeit with a lot of errors and without plugins, the UI loads in a browser. To be continued in the rest of this diff Reviewed By: antonk52 Differential Revision: D32665705 fbshipit-source-id: 4632e241f59c5b9712a41d01a26878afb01f69b5 |
||
|
|
bca169df73 |
Move settings, launcherSettings, GKs to app / flipper-server-core
Summary: This diff moves a lot of stuff from the client to the server. This diff is fairly large, as a lot of concept closely relate, although some things have split off to the earlier diffs in the stack, or are still to follow (like making intern requests). This diff primarily moves reading and storing settings and GKs from client to server (both flipper and launcher settings). This means that settings are no longer persisted by Redux (which only exists on client). Most other changes are fallout from that. For now settings are just one big object, although we might need to separate settings that are only make sense in an Electron context. For example launcher settings. Reviewed By: passy, aigoncharov Differential Revision: D32498649 fbshipit-source-id: d842faf7a7f03774b621c7656e53a9127afc6192 |
||
|
|
c399e6a8c1 |
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 |
||
|
|
7e50c0466a |
Move app/src (mostly) to flipper-ui-core/src
Summary: This diff moves all UI code from app/src to app/flipper-ui-core. That is now slightly too much (e.g. node deps are not removed yet), but from here it should be easier to move things out again, as I don't want this diff to be open for too long to avoid too much merge conflicts. * But at least flipper-ui-core is Electron free :) * Killed all cross module imports as well, as they where now even more in the way * Some unit test needed some changes, most not too big (but emotion hashes got renumbered in the snapshots, feel free to ignore that) * Found some files that were actually meaningless (tsconfig in plugins, WatchTools files, that start generating compile errors, removed those Follow up work: * make flipper-ui-core configurable, and wire up flipper-server-core in Electron instead of here * remove node deps (aigoncharov) * figure out correct place to load GKs, plugins, make intern requests etc., and move to the correct module * clean up deps Reviewed By: aigoncharov Differential Revision: D32427722 fbshipit-source-id: 14fe92e1ceb15b9dcf7bece367c8ab92df927a70 |
||
|
|
adaa4b544a |
Bump react-redux from 7.2.4 to 7.2.6 in /desktop (#3035)
Summary: Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.4 to 7.2.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/reduxjs/react-redux/releases">react-redux's releases</a>.</em></p> <blockquote> <h2>v7.2.6</h2> <p><em>Shameless plug: <a href="https://spaceship.run/">I'm working on a new company called Spaceship 🚀</a> It's a tool to launch your code anywhere in one click. Check it out!</em></p> <p>Just a quick fix for a Yarn install warning. Sorry about the noise!</p> <h2><a href="https://github.com/reduxjs/react-redux/compare/v7.2.5...v7.2.6">Changes</a></h2> <ul> <li>Remove <code>workspaces</code> from our package.json to silence a Yarn warning (<a href="https://github.com/timdorr"><code>@timdorr</code></a>)</li> </ul> <h2>v7.2.5</h2> <p>This release shrinks the size of our internal <code>Subscription</code> class, and updates <code>useSelector</code> to avoid an unnecessary selector call on mount.</p> <h2>Changes</h2> <h3>Subscription Size Refactor</h3> <p>Our internal <code>Subscription</code> implementation has been written as a class ever since it was added in v5. By rewriting it as a closure factory, we were able to shave a few bytes off the final bundle size.</p> <h3><code>useSelector</code> Mount Optimization</h3> <p>A user noticed that <code>useSelector</code> had never been given an early "bail out if the root state is the same" check to match how <code>connect</code> works. This resulted in a usually-unnecessary second call to the provided selector on mount. We've added that check.</p> <h3>Entry Point Consolidation</h3> <p>We've consolidated the list of exported public APIs into a single file, and both the <code>index.js</code> and <code>alternate-renderers.js</code> entry points now re-export everything from that file. No meaningful change here, just shuffling lines of code around for consistency.</p> <h2>Other Updates</h2> <h3>React-Redux v8 and React 18 Development</h3> <p>With <a href="https://github.com/reactwg/react-18/discussions/4">the announcement of React 18</a>, we've been working with the React team to plan our migration path to keep React-Redux fully compatible with React's upcoming features.</p> <p>We've already <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1737">migrated the React-Redux main development branch to TypeScript</a>, and are <a href="https://github-redirect.dependabot.com/reduxjs/react-redux/pull/1808">prototyping compatibility implementation updates</a>. We'd appreciate any assistance from the community in testing out these changes so that we can ensure React-Redux works great for everyone when React 18 is ready!</p> <h3>Internal Tooling Updates</h3> <p>Our <code>master</code> branch now uses Yarn v2 for package management, is built with TypeScript, and we've made CI updates to test against multiple TS versions.</p> <p>The <code>7.x</code> branch has also been updated to use Yarn v2 for consistency.</p> <p>These only affect contributors to the React-Redux package itself.</p> <h2>Changelog</h2> <ul> <li>Port entry point consolidation from 8.x branch (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1811">https://github.com/facebook/flipper/issues/1811</a> - <a href="https://github.com/markerikson"><code>@markerikson</code></a>)</li> <li>Update v7 branch to use Yarn v2 and improve CI process (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1810">https://github.com/facebook/flipper/issues/1810</a> - <a href="https://github.com/markerikson"><code>@markerikson</code></a>)</li> <li>Reduce unnecessary calls to useSelector selector (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1803">https://github.com/facebook/flipper/issues/1803</a> - <a href="https://github.com/sufian-slack"><code>@sufian-slack</code></a> )</li> <li>Port Subscription closure implementation from 8.x to 7.x (<a href="https://github-redirect.dependabot.com/reduxjs/react-redux/issues/1809">https://github.com/facebook/flipper/issues/1809</a> - <a href="https://github.com/mbelsky"><code>@mbelsky</code></a>)</li> </ul> <p><a href="https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5">https://github.com/reduxjs/react-redux/compare/v7.2.4...v7.2.5</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
07468fdfd1 |
Bump pretty-format from 27.2.5 to 27.3.1 in /desktop (#2991)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.2.5 to 27.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>v27.3.1</h2> <h2>Fixes</h2> <ul> <li><code>[expect]</code> Make <code>expect</code> extension properties <code>configurable</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11978">#11978</a>)</li> <li><code>[expect]</code> Fix <code>.any()</code> checks on primitive wrapper classes (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11976">#11976</a>)</li> </ul> <h2>Chore & Maintenance</h2> <ul> <li><code>[expect]</code> <code>BigInt</code> global is always defined, don't check for its existence at runtime (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11979">#11979</a>)</li> <li><code>[jest-config, jest-util]</code> Use <code>ci-info</code> instead of <code>is-ci</code> to detect CI environment (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11973">#11973</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/posva"><code>@posva</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11974">facebook/jest#11974</a></li> <li><a href="https://github.com/blaky"><code>@blaky</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11978">facebook/jest#11978</a></li> <li><a href="https://github.com/lobsterkatie"><code>@lobsterkatie</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11976">facebook/jest#11976</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.3.0...v27.3.1">https://github.com/facebook/jest/compare/v27.3.0...v27.3.1</a></p> <h2>27.3.0</h2> <h2>Features</h2> <ul> <li><code>[jest-config]</code> Add <code>testEnvironmentOptions.html</code> to apply to jsdom input (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11950">#11950</a>)</li> <li><code>[jest-resolver]</code> Support default export (<code>.</code>) in <code>exports</code> field <em>if</em> <code>main</code> is missing (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11919">#11919</a>)</li> </ul> <h2>Fixes</h2> <ul> <li><code>[expect]</code> Tweak and improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11949">#11949</a>)</li> <li><code>[jest-runtime]</code> Ensure absolute paths can be resolved within test modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11943">#11943</a>)</li> <li><code>[jest-runtime]</code> Fix <code>instanceof</code> for <code>ModernFakeTimers</code> and <code>LegacyFakeTimers</code> methods (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11946">#11946</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/airhorns"><code>@airhorns</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11943">facebook/jest#11943</a></li> <li><a href="https://github.com/mrienstra"><code>@mrienstra</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11942">facebook/jest#11942</a></li> <li><a href="https://github.com/minijus"><code>@minijus</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11946">facebook/jest#11946</a></li> <li><a href="https://github.com/MarvelSQ"><code>@MarvelSQ</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11950">facebook/jest#11950</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.2.5...v27.3.0">https://github.com/facebook/jest/compare/v27.2.5...v27.3.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.3.1</h2> <h3>Fixes</h3> <ul> <li><code>[expect]</code> Make <code>expect</code> extension properties <code>configurable</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11978">#11978</a>)</li> <li><code>[expect]</code> Fix <code>.any()</code> checks on primitive wrapper classes (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11976">#11976</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[expect]</code> <code>BigInt</code> global is always defined, don't check for its existence at runtime (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11979">#11979</a>)</li> <li><code>[jest-config, jest-util]</code> Use <code>ci-info</code> instead of <code>is-ci</code> to detect CI environment (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11973">#11973</a>)</li> </ul> <h2>27.3.0</h2> <h3>Features</h3> <ul> <li><code>[jest-config]</code> Add <code>testEnvironmentOptions.html</code> to apply to jsdom input (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11950">#11950</a>)</li> <li><code>[jest-resolver]</code> Support default export (<code>.</code>) in <code>exports</code> field <em>if</em> <code>main</code> is missing (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11919">#11919</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[expect]</code> Tweak and improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11949">#11949</a>)</li> <li><code>[jest-runtime]</code> Ensure absolute paths can be resolved within test modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11943">#11943</a>)</li> <li><code>[jest-runtime]</code> Fix <code>instanceof</code> for <code>ModernFakeTimers</code> and <code>LegacyFakeTimers</code> methods (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11946">#11946</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
b9e41cc787 |
Bump @emotion/css from 11.1.3 to 11.5.0 in /desktop (#3020)
Summary: Bumps [emotion/css](https://github.com/emotion-js/emotion) from 11.1.3 to 11.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@emotion/css</code>'s releases</a>.</em></p> <blockquote> <h2><code>@emotion/css</code><a href="https://github.com/11"><code>@11</code></a>.5.0</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2498">https://github.com/facebook/flipper/issues/2498</a> <a href=" |
||
|
|
3a7757e08d |
Bump @testing-library/dom from 8.9.1 to 8.10.1 in /desktop (#3021)
Summary: Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.9.1 to 8.10.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@testing-library/dom</code>'s releases</a>.</em></p> <blockquote> <h2>v8.10.1</h2> <h2><a href="https://github.com/testing-library/dom-testing-library/compare/v8.10.0...v8.10.1">8.10.1</a> (2021-10-18)</h2> <h3>Bug Fixes</h3> <ul> <li>Bump dom-accessibility-api (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1063">https://github.com/facebook/flipper/issues/1063</a>) (<a href=" |
||
|
|
199b14a4eb |
Bump @emotion/react from 11.4.1 to 11.5.0 in /desktop (#3022)
Summary: Bumps [emotion/react](https://github.com/emotion-js/emotion) from 11.4.1 to 11.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@emotion/react</code>'s releases</a>.</em></p> <blockquote> <h2><code>@emotion/react</code><a href="https://github.com/11"><code>@11</code></a>.5.0</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2498">https://github.com/facebook/flipper/issues/2498</a> <a href=" |
||
|
|
7a19b1c8d4 |
Bump ws from 7.5.5 to 8.2.3 in /desktop (#3004)
Summary: Bumps [ws](https://github.com/websockets/ws) from 7.5.5 to 8.2.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p> <blockquote> <h2>8.2.3</h2> <h1>Bug fixes</h1> <ul> <li>When context takeover is enabled, messages are now compressed even if their size is below the value of the <code>perMessageDeflate.threshold</code> option (41ae5631).</li> </ul> <h2>8.2.2</h2> <h1>Bug fixes</h1> <ul> <li>Some closing operations are now run only if needed (ec9377ca).</li> </ul> <h2>8.2.1</h2> <h1>Bug fixes</h1> <ul> <li>Fixed an issue where the socket was not resumed, preventing the connection from being closed cleanly (869c9892).</li> </ul> <h2>8.2.0</h2> <h1>Features</h1> <ul> <li>Added <code>WebSocket.WebSocket</code> as an alias for <code>WebSocket</code> and <code>WebSocket.WebSocketServer</code> as an alias for <code>WebSocket.Server</code> to fix name consistency and improve interoperability with the ES module wrapper (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1935">https://github.com/facebook/flipper/issues/1935</a>).</li> </ul> <h2>8.1.0</h2> <h1>Features</h1> <ul> <li>Added ability to skip UTF-8 validation (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1928">https://github.com/facebook/flipper/issues/1928</a>).</li> </ul> <h1>Bug fixes</h1> <ul> <li>Fixed an issue with a breaking change in Node.js master (6a72da3e).</li> <li>Fixed a misleading error message (c95e695d).</li> </ul> <h2>8.0.0</h2> <h1>Breaking changes</h1> <ul> <li>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if any of the subprotocol names are invalid or duplicated (0aecf0c9).</li> <li>The server now aborts the opening handshake if an invalid <code>Sec-WebSocket-Protocol</code> header field value is received (1877ddeb).</li> <li>The <code>protocols</code> argument of <code>handleProtocols</code> hook is no longer an <code>Array</code> but a <code>Set</code> (1877ddeb).</li> <li>The opening handshake is now aborted if the <code>Sec-WebSocket-Extensions</code> header field value is empty or it begins or ends with a white space (e814110e).</li> <li>Dropped support for Node.js < 10.0.0 (552b5067).</li> <li>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if the connection URL contains a fragment identifier or if the URL's protocol is not one of <code>'ws:'</code>, <code>'wss:'</code>, or <code>'ws+unix:'</code> (ebea038f).</li> <li>Text messages and close reasons are no longer decoded to strings. They are</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
b3fa8dd6c1 |
Dep bump
Summary: Took a few iterations to make offline mirror happy, but everything is green now. allow-large-files Reviewed By: nikoant Differential Revision: D31690614 fbshipit-source-id: 38d0d6cb5e3f63b3707d917a1ed6fc6144762731 |
||
|
|
16e3a9cb3d |
Bump axios from 0.21.4 to 0.22.0 in /desktop (#2940)
Summary: Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 0.22.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>v0.22.0</h2> <h3>0.22.0 (October 01, 2021)</h3> <p>Fixes and Functionality:</p> <ul> <li>Caseless header comparing in HTTP adapter (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2880">https://github.com/facebook/flipper/issues/2880</a>)</li> <li>Avoid package.json import fixing issues and warnings related to this (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4041">#4041</a>), (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4065">#4065</a>)</li> <li>Fixed cancelToken leakage and added AbortController support (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3305">#3305</a>)</li> <li>Updating CI to run on release branches</li> <li>Bump follow redirects version</li> <li>Fixed default transitional config for custom Axios instance; (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4052">#4052</a>)</li> </ul> <p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p> <ul> <li><a href="https://github.com/axios/axios/blob/HEAD/mailto:jasonsaayman@gmail.com">Jay</a></li> <li><a href="https://github.com/mastermatt">Matt R. Wilson</a></li> <li><a href="https://github.com/chinesedfan">Xianming Zhong</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h3>0.22.0 (October 01, 2021)</h3> <p>Fixes and Functionality:</p> <ul> <li>Caseless header comparing in HTTP adapter (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2880">https://github.com/facebook/flipper/issues/2880</a>)</li> <li>Avoid package.json import fixing issues and warnings related to this (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4041">#4041</a>), (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4065">#4065</a>)</li> <li>Fixed cancelToken leakage and added AbortController support (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3305">#3305</a>)</li> <li>Updating CI to run on release branches</li> <li>Bump follow redirects version</li> <li>Fixed default transitional config for custom Axios instance; (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4052">#4052</a>)</li> </ul> <p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p> <ul> <li><a href="https://github.com/axios/axios/blob/master/mailto:jasonsaayman@gmail.com">Jay</a></li> <li><a href="https://github.com/mastermatt">Matt R. Wilson</a></li> <li><a href="https://github.com/chinesedfan">Xianming Zhong</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
91cc0ef3c0 |
Dep bump
Summary: Lots of open security warnings so I'm trying to catch a few that are behind patch releases at once. Reviewed By: mweststrate Differential Revision: D31574708 fbshipit-source-id: 5a4f2b18b50a3752b4986c4196a4bcda1e8a298c |
||
|
|
d3e28aa724 |
Bump @ant-design/icons from 4.6.3 to 4.7.0 in /desktop (#2944)
Summary: Bumps [ant-design/icons](https://github.com/ant-design/ant-design-icons) from 4.6.3 to 4.7.0. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/ant-design/ant-design-icons/commits">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/2944 Reviewed By: timur-valiev Differential Revision: D31390474 Pulled By: jknoxville fbshipit-source-id: d918dc9d3f7a49376784d9e93ddea7321d31c772 |
||
|
|
d88b28330a |
Move app/server to flipper-server-core
Summary: moved `app/src/server` to `flipper-server-core/src` and fixed any fallout from that (aka integration points I missed on the preparing diffs). Reviewed By: passy Differential Revision: D31541378 fbshipit-source-id: 8a7e0169ebefa515781f6e5e0f7b926415d4b7e9 |
||
|
|
91d96774f6 |
Move files to flipper-common
Summary: Moved Logger, sleep, timeout and server contract types to flipper-common packages. Reviewed By: passy Differential Revision: D31475790 fbshipit-source-id: 42d2147698875f9e919ad5250f9953f3bff3ec2d |
||
|
|
dd190ef2e0 |
Big dep bump
Summary: Conservatively bumping only patch versions (except the ones we know break stuff). Reviewed By: nikoant Differential Revision: D31511737 fbshipit-source-id: 5b55b4689e71975824577f0ac43d806ca37ea232 |
||
|
|
c3ff0ff355 |
Set up Flipper decapitated packages
Summary: This diff introduces the packages necessary for Flipper decapitated. * flipper-common: utilities & types shared between client, server, flipper-plugin * flipper-server-core: all device & client management goes in here. Basically flipper's backend * flipper-ui-core: all UI goes in here, as far as it doesn't depend on Electron * desktop: the Electron app, will load server-core and ui-core, and glue them together, providing implementations for some electron specific stuff like dialgos * flipper-server: A node process hosting flipper-server-core, that can be connected to over websockets. And probably can serve a browser version of the UI as well. * flipper-ui-browser: thin wrapper around flipper-ui-core, providing some browser specific behavior / stubs. * flipper-dump: (might remove later), but want to hack a quick and dirt flipper dump in here, as alternative way to test flipper-server-core. This diff just creates the packages, but doesn't move any code, so it can be summarized as: restoftheowl Reviewed By: nikoant Differential Revision: D30218646 fbshipit-source-id: 735598a1261a98e584f52504b5eba01ec0afa162 |
||
|
|
89b193b438 |
Clean up Sheet abstraction
Summary: This stack gets rid of Flippers old sheet abstraction that relies on native (Electron) overlays, and implements it using Ant dialogs instead. Also removes a lot of code by making dialog API imperative, rather than reducer organised, like done in the deeplink handling. Reviewed By: passy Differential Revision: D30192001 fbshipit-source-id: 9bca3274bd039207e58f8f9394027515e391671d |
||
|
|
27938a7e96 |
Bump @testing-library/dom from 8.2.0 to 8.6.0 in /desktop (#2914)
Summary: Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.2.0 to 8.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@testing-library/dom</code>'s releases</a>.</em></p> <blockquote> <h2>v8.6.0</h2> <h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.5.0...v8.6.0">8.6.0</a> (2021-09-22)</h1> <h3>Features</h3> <ul> <li>Add support for firing all transition events (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1036">https://github.com/facebook/flipper/issues/1036</a>) (<a href=" |
||
|
|
1e80107048 |
Bump js-base64 from 3.7.0 to 3.7.2 in /desktop (#2917)
Summary: Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.7.0 to 3.7.2. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
1945b4e9d0 |
Bump @testing-library/react from 12.0.0 to 12.1.1 in /desktop (#2916)
Summary: Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@testing-library/react</code>'s releases</a>.</em></p> <blockquote> <h2>v12.1.1</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v12.1.0...v12.1.1">12.1.1</a> (2021-09-27)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>TS:</strong> make wrapper allow a simple function comp (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/966">https://github.com/facebook/flipper/issues/966</a>) (<a href=" |
||
|
|
f5e4d27bc4 |
Bump pretty-format from 27.1.0 to 27.2.0 in /desktop (#2861)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.1.0 to 27.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> <h2>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> <h2>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
169feb6dc6 |
Bump @testing-library/react from 12.0.0 to 12.1.0 in /desktop (#2887)
Summary: Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@testing-library/react</code>'s releases</a>.</em></p> <blockquote> <h2>v12.1.0</h2> <h1><a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0">12.1.0</a> (2021-09-11)</h1> <h3>Features</h3> <ul> <li>improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>) (<a href=" |
||
|
|
2d838efd4d |
Separate device in server and client version [2/n]
Summary:
This stack takes care of handling care of moving all device interactions over the (possible) async channel FlipperServer. The FlipperServer interface (see previous diff) allows listening to specific server events using `on`, and emit commands to be executed by the server by using `exec` (e.g. `exec('take-screenshot', serial) => Promise<buffer>`).
FlipperServerImpl implements this interface on the server side.
The device implementations are split as follows
```
server / backend process:
ServerDevice
- iOSDevice
- AndroidDevice
- MetroDevice
- DummyDevice
- Mac/Windows Device
frontend / ui:
BaseDevice: a normal connected, device, implements device apis as they already existed
- ArchivedDevice (note that this doesn't have a server counterpart)
- TestDevice (for unit tests, with stubbed backend communication)
```
All features of devices are for simplicity unified (since the deviations are small), where specific device types might not implement certain features like taking screenshots or running shell commands.
To avoid making this diff unnecessarily big, some open Todo's will be addressed later in this stack, and it shouldn't be landed alone.
Reviewed By: timur-valiev
Differential Revision: D30909346
fbshipit-source-id: cce0bee94fdd5db59bebe3577a6084219a038719
|
||
|
|
4aac809e3a |
Bump async-mutex from 0.3.1 to 0.3.2 in /desktop (#2856)
Summary: Bumps [async-mutex](https://github.com/DirtyHairy/async-mutex) from 0.3.1 to 0.3.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/DirtyHairy/async-mutex/blob/master/CHANGELOG.md">async-mutex's changelog</a>.</em></p> <blockquote> <h2>0.3.2</h2> <ul> <li>Add <code>waitForUnlock</code> for waiting until a mutex/semaphore is free for locking, thanks to Jason Gore.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
a44876a459 |
Bump axios from 0.21.1 to 0.21.2 in /desktop (#2844)
Summary: Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>v0.21.2</h2> <h3>0.21.2 (September 4, 2021)</h3> <p>Fixes and Functionality:</p> <ul> <li>Updating axios requests to be delayed by pre-emptive promise creation (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2702">https://github.com/facebook/flipper/issues/2702</a>)</li> <li>Adding "synchronous" and "runWhen" options to interceptors api (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2702">https://github.com/facebook/flipper/issues/2702</a>)</li> <li>Updating of transformResponse (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3377">#3377</a>)</li> <li>Adding ability to omit User-Agent header (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3703">#3703</a>)</li> <li>Adding multiple JSON improvements (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3688">#3688</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3763">#3763</a>)</li> <li>Fixing quadratic runtime and extra memory usage when setting a maxContentLength (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3738">#3738</a>)</li> <li>Adding parseInt to config.timeout (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3781">#3781</a>)</li> <li>Adding custom return type support to interceptor (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3783">#3783</a>)</li> <li>Adding security fix for ReDoS vulnerability (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3980">#3980</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Updating build dev dependancies (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3401">#3401</a>)</li> <li>Fixing builds running on Travis CI (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3538">#3538</a>)</li> <li>Updating follow rediect version (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3694">#3694</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3771">#3771</a>)</li> <li>Updating karma sauce launcher to fix failing sauce tests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3712">#3712</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3717">#3717</a>)</li> <li>Updating content-type header for application/json to not contain charset field, according do RFC 8259 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2154">https://github.com/facebook/flipper/issues/2154</a>)</li> <li>Fixing tests by bumping karma-sauce-launcher version (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3813">#3813</a>)</li> <li>Changing testing process from Travis CI to GitHub Actions (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3938">#3938</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Updating documentation around the use of <code>AUTH_TOKEN</code> with multiple domain endpoints (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3539">#3539</a>)</li> <li>Remove duplication of item in changelog (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3523">#3523</a>)</li> <li>Fixing gramatical errors (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2642">https://github.com/facebook/flipper/issues/2642</a>)</li> <li>Fixing spelling error (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3567">#3567</a>)</li> <li>Moving gitpod metion (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2637">https://github.com/facebook/flipper/issues/2637</a>)</li> <li>Adding new axios documentation website link (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3681">#3681</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3707">#3707</a>)</li> <li>Updating documentation around dispatching requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3772">#3772</a>)</li> <li>Adding documentation for the type guard isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3767">#3767</a>)</li> <li>Adding explanation of cancel token (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3803">#3803</a>)</li> <li>Updating CI status badge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3953">#3953</a>)</li> <li>Fixing errors with JSON documentation (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3936">#3936</a>)</li> <li>Fixing README typo under Request Config (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3825">#3825</a>)</li> <li>Adding axios-multi-api to the ecosystem file (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3817">#3817</a>)</li> <li>Adding SECURITY.md to properly disclose security vulnerabilities (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3981">#3981</a>)</li> </ul> <p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p> <ul> <li><a href="https://github.com/axios/axios/blob/HEAD/mailto:jasonsaayman@gmail.com">Jay</a></li> <li><a href="https://github.com/SashaKoro">Sasha Korotkov</a></li> <li><a href="https://github.com/timemachine3030">Daniel Lopretto</a></li> <li><a href="https://github.com/MikeBishop">Mike Bishop</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> <li><a href="https://github.com/bimbiltu">Mark</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h3>0.21.2 (September 4, 2021)</h3> <p>Fixes and Functionality:</p> <ul> <li>Updating axios requests to be delayed by pre-emptive promise creation (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2702">https://github.com/facebook/flipper/issues/2702</a>)</li> <li>Adding "synchronous" and "runWhen" options to interceptors api (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2702">https://github.com/facebook/flipper/issues/2702</a>)</li> <li>Updating of transformResponse (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3377">#3377</a>)</li> <li>Adding ability to omit User-Agent header (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3703">#3703</a>)</li> <li>Adding multiple JSON improvements (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3688">#3688</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3763">#3763</a>)</li> <li>Fixing quadratic runtime and extra memory usage when setting a maxContentLength (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3738">#3738</a>)</li> <li>Adding parseInt to config.timeout (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3781">#3781</a>)</li> <li>Adding custom return type support to interceptor (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3783">#3783</a>)</li> <li>Adding security fix for ReDoS vulnerability (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3980">#3980</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Updating build dev dependancies (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3401">#3401</a>)</li> <li>Fixing builds running on Travis CI (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3538">#3538</a>)</li> <li>Updating follow rediect version (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3694">#3694</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3771">#3771</a>)</li> <li>Updating karma sauce launcher to fix failing sauce tests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3712">#3712</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3717">#3717</a>)</li> <li>Updating content-type header for application/json to not contain charset field, according do RFC 8259 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2154">https://github.com/facebook/flipper/issues/2154</a>)</li> <li>Fixing tests by bumping karma-sauce-launcher version (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3813">#3813</a>)</li> <li>Changing testing process from Travis CI to GitHub Actions (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3938">#3938</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Updating documentation around the use of <code>AUTH_TOKEN</code> with multiple domain endpoints (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3539">#3539</a>)</li> <li>Remove duplication of item in changelog (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3523">#3523</a>)</li> <li>Fixing gramatical errors (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2642">https://github.com/facebook/flipper/issues/2642</a>)</li> <li>Fixing spelling error (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3567">#3567</a>)</li> <li>Moving gitpod metion (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2637">https://github.com/facebook/flipper/issues/2637</a>)</li> <li>Adding new axios documentation website link (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3681">#3681</a>, <a href="https://github-redirect.dependabot.com/axios/axios/pull/3707">#3707</a>)</li> <li>Updating documentation around dispatching requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3772">#3772</a>)</li> <li>Adding documentation for the type guard isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3767">#3767</a>)</li> <li>Adding explanation of cancel token (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3803">#3803</a>)</li> <li>Updating CI status badge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3953">#3953</a>)</li> <li>Fixing errors with JSON documentation (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3936">#3936</a>)</li> <li>Fixing README typo under Request Config (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3825">#3825</a>)</li> <li>Adding axios-multi-api to the ecosystem file (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3817">#3817</a>)</li> <li>Adding SECURITY.md to properly disclose security vulnerabilities (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3981">#3981</a>)</li> </ul> <p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p> <ul> <li><a href="https://github.com/axios/axios/blob/master/mailto:jasonsaayman@gmail.com">Jay</a></li> <li><a href="https://github.com/SashaKoro">Sasha Korotkov</a></li> <li><a href="https://github.com/timemachine3030">Daniel Lopretto</a></li> <li><a href="https://github.com/MikeBishop">Mike Bishop</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> <li><a href="https://github.com/bimbiltu">Mark</a></li> <li><a href="https://github.com/piiih">Philipe Gouveia Paixão</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
23d50520e3 |
Upgrade immer
Summary: Includes a security fix. Reviewed By: timur-valiev Differential Revision: D30767179 fbshipit-source-id: 9051ecdfa7b1f957080f12ca13f7652c2e92c69a |
||
|
|
93660d6be3 |
Bump ws from 7.5.3 to 8.2.1 in /desktop (#2756)
Summary: Bumps [ws](https://github.com/websockets/ws) from 7.5.3 to 8.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p> <blockquote> <h2>8.2.1</h2> <h1>Bug fixes</h1> <ul> <li>Fixed an issue where the socket was not resumed, preventing the connection from being closed cleanly (869c9892).</li> </ul> <h2>8.2.0</h2> <h1>Features</h1> <ul> <li>Added <code>WebSocket.WebSocket</code> as an alias for <code>WebSocket</code> and <code>WebSocket.WebSocketServer</code> as an alias for <code>WebSocket.Server</code> to fix name consistency and improve interoperability with the ES module wrapper (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1935">https://github.com/facebook/flipper/issues/1935</a>).</li> </ul> <h2>8.1.0</h2> <h1>Features</h1> <ul> <li>Added ability to skip UTF-8 validation (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1928">https://github.com/facebook/flipper/issues/1928</a>).</li> </ul> <h1>Bug fixes</h1> <ul> <li>Fixed an issue with a breaking change in Node.js master (6a72da3e).</li> <li>Fixed a misleading error message (c95e695d).</li> </ul> <h2>8.0.0</h2> <h1>Breaking changes</h1> <ul> <li> <p>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if any of the subprotocol names are invalid or duplicated (0aecf0c9).</p> </li> <li> <p>The server now aborts the opening handshake if an invalid <code>Sec-WebSocket-Protocol</code> header field value is received (1877ddeb).</p> </li> <li> <p>The <code>protocols</code> argument of <code>handleProtocols</code> hook is no longer an <code>Array</code> but a <code>Set</code> (1877ddeb).</p> </li> <li> <p>The opening handshake is now aborted if the <code>Sec-WebSocket-Extensions</code> header field value is empty or it begins or ends with a white space (e814110e).</p> </li> <li> <p>Dropped support for Node.js < 10.0.0 (552b5067).</p> </li> <li> <p>The <code>WebSocket</code> constructor now throws a <code>SyntaxError</code> if the connection URL contains a fragment identifier or if the URL's protocol is not one of <code>'ws:'</code>, <code>'wss:'</code>, or <code>'ws+unix:'</code> (ebea038f).</p> </li> <li> <p>Text messages and close reasons are no longer decoded to strings. They are passed as <code>Buffer</code>s to the listeners of their respective events. The listeners of the <code>'message'</code> event now take a boolean argument specifying whether or not the message is binary (e173423c).</p> <p>Existing code can be migrated by decoding the buffer explicitly.</p> <pre lang="js"><code>websocket.on('message', function message(data, isBinary) { const message = isBinary ? data : data.toString(); // Continue as before. }); </code></pre> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
d48293c30f |
Bump dependencies
Summary: Again, bundling a bunch of dependabot tasks I've received. Reviewed By: mweststrate Differential Revision: D30667465 fbshipit-source-id: 1acd29a36a642984105bbccfc75e0e3dd9e0f79b |
||
|
|
fa8827c103 |
Bump deps (#2736)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/2736 This should fix a bunch of open dependabot issues on GitHub. Reviewed By: fabiomassimo Differential Revision: D30539761 fbshipit-source-id: b355d41336b3b1d85b50fb0736fc1b33b12e83d0 |
||
|
|
87580c4147 |
Fix build (#2735)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/2735 GitHub has been failing because an ant patch no longer applies. Reviewed By: jknoxville Differential Revision: D30539463 fbshipit-source-id: b16b4d04a366a4af8d0efe36856a4b565aeeecbd |
||
|
|
1304e7c5d7 |
Monday patch dep bump
Summary: allow-large-files Only patch bumps of >1.0.0, should be safe. Reviewed By: jknoxville Differential Revision: D30482302 fbshipit-source-id: b5f331822ba6931b6e5f68190c7d50c62611a153 |