Commit Graph

3751 Commits

Author SHA1 Message Date
Luke De Feo
e47d99a69e Remove unused plugin update command / redux action
Summary:
This command is never actually dispatched so removing to avoid future confusion.

When new plugins are downloaded a check is done here https://fburl.com/code/e3zedljb to see if pluginIsDisabledForAllConnectedClients, if so, load command is queued, which internally calls update (which resets state)

If the plugin is not disabled then a message appears asking user to manually reload.

Reviewed By: aigoncharov

Differential Revision: D44502476

fbshipit-source-id: b796b77f843218c07ee612d9f45cacba073362d3
2023-03-30 10:05:59 -07:00
Luke De Feo
f8e326f4d5 Rename login/logout of reducer to setUserProfile
Summary: The source of truth for logging in is the atom, the userprofile is a side effect and is cached so calling these actions login/logout is very confusing, especially considering those functions exist elsewhere that manage the atoms

Reviewed By: aigoncharov

Differential Revision: D44502481

fbshipit-source-id: 77080cc02134684a58f52fcad74041b4508a22f0
2023-03-30 10:05:59 -07:00
Luke De Feo
ea22ed8f56 Force logged in
Summary:
This diff introduces a few changes:
The login sheet is no longer closable via the x or clicking outside the modal, the cancel button is removed
On startup we check if we have a toke and throw up the sheet
if logout occurs for any reason we throw up the sheet

renamed write_keychain to login, to be consstent with the logout method. It does more than write to key chain since it manages the logged in atom also

Reviewed By: aigoncharov

Differential Revision: D44502483

fbshipit-source-id: 1d91d4eaae65ca523a08e205d1ad730d4d4d090f
2023-03-30 10:05:59 -07:00
Luke De Feo
90069381e8 Clean up cache and redux store after logout
Summary: There were redundant places we were cleaning up and logging out, now all syncronisation between the atom world and everything else is done via the atom subscription.

Reviewed By: aigoncharov

Differential Revision: D44463888

fbshipit-source-id: 9fc2af64b1e0667dd852096557107a48f2fa924c
2023-03-30 10:05:59 -07:00
Luke De Feo
91c5a11e1b Add state to login button when disconnected
Summary: Indicate intern connection state via an icon, now that we are polling when offline this icon automatically goes away one we reconnect

Reviewed By: aigoncharov

Differential Revision: D44502479

fbshipit-source-id: fb411940f1e4cad50539fe08df6d6194b176404a
2023-03-30 10:05:59 -07:00
Luke De Feo
3a85835a9a Sync login atom to prescense of token
Summary:
Logged in state now means that we have a valid token. On startup we try to retrieve a token, if its there then we are logged in, if we remove the tokem, due to explicit logout, or if its expired we are logged out.

Connected is more dynamic, it means we can actually hit intern with a sucessful response. It implicitly requires a token / being logged in

Reviewed By: aigoncharov

Differential Revision: D44502482

fbshipit-source-id: e3077101766cba5128a61d62be3bbd1ca1f00b4f
2023-03-30 10:05:59 -07:00
Luke De Feo
5a6091f6f8 Left rail log in icon decided by atom, cache user profile
Summary:
Previously the left rail state was decided by prescense of user profile but we are moving to logged in state being based on the atom.

As a result we need to cache the user profile so we have something to display when user not on vpn on startup

Reviewed By: aigoncharov

Differential Revision: D44502477

fbshipit-source-id: 11462d24c773d6d364e844b4f606e124e5278348
2023-03-30 10:05:59 -07:00
Lorenzo Blasa
cb11b360fc Use theme colours
Summary:
Stacktrace component was not properly displaying on Light/Dark mode as it was using colours not from the theme.

This change addresses that.

Reviewed By: ivanmisuno

Differential Revision: D44537750

fbshipit-source-id: 1d95313bfc9b5ef386864fa230348b76dce6d648
2023-03-30 08:43:54 -07:00
Anton Kastritskiy
2a52656d0b do not strip comments with tsc
Summary: Since tsc strips comments when writing plugins the dx is lacking as the doumentated comments are not discoverable via hovers in text editors

Reviewed By: aigoncharov

Differential Revision: D44498403

fbshipit-source-id: 8fe262f2d815adfbe989ece5d783359c9af4d180
2023-03-29 06:19:26 -07:00
Andrey Goncharov
35c145463a Limit notification length
Summary: See https://fb.workplace.com/groups/flippersupport/permalink/1593262167821102/

Reviewed By: antonk52

Differential Revision: D44459787

