Commit Graph

8100 Commits

Author SHA1 Message Date
Michel Weststrate
cd7a6bfc40 Log queue overflows
Summary: ^

Reviewed By: aigoncharov

Differential Revision: D44705144

fbshipit-source-id: 9a31d18c1f433bd09d399c3b4dce28726e1e9c72
2023-04-06 03:20:42 -07:00
generatedunixname89002005306973
eeb66ddbab Flipper Snapshot Bump: v0.189.1-SNAPSHOT
Summary: Releasing snapshot version 0.189.1-SNAPSHOT

Reviewed By: ivanmisuno

Differential Revision: D44703758

fbshipit-source-id: 62b9325796ca4e802ca73cd08d8e38a97f347373
2023-04-06 03:15:40 -07:00
generatedunixname89002005306973
8b33b25eda Flipper Release: v0.189.0
Summary: Releasing version 0.189.0

Reviewed By: ivanmisuno

Differential Revision: D44703759

fbshipit-source-id: 447ecacea6f9ae59ddedb405e5fa3915193bc50c
2023-04-06 03:15:40 -07:00
generatedunixname89002005232357
452154802f Revert D44566060: Multisect successfully blamed D44566060 for test or build failures
Summary:
This diff is reverting D44566060
D44566060: Add Flipper support for secondary processes in Messenger VR by rra has been identified to be causing the following test or build failures:

