Commit Graph

2926 Commits

Author SHA1 Message Date
Andrey Goncharov
2c767e1920 Make the universal export work on the older Android devices
Summary: On older Android devices (API 24) `-printf ` is not available

Reviewed By: lblasa

Differential Revision: D40980640

fbshipit-source-id: d1a1bcadc496deaf3d514c1e45b2e0104a937b18
2022-11-04 08:23:44 -07:00
Andrey Goncharov
26241cf5c0 Skip logging data for the 'upload-scibe-logs-event''
Summary:
Logging data for this event turnslogs into unreadable mess
{F789339377}

Reviewed By: lblasa

Differential Revision: D40978819

fbshipit-source-id: ac0894b2a490aa902180c50e7712b168211c7013
2022-11-04 08:23:44 -07:00
Andrey Goncharov
2a108854d2 Make flipper-server-client gracefully handle malformed messages
Summary: FlipperServerClient can use any socket to transfer the data. Since we do not control the socket, we cannot guarantee what comes out of it (hello, Jest E2E tunnel!). We need to handle unexpected messages gracefully.

Reviewed By: passy

Differential Revision: D40891384

fbshipit-source-id: 6f873037aa49bac3fc4c09fa49483cdec537ae40
2022-11-03 06:57:17 -07:00
Andrey Goncharov
60a439ef7b Remove window refernce from flipper-server-client
Summary: Remove `window` reference to use flipper-server-client in NodeJS context (windows is not defined there)

Reviewed By: passy

Differential Revision: D40859805

fbshipit-source-id: 23415f9d504e4dbba4035b942c73add86edf02de
2022-11-03 06:57:17 -07:00
Andrey Goncharov
82e5cfd368 Expose isLoggedIn to plugin creators
Summary: Re-expose one of the legacy exports we had before. Requested by MSYS

Reviewed By: passy

Differential Revision: D40979328

fbshipit-source-id: 7e8f089a182a62f392f3a720bee9b81698930f9d
2022-11-03 06:29:24 -07:00
Andrey Goncharov
226ccf91f6 Create flipper-server-client package
Summary:
FlipperServerClient is a useful abstraction for any JS-based client of headless Flipper. No need to bundle it with flipper-frontend-core, as the rest is not useful for external clients.
Currently, I am planning to add it to jest-e2e to send commands to Flipper

Reviewed By: lblasa

Differential Revision: D40765668

fbshipit-source-id: af48710bb15444ac1ecd649fe9a2ab252f3088f3
2022-10-31 04:26:43 -07:00
generatedunixname89002005306973
aef077f54f Flipper Release: v0.173.0
Summary: Releasing version 0.173.0

Reviewed By: lblasa

Differential Revision: D40803306

fbshipit-source-id: 502ae3cb94994454c31aee05573ec1d43150862a
2022-10-28 09:27:02 -07:00
Lorenzo Blasa
587f428cf8 Allow plugins to use css
Summary:
Flipper plugins fail when importing css from third-party dependencies. This diff tries to fix that.

Effectively, the plugin can import the css and export it when is bundled.

When we load the plugin, we check if there's a css file for it. If there's one, we return it and try to use it.

Reviewed By: aigoncharov

Differential Revision: D40758178

fbshipit-source-id: e53afffcc481504905d5eeb1aea1f9114ee2a86b
2022-10-27 22:50:30 -07:00
generatedunixname89002005306973
1923ad0142 Flipper Release: v0.172.0
Summary: Releasing version 0.172.0

Reviewed By: aigoncharov

Differential Revision: D40720215

fbshipit-source-id: 24b3c7a82d285ee6bfc1819a38aaa7243350ea0a
2022-10-26 08:55:46 -07:00
Andrey Goncharov
8aa226722c Revert adding ui-debugger css into the main bundle
Summary:
Importing CSS from nested node_modules residing inside of the plugins folder breaks publish-static-docs-flipper-diff job. See D40717045.
Reverting it to unblock the release

Reviewed By: lblasa

Differential Revision: D40717654

fbshipit-source-id: ac3f4ce92d69b0e3bed9cd116678785390e26e4e
2022-10-26 06:30:55 -07:00
Andrey Goncharov
b025cda861 Stop doing eval to load server add-ons
Summary:
Closes https://github.com/facebook/flipper/issues/4203