fbshipit-source-id: ef14e560c523fddf4f815d0faafa37e44dc416b8
2023-03-28 07:00:20 -07:00
Andrey Goncharov
13275f77be Use Buffer polyfill
Summary: Buffer is not available in the browser

Reviewed By: lblasa

Differential Revision: D44416645

fbshipit-source-id: 9cca069b8b0111f96bb47628e5f2196a22c9812d
2023-03-28 04:45:06 -07:00
Andrey Goncharov
4b5357da7e Allow relative import from package root inside of top-level fb folder
Reviewed By: LukeDefeo

Differential Revision: D44415645

fbshipit-source-id: d19c5144f9ee374cde0727f93f583552664bc806
2023-03-28 02:16:43 -07:00
Lorenzo Blasa
7f2a0c94f9 Deprecate Layout plugin
Summary: ^

Reviewed By: aigoncharov

Differential Revision: D44417781

fbshipit-source-id: 7ffb369d88771901c9ffca2bbe8ecbd571373a77
2023-03-27 07:32:23 -07:00
generatedunixname89002005306973
bc9d53660a Flipper Release: v0.187.1
Summary: Releasing version 0.187.1

Reviewed By: aigoncharov

Differential Revision: D44416758

fbshipit-source-id: 2c390e1124c63d873fc442dcdfba7a9ac272530e
2023-03-27 06:51:43 -07:00
Andrey Goncharov
09f7bcf878 Fail fast if DataSourceRendererVirtual references an non-existent value
Reviewed By: ivanmisuno

Differential Revision: D44417205

fbshipit-source-id: 043b3b12ea44d85f1fb02e2cf030b4c9cc7e5087
2023-03-27 06:50:59 -07:00
Andrey Goncharov
ccdc6735c6 Log mock errors only for connected devices
Reviewed By: antonk52

Differential Revision: D44367935

fbshipit-source-id: e6de3bf08d9daef9e607b9d24200892f4d04ecd2
2023-03-24 06:34:38 -07:00
Andrey Goncharov
905f5eea0f Back out "Bump @oclif/command from 1.8.16 to 1.8.22 in /desktop"
Summary:
Original commit changeset: a9b2be74bd3f

Original Phabricator Diff: D43905200

It seems that ti caused NPM publishing to start failing
https://github.com/facebook/flipper/actions/workflows/publish-npm.yml

Reviewed By: passy

Differential Revision: D44367845

fbshipit-source-id: eef31c80561872d40babe03227a3ce0fc32eee72
2023-03-24 06:13:54 -07:00
Luke De Feo
77905f30c8 Add context to AbstractClient rawCall errors
Summary: Attempting to fix T146503217. There is no context to the error so this should make it easier in the future. In the MID it says that the layout plugin was selected i made sure to handle any promise rejections in that plugin

Reviewed By: passy

Differential Revision: D44302939