Tests affected:
- [//fbandroid/javatests/com/facebook/messenger:no_sonar_in_production - main](https://www.internalfb.com/intern/test/281474996792449/)

Here's the Multisect link:
https://www.internalfb.com/multisect/1809753
Here are the tasks that are relevant to this breakage:

We're generating a revert to back out the changes in this diff, please note the backout may land if someone accepts it.

If you believe this diff has been generated in error you may Commandeer and Abandon it.

Reviewed By: passy

Differential Revision: D44682510

fbshipit-source-id: c0ae489bc5ae22c5339edd2c8988126b0adedd7f
2023-04-05 10:15:57 -07:00
Andrey Goncharov
794c29f320 Add "overlay" sidebar position to MaterDetail
Summary: Project: https://docs.google.com/document/d/1x-1ShlxXCM2od9JMO6PP14Cuqq0OrVe1Qd7FUwTos9A/edit

Reviewed By: ivanmisuno

Differential Revision: D44706158

fbshipit-source-id: 16c70a7c9a414a6c32d690eb05ae5b08818dd400
2023-04-05 07:22:15 -07:00
Lorenzo Blasa
985a9eda33 Fix Visualiser cropping issue
Summary:
An issue was reported for the visualiser whereas there seemed to be some cropping taking place on the right hand side.

https://pxl.cl/2BhPT

The issue was the resizable panel and visualiser both were set with the same width.

The resizable panel was set as to have a gutter which was not taken into consideration, add this width to the panel width and that fixes the issue.

Also change box sizing model as to not affect the dimensions of the wireframe.

Reviewed By: LukeDefeo

Differential Revision: D44664377

fbshipit-source-id: e640af2090f7c3378e624626fe3ea5df631caa11
2023-04-04 22:10:39 -07:00
Lorenzo Blasa
a419aaaf1b Outer Border removal
Summary: Not in use, remove.

Reviewed By: LukeDefeo

Differential Revision: D44664459

fbshipit-source-id: 226fa7b36eea6696057f46ae482c16ca1959e099
2023-04-04 22:10:39 -07:00
Razvan Racasanu
2c12166b54 Add Flipper support for secondary processes in Messenger VR
Summary: Allow callers to pass id, deviceName, processName, and packageName when initializing Flipper. Since these are used to create the connection id, callers can use these to configure Flipper to work for secondary processes.

Reviewed By: passy

Differential Revision: D44566060

fbshipit-source-id: 605264c230956f4c9643c95c610ec40d736547ac
2023-04-04 11:25:23 -07:00
Luke De Feo
a9b17ac637 Add log tailing infra and downgrade resize observer error to warn
Summary: Resize oberserver limit exceeded appears to be a benign error that we can safely ignore, added ability to change log level. Given we report errors to our user logs, fb log view and console the console log patching has been centralised and now logs are pushed to whatever destinations we have.

Reviewed By: lblasa

Differential Revision: D44666836

fbshipit-source-id: e028dbc52b00947097833f9f3619189226247e1d
2023-04-04 07:58:57 -07:00
Lorenzo Blasa
8f5fcf9444 FrameworkEventsInspector
Summary:
As events get bigger, this change includes the following:
- Dedicated event inspector
- Stacktrace viewer for events with stacktrace attribution
- Stacktrace viewer is displayed within a new BottomPanel. BottomPanel can display any React component and can be reused in the future in different use cases.

Reviewed By: LukeDefeo

Differential Revision: D44628768

fbshipit-source-id: 71a9ef87e71c9a17f58c2544a1aa356eed14ed27
2023-04-04 05:54:42 -07:00
Andrey Goncharov
7f111a11de Expose isConnected and currentUser
Summary: Requested by antonk52 and MSYS team

Reviewed By: passy

Differential Revision: D44662243

fbshipit-source-id: 2bace476c4e79b6a05bfb89ddc3e6acb437c6c3b
2023-04-04 05:26:31 -07:00
Andrey Goncharov
f8a1f38c0a Set flipperLib implementation automatically in unit tests
Summary: This way plugins get something meaningful when they call `getFlipperLib()` in their tests

Reviewed By: LukeDefeo

Differential Revision: D44662821

fbshipit-source-id: c13800f9d8e905ae4a89955f2186adb816730b77
2023-04-04 05:26:31 -07:00
Andrey Goncharov
b3307baafe Make isLoggedIn report user value instead of bool
Summary: It makes little sense to hide this info from developers. It was also requested by antonk52

Reviewed By: LukeDefeo

Differential Revision: D44631235

fbshipit-source-id: 1756c5ca2a95b2f815f8c4336621d3c057b704f2
2023-04-04 05:26:31 -07:00
Andrey Goncharov
7edaf24d5c Deprecate isLoggedIn request
Summary: It no longer makes sense since we are going to export "isLoggedIn" atom that always stays up-to-date in subsequent diffs

Reviewed By: LukeDefeo

Differential Revision: D44631234

fbshipit-source-id: 3e3b29b77d250eef430e81eef80098afe38a1538
2023-04-04 05:26:31 -07:00
Lorenzo Blasa
b0a8dbca01 MarkerTimeline to show a more obvious selected state
Summary:
When a marker is selected, it was difficult to notice any style differences.

This changes makes it more obvious when a marker is selected.

Reviewed By: antonk52, aigoncharov

Differential Revision: D44628828

fbshipit-source-id: c4634338e04969f3d973137ad861cb999b28c139
2023-04-04 04:05:15 -07:00
Lorenzo Blasa
d127ac76ac Remove console logs for events
Summary:
May be a debugging left-over, remove.

https://pxl.cl/2B9bg

Reviewed By: LukeDefeo

Differential Revision: D44630930

fbshipit-source-id: a585a54f807259d50b38fc62df21c30cefcb6510
2023-04-04 03:55:44 -07:00
Lorenzo Blasa
f210ec809f Propagate onClick for TimelineDataDescription
Summary:
`onClick` was not getting called if it wasn't paired with `canSetCurrent`.

Ultimately, we can benefit from propagating this event in all cases as to give indication of whenever a marker has been selected.

Reviewed By: antonk52, aigoncharov

Differential Revision: D44628819

fbshipit-source-id: bee910b48ad065d7479e247fbacdcd738f281b26
2023-04-03 10:35:15 -07:00
Lorenzo Blasa
e4eecc53c4 EventAttribution -> FrameworkEventAttribution
Summary:
Make it more specific as to keep it consistent with the other types.
Do not export JSON.

Reviewed By: antonk52

Differential Revision: D44625218

fbshipit-source-id: 9cab52ee7e7be21d13f85102597a60c9be967fd0
2023-04-03 10:35:15 -07:00
Lorenzo Blasa
0c4ec03e69 Add event payload as event properties for the timeline view
Summary: Leverage the properties prop of `TimelineDataDescription`. Whenever an event is selected, the event payload is shown as the event properties.

Reviewed By: antonk52

Differential Revision: D44497058

fbshipit-source-id: 09782d583957a0df8c3efd3f5a62af6b321a26e3
2023-04-03 10:35:15 -07:00
Lorenzo Blasa
ce2bfe320b Payload and attribution for framework events
Summary: ^

Reviewed By: LukeDefeo

Differential Revision: D44496975

fbshipit-source-id: 4f633d0f00239cac16ee332d35755b343d46b124
2023-04-03 10:35:15 -07:00
generatedunixname89002005306973
6bf099ef79 Flipper Snapshot Bump: v0.188.1-SNAPSHOT
Summary: Releasing snapshot version 0.188.1-SNAPSHOT

Reviewed By: LukeDefeo

Differential Revision: D44628088

fbshipit-source-id: 7b430c1fb9d8217ac4b0acb1870e4ce9000cb1d5
2023-04-03 08:52:01 -07:00
generatedunixname89002005306973
af1842a027 Flipper Release: v0.188.0
Summary: Releasing version 0.188.0

Reviewed By: LukeDefeo

Differential Revision: D44628090

fbshipit-source-id: a6f22b743331e3e18f2a2787e2fb6471b32cd430
2023-04-03 08:52:01 -07:00
Lorenzo Blasa
04911d9d85 Tabs need key now
Summary: Because Tabs now depend on the selected node (i.e. some nodes have events, some don't) they need to use a key.

Reviewed By: antonk52

Differential Revision: D44624658

fbshipit-source-id: 693983f6a82c090adae3a2e009873d903626ab75
2023-04-03 04:39:25 -07:00
Lorenzo Blasa
8f9bf978e1 Ignore OverlayHandlerView as active child
Summary:
On foldable devices, there's an issue whereas the topmost root view is of type `OverlayHandlerView`.

This doesn't seem to be related in any way to the running app's UI. Or at least is not something of interest when debugging the running app's UI (for example, ig4a).

This change effectively ignores the `OverlayHandlerView` instance as active child and instead returns the next to last root view.

Reviewed By: LukeDefeo

Differential Revision: D44579223

fbshipit-source-id: cea52289c5ba1e6a96817232ac54725b8d2f48d9
2023-03-31 10:11:06 -07:00
Andrey Goncharov
5b0ae2a4f8 Fix NPE when activeChildIdx points to the non-existent entry
Summary:
Based on the stack trace in T145744183, `activeChildIdx` could point to a non-existent array element.
Previously, we used to:
1) Find the index of the activeChild in the non-filtered array of children
2) Filter the array