CHANGELOG: Stop doing eval to load server add-ons

On Windows `details.path`  contains backslashes. When we interpolate it, it loses one of the backslashes and subsequently `require` fails to load it. If we do not interpolate it (by ditching eval) it has the double backslash and work just fine.

Reviewed By: lblasa

Differential Revision: D40715523

fbshipit-source-id: 50c52f2a53690b585a32d3009f1692cf0b0d8428
2022-10-26 05:00:00 -07:00
Andrey Goncharov
3e88a53a3f Fix WebSocket server not starting on Windows
Summary: When Flipper starts with Flipper Server enabled, on Windows we forgot to attach the WebSocket handler. It led to a white screen on Electron or to connection timeout messages on Flipper Server.

Reviewed By: passy, lblasa

Differential Revision: D40679781

fbshipit-source-id: 1c8df8012efc54077409eb8891b1d82ddaf16689
2022-10-26 03:36:04 -07:00
Luke De Feo
b2c7d67586 More subtile selection and hover state for vizualizer
Summary:
Old hover state is now selection state
New hover state is a slightly thicker border

Reviewed By: lblasa

Differential Revision: D40637724

fbshipit-source-id: 7b13bc864bc1f626cf0982517befcb80615e7cc0
2022-10-25 07:10:38 -07:00
Luke De Feo
f282a5eb8a Ant tree -> React complex tree
Summary:
Upgraded from ant tree library to the much more capable React complex tree. Added the following:
1. Ability to expand / collapse nodes while automatically expanding / collapsing active/inactive children when they change
2. Keyboard controls of tree all the time
3. Basic search functionality
4. Selecting node in tree focuses and scrolls in the tree
5. Hover state for tree

Reviewed By: lblasa

Differential Revision: D40633876

fbshipit-source-id: 8dcef5ec2c277e476a3eb3cdaef62b15c25323c0
2022-10-25 07:10:38 -07:00
Luke De Feo
0c52ad307e Improve selection in vizualizer
Summary:
Clicking on a node a second time will unselect which was impossible before.

The behaviour of the on click handler doesnt always line up what is currently hovered, this is a temporary work around. There are deeper issues with this in that on exit we hover the parent, but in some situations the parent is too small to propagate. In future we will use the mouse position and do a hit test and drive selection / hover from that

Reviewed By: lblasa

Differential Revision: D40637356

fbshipit-source-id: 9df19dbf619845891bb46624730d7cf74f73cf25
2022-10-25 07:10:38 -07:00
Luke De Feo
b1bee28f08 Coordinate update event when litho scrolls or is shifted
Summary: See doc comment for explanation

Reviewed By: lblasa

Differential Revision: D40587610

fbshipit-source-id: f0909440c4e6e3cc9f5c7b557198a93ba8809bd9
2022-10-25 07:10:38 -07:00
Andrey Goncharov
06dbcecfad Open support request when user creates a universal export
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/ed

It does not make too much sense to have 2 different entry points to export Flipper debug data and to create a support request. It only creates ambiguity for our users. We could open the support request form automatically for them every time. In those rare cases when they try to attach new data to an existing support request, they can always not submit the form.

Reviewed By: passy

Differential Revision: D40632145

fbshipit-source-id: 6ca454d6e885493b32ac3aad008482045dccf51d
2022-10-25 05:31:48 -07:00
Andrey Goncharov
778a56d7ac Create and upload a universal export when using the support request link
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Reviewed By: passy

Differential Revision: D40586468

fbshipit-source-id: 4d6a8706c7d1cad1951bda701c51f0998c985628
2022-10-25 05:31:48 -07:00
Andrey Goncharov
970c03d942 Add uploading to internal cloud storage
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

We'll use it in the subsequent diff to automatically upload a universal export

Reviewed By: passy

Differential Revision: D40585810

fbshipit-source-id: 5b409d716c2ead040865130d379d4f593cb68483
2022-10-25 05:31:48 -07:00
Andrey Goncharov
5d921966fb Introduce the Rage button to users
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Reviewed By: passy

Differential Revision: D40553286