fbshipit-source-id: 987e2c4efd2dc47d2e032d1b21f90458ec5a2df5
2023-03-24 04:28:58 -07:00
dependabot[bot]
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>&lt;style&gt;</code> elements</li>
<li><code>high</code>, <code>low</code>, <code>optimum</code> - for <code>&lt;meter&gt;</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>&lt;select&gt;</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=&quot;...&quot;</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="3603d45157"><code>3603d45</code></a> v0.14.0</li>
<li><a href="693dd3567b"><code>693dd35</code></a> Update to fbjs@0.3</li>
<li><a href="4a4174b9e8"><code>4a4174b</code></a> 0.14.0-rc1</li>
<li><a href="c04d02e5e8"><code>c04d02e</code></a> Add warnings to React module</li>
<li><a href="52b4c9eabf"><code>52b4c9e</code></a> Upgrade to fbjs, fbjs-scripts @ 0.2</li>
<li><a href="b38509cade"><code>b38509c</code></a> Merge pull request <a href="https://github.com/facebook/react/tree/HEAD/packages/react/issues/4540">https://github.com/facebook/flipper/issues/4540</a> from scottburch/ie8-fix</li>
<li><a href="ecb34de574"><code>ecb34de</code></a> Upgrade ESLint, fix code</li>
<li><a href="3f6bca7b16"><code>3f6bca7</code></a> 0.14.0-beta3</li>
<li><a href="5f01a90954"><code>5f01a90</code></a> Update addons.js</li>
<li><a href="1da2b29897"><code>1da2b29</code></a> added suggested comment to get file to pass es-lint</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react/commits/v0.14.0/packages/react">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~gnoff">gnoff</a>, a new releaser for react-refresh since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-refresh&package-manager=npm_and_yarn&previous-version=0.11.0&new-version=0.14.0)](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/4540

Reviewed By: ivanmisuno

Differential Revision: D44215184

Pulled By: mweststrate

fbshipit-source-id: e8f33dfbfbe887d49c27f2dabbbc1548de3d10e9
2023-03-24 04:04:16 -07:00
dependabot[bot]
15e1c99245 Bump reselect from 4.1.5 to 4.1.7 in /desktop (#4541)
Summary:
Bumps [reselect](https://github.com/reduxjs/reselect) from 4.1.5 to 4.1.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/reduxjs/reselect/releases">reselect's releases</a>.</em></p>
<blockquote>
<h2>v4.1.7</h2>
<p>This release updates the TS types to work correctly with TS 4.9, which made a change that broke the existing <code>MergeParameters</code> type implementation.  Happily, the TS team <a href="https://github-redirect.dependabot.com/microsoft/TypeScript/pull/50831#issuecomment-1253830522">provided a better (and simpler!) <code>MergeParameters</code> implementation</a>.  Since that only works with TS 4.7+, we've reworked the internals to handle providing the old implementation to TS 4.2..4.6, and the new implementation to TS 4.7 and greater.</p>
<p>As a user, there should be no visible change - just update to 4.1.7.</p>
<h2>What's Changed</h2>
<ul>
<li>Include 4.6 in the TS test matrix by <a href="https://github.com/lukeapage"><code>@​lukeapage</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/reselect/pull/576">reduxjs/reselect#576</a></li>
<li>TS 4.9 compat by <a href="https://github.com/markerikson"><code>@​markerikson</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/reselect/pull/587">reduxjs/reselect#587</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/reselect/compare/v4.1.6...v4.1.7">https://github.com/reduxjs/reselect/compare/v4.1.6...v4.1.7</a></p>
<h2>v4.1.6</h2>
<p>This release updates the TS types to better handle cases with default parameters, or <code>any/unknown</code> types.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix <a href="https://github-redirect.dependabot.com/reduxjs/reselect/issues/563">https://github.com/facebook/flipper/issues/563</a> - Make it an error when the typings become incorrect by <a href="https://github.com/lukeapage"><code>@​lukeapage</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/reselect/pull/572">reduxjs/reselect#572</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/reselect/compare/v4.1.5...v4.1.6">https://github.com/reduxjs/reselect/compare/v4.1.5...v4.1.6</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="32b66389b9"><code>32b6638</code></a> Release 4.1.7</li>
<li><a href="e4c2ace5cf"><code>e4c2ace</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/reselect/issues/587">https://github.com/facebook/flipper/issues/587</a> from reduxjs/feature/ts-4.9-compat</li>
<li><a href="11ed107b50"><code>11ed107</code></a> Rewrite <code>MergeParameters</code> to work with TS 4.9</li>
<li><a href="5b83d04e08"><code>5b83d04</code></a> Bump TS to 4.8</li>
<li><a href="f57ef857d4"><code>f57ef85</code></a> Move TS 4.1 types into <code>src/legacyTypes</code></li>
<li><a href="69a4ff4fab"><code>69a4ff4</code></a> Bump Prettier and RTK</li>
<li><a href="e5d99b9948"><code>e5d99b9</code></a> Update TS test matrix to 4.9 RC</li>
<li><a href="f53eb41d76"><code>f53eb41</code></a> Merge branch 'master' of github.com:reduxjs/reselect</li>
<li><a href="9d62d03456"><code>9d62d03</code></a> Release 4.1.6</li>
<li><a href="d49e4e1145"><code>d49e4e1</code></a> Give internal memoize callback functions names for dev readability</li>
<li>Additional commits viewable in <a href="https://github.com/reduxjs/reselect/compare/v4.1.5...v4.1.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=reselect&package-manager=npm_and_yarn&previous-version=4.1.5&new-version=4.1.7)](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/4541

Reviewed By: ivanmisuno

Differential Revision: D44215180

Pulled By: mweststrate

fbshipit-source-id: 9c39c40132f825a6dcffa74b7daad3dcb776d766
2023-03-24 04:04:16 -07:00
dependabot[bot]
fa8f108c01 Bump @emotion/babel-plugin from 11.10.2 to 11.10.6 in /desktop (#4554)
Summary:
Bumps [emotion/babel-plugin](https://github.com/emotion-js/emotion) from 11.10.2 to 11.10.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@​emotion/babel-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​emotion/babel-plugin</code><a href="https://github.com/11"><code>@​11</code></a>.10.6</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2985">https://github.com/facebook/flipper/issues/2985</a> <a href="4e172c2ae4"><code>4e172c2a</code></a> Thanks <a href="https://github.com/emmatown"><code>@​emmatown</code></a>! - Remove peer dependency on <code>babel/core</code></li>
</ul>
<h2><code>@​emotion/babel-plugin</code><a href="https://github.com/11"><code>@​11</code></a>.10.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2929">https://github.com/facebook/flipper/issues/2929</a> <a href="13afe0303e"><code>13afe030</code></a> Thanks <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - Updated the underlying parser (<a href="https://github.com/thysultan/stylis">stylis</a>).</p>
</li>
<li>
<p>Updated dependencies [<a href="c02b12145a"><code>c02b1214</code></a>]:</p>
<ul>
<li><code>@​emotion/serialize</code><a href="https://github.com/1"><code>@​1</code></a>.1.1</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0283f88aa0"><code>0283f88</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2999">https://github.com/facebook/flipper/issues/2999</a>)</li>
<li><a href="4e172c2ae4"><code>4e172c2</code></a> Remove peer dependency on <code>babel/core</code> from most packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2985">https://github.com/facebook/flipper/issues/2985</a>)</li>
<li><a href="88ce707647"><code>88ce707</code></a> Add Feathery to the in the wild list (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2990">https://github.com/facebook/flipper/issues/2990</a>)</li>
<li><a href="acb72a4559"><code>acb72a4</code></a> Add explicit <code>permissions</code> to GitHub workflows (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2899">https://github.com/facebook/flipper/issues/2899</a>)</li>
<li><a href="92be52d894"><code>92be52d</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2885">https://github.com/facebook/flipper/issues/2885</a>)</li>
<li><a href="13afe0303e"><code>13afe03</code></a> Upgrade Stylis to a version with container queries support (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2929">https://github.com/facebook/flipper/issues/2929</a>)</li>
<li><a href="d8a13bcae8"><code>d8a13bc</code></a> Fork Stylis prefixer (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2890">https://github.com/facebook/flipper/issues/2890</a>)</li>
<li><a href="c1ee578cf1"><code>c1ee578</code></a> Remove unused <code>cx</code> import in a doc example (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2915">https://github.com/facebook/flipper/issues/2915</a>)</li>
<li><a href="4c0005f677"><code>4c0005f</code></a> Do not warn about <code>emotion/react</code> being loaded twice in Vitest (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2905">https://github.com/facebook/flipper/issues/2905</a>)</li>
<li><a href="61c66963dd"><code>61c6696</code></a> Do not log failed rule insertions in the speedy mode for <code>-ms-expand</code> and `-m...</li>
<li>Additional commits viewable in <a href="https://github.com/emotion-js/emotion/compare/emotion/babel-plugin@11.10.2...@emotion/babel-plugin@11.10.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@emotion/babel-plugin&package-manager=npm_and_yarn&previous-version=11.10.2&new-version=11.10.6)](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/4554

Reviewed By: ivanmisuno

Differential Revision: D44215177

Pulled By: mweststrate

fbshipit-source-id: beaf102cd8dd8937260f32ebb8760b1a51d68860
2023-03-24 04:04:16 -07:00
Andrey Goncharov
d67b073f20 Enhance global error handling
Reviewed By: lblasa

Differential Revision: D44332732

fbshipit-source-id: d36b47e820906213cb829fb7d4d2f3b60ae08c71
2023-03-23 07:08:22 -07:00
Michael Judd
0115ab3113 feat(network-plugin): add support for optional "gql operation name" in data table (#4625)
Summary:
Using this network tab explorer at a company that works in graphql is very difficult because everything comes from the same HTTP route. I've added support for an optional (not visible by default) "GraphQL operation name" field for people who want to use that.

## Changelog
Adds a new optional column in the desktop network plugin called "GraphQL operation name" which will display the operation name if its available.

Pull Request resolved: https://github.com/facebook/flipper/pull/4625

Test Plan:
I didn't see much in the way of component testing for this behaviour. Looking for some guidance here. I'm happy to add some if we think that makes sense

https://user-images.githubusercontent.com/17029928/227016610-b6da1ff3-4a7e-45c6-88da-ceaa6fad53ad.mp4

Reviewed By: ivanmisuno

Differential Revision: D44331605

Pulled By: aigoncharov

fbshipit-source-id: fe7a7812541c235871ae8a71e5461ea2adbd2560
2023-03-23 05:38:15 -07:00
Andrey Goncharov
7609a4cb38 Downgrade log severity for log listener start failures
Reviewed By: mweststrate

Differential Revision: D44333037

fbshipit-source-id: 87f5bec31cb7bf38306f0d48c891ad84d8c0121f
2023-03-23 05:27:52 -07:00
Andrey Goncharov
ccbc4770f5 Log component stack if a component crashes
Summary: Currently, component crashes are missing component stack traces. Without them, crash bot reports are impossible to debug.

Reviewed By: ivanmisuno

Differential Revision: D44331421

fbshipit-source-id: 0ebd160b4f2f64db40dae29dd9fc350d8d28d802
2023-03-23 05:16:54 -07:00
Andrey Goncharov
a0c17b94c4 Add track controls
Summary: Project: https://docs.google.com/document/d/1x-1ShlxXCM2od9JMO6PP14Cuqq0OrVe1Qd7FUwTos9A/edit#heading=h.fiq3qxllvkl

Reviewed By: ivanmisuno

Differential Revision: D44306047

fbshipit-source-id: 393741f9255dea3d582ac43a4733aa835f5d4a27
2023-03-23 04:12:31 -07:00
Lorenzo Blasa
174c04accf Open in IDE diagnostics
Summary: Copy in IDE and BigGreep search usage

Reviewed By: LukeDefeo

Differential Revision: D44297978

fbshipit-source-id: deb3288c7afbea7fc7aa13937db1478f300d6307
2023-03-22 11:53:54 -07:00
Lorenzo Blasa
c2e41cd095 Copy diagnostics
Summary: Track copy events, both names and inline attributes.

Reviewed By: LukeDefeo

Differential Revision: D44297218

fbshipit-source-id: 5d2b1f2f4fa59d4a86e9e2ae1aa883712ceccb8c
2023-03-22 11:53:54 -07:00
Lorenzo Blasa
583eabdd79 UI actions diagnostics
Summary:
Track:
- Element selected. Include name and tags. Useful to understand what type of elements engineers are selecting in a hierarchy i.e. ui framework, element type, etc.
- Element focused. Same as above.
- Context menu usage

Reviewed By: LukeDefeo

Differential Revision: D44294618

fbshipit-source-id: f2b9642e70818e8a382bbbddc28115a40734dfe8
2023-03-22 11:53:54 -07:00
Lorenzo Blasa
8d83fa2185 Control use diagnostics
Summary:
Current control diagnostics:
- Play/Pause
- Search
- Framework Event Monitoring
- Toggle more options

Reviewed By: LukeDefeo

Differential Revision: D44292835

fbshipit-source-id: c1ef6181141ef47262de8e75abeeb88ffebd4bd6
2023-03-22 11:53:54 -07:00
Andrey Goncharov
b76c8a390c Add excessive logging for "deinit" method for Msys plugin
Summary: Debugging T141716711

Reviewed By: antonk52

Differential Revision: D44295078

fbshipit-source-id: 5269c7308e71d8b2ba7881747fcd5cbe37d81729
2023-03-22 07:34:39 -07:00
generatedunixname89002005306973
469d6080ee Flipper Release: v0.187.0
Summary: Releasing version 0.187.0

Reviewed By: aigoncharov

Differential Revision: D44290210

fbshipit-source-id: 3d483de9d3419b03b82bba4c7e08849ad6614334
2023-03-22 06:33:21 -07:00
Lorenzo Blasa
9b9674be2d Track play-pause usage
Summary: ^

Reviewed By: aigoncharov

Differential Revision: D44169950

fbshipit-source-id: 7a10c6849382680723687a63fd987b9766076af9
2023-03-17 10:37:02 -07:00
Lorenzo Blasa
723bc52c38 Update overview to include iOS
Summary: ^

Reviewed By: aigoncharov

Differential Revision: D44169429

fbshipit-source-id: 4e1b35f753e5cd390d6533f7b31d55f87a64b061
2023-03-17 10:23:54 -07:00
Lorenzo Blasa
bd9bc79cc7 No longer beta
Summary:
^

Time to remove the beta tag.

Reviewed By: aigoncharov

Differential Revision: D44168533

fbshipit-source-id: 5009170328269577aa01e68298753ec0738394d7
2023-03-17 10:23:54 -07:00
Michel Weststrate
3751d3c84c More elaborate error message when plugin download fails
Summary: See https://fb.workplace.com/groups/flippersupport/permalink/1586389021841750/. Flipper suggests that not connecting to VPN is the problem, while the problem can also not being logged in.

Reviewed By: antonk52

Differential Revision: D44164192

fbshipit-source-id: 993d2a4bdc6a9cb0c45f35856b83449cea294d45
2023-03-17 06:35:32 -07:00
dependabot[bot]
8a10979206 Bump @typescript-eslint/parser from 5.22.0 to 5.55.0 in /desktop (#4601)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.22.0 to 5.55.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v5.55.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.54.1...v5.55.0">5.55.0</a> (2023-03-13)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-confusing-void-expression] check sequence expressions for void is in last position (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6597">#6597</a>) (<a href="d73d7d3904">d73d7d3</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-boolean-literal-compare] fixer should handle parentheses (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6569">#6569</a>) (<a href="2d8c196294">2d8c196</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [lines-around-comment] add extension rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5327">#5327</a>) (<a href="d55211caf6">d55211c</a>)</li>
<li><strong>eslint-plugin:</strong> [member-ordering] add support for grouping readonly fields (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6349">#6349</a>) (<a href="9d3bdfcb2f">9d3bdfc</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-cond] check logical assignments (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6594">#6594</a>) (<a href="dbc203aeb6">dbc203a</a>)</li>
<li><strong>parser:</strong> add exported meta object (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6586">#6586</a>) (<a href="d05c3d8aa4">d05c3d8</a>)</li>
<li><strong>typescript-estree:</strong> support <code>const</code> modifiers for type parameters (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6600">#6600</a>) (<a href="f3c637328b">f3c6373</a>)</li>
<li>update TypeScript to 5.0 RC (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6570">#6570</a>) (<a href="36ef0e16f3">36ef0e1</a>)</li>
<li>use <a href="https://github.com/eslint-community"><code>@​eslint-community</code></a> dependencies (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6603">#6603</a>) (<a href="5f6ed738a2">5f6ed73</a>)</li>
</ul>
<h2>v5.54.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1">5.54.1</a> (2023-03-06)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typescript-estree:</strong> do not call export of clearProgramCache (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6540">#6540</a>) (<a href="181e705887">181e705</a>)</li>
</ul>
<h2>v5.54.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0">5.54.0</a> (2023-02-27)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typescript-estree:</strong> check for relative/root paths in printing file path errors (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6491">#6491</a>) (<a href="dc14242984">dc14242</a>)</li>
<li><strong>website:</strong> corect playground build issue (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6506">#6506</a>) (<a href="6aad7d3957">6aad7d3</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [promise-function-async] check for promises in implicit return types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6330">#6330</a>) (<a href="de1e5ce112">de1e5ce</a>), closes <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6329">#6329</a></li>
</ul>
<h2>v5.53.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.52.0...v5.53.0">5.53.0</a> (2023-02-20)</h1>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [consistent-generic-constructors] handle default parameters (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6484">#6484</a>) (<a href="e8cebce972">e8cebce</a>)</li>
<li><strong>eslint-plugin:</strong> [no-mixed-enums] add rule (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6102">#6102</a>) (<a href="16144d1d6a">16144d1</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.54.1...v5.55.0">5.55.0</a> (2023-03-13)</h1>
<h3>Features</h3>
<ul>
<li><strong>parser:</strong> add exported meta object (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6586">#6586</a>) (<a href="d05c3d8aa4">d05c3d8</a>)</li>
</ul>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1">5.54.1</a> (2023-03-06)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0">5.54.0</a> (2023-02-27)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.52.0...v5.53.0">5.53.0</a> (2023-02-20)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0">5.52.0</a> (2023-02-13)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0">5.51.0</a> (2023-02-06)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="877d73327f"><code>877d733</code></a> chore: publish v5.55.0</li>
<li><a href="d05c3d8aa4"><code>d05c3d8</code></a> feat(parser): add exported meta object (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/6586">#6586</a>)</li>
<li><a href="a2494122fb"><code>a249412</code></a> chore: publish v5.54.1</li>
<li><a href="678ed41318"><code>678ed41</code></a> chore: publish v5.54.0</li>
<li><a href="cb272f095b"><code>cb272f0</code></a> chore: publish v5.53.0</li>
<li><a href="c46c793a34"><code>c46c793</code></a> chore: publish v5.52.0</li>
<li><a href="a9cb860c37"><code>a9cb860</code></a> chore: publish v5.51.0</li>
<li><a href="99c091e0e3"><code>99c091e</code></a> chore: publish v5.50.0</li>
<li><a href="eef12d1ef0"><code>eef12d1</code></a> chore: publish v5.49.0</li>
<li><a href="46a7c73152"><code>46a7c73</code></a> chore: publish v5.48.2</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.55.0/packages/parser">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=5.22.0&new-version=5.55.0)](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/4601

Reviewed By: mweststrate

Differential Revision: D44131884

Pulled By: passy

fbshipit-source-id: e9c0a3b5f4ff50803cb3a3449a2f9a0a97ad6788
2023-03-17 05:05:29 -07:00
generatedunixname89002005306973
5961a5dade Flipper Release: v0.186.0
Summary: Releasing version 0.186.0

Reviewed By: lblasa

Differential Revision: D44141066

fbshipit-source-id: ca3a8e5edd2201c098aec52bf61d38367b970bdf
2023-03-17 04:08:33 -07:00
Lorenzo Blasa
5d0e0137d5 Better performance metrics
Summary:
Current metrics are deltas from an initial set timestamp. This works but is limiting or affecting the overall accuracy of them.

The aim of this task is to replace the deltas with actual measurements for the operations.

This way we can add/remove operations in between which will not create any impact of them.

Reviewed By: LukeDefeo

Differential Revision: D44026823

fbshipit-source-id: fd7d62c4eab86bab8239b44beecd5c133f6d11c7
2023-03-16 07:35:44 -07:00
generatedunixname89002005306973
71108897d0 Flipper Release: v0.185.0
Summary: Releasing version 0.185.0

Reviewed By: mweststrate

Differential Revision: D44086339

fbshipit-source-id: 55164829df59c44643741472c85c8971bfc6f556
2023-03-15 06:51:47 -07:00
Andrey Goncharov
a4fcd68c19 Downgrade adb-logcat unexpected shutdown event from error to warning
Reviewed By: mweststrate

Differential Revision: D44089920

fbshipit-source-id: 6d258e507e80b2c9f2ac08f743cdb9fe49b702f2
2023-03-15 06:33:11 -07:00
Luke De Feo
fa2ea39405 Fix bad types and npe
Summary: Framework events was added recently so no garentueed to always be on all clients. Should fix T145084769

Reviewed By: mweststrate

Differential Revision: D44064430

fbshipit-source-id: 5dab14a7de5815a25cf8fe7bfa485a6a57d60071
2023-03-15 04:01:44 -07:00
dependabot[bot]
134ce1f4cb Bump @oclif/command from 1.8.16 to 1.8.22 in /desktop (#4543)
Summary:
Bumps [oclif/command](https://github.com/oclif/command) from 1.8.16 to 1.8.22.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/command/releases"><code>@​oclif/command</code>'s releases</a>.</em></p>
<blockquote>
<h2>1.8.22</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​oclif/parser</code> from 3.8.9 to 3.8.10 (<a href="62a4a05991">62a4a05</a>)</li>
</ul>
<h2>1.8.21</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump json5 from 2.2.0 to 2.2.3 (<a href="29dda733e3">29dda73</a>)</li>
</ul>
<h2>1.8.20</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​oclif/parser</code> from 3.8.8 to 3.8.9 (<a href="535285337a">5352853</a>)</li>
</ul>
<h2>1.8.19</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump semver and <code>@​types/semver</code> (<a href="6904df82f9">6904df8</a>)</li>
</ul>
<h2>1.8.18</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​oclif/parser</code> from 3.8.6 to 3.8.8 (<a href="db059a8623">db059a8</a>)</li>
</ul>
<h2>1.8.17</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> bump <code>@​oclif/errors</code> from 1.3.5 to 1.3.6 (<a href="24becbad50">24becba</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/command/blob/main/CHANGELOG.md"><code>@​oclif/command</code>'s changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="60fa4d3146"><code>60fa4d3</code></a> chore(release): 1.8.22 [skip ci]</li>
<li><a href="cf08098f12"><code>cf08098</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/command/issues/357">https://github.com/facebook/flipper/issues/357</a> from oclif/dependabot-npm_and_yarn-oclif-parser-3.8.10</li>
<li><a href="62a4a05991"><code>62a4a05</code></a> fix(deps): bump <code>@​oclif/parser</code> from 3.8.9 to 3.8.10</li>
<li><a href="6b9bafea87"><code>6b9bafe</code></a> chore(release): 1.8.21 [skip ci]</li>
<li><a href="8a9f2697e4"><code>8a9f269</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/command/issues/356">https://github.com/facebook/flipper/issues/356</a> from oclif/dependabot-npm_and_yarn-json5-2.2.3</li>
<li><a href="29dda733e3"><code>29dda73</code></a> fix(deps): bump json5 from 2.2.0 to 2.2.3</li>
<li><a href="e42009f05c"><code>e42009f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/command/issues/353">https://github.com/facebook/flipper/issues/353</a> from oclif/dependabot-npm_and_yarn-types-node-14.18.36</li>
<li><a href="1bdeb44b8e"><code>1bdeb44</code></a> chore(dev-deps): bump <code>@​types/node</code> from 14.18.35 to 14.18.36</li>
<li><a href="e6f3cf30f5"><code>e6f3cf3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/command/issues/352">https://github.com/facebook/flipper/issues/352</a> from oclif/dependabot-npm_and_yarn-types-node-14.18.35</li>
<li><a href="6a25009c2e"><code>6a25009</code></a> chore(dev-deps): bump <code>@​types/node</code> from 14.18.34 to 14.18.35</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/command/compare/v1.8.16...1.8.22">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@oclif/command&package-manager=npm_and_yarn&previous-version=1.8.16&new-version=1.8.22)](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/4543

Reviewed By: aigoncharov

Differential Revision: D43905200

Pulled By: passy

fbshipit-source-id: a9b2be74bd3ff52037c53cb9f16abfe544ed1fe7
2023-03-15 03:55:03 -07:00
Pascal Hartig
043f5296d0 Demote active iOS device error
Summary: The error is non-fatal as it's already handled and it's not actionable by the Flipper team.

Reviewed By: lawrencelomax

Differential Revision: D44054514

fbshipit-source-id: c54c7e935374a1c97e54a5da4daaa3f26b236023
2023-03-14 05:16:52 -07:00
generatedunixname89002005306973
998998ab19 Flipper Release: v0.184.0
Summary: Releasing version 0.184.0

Reviewed By: aigoncharov

Differential Revision: D44020314

fbshipit-source-id: e23e1c5df101b4f19db65c97024f4e95f6f3eb19
2023-03-13 04:38:57 -07:00
Lorenzo Blasa
c192af7fa0 Event name declutter
Summary:
The current event label used the event type. The type in itself can have this shape:

`ck:willMountComponent`

The event name is just 'willMountComponent'.

So, extract that piece of data instead.

Reviewed By: aigoncharov

Differential Revision: D43983728

fbshipit-source-id: e232b59cfe3eb0710e56fc9ba7f94b644b07ee74
2023-03-13 03:55:03 -07:00
Andrey Goncharov
14795f203b Stop using device API to clear device logs on disconnected devices
Reviewed By: lblasa

Differential Revision: D43979493

fbshipit-source-id: d05450ad4f5e9e1a1336f6a825875d4670725252
2023-03-10 10:00:46 -08:00
Andrey Goncharov
ccba2fb73e Prevent stack overflow in cyclical graphs
Summary: Logview reported "Error: Maximum call stack size exceeded" for "getElementLeaves". Apparently, there was a cycle in the graph that caused it. The new implementation should ignore cycles.

Reviewed By: lblasa

Differential Revision: D43976359

fbshipit-source-id: bb5218a3b29706146501241492ee079773d5abc3
2023-03-10 08:33:19 -08:00
Andrey Goncharov
3d70020f40 Downgrade user error to warning
Summary: We can't do much if a phone is not setup properly

Reviewed By: lblasa

Differential Revision: D43980508

fbshipit-source-id: 5baf82ae36030b81c7cc90bcf6a5de2af9304fb3
2023-03-10 08:32:24 -08:00
Niccolò Belli
6452816de7 fix(build-utils): await stripSourceMapComment (#4586)
Summary:
I've just packaged Flipper for Gentoo Linux and I wanted to use the system electron instead of bundling its own copy into the flipper executable. To do so I use my custom `electron-builder` and `app-builder` versions, which also allows me to support otherwise unsupported architectures like ppc64. That means skipping the downloading/unzipping/bundling steps for electron, which greatly shortens the overall build process.
Being that fast resulted in countless hours of debugging, because the resulting `app.asar` wouldn't work. At some point I noticed that electron-builder cli was working flawlessly while processing the same exact config through the Javascript API resulted in failure, so I started digging into your scripts and I've noticed that you didn't await `stripSourceMapComment` into `desktop/scripts/build-utils.ts`.
In particular the `compile` function was returning before `stripSourceMapComment` had finished doing its stuff, which ended up messing with electron-builder later.
You didn't notice because you download electron, unzip it, etc which takes enough time to let `stripSourceMapComment` finish its stuff before the actual build starts, but since I skip these steps in order to use system electron I've been able to notice it.

## Changelog

I simply await `stripSourceMapComment` promises in `build-utils`.

Pull Request resolved: https://github.com/facebook/flipper/pull/4586

Test Plan:
`cd desktop && yarn && yarn build` is enough to test this.

## Additional Suggestions

I also suggest to enable the [no-floating-promises](https://typescript-eslint.io/rules/no-floating-promises/) eslint rule in order to ensure similar mistakes won't happen in the future.

Reviewed By: ivanmisuno, mweststrate

Differential Revision: D43974442

Pulled By: passy

fbshipit-source-id: 5acfa3d1479828e9373070c40fe3dd865a862561
2023-03-10 06:34:10 -08:00