As a result, it could lead to some of the elements in the child array to be filtered and shifting activeChildIdx, making it invalid.

Now, we search activeChild in the already filtered array.

Reviewed By: LukeDefeo

Differential Revision: D44575170

fbshipit-source-id: 2cb9a0b24badc8509a859011694f77b048d93316
2023-03-31 07:21:28 -07:00
Lorenzo Blasa
695c669e0c TimelineDataDescription to accept any properties
Summary: DataInspector can use `any` value to inspect. Lift the constraint from TimelineDataDescription as ultimately is not necessary i.e. the right inspector will be used based on the type of properties.

Reviewed By: antonk52

Differential Revision: D44572963

fbshipit-source-id: ad8a257020c90e18468e905f2beda44c2ee06368
2023-03-31 04:15:29 -07:00
Luke De Feo
2e8427f26b Add getUser back as deprecated method
Summary: On downloading  the new flipper update some of the older plugins which are on a different release cycle may try to call getUser which was removed in this stack in favour of getCached user and fetchUser, adding this back temporarily so those calls dont fail. This can be removed down the road once those plugins have soaked into the user base

Reviewed By: ivanmisuno, aigoncharov

Differential Revision: D44541277

fbshipit-source-id: 95e67d5ba11bbc26590d2789127cbf6a68c54f16
2023-03-30 10:05:59 -07:00
Luke De Feo
140ca5991e Dont show token notification when sign in sheet open
Summary: This is an edge case where if we make a intern call  to fetch user with an invalid token we would imply that the token may have expired. Since we already have a error message in the sign in sheet we dont show the notification