fbshipit-source-id: 5007e2df9979ed7897af380cd7595173e634fb5a
2022-10-25 05:31:48 -07:00
Andrey Goncharov
14bdc87b11 Remove Flipper logs export menu
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

We have a universal export now. Why would we ask for logs only?

Reviewed By: passy

Differential Revision: D40553127

fbshipit-source-id: 674482e39746e789d70bf800daa5f021d83bb093
2022-10-25 05:31:48 -07:00
Andrey Goncharov
2289d6c0e2 Create a partial universal export in case of errors
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Attach what we can to the universal export file if any of the steps time out

CHANGELOG: Add a universal debug export button

Reviewed By: passy

Differential Revision: D40552235

fbshipit-source-id: 775afccacf053fbcf764d1f39e93a89ad20dee0a
2022-10-25 05:31:48 -07:00
Andrey Goncharov
e886427003 Make device debug info fetching fault tolerant
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Some files on the devices could be unavailable due to lack of permissions (hello SELinux and enterprise builds of iOS apps). Instead of failing the export, we should fetch what we can.

Reviewed By: passy

Differential Revision: D40551931

fbshipit-source-id: 698e157b1283b9e959909b6439cd09d2dc8dc8d6
2022-10-25 05:31:48 -07:00
Andrey Goncharov
80f947212b Add a modal with status updates for the universal export
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Exporting all files form a device and export Flipper's own state could take a long time. We need to keep our users updated on the status.

Reviewed By: passy

Differential Revision: D40551661

fbshipit-source-id: d5c94fb99d4bc8b4495ce463915b77c475548f01
2022-10-25 05:31:48 -07:00
Andrey Goncharov
96aa0ac02b Automatically export all plugins as a part of a universal export
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Reviewed By: passy

Differential Revision: D40550440

fbshipit-source-id: 2f88c84124c35524d020fd2bcd8487dc2c64d8f3
2022-10-25 05:31:48 -07:00
Andrey Goncharov
6af6652ab2 Export data for the universal export as a single zip archive
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

It is better UX not to prompt a user multiple times to save various pieces of the debug export

Reviewed By: passy

Differential Revision: D40550084

fbshipit-source-id: 51ea3acee7daf5074682219020e1e1eed2182b7d
2022-10-25 05:31:48 -07:00
Andrey Goncharov
821bf2b5b7 Get files from Flipper folder for every app on an iOS device
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Fetch list of files in the `/sonar` folder on iOS devices and fetch all the files

Reviewed By: passy

Differential Revision: D40548410

fbshipit-source-id: d38cbbb1e3b5579c13f30777233e3caf7b8c9b34
2022-10-25 05:31:48 -07:00
Andrey Goncharov
3c8ebf105a Get files from Flipper folder for every app on an Android device
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

We'll make the fetching more resilient to errors in subsequent diffs

Reviewed By: passy

Differential Revision: D40512932

fbshipit-source-id: df3d2b14c033ec4434b2bf408f05734d71dee092
2022-10-25 05:31:48 -07:00
Andrey Goncharov
480a3d26f0 List contents of Flipper folder on Android
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

In later diffs, we'll start fetching the actual files as well. The list of available files itself might be useful already to see what we have in our folder on the device

Reviewed By: passy

Differential Revision: D40508960

fbshipit-source-id: 96193fef3fed64d509cd3397513ae3e94438ae22
2022-10-25 05:31:48 -07:00
Andrey Goncharov
2db9bccf75 Export client logs for the active client as a part of the universal export
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Introduce a command rto fetch debug data from the devices

Reviewed By: passy

Differential Revision: D40470838

fbshipit-source-id: 40a7ec66b1266ceff1b31b5b4f19b93765b78615
2022-10-25 05:31:48 -07:00
Andrey Goncharov
ef0d9fb77e Export Flipper state as a part of the universal export
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Create Flipper export as a part on the universal export

Reviewed By: passy

Differential Revision: D40468242

fbshipit-source-id: b1b8e4df3b630c6163bb383482123c12dfc6e118
2022-10-25 05:31:48 -07:00
Andrey Goncharov
0e5af8095f Stash and export debug logs
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Stash all logs including debug ones for the export

