7c1251075f67766f52c27a5df9c92bfd8640fa4c
23 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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 |
||
|
|
3ec5b56263 |
Polyfill fetch
Summary: Provide server add-on writers with a well-known fetch API Reviewed By: mweststrate Differential Revision: D34447630 fbshipit-source-id: 70386940c12f9e53aa97b3530a7edf1d40b5f2e2 |
||
|
|
aec05533d7 |
Expose a subset of flipper-plugin to flipper server
Summary: Flipper plugins rely on 'flipper-plugin' package being accessible from 'global'. Expose a subset (without UI stuff) of flipper-plugin to server add-ons Reviewed By: mweststrate Differential Revision: D34400811 fbshipit-source-id: e0079ddfa67e66c1b24ab02d7682917ddfc84aaf |
||
|
|
1910d3b713 |
Bump dependencies in /desktop
Summary: Combining green-ticked upgrades from GitHub into one push. Reviewed By: lblasa Differential Revision: D34212788 fbshipit-source-id: 12b207a05b9df08eac5b5c58fe1025932c448258 |
||
|
|
e26540ddd7 |
Bump axios from 0.24.0 to 0.25.0 in /desktop (#3383)
Summary: Bumps [axios](https://github.com/axios/axios) from 0.24.0 to 0.25.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.25.0</h2> <h3>0.25.0 (January 18, 2022)</h3> <p>Breaking changes:</p> <ul> <li>Fixing maxBodyLength enforcement (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li> <li>Don't rely on strict mode behaviour for arguments (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3470">#3470</a>)</li> <li>Adding error handling when missing url (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3791">#3791</a>)</li> <li>Update isAbsoluteURL.js removing escaping of non-special characters (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3809">#3809</a>)</li> <li>Use native Array.isArray() in utils.js (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3836">#3836</a>)</li> <li>Adding error handling inside stream end callback (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3967">#3967</a>)</li> </ul> <p>Fixes and Functionality:</p> <ul> <li>Added aborted even handler (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3916">#3916</a>)</li> <li>Header types expanded allowing <code>boolean</code> and <code>number</code> types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4144">#4144</a>)</li> <li>Fix cancel signature allowing cancel message to be <code>undefined</code> (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3153">https://github.com/facebook/flipper/issues/3153</a>)</li> <li>Updated type checks to be formulated better (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3342">https://github.com/facebook/flipper/issues/3342</a>)</li> <li>Avoid unnecessary buffer allocations (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3321">https://github.com/facebook/flipper/issues/3321</a>)</li> <li>Adding a socket handler to keep TCP connection live when processing long living requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3422">#3422</a>)</li> <li>Added toFormData helper function (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3757">#3757</a>)</li> <li>Adding responseEncoding prop type in AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3918">#3918</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Adding axios-test-instance to ecosystem (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li> <li>Optimize the logic of isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3546">#3546</a>)</li> <li>Add tests and documentation to display how multiple inceptors work (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3564">#3564</a>)</li> <li>Updating follow-redirects to version 1.14.7 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4379">#4379</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Fixing changelog to show corrext pull request (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4219">#4219</a>)</li> <li>Update upgrade guide for https proxy setting (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3604">#3604</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/rijkvanzanten">Rijk van Zanten</a></li> <li><a href="https://github.com/koh110">Kohta Ito</a></li> <li><a href="https://github.com/bfaulk96">Brandon Faulkner</a></li> <li><a href="https://github.com/NoriSte">Stefano Magni</a></li> <li><a href="https://github.com/fanguangyi">enofan</a></li> <li><a href="https://github.com/puzpuzpuz">Andrey Pechkurov</a></li> <li><a href="https://github.com/doowonee">Doowonee</a></li> <li><a href="https://github.com/emilbroman-eqt">Emil Broman</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/BlackHole1">Black-Hole</a></li> <li><a href="https://github.com/wolframkriesing">Wolfram Kriesing</a></li> <li><a href="https://github.com/repl-andrew-ovens">Andrew Ovens</a></li> <li><a href="https://github.com/PauloRSF">Paulo Renato</a></li> <li><a href="https://github.com/carpben">Ben Carp</a></li> <li><a href="https://github.com/wafuwafu13">Hirotaka Tagawa</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.25.0 (January 18, 2022)</h3> <p>Breaking changes:</p> <ul> <li>Fixing maxBodyLength enforcement (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li> <li>Don't rely on strict mode behaviour for arguments (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3470">#3470</a>)</li> <li>Adding error handling when missing url (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3791">#3791</a>)</li> <li>Update isAbsoluteURL.js removing escaping of non-special characters (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3809">#3809</a>)</li> <li>Use native Array.isArray() in utils.js (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3836">#3836</a>)</li> <li>Adding error handling inside stream end callback (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3967">#3967</a>)</li> </ul> <p>Fixes and Functionality:</p> <ul> <li>Added aborted even handler (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3916">#3916</a>)</li> <li>Header types expanded allowing <code>boolean</code> and <code>number</code> types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4144">#4144</a>)</li> <li>Fix cancel signature allowing cancel message to be <code>undefined</code> (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3153">https://github.com/facebook/flipper/issues/3153</a>)</li> <li>Updated type checks to be formulated better (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3342">https://github.com/facebook/flipper/issues/3342</a>)</li> <li>Avoid unnecessary buffer allocations (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3321">https://github.com/facebook/flipper/issues/3321</a>)</li> <li>Adding a socket handler to keep TCP connection live when processing long living requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3422">#3422</a>)</li> <li>Added toFormData helper function (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3757">#3757</a>)</li> <li>Adding responseEncoding prop type in AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3918">#3918</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Adding axios-test-instance to ecosystem (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li> <li>Optimize the logic of isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3546">#3546</a>)</li> <li>Add tests and documentation to display how multiple inceptors work (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3564">#3564</a>)</li> <li>Updating follow-redirects to version 1.14.7 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4379">#4379</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Fixing changelog to show corrext pull request (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4219">#4219</a>)</li> <li>Update upgrade guide for https proxy setting (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3604">#3604</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/rijkvanzanten">Rijk van Zanten</a></li> <li><a href="https://github.com/koh110">Kohta Ito</a></li> <li><a href="https://github.com/bfaulk96">Brandon Faulkner</a></li> <li><a href="https://github.com/NoriSte">Stefano Magni</a></li> <li><a href="https://github.com/fanguangyi">enofan</a></li> <li><a href="https://github.com/puzpuzpuz">Andrey Pechkurov</a></li> <li><a href="https://github.com/doowonee">Doowonee</a></li> <li><a href="https://github.com/emilbroman-eqt">Emil Broman</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/BlackHole1">Black-Hole</a></li> <li><a href="https://github.com/wolframkriesing">Wolfram Kriesing</a></li> <li><a href="https://github.com/repl-andrew-ovens">Andrew Ovens</a></li> <li><a href="https://github.com/PauloRSF">Paulo Renato</a></li> <li><a href="https://github.com/carpben">Ben Carp</a></li> <li><a href="https://github.com/wafuwafu13">Hirotaka Tagawa</a></li> <li><a href="https://github.com/lzxb">狼族小狈</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
0d1520bbec |
Bump ws from 8.4.0 to 8.4.2 in /desktop (#3354)
Summary: Bumps [ws](https://github.com/websockets/ws) from 8.4.0 to 8.4.2. <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.4.2</h2> <h1>Bug fixes</h1> <ul> <li>Fixed a data framing issue introduced in version 8.4.1 (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2004">https://github.com/facebook/flipper/issues/2004</a>).</li> </ul> <h2>8.4.1</h2> <h1>Notable changes</h1> <ul> <li>To improve performance, strings sent via <code>websocket.ping()</code>, <code>websocket.pong()</code>, and <code>websocket.send()</code> are no longer converted to <code>Buffer</code>s if the data does not need to be masked (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/2000">https://github.com/facebook/flipper/issues/2000</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
97f861b2dc |
Bump ws from 7.5.6 to 8.4.0 in /desktop (#3240)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/3240 Bumps [ws](https://github.com/websockets/ws) from 7.5.6 to 8.4.0. <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.4.0</h2> <h1>Features</h1> <ul> <li>Added ability to generate custom masking keys (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1990">https://github.com/facebook/flipper/issues/1990</a>).</li> </ul> <h2>8.3.0</h2> <h1>Features</h1> <ul> <li>Added ability to pause and resume a <code>WebSocket</code> (0a8c7a9c).</li> </ul> <h1>Bug fixes</h1> <ul> <li>Fixed a bug that could prevent the connection from being closed cleanly when using the stream API (ed2b8039).</li> <li>When following redirects, an error is now emitted and not thrown if the redirect URL is invalid (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1980">https://github.com/facebook/flipper/issues/1980</a>).</li> </ul> <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> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
3d28991cbe |
Bump axios from 0.21.4 to 0.24.0 in /desktop (#3166)
Summary: Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 0.24.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.24.0</h2> <h3>0.24.0 (October 25, 2021)</h3> <p>Breaking changes:</p> <ul> <li>Revert: change type of AxiosResponse to any, please read lengthy discussion here: (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4141">#4141</a>) pull request: (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4186">#4186</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/ImRodry">Rodry</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/ITenthusiasm">Isaiah Thomason</a></li> </ul> <h2>v0.23.0</h2> <h3>0.23.0 (October 12, 2021)</h3> <p>Breaking changes:</p> <ul> <li>Distinguish request and response data types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4116">#4116</a>)</li> <li>Change never type to unknown (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4142">#4142</a>)</li> <li>Fixed TransitionalOptions typings (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4147">#4147</a>)</li> </ul> <p>Fixes and Functionality:</p> <ul> <li>Adding globalObject: 'this' to webpack config (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3176">https://github.com/facebook/flipper/issues/3176</a>)</li> <li>Adding insecureHTTPParser type to AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4066">#4066</a>)</li> <li>Fix missing semicolon in typings (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4115">#4115</a>)</li> <li>Fix response headers types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4136">#4136</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Improve timeout error when timeout is browser default (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3209">#3209</a>)</li> <li>Fix node version on CI (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4069">#4069</a>)</li> <li>Added testing to TypeScript portion of project (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4140">#4140</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Rename Angular to AngularJS (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4114">#4114</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/Evan-Finkelstein">Evan-Finkelstein</a></li> <li><a href="https://github.com/Jezorko">Paweł Szymański</a></li> <li><a href="https://github.com/dobesv">Dobes Vandermeer</a></li> <li><a href="https://github.com/caugner">Claas Augner</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/egmen">Evgeniy</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> </ul> <h2>v0.22.0</h2> <h3>0.22.0 (October 01, 2021)</h3> <p>Fixes and Functionality:</p> </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.24.0 (October 25, 2021)</h3> <p>Breaking changes:</p> <ul> <li>Revert: change type of AxiosResponse to any, please read lengthy discussion here: (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4141">#4141</a>) pull request: (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4186">#4186</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/ImRodry">Rodry</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/ITenthusiasm">Isaiah Thomason</a></li> </ul> <h3>0.23.0 (October 12, 2021)</h3> <p>Breaking changes:</p> <ul> <li>Distinguish request and response data types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4116">#4116</a>)</li> <li>Change never type to unknown (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4142">#4142</a>)</li> <li>Fixed TransitionalOptions typings (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4147">#4147</a>)</li> </ul> <p>Fixes and Functionality:</p> <ul> <li>Adding globalObject: 'this' to webpack config (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3176">https://github.com/facebook/flipper/issues/3176</a>)</li> <li>Adding insecureHTTPParser type to AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4066">#4066</a>)</li> <li>Fix missing semicolon in typings (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4115">#4115</a>)</li> <li>Fix response headers types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4136">#4136</a>)</li> </ul> <p>Internal and Tests:</p> <ul> <li>Improve timeout error when timeout is browser default (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3209">#3209</a>)</li> <li>Fix node version on CI (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4069">#4069</a>)</li> <li>Added testing to TypeScript portion of project (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4140">#4140</a>)</li> </ul> <p>Documentation:</p> <ul> <li>Rename Angular to AngularJS (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4114">#4114</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/Evan-Finkelstein">Evan-Finkelstein</a></li> <li><a href="https://github.com/Jezorko">Paweł Szymański</a></li> <li><a href="https://github.com/dobesv">Dobes Vandermeer</a></li> <li><a href="https://github.com/caugner">Claas Augner</a></li> <li><a href="https://github.com/remcohaszing">Remco Haszing</a></li> <li><a href="https://github.com/egmen">Evgeniy</a></li> <li><a href="https://github.com/DigitalBrainJS">Dmitriy Mozgovoy</a></li> </ul> <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> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
d9488f06ac |
Clean up flipper-ui-core deps
Summary: Noticed that flipper-ui-core bundled quite some unused / node based deps. No longer Reviewed By: aigoncharov Differential Revision: D33184489 fbshipit-source-id: a180f9b8f3eb00ffa6c91e0cca654d4b9b609692 |
||
|
|
8f40949bb0 |
clean slate package resolutions
Summary: Over time we collected a lot of harcoded resolutions, but it is really hard to get signal about their sanity: * some resolutions generate a lot of yarn warnings as they resolve with a different major than required, and it's really hard to tell whether they actually make things worse or better * some resolutions are for package we don't even use any more * some resolutions were there to fix type incompatibilities which have been solved now by keeping them uniquely required * some resolutions are there to fix "security issues" or security issues in transient dependencies that might have been upgraded int he mean time So this diff radically removes all of them, trusting Github to propose restoring the sane ones of them :). In terms of functionality everything seems to be working at least Reviewed By: timur-valiev Differential Revision: D33158981 fbshipit-source-id: 83e74cdbc8e47ccbf554b97620cf7caa2c6599ce |
||
|
|
dcfeb4a4d5 |
Clean up packages and types
Summary:
This diff removes most deps from the root package.json, which now only contains electron and shared build / test infra structure: lint, prettier, jest, typescript.
This makes it possible to control much better which packages are used where, as all sub packages now have their deps explicitly in their package.json instead of incidentally shared. This allows for example to disable DOM types for all packages by default (flipper-plugin, ui(-core) and app still request it), and in the next diff I hope to add to this that nodeJS types are no longer shared either, so that UI oriented packages will generate compile errors when using Node built-ins
This diff removes most deps that were currently unused, and dedupes a bunch of other ones, so the build should probably be a bit smaller now as well:
{F686704253}
{F686704295}
Reviewed By: antonk52
Differential Revision: D33062859
fbshipit-source-id: 5afaa4f2103d055188382a3370c1fffa295a298a
|
||
|
|
c96558a524 |
Remove fs and os usage from Mobile Builds plugin
Summary: Changelog: Expose env info and FS rm command to flipper plugins. Reviewed By: mweststrate Differential Revision: D32988478 fbshipit-source-id: 3d0233f9eb34d3478b07e39b9401c0e30ca95135 |
||
|
|
9436c32ce9 |
Add unit tests for 'download-file' command
Reviewed By: mweststrate Differential Revision: D32926830 fbshipit-source-id: fbd4dcb910ffdcdc365f5f0b4c401423f0256824 |
||
|
|
943d535e86 |
Move sending intern requests from client to server
Summary: This diff moves send intern request from the browser to the server. The reason to make this change is that making such requests from a browser environment causes CORS restrictions to kick in. Reviewed By: nikoant Differential Revision: D32835449 fbshipit-source-id: e8e92e51ca963aa50b3c859bb61c2381171e85ae |
||
|
|
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 |
||
|
|
eab4f0d3d3 |
Bits & pieces
Summary: Added a command to let a file be opened by the OS, and some other small bits and pieces to make Flipper browser compatible. Reviewed By: lblasa Differential Revision: D32721748 fbshipit-source-id: a4ad1c2f662f4651ddf6c20c57e5af1e123914a8 |
||
|
|
2480ed30c5 |
Move flipper-doctor check running to flipper-server-core
Summary: Per title. Two new server API's: get-healthchecks, and run-healtcheck. Types have all been moved to flipper-common, so that they can be used by doctor, server-core and ui-core packages. Since it were quite some, moved them into a FlipperDoctor namespace. Reviewed By: nikoant Differential Revision: D32720510 fbshipit-source-id: 37aa35cde6ebd58479cf0dffec5b7b2da6d22198 |
||
|
|
64747dc417 |
move plugin management from ui-core to server-core
Summary: Follow up of D32665064, this diff moves all plugin management logic from flipper-ui to flipper-server. Things like downloading, installing, querying new plugins. Loading plugins is handled separately in the next diff. Reviewed By: nikoant Differential Revision: D32666537 fbshipit-source-id: 9786b82987f00180bb26200e38735b334dc4d5c3 |
||
|
|
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 |
||
|
|
7094475431 |
Bump split2 from 3.2.2 to 4.1.0 in /desktop (#3002)
Summary: Bumps [split2](https://github.com/mcollina/split2) from 3.2.2 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mcollina/split2/releases">split2's releases</a>.</em></p> <blockquote> <h2>v4.1.0</h2> <h2>What’s Changed</h2> <ul> <li>Add engines field. Add node 10.x to CI (<a href="https://github-redirect.dependabot.com/mcollina/split2/issues/52">https://github.com/facebook/flipper/issues/52</a>) <a href="https://github.com/mcollina"><code>@mcollina</code></a></li> </ul> <h2>v4.0.0</h2> <h2>What’s Changed</h2> <ul> <li>Update to node 12 (<a href="https://github-redirect.dependabot.com/mcollina/split2/issues/50">https://github.com/facebook/flipper/issues/50</a>) <a href="https://github.com/mcollina"><code>@mcollina</code></a></li> <li>Upgrade to GitHub-native Dependabot (<a href="https://github-redirect.dependabot.com/mcollina/split2/issues/48">https://github.com/facebook/flipper/issues/48</a>) <a href="https://github.com/dependabot-preview"><code>@dependabot-preview</code></a></li> <li>Bump standard from 15.0.1 to 16.0.1 (<a href="https://github-redirect.dependabot.com/mcollina/split2/issues/43">https://github.com/facebook/flipper/issues/43</a>) <a href="https://github.com/dependabot-preview"><code>@dependabot-preview</code></a></li> <li>Bump standard from 14.3.4 to 15.0.0 (<a href="https://github-redirect.dependabot.com/mcollina/split2/issues/41">https://github.com/facebook/flipper/issues/41</a>) <a href="https://github.com/dependabot-preview"><code>@dependabot-preview</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
37498ad5a9 |
Refactor server implementation for WebSockets
Summary: Standardize WS implementation for JS environments. Why do we need a separate server implementation for browsers? Browser targets cannot authenticate via the default certificate exchange flow. For browser targets we verify the origin instead. Moreover, for already forgotten reasons the initial implementation of the WS server for browsers used a different kind of message structure and added extra `connect`/`disconnect` messages. After examination, it seems the `connect`/`disconnect` flow is redundant. Major changes: 1. Updated class hierarchy for WS server implementations. 2. Updated browser WS server to support the modern and the legacy protocols. 3. Now a websocket connection with the device is closed on error. The idea is it is highly unlikely to handle any subsequent messages properly once we observe an error. It is better to bail and reconnect. What do you think? Reviewed By: mweststrate Differential Revision: D31532172 fbshipit-source-id: f86aa63a40efe4d5263353cc124fac8c63b80e45 |
||
|
|
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 |
||
|
|
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 |