Reviewed By: aigoncharov

Differential Revision: D44502480

fbshipit-source-id: 531df6db28bc2a6f36ffcf0a3903ee0e8e40be0f
2023-03-30 10:05:59 -07:00
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
Ruslan Shestopalyuk
aa6f04815b Add option to allow debugging Android services as well (#4631)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4631

In React Native for VR we use `FlipperUtils.shouldEnableFlipper()` to determine whether Flipper should be enabled for the given app build.

The problem is that some of our apps are legitimately running as services (e.g. `com.oculus.explore:explore`), so the check added inside Flipper in D5126205 which only enables Flipper for "main application's process".

This diff adds an ability to relax this requirement (as we do want to do it for the RN VR applications)

Reviewed By: passy

Differential Revision: D44511667

fbshipit-source-id: 673912b204391799a9e8821b737681d1f44bd6a8
2023-03-30 04:17:43 -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
Richard Howell
60f4bc1a65 enable -Wstrict-prototypes
Summary:
The 14.3 toolchain includes `-Wstrict-prototypes` in `-Wall`. Add it to the default warning list to ensure the code is buildable with the 14.3 toolchain.

Please forward fix any build breakage introduced by this change.

Reviewed By: NSProgrammer

Differential Revision: D44371491

fbshipit-source-id: 257c7f7748b079a34ffd5c041339d518bef9d1e5
2023-03-28 10:48:57 -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
dependabot[bot]
914db21c7d Bump ws from 8.12.1 to 8.13.0 in /js/js-flipper (#4594)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 8.12.1 to 8.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>8.13.0</h2>
<h1>Features</h1>
<ul>
<li>Added the <code>finishRequest</code> option to support late addition of headers (<a href="https://redirect.github.com/websockets/ws/issues/2123">https://github.com/facebook/flipper/issues/2123</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45e17acea7"><code>45e17ac</code></a> [pkg] 8.13.0</li>
<li><a href="23acf8cfaf"><code>23acf8c</code></a> [test] Fix nits</li>
<li><a href="cd89e077f6"><code>cd89e07</code></a> [feature] Add option to support late addition of headers (<a href="https://redirect.github.com/websockets/ws/issues/2123">https://github.com/facebook/flipper/issues/2123</a>)</li>
<li><a href="b4b9d5a76e"><code>b4b9d5a</code></a> [test] Fix failing test when using the domain module (<a href="https://redirect.github.com/websockets/ws/issues/2126">https://github.com/facebook/flipper/issues/2126</a>)</li>
<li><a href="41dc56a4ba"><code>41dc56a</code></a> [doc] Remove misleading information</li>
<li>See full diff in <a href="https://github.com/websockets/ws/compare/8.12.1...8.13.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.12.1&new-version=8.13.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/4594

Reviewed By: ivanmisuno

Differential Revision: D44215121

Pulled By: mweststrate

fbshipit-source-id: e5c0b80ceb407655a0ad909c93dd89d271d79457
2023-03-28 05:30:53 -07:00
dependabot[bot]
29b4b29d85 Bump sinon from 15.0.1 to 15.0.2 in /js/js-flipper (#4595)
Summary:
skip-frl-buck-targeting

Bumps [sinon](https://github.com/sinonjs/sinon) from 15.0.1 to 15.0.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/sinonjs/sinon/blob/main/docs/changelog.md">sinon's changelog</a>.</em></p>
<blockquote>
<h2>15.0.2</h2>
<ul>
<li><a href="19bd99f364"><code>19bd99f3</code></a>
Use no-op for every function when restoring instances (<a href="https://redirect.github.com/sinonjs/sinon/issues/2499">https://github.com/facebook/flipper/issues/2499</a>) (Carl-Erik Kopseng)</li>
<li><a href="8663ffa056"><code>8663ffa0</code></a>
Upgrade deps (<a href="https://redirect.github.com/sinonjs/sinon/issues/2498">https://github.com/facebook/flipper/issues/2498</a>) (Carl-Erik Kopseng)
<blockquote>
<p>Browserify, supports-color, husky had to be held back.</p>
</blockquote>
</li>
<li><a href="e01275bb10"><code>e01275bb</code></a>
Un-pin <code>@​sinonjs/fake-timers</code> (<a href="https://redirect.github.com/sinonjs/sinon/issues/2495">https://github.com/facebook/flipper/issues/2495</a>) (Jordan Hawker)
<blockquote>
<p>The commit upgrading from v9 to v10 appears to have accidentally dropped the caret from the version range</p>
</blockquote>
</li>
<li><a href="6cbde9b082"><code>6cbde9b0</code></a>
fix throws().callsFake() precedence (<a href="https://redirect.github.com/sinonjs/sinon/issues/2497">https://github.com/facebook/flipper/issues/2497</a>) (Eduardo Diaz)
<blockquote>
<p>This makes sure an unconditional <code>callsFake()</code> invoked on the same stub that was previously setup to throw will overwrite the previous behavior. This aligns it with the other behaviors.</p>
</blockquote>
</li>
<li><a href="45be60f3c6"><code>45be60f3</code></a>
Replace probot/stale with official stale action (Morgan Roderick)</li>
</ul>
<p><em>Released by <a href="https://github.com/fatso83">Carl-Erik Kopseng</a> on 2023-03-12.</em></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7838b57aef"><code>7838b57</code></a> 15.0.2</li>
<li><a href="19bd99f364"><code>19bd99f</code></a> Use no-op for every function when restoring instances (<a href="https://redirect.github.com/sinonjs/sinon/issues/2499">https://github.com/facebook/flipper/issues/2499</a>)</li>
<li><a href="8663ffa056"><code>8663ffa</code></a> Upgrade deps (<a href="https://redirect.github.com/sinonjs/sinon/issues/2498">https://github.com/facebook/flipper/issues/2498</a>)</li>
<li><a href="e01275bb10"><code>e01275b</code></a> Un-pin <code>@​sinonjs/fake-timers</code> (<a href="https://redirect.github.com/sinonjs/sinon/issues/2495">https://github.com/facebook/flipper/issues/2495</a>)</li>
<li><a href="6cbde9b082"><code>6cbde9b</code></a> fix throws().callsFake() precedence (<a href="https://redirect.github.com/sinonjs/sinon/issues/2497">https://github.com/facebook/flipper/issues/2497</a>)</li>
<li><a href="45be60f3c6"><code>45be60f</code></a> Replace probot/stale with official stale action</li>
<li>See full diff in <a href="https://github.com/sinonjs/sinon/compare/v15.0.1...v15.0.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: ivanmisuno

Differential Revision: D44215119

Pulled By: mweststrate

fbshipit-source-id: 23069e6b3a408d80d564356fc889600cb4419388
2023-03-28 05:30:53 -07:00
dependabot[bot]
a710503a78 Bump eslint from 8.35.0 to 8.36.0 in /js/js-flipper (#4596)
Summary:
skip-frl-buck-targeting

Bumps [eslint](https://github.com/eslint/eslint) from 8.35.0 to 8.36.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v8.36.0</h2>
<h2>Features</h2>
<ul>
<li><a href="c89a485c49"><code>c89a485</code></a> feat: Add <code>checkJSDoc</code> option to multiline-comment-style (<a href="https://redirect.github.com/eslint/eslint/issues/16807">#16807</a>) (Laurent Cozic)</li>
<li><a href="f5f5e11bd5"><code>f5f5e11</code></a> feat: Serialize parsers/processors in flat config (<a href="https://redirect.github.com/eslint/eslint/issues/16944">#16944</a>) (Nicholas C. Zakas)</li>
<li><a href="4799297ea5"><code>4799297</code></a> feat: use <a href="https://github.com/eslint-community"><code>@​eslint-community</code></a> dependencies (<a href="https://redirect.github.com/eslint/eslint/issues/16784">#16784</a>) (Michaël De Boey)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="92c1943ba7"><code>92c1943</code></a> fix: correctly iterate files matched by glob patterns (<a href="https://redirect.github.com/eslint/eslint/issues/16831">#16831</a>) (Nitin Kumar)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="b98fdd413a"><code>b98fdd4</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="caf08ce0cc"><code>caf08ce</code></a> docs: fix estree link in custom formatters docs (<a href="https://redirect.github.com/eslint/eslint/issues/16967">#16967</a>) (Milos Djermanovic)</li>
<li><a href="3398431574"><code>3398431</code></a> docs: Custom Parsers cleanup/expansion (<a href="https://redirect.github.com/eslint/eslint/issues/16887">#16887</a>) (Ben Perlmutter)</li>
<li><a href="19d3531d9b"><code>19d3531</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="b09a512107"><code>b09a512</code></a> docs: detect and fix broken links (<a href="https://redirect.github.com/eslint/eslint/issues/16837">#16837</a>) (Nitin Kumar)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="602b111219"><code>602b111</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.36.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16978">#16978</a>) (Milos Djermanovic)</li>
<li><a href="43c2345c27"><code>43c2345</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="00afb84e50"><code>00afb84</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.1 (<a href="https://redirect.github.com/eslint/eslint/issues/16977">#16977</a>) (Milos Djermanovic)</li>
<li><a href="698c5aad50"><code>698c5aa</code></a> chore: upgrade espree@9.5.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16976">#16976</a>) (Milos Djermanovic)</li>
<li><a href="75acdd21c5"><code>75acdd2</code></a> chore: lint more js files in docs (<a href="https://redirect.github.com/eslint/eslint/issues/16964">#16964</a>) (Milos Djermanovic)</li>
<li><a href="89d9844b31"><code>89d9844</code></a> ci: bump actions/add-to-project from 0.4.0 to 0.4.1 (<a href="https://redirect.github.com/eslint/eslint/issues/16943">#16943</a>) (dependabot[bot])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.36.0 - March 10, 2023</p>
<ul>
<li><a href="602b111219"><code>602b111</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.36.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16978">#16978</a>) (Milos Djermanovic)</li>
<li><a href="43c2345c27"><code>43c2345</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="00afb84e50"><code>00afb84</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.1 (<a href="https://redirect.github.com/eslint/eslint/issues/16977">#16977</a>) (Milos Djermanovic)</li>
<li><a href="698c5aad50"><code>698c5aa</code></a> chore: upgrade espree@9.5.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16976">#16976</a>) (Milos Djermanovic)</li>
<li><a href="b98fdd413a"><code>b98fdd4</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="c89a485c49"><code>c89a485</code></a> feat: Add <code>checkJSDoc</code> option to multiline-comment-style (<a href="https://redirect.github.com/eslint/eslint/issues/16807">#16807</a>) (Laurent Cozic)</li>
<li><a href="f5f5e11bd5"><code>f5f5e11</code></a> feat: Serialize parsers/processors in flat config (<a href="https://redirect.github.com/eslint/eslint/issues/16944">#16944</a>) (Nicholas C. Zakas)</li>
<li><a href="caf08ce0cc"><code>caf08ce</code></a> docs: fix estree link in custom formatters docs (<a href="https://redirect.github.com/eslint/eslint/issues/16967">#16967</a>) (Milos Djermanovic)</li>
<li><a href="75acdd21c5"><code>75acdd2</code></a> chore: lint more js files in docs (<a href="https://redirect.github.com/eslint/eslint/issues/16964">#16964</a>) (Milos Djermanovic)</li>
<li><a href="3398431574"><code>3398431</code></a> docs: Custom Parsers cleanup/expansion (<a href="https://redirect.github.com/eslint/eslint/issues/16887">#16887</a>) (Ben Perlmutter)</li>
<li><a href="19d3531d9b"><code>19d3531</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="4799297ea5"><code>4799297</code></a> feat: use <a href="https://github.com/eslint-community"><code>@​eslint-community</code></a> dependencies (<a href="https://redirect.github.com/eslint/eslint/issues/16784">#16784</a>) (Michaël De Boey)</li>
<li><a href="b09a512107"><code>b09a512</code></a> docs: detect and fix broken links (<a href="https://redirect.github.com/eslint/eslint/issues/16837">#16837</a>) (Nitin Kumar)</li>
<li><a href="92c1943ba7"><code>92c1943</code></a> fix: correctly iterate files matched by glob patterns (<a href="https://redirect.github.com/eslint/eslint/issues/16831">#16831</a>) (Nitin Kumar)</li>
<li><a href="89d9844b31"><code>89d9844</code></a> ci: bump actions/add-to-project from 0.4.0 to 0.4.1 (<a href="https://redirect.github.com/eslint/eslint/issues/16943">#16943</a>) (dependabot[bot])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="75df535681"><code>75df535</code></a> 8.36.0</li>
<li><a href="a0c856a822"><code>a0c856a</code></a> Build: changelog update for 8.36.0</li>
<li><a href="602b111219"><code>602b111</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.36.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16978">#16978</a>)</li>
<li><a href="43c2345c27"><code>43c2345</code></a> chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a href="00afb84e50"><code>00afb84</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.1 (<a href="https://redirect.github.com/eslint/eslint/issues/16977">#16977</a>)</li>
<li><a href="698c5aad50"><code>698c5aa</code></a> chore: upgrade espree@9.5.0 (<a href="https://redirect.github.com/eslint/eslint/issues/16976">#16976</a>)</li>
<li><a href="b98fdd413a"><code>b98fdd4</code></a> docs: Update README</li>
<li><a href="c89a485c49"><code>c89a485</code></a> feat: Add <code>checkJSDoc</code> option to multiline-comment-style (<a href="https://redirect.github.com/eslint/eslint/issues/16807">#16807</a>)</li>
<li><a href="f5f5e11bd5"><code>f5f5e11</code></a> feat: Serialize parsers/processors in flat config (<a href="https://redirect.github.com/eslint/eslint/issues/16944">#16944</a>)</li>
<li><a href="caf08ce0cc"><code>caf08ce</code></a> docs: fix estree link in custom formatters docs (<a href="https://redirect.github.com/eslint/eslint/issues/16967">#16967</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.35.0...v8.36.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint&package-manager=npm_and_yarn&previous-version=8.35.0&new-version=8.36.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/4596

Reviewed By: ivanmisuno

Differential Revision: D44215117

Pulled By: mweststrate

fbshipit-source-id: 26c8803b29b6e2176ad0e9e7c35142edbb9baef5
2023-03-28 05:30:53 -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
1f78f43f4c Flipper Snapshot Bump: v0.187.2-SNAPSHOT
Summary: Releasing snapshot version 0.187.2-SNAPSHOT

Reviewed By: aigoncharov

Differential Revision: D44416757

fbshipit-source-id: c2b142427221fa19ece76893dbf24fb8c6dd5d59
2023-03-27 06:51:43 -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
dependabot[bot]
ea92388b09 Bump robolectric from 4.9 to 4.9.2 (#4473)
Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9 to 4.9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.9.2 is a minor release that primarily fixes <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7879">robolectric/robolectric#7879</a>, which was an issue using native SQLite with older Linux machines.</p>
<p>It also includes:</p>
<ul>
<li>A fix for ShadowSpeechRecognizer in SDK &lt;= 28 (0df34bf0cb5423afb64d7f4340c95e741ba26aa6, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Some fixes for instrumenting Jacoco-instrumented classes (7534d628fd69caab623b1ed31bf2096fd3c914db and 4e6047d88f7e8d9c83b13842a0d584d7eccd068a). Note there are still known issues with running Robolectric instrumentation on Jacoco-instrumented classes which should hopefully be fixed in 4.10.</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.2">https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.2</a></p>
<p>Robolectric 4.9.1 is a minor release that fixes several issues:</p>
<ul>
<li>Fixes sdk levels in ShadowAppOpsManager (50e2cfa4294c5dcfb7127f51f355a366f947c89a, thanks <a href="https://github.com/paulsowden"><code>@​paulsowden</code></a>)</li>
<li>Fixes an issue loading the native runtime on concurrent threads (0b4e996c27b85f05f7f52f75bc9d5109be7ef767)</li>
<li>Fixes some uses of LineBreaker and StaticLayout in Compose (ed2d7d3d600972090de29bcf9ad37d65a4d7ef47, thanks <a href="https://github.com/samliu000"><code>@​samliu000</code></a>)</li>
<li>Added proxy settings for fetching artifacts (bed3ca5a4ea314f730a9d58331b0099ca4c0abeb, thanks <a href="https://github.com/sebastienrussell"><code>@​sebastienrussell</code></a>)</li>
<li>Avoid referring to Android S TelephonyCallback (d43ae9ad7b74512dbf89518247769ca5c2c4128c, thanks <a href="https://github.com/styluo"><code>@​styluo</code></a>)</li>
<li>Fix data race in ShadowPausedLooper (cb231c8c133b6f2ed4e46148d1a4f551fdd52dd2)</li>
<li>Add shadow for LocaleManager#getSystemLocales (24d49f41227c35e0e3ce8564e404a39481c312e6, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Use uninterruptibly acquire for ResTable's lock (a221f6829110fd40b124527bde5317123f1737d9, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Update androidx.test dependencies to latest stable releases (0bdf89b884ac7c50c0e4d7a2b2fff848d795bf16, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Support zip files where EOCD's offset to central dir is -1 (9b36bc6b013db9e9eef5c509b2471cc8b0a7395a)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.1">https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fb2d148d06"><code>fb2d148</code></a> Bump version to 4.9.2.</li>
<li><a href="0df34bf0cb"><code>0df34bf</code></a> Ensure ShadowSpeechRecognizer can work with SDK 28</li>
<li><a href="4e6047d88f"><code>4e6047d</code></a> Change where addCallToRoboInit() inserts call to $$robo$init</li>
<li><a href="7534d628fd"><code>7534d62</code></a> Add call to $$robo$init for Jacoco-instrumented constructors</li>
<li><a href="81dda2fd27"><code>81dda2f</code></a> Enable CI when commits are pushed to release branches</li>
<li><a href="53c4498793"><code>53c4498</code></a> Bump version to 4.9.1.</li>
<li><a href="9b36bc6b01"><code>9b36bc6</code></a> Support zip files where EOCD's offset to central dir is -1</li>
<li><a href="73b8c53738"><code>73b8c53</code></a> Bump errorproneVersion from 2.9.0 to 2.16</li>
<li><a href="0bdf89b884"><code>0bdf89b</code></a> Update to androidx.test 11.04.2022 stable release</li>
<li><a href="c718f94f70"><code>c718f94</code></a> Update to androidx.test 10.26.2022 RC release</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.robolectric:robolectric&package-manager=gradle&previous-version=4.9&new-version=4.9.2)](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/4473

Reviewed By: ivanmisuno

Differential Revision: D44414596

Pulled By: passy

fbshipit-source-id: 833adbc899fb86e4c6a80a1444d5d9adebb1686b
2023-03-27 03:47:54 -07:00