Reviewed By: lblasa

Differential Revision: D40467905

fbshipit-source-id: 963ce8e92d2131220640a63f5e9c38f4317af061
2022-10-25 05:31:48 -07:00
Andrey Goncharov
be72375d18 Add "Rage" button
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

Add a button to export all possible debug data at once. IN subsequent diffs, I'll add more extensive data collection.

Reviewed By: antonk52

Differential Revision: D40467606

fbshipit-source-id: 6a4225945b1feb6c1a8073b5209a62ba0beb6148
2022-10-25 05:31:48 -07:00
Lorenzo Blasa
edb7de7311 Fix style naming for bounds and spacebox inspectors
Summary: ^

Reviewed By: passy

Differential Revision: D40632902

fbshipit-source-id: ae4cc57b3b64cac0cbeffc20c3189e3a01e13949
2022-10-25 03:09:00 -07:00
Lorenzo Blasa
bb3b1cecef Simple antd types for each inspectable type
Summary:
Replace draft inspectors with read-only components.

This is a first step into having a richer UI. At the moment, these are read-only components but will likely be extended in the future as to allow editing of values.

Reviewed By: LukeDefeo

Differential Revision: D40345016

fbshipit-source-id: a6aef5861474b4aa8353c00ef257ab17b4cff00e
2022-10-25 03:09:00 -07:00
Lorenzo Blasa
9721993576 Displayable name for attributes utility function
Summary:
Utility function that transforms lower camel case attribute names to a more readable name.

e.g. sizeToFit -> Size To Fit

Reviewed By: antonk52

Differential Revision: D40344715

fbshipit-source-id: f0745b892a78cc262133197a4d4b7624a7e2141d
2022-10-25 03:09:00 -07:00
Lorenzo Blasa
1ee89d0e64 Add enum and boolean inspectables
Summary: Add types to support enum and boolean inspectables

Reviewed By: aigoncharov

Differential Revision: D40344566

fbshipit-source-id: c1f719e634a4096e5dd63d3b96c6d64c9684c62b
2022-10-25 03:09:00 -07:00
Lorenzo Blasa
c46ddf7912 Foundations for inspector
Summary:
^

This laids the foundation for the inspector. It just reorganises a few bits.

Reviewed By: LukeDefeo

Differential Revision: D40319611

fbshipit-source-id: 8cf9b151c631faa1f26a7a6dfaa86b01abc42fe5
2022-10-25 03:09:00 -07:00
Luke De Feo
a520c422eb Improve waiting for new client for deeplinks
Summary:
There were some situations were we would hang waiting for new clients but one had connected.

Additionally the old approach would close and reopen the dialog every time a state update happened in the redux store which was a little jarring. Now the polling of the update is independant the dialog

The dialog still flashes  for other parts of the flow (when scanning for devices) and would be nice to fix this too in the future

Reviewed By: mweststrate

Differential Revision: D40477502

fbshipit-source-id: d1ff161f262493cf5b3fb74e22b49ed65de8c292
2022-10-24 08:07:01 -07:00
Luke De Feo
c6dbfc87a4 Wait for client to initliaze on startup deep link
Summary: We were incorrectly assuming a client did not support a plugin because it was not fully initialized. This issue was only apparant on start deep links

Reviewed By: mweststrate

Differential Revision: D40477503

fbshipit-source-id: 5fd9db765f559b8eb80cc3680ee694dfd2cf9a37
2022-10-24 08:07:01 -07:00
Shoham Peller
29938d0c69 Attempt to su when run-as gets permissions denied
Summary: pull/push might fail when run-as fails on insufficient permissions. When this happens, try to perform the command as root.

Reviewed By: aigoncharov

Differential Revision: D40623363

fbshipit-source-id: a4cc71d70f83ce1a390b14c9af9d3a3fa09f1307
2022-10-24 05:48:06 -07:00
Guangming Mao
629bbe6c5a Highlight text in table row details
Summary: Add prop for highlight color in DataInspector

Differential Revision: D40464529

fbshipit-source-id: 7113592c192b12504c0691d95663208181c1ad8c
2022-10-19 10:35:39 -07:00
Tianyu Yao
c1ec891fd0 Upgrade React DevTools deps to 4.26.1
Summary:
Changelog:
[General][Changed] - Upgraded react-devtools-core dependency to 4.26.1

