3a7757e08dba342355e29657224290c8b3c950bf
6092 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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=" |
||
|
|
4236015fd7 |
Bump @babel/parser from 7.15.8 to 7.16.0 in /desktop (#3017)
Summary: Bumps [babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.15.8 to 7.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v7.16.0 (2021-10-30)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13824">#13824</a> Await promises from sync iterators with <code>for-await</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🚀 New Feature</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13802">#13802</a> Support TypeScript 4.5 type-only import/export specifiers (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13887">#13887</a> feat: support <code>startColumn</code> option (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-typescript</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13838">#13838</a> Handle <code>.mts</code> and <code>.cts</code> files in <code>babel/preset-typescript</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li>Other <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13782">#13782</a> Add ESLint 8 support to <code>babel/eslint-parser</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-syntax-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13749">#13749</a> Caret topic (pipe operator) (<a href="https://github.com/js-choi"><code>@js-choi</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-preset-env</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13713">#13713</a> Enable class static blocks by default (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> <li><code>babel-helper-skip-transparent-expression-wrappers</code>, <code>babel-plugin-proposal-optional-chaining</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13687">#13687</a> add <code>skipTransparentExprWrapperNodes</code> helper (<a href="https://github.com/lightmare"><code>@lightmare</code></a>)</li> </ul> </li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13666">#13666</a> Add aliases for Standardized, TypeScript, and Flow (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13876">#13876</a> [ts] Support private methods overloads (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13865">#13865</a> fix: allow enum member without initializer after non-literal member (<a href="https://github.com/lightmare"><code>@lightmare</code></a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13854">#13854</a> Don't transform <code>declare class</code> in plugin-proposal-class-properties (<a href="https://github.com/forivall"><code>@forivall</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-transform-react-constant-elements</code>, <code>babel-preset-env</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13842">#13842</a> Implement <code>@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression</code> (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13813">#13813</a> Restore traversal context after enter / traverse (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13832">#13832</a> Mark static block as FunctionParent (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13825">#13825</a> Fix missing inner comments in function expressions (<a href="https://github.com/overlookmotel"><code>@overlookmotel</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><em>Every package</em> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13772">#13772</a> Use <code>workspace:^</code> to specify <code>babel/</code> dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li>Other <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13856">#13856</a> Update to Yarn 3.1 (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13867">#13867</a> Test on Node.js 17 (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-react</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13858">#13858</a> Force loading plugins/presets from the monorepo in tests (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13844">#13844</a> [ts] precise return type on <code>createTypeAnnotationBasedOnTypeof</code> (babel-types) (<a href="https://github.com/lightmare"><code>@lightmare</code></a>)</li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/parser</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.16.0 (2021-10-30)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13824">#13824</a> Await promises from sync iterators with <code>for-await</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🚀 New Feature</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13802">#13802</a> Support TypeScript 4.5 type-only import/export specifiers (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13887">#13887</a> feat: support <code>startColumn</code> option (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helper-fixtures</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-parser</code>, <code>babel-plugin-syntax-typescript</code>, <code>babel-preset-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13838">#13838</a> Handle <code>.mts</code> and <code>.cts</code> files in <code>babel/preset-typescript</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li>Other <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13782">#13782</a> Add ESLint 8 support to <code>babel/eslint-parser</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>, <code>babel-plugin-syntax-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13749">#13749</a> Caret topic (pipe operator) (<a href="https://github.com/js-choi"><code>@js-choi</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-generator</code>, <code>babel-parser</code>, <code>babel-preset-env</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13713">#13713</a> Enable class static blocks by default (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> <li><code>babel-helper-skip-transparent-expression-wrappers</code>, <code>babel-plugin-proposal-optional-chaining</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13687">#13687</a> add <code>skipTransparentExprWrapperNodes</code> helper (<a href="https://github.com/lightmare"><code>@lightmare</code></a>)</li> </ul> </li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13666">#13666</a> Add aliases for Standardized, TypeScript, and Flow (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13876">#13876</a> [ts] Support private methods overloads (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13865">#13865</a> fix: allow enum member without initializer after non-literal member (<a href="https://github.com/lightmare"><code>@lightmare</code></a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13854">#13854</a> Don't transform <code>declare class</code> in plugin-proposal-class-properties (<a href="https://github.com/forivall"><code>@forivall</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-transform-react-constant-elements</code>, <code>babel-preset-env</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13842">#13842</a> Implement <code>@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression</code> (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13813">#13813</a> Restore traversal context after enter / traverse (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13832">#13832</a> Mark static block as FunctionParent (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13825">#13825</a> Fix missing inner comments in function expressions (<a href="https://github.com/overlookmotel"><code>@overlookmotel</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><em>Every package</em> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13772">#13772</a> Use <code>workspace:^</code> to specify <code>babel/</code> dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li>Other <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13856">#13856</a> Update to Yarn 3.1 (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13867">#13867</a> Test on Node.js 17 (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
90b8dfe67e |
Bump node-fetch from 2.6.5 to 2.6.6 in /desktop (#3018)
Summary:
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/node-fetch/node-fetch/releases">node-fetch's releases</a>.</em></p>
<blockquote>
<h2>v2.6.6</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(URL): prefer built in URL version when available and fallback to whatwg by <a href="https://github.com/jimmywarting"><code>@jimmywarting</code></a> in <a href="https://github-redirect.dependabot.com/node-fetch/node-fetch/pull/1352">node-fetch/node-fetch#1352</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.6">https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.6</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><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=" |
||
|
|
2eaccff720 |
Remove Electron devtools closing
Summary: Follow up on D31992230 (
|
||
|
|
4cf1920e36 |
Fix cert generation for new users
Summary: Changelog: Fix server certificates not being generated for first time users. As reported in https://fb.workplace.com/groups/flippersupport/permalink/1247554795725176/, server certificates are not generated properly for new users. Also the fix. Omg. How does typechecking not find this? ...Oh yeah yeah I now, `await not-a-promise` is juuuusst fine. Long live `.then(` I guess... Reviewed By: jknoxville Differential Revision: D32203132 fbshipit-source-id: abd75c178e9c8640a266b2012b9250503d4258be |
||
|
|
1e146d68c3 |
Fix publish script
Summary: Changelog: Fix js-flipper package being published empty Build js-flipper before publishing Fixes(?) https://github.com/facebook/flipper/issues/3023 Reviewed By: jknoxville Differential Revision: D32201978 fbshipit-source-id: 962b14fe1b5accb99bb06c098d86a6824599c967 |
||
|
|
72c886e91f |
Fix reading of launcher settings
Summary: Noticed in a bug report that the read value was `[object Promise]`. This wasn't a huge issue before because the worst case was that when writing settings, it would replace them again with the defaults, but still not great. Reviewed By: mweststrate Differential Revision: D32181718 fbshipit-source-id: cf6cd7aa3bd823845d6657c5466fbcdef6adac28 |
||
|
|
3bc8cbc5c5 |
Add comments for remaining events
Summary: Ugh, VS Code blocked on the formatter and didn't include these in my previous commit. Reviewed By: mweststrate Differential Revision: D32179985 fbshipit-source-id: e8cf178996bc3b468c88023a5c48e69271758e07 |
||
|
|
513c475e3d |
Add comments for interaction events
Summary: Per title Reviewed By: mweststrate Differential Revision: D32171224 fbshipit-source-id: b7610e8c10674d56e75468f46a3fd0664d70b4aa |
||
|
|
2f471cc2b2 |
Visual changes to let the user easily know what release channel they are using
Summary: 1. Added a text label similar to the launch screen that tells user the release channel they are using. 2. Show a different coloured logo when the user is using the "Insiders" channel. I have tried to keep the style as similar to the launch screen as possible for consistency. Reviewed By: passy Differential Revision: D32169268 fbshipit-source-id: f119a379fce983d9df765ede94148a4deaa31c9c |
||
|
|
9d41c3c44c |
Fix device connection timeout notification
Summary: Currently, when a new app connects to Flipper, we show a lost connection notification even though it successfully connects to Flipper. It happens because we of the device_id mismatch. Reviewed By: mweststrate Differential Revision: D32169917 fbshipit-source-id: 6df3ae7fd621b4549e18c1835473a13f18cfb339 |
||
|
|
6bcb5a435b |
Hide "no application selected" warning when there is no device
Summary: In the left App Inspect sidebar on Flipper there were two warning messages - "no devices found" - "no application selected" As there can be no application selected, while no device is active, this change removes the "no application selected" warning. Resulting in only showing one warning at a time. As I am not familiar with all the states, nor what kind of devices or applications can exist in detail, I have moved up the logic to show the "no device found" message. Then reused it for the "no application selected" visibility. In case the upper device list can show "connecting" without an actual device in the list, the "no application selected" message will be shown. Reviewed By: passy Differential Revision: D32139077 fbshipit-source-id: 06456e81fbe1f86d65f9aba598ee84ed8cd6b043 |
||
|
|
3ff955c42b |
Flipper Snapshot Bump: v0.118.1-SNAPSHOT
Summary: Releasing snapshot version 0.118.1-SNAPSHOT Reviewed By: mweststrate Differential Revision: D32167845 fbshipit-source-id: aba7fc088fa2a4fa97a6d762c67b05d232e3c264 |
||
|
|
4c4ef9b68f |
Flipper Release: v0.118.0
Summary: Releasing version 0.118.0 Reviewed By: mweststrate Differential Revision: D32167843 fbshipit-source-id: 1731e360ee1427ffabb9f0933470b1288bbe51a4 |
||
|
|
047d6d5d4e |
Update RN iOS example
Summary: Update RN iOS dependencies Reviewed By: lblasa Differential Revision: D32140297 fbshipit-source-id: 5c35794ada1c35948e9dd9bb9a66634b2de81515 |
||
|
|
67b4b53c20 |
Rotate Styling for Vertical Sidebar
Summary: - We are using the `Sidebar` component in our `LogViewer` implementation and we noticed that it needed some styling updates to be used properly as a vertical `Sidebar`. Reviewed By: mweststrate Differential Revision: D32083159 fbshipit-source-id: 441f3972ae900b5d5f353d3c7b56117c489850ba |
||
|
|
9975aa9319 |
Fix idb pull
Summary: Workaround for idb weirdness Originally started at D27590885 Re-appared at https://github.com/facebook/flipper/issues/3009 Reviewed By: mweststrate Differential Revision: D32106952 fbshipit-source-id: 63d4fa64503c5c2ba80dae113850c937450ab0fb |
||
|
|
bffd58b3a6 |
Fix idb device duplicates
Summary: idb sometimes returns duplicates when we query targets. It leads us to removing valid devices and reconnecting to them again. Eventually, it starves the idb thread pool. This diff removes the duplicates from the idb output. Reviewed By: jknoxville Differential Revision: D32099320 fbshipit-source-id: 7d8b756360f82557000ea5aa037a249b33be9961 |
||
|
|
2e7015388c |
Remove remaining Electron imports from product code: paths & env
Summary: This diff removes most remaining Electron imports, by storing env and path constants on the RenderHost. As nice side effect those paths are all cached now as well. To make sure RenderHost is initialised before Flipper itself, forced loading Flipper through a require. Otherwise the setup is super sensitive to circular import statements, since a lot of module initialisation code depends on those paths / env vars. Reviewed By: nikoant Differential Revision: D31992230 fbshipit-source-id: 91beb430902272aaf4b051b35cdf12d2fc993347 |
||
|
|
dba09542f9 |
Enforce promise chains lint
Summary: Setting the lint level to error and fixing the last three violations. Reviewed By: nikoant Differential Revision: D32109025 fbshipit-source-id: 213ecaa17317f665ac5a192682fa06d182c28581 |
||
|
|
03a824ea18 |
Enforce console.error usage with context
Summary: We're down to zero! Reviewed By: nikoant Differential Revision: D32099777 fbshipit-source-id: af76a2e39b2bdf1523baa0a9cb219d8219818fa9 |
||
|
|
dc6dd47a23 |
Make openssl check async
Summary: This was the last eslint warning for `flipper-server-core` and the only call-site was async already. Reviewed By: mweststrate Differential Revision: D32026626 fbshipit-source-id: 0d6f06086c33707b26f58f668ad533daca9de7dd |
||
|
|
72ce759e61 |
Remove some unhandled rejections in tests
Summary: Fixed several tests that caused uncaught promise rejects to fire after the tests finished. This caused jest to fail if there are too many of them. Reviewed By: aigoncharov Differential Revision: D32118124 fbshipit-source-id: 50734dab6dee2efec7f056940af72858b27b1707 |
||
|
|
8f3e729b7b |
Bump electron-builder
Summary: `yarn build --mac` started failing with errors. This fixes it. Probable root cause: https://github.com/electron-userland/electron-builder/issues/5668 Reviewed By: aigoncharov Differential Revision: D32101006 fbshipit-source-id: 50011f8be8079bd96c8f602002ccb500c3ad4794 |
||
|
|
db59652d0e |
Fix ___cxa_increment_exception_refcount
Summary: Replicates https://www.internalfb.com/diff/D30950944 Reviewed By: lblasa Differential Revision: D32019911 fbshipit-source-id: 8e8a486a2feb7dd34650819d403c2cb21410218c |
||
|
|
763a29d799 |
Update React Devtools v4.21.0
Summary: Update `react-devtools-core` and `react-devtools` dependencies for RN, VSCode, Flippe, etc. `js1 upgrade react-devtools -v 4.21.0` # Changelog: [General][Changed] - Upgraded react-devtools-core dependency to 4.21.0 Reviewed By: bvaughn Differential Revision: D32065685 fbshipit-source-id: 30d0cca2bec6e9abe384da2afefab1d241e0523f |
||
|
|
64df212cd3 |
Support iOS FlipperConnection send with array parameters
Summary: Achieving API parity with C++ and Android. Reviewed By: lblasa Differential Revision: D31921830 fbshipit-source-id: 873901107fc3c53166fa7bbaaff65ebdb0e53c2a |
||
|
|
4a4cc21d89 |
Refine DataSource id to use actual key type instead of a wide string type
Summary: Current implementation uses type `string` as a key for indexing items stored in datasource. However, users can provide any key as an index which means that the type of index item can be anything, not only string. This diff introduces a more refined types for the key. It adds another requirement to provide a key property to a generic which is used to infer the index type. Reviewed By: mweststrate, aigoncharov Differential Revision: D31895751 fbshipit-source-id: 19ba907bd6f35df87e3fa442db5fc5cec6af174d |
||
|
|
64e791e253 |
Remove usage of Electron context menus
Summary: Removed the usage of electron's native context menus, and replaces it with Antd based context menu's. Reviewed By: passy Differential Revision: D31990756 fbshipit-source-id: 0312cbac5fd20a1a30603ce1058c03f4291b23b1 |
||
|
|
25590e14b9 |
Move Electron stuff to separate folder, decapitate restart
Summary: Per title Reviewed By: passy Differential Revision: D31991715 fbshipit-source-id: 9ca58cdd26c1f540fbe09dcfc7b7f5e7a319ea7d |
||
|
|
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=" |
||
|
|
66661ca4fa |
Bump socket.io from 4.1.3 to 4.3.1 in /desktop (#3003)
Summary: Bumps [socket.io](https://github.com/socketio/socket.io) from 4.1.3 to 4.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/socketio/socket.io/releases">socket.io's releases</a>.</em></p> <blockquote> <h2>4.3.1</h2> <h3>Bug Fixes</h3> <ul> <li>fix server attachment (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4127">#4127</a>) (<a href=" |
||
|
|
197614fd3e |
Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.33.0 in /desktop (#3000)
Summary: Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.33.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v4.33.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0">4.33.0</a> (2021-10-04)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [lines-between-class-members] fix <code>exceptAfterOverload</code> for abstract methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3943">#3943</a>) (<a href=" |
||
|
|
cd2804c553 |
Bump eslint-plugin-promise from 5.1.0 to 5.1.1 in /desktop (#3001)
Summary: Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 5.1.0 to 5.1.1. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/xjamundx/eslint-plugin-promise/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/3001 Reviewed By: passy Differential Revision: D31991583 Pulled By: cekkaewnumchai fbshipit-source-id: af1be4f0e2d70885d2d6622363a7433a786c7778 |
||
|
|
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=" |
||
|
|
3297c4f44b |
Bump algoliasearch from 4.10.5 to 4.11.0 in /desktop (#2998)
Summary: Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.10.5 to 4.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p> <blockquote> <h2>4.11.0</h2> <h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.10.5...4.11.0">v4.11.0</a></h2> <ul> <li>fix(insideBoundingBox): allow strings (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/87d5b0d">87d5b0d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a></li> <li>feat: add custom request function (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3cea192">3cea192</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a></li> <li>feat(ts): document enableReRanking (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/00ad924">00ad924</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a></li> <li>docs(recommend): add TSDoc (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a5df2fb">a5df2fb</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.10.5...4.11.0">v4.11.0</a></h2> <ul> <li>fix(insideBoundingBox): allow strings (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/87d5b0d">87d5b0d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a></li> <li>feat: add custom request function (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3cea192">3cea192</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a></li> <li>feat(ts): document enableReRanking (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/00ad924">00ad924</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a></li> <li>docs(recommend): add TSDoc (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a5df2fb">a5df2fb</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
2525a5efd4 |
Fix Flipper lints #9
Summary: This introduces a few more lints in fact because I renamed the icon functions to make clear that they use sync methods under the hood. Reviewed By: timur-valiev Differential Revision: D31964701 fbshipit-source-id: d0beb58b5b301f5428fdbfe8c65784df0d86eaad |
||
|
|
f8117240af |
Fix async filtering (#3008)
Summary: I relied too much on the types which in this case don't help at all. Filtering on a promise will just automatically get all values to pass. Pull Request resolved: https://github.com/facebook/flipper/pull/3008 Test Plan: `yarn build --mac` works again on the GH checkout. Reviewed By: mweststrate Differential Revision: D31991576 Pulled By: passy fbshipit-source-id: f632d29ddfc09b7130b68b4b17264fd30e1969ce |
||
|
|
366c8f2681 |
Fix Flipper lints #9 1/n
Summary: Mostly ignoring things in this one because it's tests. Reviewed By: timur-valiev Differential Revision: D31955716 fbshipit-source-id: f799bf2b3eaae6753f41121264c777fdeda03165 |
||
|
|
1b5cd3d2d5 |
Fix Flipper lints #12
Reviewed By: timur-valiev Differential Revision: D31932981 fbshipit-source-id: 4cf905495494466462c0494116f56cd16773e549 |
||
|
|
898cadad2d |
Flipper Snapshot Bump: v0.117.1-SNAPSHOT
Summary: Releasing snapshot version 0.117.1-SNAPSHOT Reviewed By: aigoncharov Differential Revision: D31955242 fbshipit-source-id: 777bebd4e0634a54ba8206cdb7962b0412702134 |
||
|
|
360ecb4b24 |
Flipper Release: v0.117.0
Summary: Releasing version 0.117.0 Reviewed By: aigoncharov Differential Revision: D31955241 fbshipit-source-id: 0a4c848c96bc63ebd1f4d642965693a1e3502f6c |
||
|
|
dbbda21b55 |
Upgrade docusaurus
Summary: Was gonna write some docs so wanted to use the opportunity to get docusaurus up-to-date. Reviewed By: jknoxville Differential Revision: D31956185 fbshipit-source-id: be7304ac2def5bb5576e076c1c13f79cb2b4bab3 |
||
|
|
0f9698312a |
Fix capitalization of method reference
Summary: Docs only. Reviewed By: jknoxville Differential Revision: D31928323 fbshipit-source-id: 14be8bf89215054e6561fc38f73040ccfae229c4 |
||
|
|
9763af4c96 |
Decouple open/save dialogs, reload, shouldUseDarkColors from Electron
Summary: Per title. Less imports from Electron. Reviewed By: timur-valiev, aigoncharov Differential Revision: D31923504 fbshipit-source-id: dc7557cf7c88c0c8168ba22f7dca7b3e2d339a09 |
||
|
|
d5e4b0c360 |
Clear Activity after Being Destroyed
Summary: [Reported in the support request](https://fb.workplace.com/groups/flippersupport/posts/1237466586733997/), Activity object is held by ObjectTracker even though the Activity is destroyed. This, in this case, caused strict mode in Portal app to forcibly terminate. This diff tried to remove activities from the reference holder. Reviewed By: passy Differential Revision: D31828290 fbshipit-source-id: aad7e8d7ba14069f8dd7c654a3604d482d85e110 |
||
|
|
9ef4303a1a |
Add platform wizard when opening Flipper for first time
Summary: T103651722 - Added a first time wizard to pick the user platforms when the user opens it for the first time. The fact that the wizard was shown is stored in localstorage. Reviewed By: mweststrate Differential Revision: D31861286 fbshipit-source-id: a46c532520cd88a0c4c608d3ee314289f0407475 |
||
|
|
fa7e8a6b37 |
Add max-width Style Prop to Tabs.tsx
Summary: - We're using the `Tabs` component from `flipper-plugin` and upon adding them, we noticed that our view being displayed within the tabs no longer scrolled and the tab internally was being stretched far off the screen. (D31538124) - After egp did some digging, he discovered that by adding the `maxWidth` style property to the inner `Layout.Container`, the tab no longer stretched and the scrolling was restored. - We played around by adding wrapper elements around the contents of our Tab and adding the same style prop, but this did not yield the same result. ***Would Love some input from the Flipper team as to the best way to ensure that this won't break other's plugins. Thank you!*** Reviewed By: mweststrate Differential Revision: D31672790 fbshipit-source-id: 99cab1873f359f4c1827e4c94f2527636884c237 |
||
|
|
2423423183 |
Update React DevTools v4.20.2
Summary: Update `react-devtools-core` and `react-devtools` dependencies for RN, VSCode, Flipper, etc. `js1 upgrade react-devtools -v 4.20.2` # Changelog: [General][Changed] - Upgraded react-devtools-core dependency to 4.20.2 Reviewed By: lunaruan Differential Revision: D31809278 fbshipit-source-id: 0360fe173cfc7ce09595e6db4e8e41c6f64becd7 |