Reviewed By: lunaruan

Differential Revision: D40394563

fbshipit-source-id: 70a841c7478d8944dc8a57dd7711953d6bd7958a
2022-10-18 10:43:18 -07:00
Lorenzo Blasa
0572808f1a Add additional inspectables
Summary:
This change adds support for more inspectables and also introduces more complex types to be used as a value.

This become specially useful for more complex yet primitive types like coordinate, size, bounds, etc.

Reviewed By: LukeDefeo

Differential Revision: D40307885

fbshipit-source-id: 125e832f06d6b31f56eb5405182d1c0d61388930
2022-10-18 04:30:51 -07:00
generatedunixname89002005306973
6d6ad3cb80 Flipper Release: v0.171.1
Summary: Releasing version 0.171.1

Reviewed By: aigoncharov

Differential Revision: D40466532

fbshipit-source-id: 2fecb1810df67b450430957801dfd10ffe114c31
2022-10-18 04:06:55 -07:00
Lorenzo Blasa
85c4178c22 antd update
Summary:
^

allow-large-files

Reviewed By: mweststrate

Differential Revision: D40319006

fbshipit-source-id: 79fc39dfb967d780b947a5ef302abdd0be9b5ee6
2022-10-18 03:32:31 -07:00
Lorenzo Blasa
5089f0319f Hide overflow
Summary: ^

Reviewed By: mweststrate

Differential Revision: D40316441

fbshipit-source-id: 235d0d3260743e3cdd85921aa27d20eef8217cae
2022-10-18 02:49:58 -07:00
generatedunixname89002005306973
71d0bbb90a Flipper Release: v0.171.0
Summary: Releasing version 0.171.0

Reviewed By: aigoncharov

Differential Revision: D40436300

fbshipit-source-id: 700b21b8025f32a6d81d19aa64ab0fb38e31d3c2
2022-10-17 11:48:51 -07:00
dependabot[bot]
27609f9ce2 Bump @emotion/styled from 11.8.1 to 11.10.4 in /desktop (#4118)
Summary:
Bumps [emotion/styled](https://github.com/emotion-js/emotion) from 11.8.1 to 11.10.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@​emotion/styled</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​emotion/styled</code><a href="https://github.com/11"><code>@​11</code></a>.10.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2867">https://github.com/facebook/flipper/issues/2867</a> <a href="89b6dbb3c1"><code>89b6dbb3</code></a> Thanks <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - Externalized code referencing <code>React.useInsertionEffect</code> to a separate <code>emotion/use-insertion-effect-with-fallbacks</code> package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It references <code>useInsertionEffect</code> in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we reference <code>useInsertionEffect</code> and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't &quot;destroy&quot; the carefully crafted reference to <code>useInsertionEffect</code> in the process.</p>
<p>Note that we don't recommend bundling Emotion. You should have very specific reasons to do so.</p>
</li>
<li>
<p>Updated dependencies [<a href="89b6dbb3c1"><code>89b6dbb3</code></a>]:</p>
<ul>
<li><code>@​emotion/use-insertion-effect-with-fallbacks</code><a href="https://github.com/1"><code>@​1</code></a>.0.0</li>
</ul>
</li>
</ul>
<h2><code>@​emotion/styled</code><a href="https://github.com/11"><code>@​11</code></a>.10.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2819">#2819</a> <a href="bbad8c7993"><code>bbad8c79</code></a> Thanks <a href="https://github.com/nicksrandall"><code>@​nicksrandall</code></a>! - <code>exports</code> field has been added to the <code>package.json</code> manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2819">#2819</a> <a href="bbad8c7993"><code>bbad8c79</code></a> Thanks <a href="https://github.com/nicksrandall"><code>@​nicksrandall</code></a>! - Thanks to the added <code>exports</code> field, the package now includes a <code>worker</code> condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.</p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a href="bbad8c7993"><code>bbad8c79</code></a>, <a href="bbad8c7993"><code>bbad8c79</code></a>]:
<ul>
<li><code>@​emotion/babel-plugin</code><a href="https://github.com/11"><code>@​11</code></a>.10.0</li>
<li><code>@​emotion/is-prop-valid</code><a href="https://github.com/1"><code>@​1</code></a>.2.0</li>
<li><code>@​emotion/serialize</code><a href="https://github.com/1"><code>@​1</code></a>.1.0</li>
<li><code>@​emotion/utils</code><a href="https://github.com/1"><code>@​1</code></a>.2.0</li>
</ul>
</li>
</ul>
<h2><code>@​emotion/styled</code><a href="https://github.com/11"><code>@​11</code></a>.9.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2759">https://github.com/facebook/flipper/issues/2759</a> Thanks <a href="https://github.com/srmagura"><code>@​srmagura</code></a>, <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - Change the argument of the <code>shouldForwardProp</code> option of <code>styled</code> from <code>PropertyKey</code> to <code>string</code> in the TypeScript definitions.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2333">https://github.com/facebook/flipper/issues/2333</a> <a href="3055efddf8"><code>3055efdd</code></a> Thanks <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - <code>shouldForwardProp</code> has been changed from being a bivariant method to a contravariant function - it improves the type-safety for those that type this option.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2333">https://github.com/facebook/flipper/issues/2333</a> <a href="3055efddf8"><code>3055efdd</code></a> Thanks <a href="https://github.com/antongolub"><code>@​antongolub</code></a>! - <code>FilteringStyledOptions</code> and <code>StyledOptions</code> types no longer require a type argument for the <code>Props</code> generic.</p>
</li>
<li>
<p>Updated dependencies [<a href="26e4e3e8b6"><code>26e4e3e8</code></a>, <a href="5e81f21398"><code>5e81f213</code></a>, <a href="3055efddf8"><code>3055efdd</code></a>]:</p>
<ul>
<li><code>@​emotion/serialize</code><a href="https://github.com/1"><code>@​1</code></a>.0.4</li>
<li><code>@​emotion/is-prop-valid</code><a href="https://github.com/1"><code>@​1</code></a>.1.3</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6835850e39"><code>6835850</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2872">https://github.com/facebook/flipper/issues/2872</a>)</li>
<li><a href="89b6dbb3c1"><code>89b6dbb</code></a> Move conditional <code>useInsertionEffect</code> declarations into separate package (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2867">https://github.com/facebook/flipper/issues/2867</a>)</li>
<li><a href="28522cd3ca"><code>28522cd</code></a> Upgrade Yarn (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2870">https://github.com/facebook/flipper/issues/2870</a>)</li>
<li><a href="f2608b3a54"><code>f2608b3</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2865">https://github.com/facebook/flipper/issues/2865</a>)</li>
<li><a href="b9b8b7493d"><code>b9b8b74</code></a> Fixed a regression that could cause a crash when looking for an ignoring comm...</li>
<li><a href="c60d646ff5"><code>c60d646</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2860">https://github.com/facebook/flipper/issues/2860</a>)</li>
<li><a href="df434eaf9d"><code>df434ea</code></a> Pass <code>--no-immutable</code> to Yarn when regenerating lockfile after versioning pac...</li>
<li><a href="2de94aee23"><code>2de94ae</code></a> Regenerate lockfile after versioning packages</li>
<li><a href="005e211d53"><code>005e211</code></a> Fixed an issue in the styles minifier that caused interpolations to be someti...</li>
<li><a href="0ffd6068fe"><code>0ffd606</code></a> Fixed the ignore flag not disabling the warning when there are multiple block...</li>
<li>Additional commits viewable in <a href="https://github.com/emotion-js/emotion/compare/emotion/styled@11.8.1...@emotion/styled@11.10.4">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: aigoncharov

Differential Revision: D40335000

Pulled By: mweststrate

fbshipit-source-id: 7427a4ebb0d6b4e643288ae10e4db34a3781bb88
2022-10-14 07:37:57 -07:00
dependabot[bot]
700230fe27 Bump @testing-library/dom from 8.11.3 to 8.17.1 in /desktop (#4091)
Summary:
Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.11.3 to 8.17.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.17.1</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v8.17.0...v8.17.1">8.17.1</a> (2022-08-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>log ignored selectors correctly on error (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1141">https://github.com/facebook/flipper/issues/1141</a>) (<a href="d50a9672af">d50a967</a>)</li>
</ul>
<h2>v8.17.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.16.1...v8.17.0">8.17.0</a> (2022-08-09)</h1>
<h3>Features</h3>
<ul>
<li><strong>ByRole:</strong> improved byRole query performance (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1086">https://github.com/facebook/flipper/issues/1086</a>) (<a href="0226aea74e">0226aea</a>)</li>
</ul>
<h2>v8.16.1</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v8.16.0...v8.16.1">8.16.1</a> (2022-08-04)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Don't assume named exports interop (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1154">https://github.com/facebook/flipper/issues/1154</a>) (<a href="4f965e9e6f">4f965e9</a>)</li>
</ul>
<h2>v8.16.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.15.0...v8.16.0">8.16.0</a> (2022-07-11)</h1>
<h3>Features</h3>
<ul>
<li>add a return value from logTestingPlaygroundURL (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1144">https://github.com/facebook/flipper/issues/1144</a>) (<a href="6d6312f7dc">6d6312f</a>)</li>
</ul>
<h2>v8.15.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.14.1...v8.15.0">8.15.0</a> (2022-07-10)</h1>
<h3>Features</h3>
<ul>
<li>add name hint to missing error in find by queries (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1143">https://github.com/facebook/flipper/issues/1143</a>) (<a href="9b83f01c3f">9b83f01</a>)</li>
</ul>
<h2>v8.14.1</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v8.14.0...v8.14.1">8.14.1</a> (2022-07-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>load and error dispatch <code>Event</code> instead of <code>UIEvent</code> (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1147">https://github.com/facebook/flipper/issues/1147</a>) (<a href="29a17cb5f1">29a17cb</a>)</li>
</ul>
<h2>v8.14.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.13.0...v8.14.0">8.14.0</a> (2022-06-20)</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d50a9672af"><code>d50a967</code></a> fix: log ignored selectors correctly on error (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1141">https://github.com/facebook/flipper/issues/1141</a>)</li>
<li><a href="b7aaf1859f"><code>b7aaf18</code></a> docs: add kalmi as a contributor for code (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li>
<li><a href="0226aea74e"><code>0226aea</code></a> feat(ByRole): improved byRole query performance (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1086">https://github.com/facebook/flipper/issues/1086</a>)</li>
<li><a href="4f965e9e6f"><code>4f965e9</code></a> fix: Don't assume named exports interop (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1154">https://github.com/facebook/flipper/issues/1154</a>)</li>
<li><a href="73a5694529"><code>73a5694</code></a> docs: add Lirlev48 as a contributor for code (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1149">https://github.com/facebook/flipper/issues/1149</a>)</li>
<li><a href="6d6312f7dc"><code>6d6312f</code></a> feat: add a return value from logTestingPlaygroundURL (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1144">https://github.com/facebook/flipper/issues/1144</a>)</li>
<li><a href="7b10f73431"><code>7b10f73</code></a> docs: add dolevoper as a contributor for code (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1148">https://github.com/facebook/flipper/issues/1148</a>)</li>
<li><a href="9b83f01c3f"><code>9b83f01</code></a> feat: add name hint to missing error in find by queries (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1143">https://github.com/facebook/flipper/issues/1143</a>)</li>
<li><a href="29a17cb5f1"><code>29a17cb</code></a> fix: load and error dispatch <code>Event</code> instead of <code>UIEvent</code> (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1147">https://github.com/facebook/flipper/issues/1147</a>)</li>
<li><a href="54bfa48a54"><code>54bfa48</code></a> docs: add robin-drexler as a contributor for code (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1140">https://github.com/facebook/flipper/issues/1140</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/testing-library/dom-testing-library/compare/v8.11.3...v8.17.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/dom&package-manager=npm_and_yarn&previous-version=8.11.3&new-version=8.17.1)](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/4091

Reviewed By: aigoncharov

Differential Revision: D40335010

Pulled By: mweststrate

fbshipit-source-id: 233f3648c8f308e8979e4ee380491e9d23da8115
2022-10-14 07:37:57 -07:00