Commit Graph

8203 Commits

Author SHA1 Message Date
Pascal Hartig
4e0bbb62fe Upgrade gradle plugin (#4751)
Summary:
[android] Upgrade gradle project
Makes us compatible with Android Studio Flamingo and unlocks upgrades to Kotlin
(which we need to be in sync with fbsource).

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

Test Plan:
- ./gradlew :android:assembleDebug
- Android Studio Sync
- CI

 ---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/4751).
* https://github.com/facebook/flipper/issues/4759
* https://github.com/facebook/flipper/issues/4758
* https://github.com/facebook/flipper/issues/4757
* https://github.com/facebook/flipper/issues/4756
* https://github.com/facebook/flipper/issues/4755
* https://github.com/facebook/flipper/issues/4754
* https://github.com/facebook/flipper/issues/4753
* https://github.com/facebook/flipper/issues/4752
* __->__ https://github.com/facebook/flipper/issues/4751

Reviewed By: aigoncharov

Differential Revision: D46068236

Pulled By: passy

fbshipit-source-id: 707422134b49c0d940b663f6f40937fe6561a038
2023-05-23 08:48:24 -07:00
Anton Kastritskiy
fda21e96e8 Update typescript to 4.9.5
Reviewed By: passy

Differential Revision: D46068908

fbshipit-source-id: 4c1ffff8690eec5a10c67d6c5d1aacf224e0f0d4
2023-05-23 03:15:10 -07:00
Toni Babenko
d6b852d435 Remove broken img from the main page
Summary:
There's a picture with a broken link in the hero section:
{F999641292}

I checked a list of existing static images and found one which was on this place before: https://fburl.com/code/yh73399d. But the image no longer align with others, since it has low resolution and an old version of the Flipper interface, so I decided to simply remove the broken image from the page.

Reviewed By: passy

Differential Revision: D46074714

fbshipit-source-id: 186b17b9b992f123fc667c701b4f49d9e3cbbb2d
2023-05-22 11:47:49 -07:00
dependabot[bot]
cb74386b13 Bump data-encoding from 2.3.2 to 2.4.0 in /packer (#4760)
Summary:
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.3.2 to 2.4.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="f33934d42b"><code>f33934d</code></a> Release 2.4.0 (<a href="https://redirect.github.com/ia0/data-encoding/issues/67">https://github.com/facebook/flipper/issues/67</a>)</li>
<li><a href="0fe84fab1c"><code>0fe84fa</code></a> Fix typo in lib.rs (<a href="https://redirect.github.com/ia0/data-encoding/issues/65">https://github.com/facebook/flipper/issues/65</a>)</li>
<li><a href="39bfd68c8d"><code>39bfd68</code></a> Run semver-chesk on stable (<a href="https://redirect.github.com/ia0/data-encoding/issues/66">https://github.com/facebook/flipper/issues/66</a>)</li>
<li><a href="24af65db5a"><code>24af65d</code></a> Add semver-checks test (<a href="https://redirect.github.com/ia0/data-encoding/issues/60">https://github.com/facebook/flipper/issues/60</a>)</li>
<li><a href="2101ab6f53"><code>2101ab6</code></a> Stop using actions-rs (<a href="https://redirect.github.com/ia0/data-encoding/issues/64">https://github.com/facebook/flipper/issues/64</a>)</li>
<li><a href="797069b110"><code>797069b</code></a> Release bin 0.3.2 (<a href="https://redirect.github.com/ia0/data-encoding/issues/63">https://github.com/facebook/flipper/issues/63</a>)</li>
<li><a href="61637ba310"><code>61637ba</code></a> Fix crash with invalid length for base16 (<a href="https://redirect.github.com/ia0/data-encoding/issues/62">https://github.com/facebook/flipper/issues/62</a>)</li>
<li><a href="1265f22f5e"><code>1265f22</code></a> Use checkout v3 (<a href="https://redirect.github.com/ia0/data-encoding/issues/61">https://github.com/facebook/flipper/issues/61</a>)</li>
<li><a href="db52b41640"><code>db52b41</code></a> Fix rustfmt</li>
<li><a href="5c7924deb7"><code>5c7924d</code></a> Run tests with Miri (<a href="https://redirect.github.com/ia0/data-encoding/issues/59">https://github.com/facebook/flipper/issues/59</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/ia0/data-encoding/compare/v2.3.2...v2.4.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=data-encoding&package-manager=cargo&previous-version=2.3.2&new-version=2.4.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/4760

Reviewed By: ivanmisuno

Differential Revision: D46070290

Pulled By: passy

fbshipit-source-id: be172c0af7145d7a4ff8e25501b3c909879e7e6a
2023-05-22 09:32:27 -07:00
dependabot[bot]
4f9144c71d Bump com.google.protobuf:protobuf-java from 3.23.0 to 3.23.1 (#4763)
Summary:
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.23.0 to 3.23.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="2dca62f729"><code>2dca62f</code></a> Updating version.json and repo version numbers to: 23.1</li>
<li><a href="aee33a5689"><code>aee33a5</code></a> Updated upb dependency. (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12836">#12836</a>)</li>
<li><a href="71fca0ca15"><code>71fca0c</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12825">#12825</a> from protocolbuffers/fixes-23</li>
<li><a href="67ecdde4f2"><code>67ecdde</code></a> Add a workaround for GCC constexpr bug</li>
<li><a href="521c04efec"><code>521c04e</code></a> Add a check for minimum supported Abseil version.</li>
<li><a href="0ced986277"><code>0ced986</code></a> [C#] Replace regex that validates descriptor names (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12174">#12174</a>)</li>
<li><a href="b0e0c599c4"><code>b0e0c59</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12775">#12775</a> from fowles/23.x</li>
<li><a href="e034aadea3"><code>e034aad</code></a> fix: avoid warnings with MSVC (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12762">#12762</a>)</li>
<li><a href="0ce78c6867"><code>0ce78c6</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12743">#12743</a> from protocolbuffers/gcc-23</li>
<li><a href="ae7ec4ef97"><code>ae7ec4e</code></a> Fix C++17 gcc issues.</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.23.0...v3.23.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.23.0&new-version=3.23.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/4763

Reviewed By: ivanmisuno

Differential Revision: D46070306

Pulled By: passy

fbshipit-source-id: dca2a1f300c02406524e79232cb99ca89d335b3a
2023-05-22 08:49:16 -07:00
Vivian Wehner
d7747aa04c Edit debugging.mdx using inpage editor
Summary:
This diff has been automatically generated by the inpage editor.

NOTE: If you want to update this diff, go via the preview link inside the static docs section below.
Ensure you are editing the same page that was used to create this diff.

Reviewed By: mweststrate

Differential Revision: D45996048

fbshipit-source-id: a509d9393d2b61ec044cdf1b749b5b6083070ff3
2023-05-22 08:29:59 -07:00
Pascal Hartig
5be3b4b0f0 Upgrade GitHub workflow java version (#4750)
Summary:
[android] Upgrade GitHub workflow java version
Version 8 of AGP requires Java 17+. Let's upgrade it here.

There are some flags that are no longer supported, hence the update to gradle.properties.

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

Test Plan:
- CI

 ---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/4750).
* https://github.com/facebook/flipper/issues/4755
* https://github.com/facebook/flipper/issues/4754
* https://github.com/facebook/flipper/issues/4753
* https://github.com/facebook/flipper/issues/4752
* https://github.com/facebook/flipper/issues/4751
* __->__ https://github.com/facebook/flipper/issues/4750
* https://github.com/facebook/flipper/issues/4749

Reviewed By: antonk52

Differential Revision: D46067505

Pulled By: passy

fbshipit-source-id: b673535ac9bd08a35bdb61b9a9ec0a38c957ceef
2023-05-22 06:19:41 -07:00
Pascal Hartig
cd3cd44e98 Remove deprecated kotlin plugin (#4749)
Summary:
[android] Remove deprecated kotlin plugin
See https://goo.gle/kotlin-android-extensions-deprecation.

We don't seem to be making use of the extension.

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

Test Plan:
```
./gradlew :android:assembleDebug
```

CI

Task: T153938450

Reviewed By: antonk52

Differential Revision: D46066063

Pulled By: passy

fbshipit-source-id: 1ae58535ca408bf29c97d5a945013f968f5b47a2
2023-05-22 04:34:22 -07:00
Richard Zadorozny
03a5aaa3f7 Make sure FlipperSocketImpl always sets thread TrafficStats tag
Summary:
When looking at some of our logcats in logview, I noticed lots of StrictMode warnings related to a WebSocket not being tagged, and I figured out it was due to FlipperSocketImpl.

By making sure TrafficStats stats tag is set no matter if the SSL factory is used or not, it reduces the amount of StrictMode warnings we see.

Related diff: D38280819

Differential Revision: D46024367

fbshipit-source-id: 92a0bfcef8698a61ef9b27949a5bc0859e03448f
2023-05-19 17:41:14 -07:00
Andrey Goncharov
4dba523757 Remove unused patches
Summary: Fixes Github CI failures on main (see T153688440)

Reviewed By: lblasa

Differential Revision: D46016296

fbshipit-source-id: 61c624797aa4a9a967b7c9f81fbe71b5908de236
2023-05-19 10:48:06 -07:00
Andrey Goncharov
d078a89e83 Skip token verification if a special env variable is passed
Summary: Recently , we started verifying a special token for every websocket connection. It made e2e tests fail. We are going to use this bypass flag in jest e2e envs.

Reviewed By: lblasa

Differential Revision: D46025343

fbshipit-source-id: c2e6e0b561286fb8b571565243a45cdfb56a54a9
2023-05-19 10:19:10 -07:00
dependabot[bot]
4647f52a5b Bump metro-react-native-babel-preset from 0.76.0 to 0.76.4 in /react-native/ReactNativeFlipperExample (#4740)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.76.0 to 0.76.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p>
<blockquote>
<h2>v0.76.4</h2>
<ul>
<li><strong>[Feature]</strong>: Support the <a href="https://developer.chrome.com/articles/x-google-ignore-list/"><code>x_google_ignoreList</code></a> source map extension. (<a href="https://redirect.github.com/facebook/metro/pull/973">facebook/metro#973</a>, 82bd64a9720174a9e2a02fb73bbef292153e20f1 by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support bundling KTX files as image assets. (<a href="https://redirect.github.com/facebook/metro/pull/975">facebook/metro#975</a> by <a href="https://github.com/rshest"><code>@​rshest</code></a>)</li>
<li><strong>[Fix]</strong>: Fix crash on a module added+modified+removed between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: Fix missed modification on module removed+modified+added between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.3...v0.76.4">https://github.com/facebook/metro/compare/v0.76.3...v0.76.4</a></p>
<h2>v0.76.3</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom <code>__loadBundleAsync</code> implementations in the default <code>asyncRequire</code> function. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="ac3adced45</a>, <a href="f07ce5c455</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support <code>lazy</code> parameter in bundle requests. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Preserve comments in unminified builds, while continuing to strip all comments from minified builds. (<a href="https://redirect.github.com/facebook/metro/pull/967">facebook/metro#967</a> by <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
<li><strong>[Deprecated]</strong>: The <code>transformer.asyncRequireModulePath</code> config option is deprecated. Use <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md#__loadbundleasync-in-metro"><code>__loadBundleAsync</code></a> instead.(<a href="c7b684f0ae</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Package Exports unstable_conditionNames now defaults to ['require', 'import'] (<a href="e70ceef126</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong> Removed <code>server.experimentalImportBundleSupport</code> config option. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.2...v0.76.3">https://github.com/facebook/metro/compare/v0.76.2...v0.76.3</a></p>
<h2>v0.76.2</h2>
<ul>
<li><strong>[Feature]</strong>: Added customizeStack hook to Metro's <code>/symbolicate</code> endpoint to allow custom frame skipping logic on a stack level. (<a href="ce266ddafd</a> by <a href="https://github.com/GijsWeterings"><code>@​GijsWeterings</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-core</code>'s <code>Terminal</code> from <code>metro</code>. (<a href="86e3f934d4</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-config</code>'s <code>resolveConfig</code> from <code>metro</code>. (<a href="cc1666415f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/babel__code-frame</code>. (<a href="41cdc034a9</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/ws</code>. (<a href="7deb525916</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Fix TypeScript types entry point for metro-source-map. (<a href="3238bbc9f4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Deprecated]</strong>: Deprecate <code>ResolutionContext.getPackageForModule</code>. (<a href="2d0a01cd7e</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong>: Pass full path and query params to <code>asyncRequire</code> for lazy bundles. (<a href="61a30b7fc2</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix bug where Package Exports warnings may have been logged for nested <code>node_modules</code> path candidates. (<a href="29c77bff31</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix <code>package.json</code> discovery against root package specifiers for Package Exports. (<a href="b995303024</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, fixes <a href="https://redirect.github.com/facebook/metro/issues/965">facebook/metro#965</a> reported by <a href="https://github.com/shamilovtim"><code>@​shamilovtim</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.1...v0.76.2">https://github.com/facebook/metro/compare/v0.76.1...v0.76.2</a></p>
<h2>v0.76.1</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom transformer/resolver options in <code>metro build</code> and <code>runBuild</code> API. (<a href="fcfecc9672</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: <code>metro get-dependencies --entryFile &lt;entryFile&gt;</code> can now be called as <code>metro get-dependencies &lt;entryFile&gt;</code>. (<a href="6fdce04007</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Feature]</strong>: Add <code>Content-Type</code> and <code>Content-Length</code> headers for assets to Metro server. (<a href="https://redirect.github.com/facebook/metro/pull/953">facebook/metro#953</a> by <a href="https://github.com/aleqsio"><code>@​aleqsio</code></a>, <a href="https://redirect.github.com/facebook/metro/pull/961">facebook/metro#961</a> by <a href="https://github.com/byCedric"><code>@​byCedric</code></a>)</li>
<li><strong>[Feature]</strong>: Expose <code>mergeConfig</code> util from <code>metro</code> package. (<a href="aa8ec904ce</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-file-map</code>: consistently abort crawl when <code>end()</code> is called. (<a href="51877a8c50</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-config</code>: Don't mutate argument to <code>loadConfig</code>. (<a href="38ec62d1a0</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (<a href="de19bbd33f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: <a href="https://facebook.github.io/metro/docs/configuration/#assetexts"><code>resolver.assetExts</code></a> will now match asset files for extension values that include a dot (<code>.</code>). (<a href="6d65a328e6</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: Don't register an <a href="https://nodejs.org/api/process.html#event-unhandledrejection"><code>unhandledRejection</code></a> listener, fix spammy EventEmitter leak warning. (<a href="833f2ffc36</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Types]</strong>: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (<a href="c022c361d0</a>, <a href="07732e778b</a>, <a href="9ee5280bd4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, with <a href="https://github.com/afoxman"><code>@​afoxman</code></a> and <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5d7305e2f3"><code>5d7305e</code></a> Fix graph delta bugs when a dependency is added+modified+removed / removed+mo...</li>
<li><a href="cc9a3463ae"><code>cc9a346</code></a> Release 0.76.4</li>
<li><a href="d21cff8720"><code>d21cff8</code></a> Bump TypeScript in template from 4.8.4 to 5.0.4</li>
<li><a href="024caf7349"><code>024caf7</code></a> Remove Promise libdef override in xplat</li>
<li><a href="c11f75acfc"><code>c11f75a</code></a> Bump &quot;image-size&quot; dependency version 0.6.0-&gt;1.0.2 and enable KTX support (<a href="https://redirect.github.com/facebook/metro/issues/975">https://github.com/facebook/flipper/issues/975</a>)</li>
<li><a href="4bcee6a108"><code>4bcee6a</code></a> upgrade to flow v0.205.1</li>
<li><a href="e04c65d4a6"><code>e04c65d</code></a> Codemod <code>$Shape</code> to <code>Partial</code>, some final updates</li>
<li><a href="97d5544f8d"><code>97d5544</code></a> Deploy 0.205.0 to xplat (<a href="https://redirect.github.com/facebook/metro/issues/37172">#37172</a>)</li>
<li><a href="b2facd9e14"><code>b2facd9</code></a> Add package migration guide to Package Exports docs</li>
<li><a href="453f3a677a"><code>453f3a6</code></a> Add Package Exports guide detailing breaking changes</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.76.0...v0.76.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-react-native-babel-preset&package-manager=npm_and_yarn&previous-version=0.76.0&new-version=0.76.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/4740

Reviewed By: passy

Differential Revision: D46015991

Pulled By: ivanmisuno

fbshipit-source-id: f67ea03a882ce313c5fa772bdb7afacba4c9cf55
2023-05-19 05:40:02 -07:00
dependabot[bot]
a3ca62d160 Bump metro-config from 0.76.0 to 0.76.4 in /react-native/ReactNativeFlipperExample (#4742)
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.76.0 to 0.76.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>v0.76.4</h2>
<ul>
<li><strong>[Feature]</strong>: Support the <a href="https://developer.chrome.com/articles/x-google-ignore-list/"><code>x_google_ignoreList</code></a> source map extension. (<a href="https://redirect.github.com/facebook/metro/pull/973">facebook/metro#973</a>, 82bd64a9720174a9e2a02fb73bbef292153e20f1 by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support bundling KTX files as image assets. (<a href="https://redirect.github.com/facebook/metro/pull/975">facebook/metro#975</a> by <a href="https://github.com/rshest"><code>@​rshest</code></a>)</li>
<li><strong>[Fix]</strong>: Fix crash on a module added+modified+removed between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: Fix missed modification on module removed+modified+added between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.3...v0.76.4">https://github.com/facebook/metro/compare/v0.76.3...v0.76.4</a></p>
<h2>v0.76.3</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom <code>__loadBundleAsync</code> implementations in the default <code>asyncRequire</code> function. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="ac3adced45</a>, <a href="f07ce5c455</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support <code>lazy</code> parameter in bundle requests. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Preserve comments in unminified builds, while continuing to strip all comments from minified builds. (<a href="https://redirect.github.com/facebook/metro/pull/967">facebook/metro#967</a> by <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
<li><strong>[Deprecated]</strong>: The <code>transformer.asyncRequireModulePath</code> config option is deprecated. Use <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md#__loadbundleasync-in-metro"><code>__loadBundleAsync</code></a> instead.(<a href="c7b684f0ae</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Package Exports unstable_conditionNames now defaults to ['require', 'import'] (<a href="e70ceef126</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong> Removed <code>server.experimentalImportBundleSupport</code> config option. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.2...v0.76.3">https://github.com/facebook/metro/compare/v0.76.2...v0.76.3</a></p>
<h2>v0.76.2</h2>
<ul>
<li><strong>[Feature]</strong>: Added customizeStack hook to Metro's <code>/symbolicate</code> endpoint to allow custom frame skipping logic on a stack level. (<a href="ce266ddafd</a> by <a href="https://github.com/GijsWeterings"><code>@​GijsWeterings</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-core</code>'s <code>Terminal</code> from <code>metro</code>. (<a href="86e3f934d4</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-config</code>'s <code>resolveConfig</code> from <code>metro</code>. (<a href="cc1666415f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/babel__code-frame</code>. (<a href="41cdc034a9</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/ws</code>. (<a href="7deb525916</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Fix TypeScript types entry point for metro-source-map. (<a href="3238bbc9f4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Deprecated]</strong>: Deprecate <code>ResolutionContext.getPackageForModule</code>. (<a href="2d0a01cd7e</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong>: Pass full path and query params to <code>asyncRequire</code> for lazy bundles. (<a href="61a30b7fc2</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix bug where Package Exports warnings may have been logged for nested <code>node_modules</code> path candidates. (<a href="29c77bff31</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix <code>package.json</code> discovery against root package specifiers for Package Exports. (<a href="b995303024</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, fixes <a href="https://redirect.github.com/facebook/metro/issues/965">facebook/metro#965</a> reported by <a href="https://github.com/shamilovtim"><code>@​shamilovtim</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.1...v0.76.2">https://github.com/facebook/metro/compare/v0.76.1...v0.76.2</a></p>
<h2>v0.76.1</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom transformer/resolver options in <code>metro build</code> and <code>runBuild</code> API. (<a href="fcfecc9672</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: <code>metro get-dependencies --entryFile &lt;entryFile&gt;</code> can now be called as <code>metro get-dependencies &lt;entryFile&gt;</code>. (<a href="6fdce04007</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Feature]</strong>: Add <code>Content-Type</code> and <code>Content-Length</code> headers for assets to Metro server. (<a href="https://redirect.github.com/facebook/metro/pull/953">facebook/metro#953</a> by <a href="https://github.com/aleqsio"><code>@​aleqsio</code></a>, <a href="https://redirect.github.com/facebook/metro/pull/961">facebook/metro#961</a> by <a href="https://github.com/byCedric"><code>@​byCedric</code></a>)</li>
<li><strong>[Feature]</strong>: Expose <code>mergeConfig</code> util from <code>metro</code> package. (<a href="aa8ec904ce</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-file-map</code>: consistently abort crawl when <code>end()</code> is called. (<a href="51877a8c50</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-config</code>: Don't mutate argument to <code>loadConfig</code>. (<a href="38ec62d1a0</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (<a href="de19bbd33f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: <a href="https://facebook.github.io/metro/docs/configuration/#assetexts"><code>resolver.assetExts</code></a> will now match asset files for extension values that include a dot (<code>.</code>). (<a href="6d65a328e6</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: Don't register an <a href="https://nodejs.org/api/process.html#event-unhandledrejection"><code>unhandledRejection</code></a> listener, fix spammy EventEmitter leak warning. (<a href="833f2ffc36</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Types]</strong>: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (<a href="c022c361d0</a>, <a href="07732e778b</a>, <a href="9ee5280bd4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, with <a href="https://github.com/afoxman"><code>@​afoxman</code></a> and <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5d7305e2f3"><code>5d7305e</code></a> Fix graph delta bugs when a dependency is added+modified+removed / removed+mo...</li>
<li><a href="cc9a3463ae"><code>cc9a346</code></a> Release 0.76.4</li>
<li><a href="d21cff8720"><code>d21cff8</code></a> Bump TypeScript in template from 4.8.4 to 5.0.4</li>
<li><a href="024caf7349"><code>024caf7</code></a> Remove Promise libdef override in xplat</li>
<li><a href="c11f75acfc"><code>c11f75a</code></a> Bump &quot;image-size&quot; dependency version 0.6.0-&gt;1.0.2 and enable KTX support (<a href="https://redirect.github.com/facebook/metro/issues/975">https://github.com/facebook/flipper/issues/975</a>)</li>
<li><a href="4bcee6a108"><code>4bcee6a</code></a> upgrade to flow v0.205.1</li>
<li><a href="e04c65d4a6"><code>e04c65d</code></a> Codemod <code>$Shape</code> to <code>Partial</code>, some final updates</li>
<li><a href="97d5544f8d"><code>97d5544</code></a> Deploy 0.205.0 to xplat (<a href="https://redirect.github.com/facebook/metro/issues/37172">#37172</a>)</li>
<li><a href="b2facd9e14"><code>b2facd9</code></a> Add package migration guide to Package Exports docs</li>
<li><a href="453f3a677a"><code>453f3a6</code></a> Add Package Exports guide detailing breaking changes</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.76.0...v0.76.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-config&package-manager=npm_and_yarn&previous-version=0.76.0&new-version=0.76.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/4742

Reviewed By: passy

Differential Revision: D46015869

Pulled By: ivanmisuno

fbshipit-source-id: a3aeeb3a56ae0601950dec43ffcbac671be5ac0f
2023-05-19 05:40:02 -07:00
dependabot[bot]
871073c096 Bump metro-config from 0.76.0 to 0.76.4 in /react-native/react-native-flipper (#4741)
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.76.0 to 0.76.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>v0.76.4</h2>
<ul>
<li><strong>[Feature]</strong>: Support the <a href="https://developer.chrome.com/articles/x-google-ignore-list/"><code>x_google_ignoreList</code></a> source map extension. (<a href="https://redirect.github.com/facebook/metro/pull/973">facebook/metro#973</a>, 82bd64a9720174a9e2a02fb73bbef292153e20f1 by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support bundling KTX files as image assets. (<a href="https://redirect.github.com/facebook/metro/pull/975">facebook/metro#975</a> by <a href="https://github.com/rshest"><code>@​rshest</code></a>)</li>
<li><strong>[Fix]</strong>: Fix crash on a module added+modified+removed between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: Fix missed modification on module removed+modified+added between updates. (5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.3...v0.76.4">https://github.com/facebook/metro/compare/v0.76.3...v0.76.4</a></p>
<h2>v0.76.3</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom <code>__loadBundleAsync</code> implementations in the default <code>asyncRequire</code> function. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="ac3adced45</a>, <a href="f07ce5c455</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Support <code>lazy</code> parameter in bundle requests. See the <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md">lazy bundling RFC</a> for more details. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: Preserve comments in unminified builds, while continuing to strip all comments from minified builds. (<a href="https://redirect.github.com/facebook/metro/pull/967">facebook/metro#967</a> by <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
<li><strong>[Deprecated]</strong>: The <code>transformer.asyncRequireModulePath</code> config option is deprecated. Use <a href="https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md#__loadbundleasync-in-metro"><code>__loadBundleAsync</code></a> instead.(<a href="c7b684f0ae</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Package Exports unstable_conditionNames now defaults to ['require', 'import'] (<a href="e70ceef126</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong> Removed <code>server.experimentalImportBundleSupport</code> config option. (<a href="4ef14f9a2f</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.2...v0.76.3">https://github.com/facebook/metro/compare/v0.76.2...v0.76.3</a></p>
<h2>v0.76.2</h2>
<ul>
<li><strong>[Feature]</strong>: Added customizeStack hook to Metro's <code>/symbolicate</code> endpoint to allow custom frame skipping logic on a stack level. (<a href="ce266ddafd</a> by <a href="https://github.com/GijsWeterings"><code>@​GijsWeterings</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-core</code>'s <code>Terminal</code> from <code>metro</code>. (<a href="86e3f934d4</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Feature]</strong>: Re-export <code>metro-config</code>'s <code>resolveConfig</code> from <code>metro</code>. (<a href="cc1666415f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/babel__code-frame</code>. (<a href="41cdc034a9</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Remove dependency on <code>types/ws</code>. (<a href="7deb525916</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Types]</strong>: Fix TypeScript types entry point for metro-source-map. (<a href="3238bbc9f4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Deprecated]</strong>: Deprecate <code>ResolutionContext.getPackageForModule</code>. (<a href="2d0a01cd7e</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong>: Pass full path and query params to <code>asyncRequire</code> for lazy bundles. (<a href="61a30b7fc2</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix bug where Package Exports warnings may have been logged for nested <code>node_modules</code> path candidates. (<a href="29c77bff31</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Experimental]</strong>: Fix <code>package.json</code> discovery against root package specifiers for Package Exports. (<a href="b995303024</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, fixes <a href="https://redirect.github.com/facebook/metro/issues/965">facebook/metro#965</a> reported by <a href="https://github.com/shamilovtim"><code>@​shamilovtim</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.76.1...v0.76.2">https://github.com/facebook/metro/compare/v0.76.1...v0.76.2</a></p>
<h2>v0.76.1</h2>
<ul>
<li><strong>[Feature]</strong>: Support custom transformer/resolver options in <code>metro build</code> and <code>runBuild</code> API. (<a href="fcfecc9672</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Feature]</strong>: <code>metro get-dependencies --entryFile &lt;entryFile&gt;</code> can now be called as <code>metro get-dependencies &lt;entryFile&gt;</code>. (<a href="6fdce04007</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Feature]</strong>: Add <code>Content-Type</code> and <code>Content-Length</code> headers for assets to Metro server. (<a href="https://redirect.github.com/facebook/metro/pull/953">facebook/metro#953</a> by <a href="https://github.com/aleqsio"><code>@​aleqsio</code></a>, <a href="https://redirect.github.com/facebook/metro/pull/961">facebook/metro#961</a> by <a href="https://github.com/byCedric"><code>@​byCedric</code></a>)</li>
<li><strong>[Feature]</strong>: Expose <code>mergeConfig</code> util from <code>metro</code> package. (<a href="aa8ec904ce</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-file-map</code>: consistently abort crawl when <code>end()</code> is called. (<a href="51877a8c50</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: <code>metro-config</code>: Don't mutate argument to <code>loadConfig</code>. (<a href="38ec62d1a0</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Fix]</strong>: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (<a href="de19bbd33f</a> by <a href="https://github.com/robhogan"><code>@​robhogan</code></a>)</li>
<li><strong>[Fix]</strong>: <a href="https://facebook.github.io/metro/docs/configuration/#assetexts"><code>resolver.assetExts</code></a> will now match asset files for extension values that include a dot (<code>.</code>). (<a href="6d65a328e6</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>)</li>
<li><strong>[Fix]</strong>: Don't register an <a href="https://nodejs.org/api/process.html#event-unhandledrejection"><code>unhandledRejection</code></a> listener, fix spammy EventEmitter leak warning. (<a href="833f2ffc36</a> by <a href="https://github.com/motiz88"><code>@​motiz88</code></a>)</li>
<li><strong>[Types]</strong>: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (<a href="c022c361d0</a>, <a href="07732e778b</a>, <a href="9ee5280bd4</a> by <a href="https://github.com/huntie"><code>@​huntie</code></a>, with <a href="https://github.com/afoxman"><code>@​afoxman</code></a> and <a href="https://github.com/tido64"><code>@​tido64</code></a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5d7305e2f3"><code>5d7305e</code></a> Fix graph delta bugs when a dependency is added+modified+removed / removed+mo...</li>
<li><a href="cc9a3463ae"><code>cc9a346</code></a> Release 0.76.4</li>
<li><a href="d21cff8720"><code>d21cff8</code></a> Bump TypeScript in template from 4.8.4 to 5.0.4</li>
<li><a href="024caf7349"><code>024caf7</code></a> Remove Promise libdef override in xplat</li>
<li><a href="c11f75acfc"><code>c11f75a</code></a> Bump &quot;image-size&quot; dependency version 0.6.0-&gt;1.0.2 and enable KTX support (<a href="https://redirect.github.com/facebook/metro/issues/975">https://github.com/facebook/flipper/issues/975</a>)</li>
<li><a href="4bcee6a108"><code>4bcee6a</code></a> upgrade to flow v0.205.1</li>
<li><a href="e04c65d4a6"><code>e04c65d</code></a> Codemod <code>$Shape</code> to <code>Partial</code>, some final updates</li>
<li><a href="97d5544f8d"><code>97d5544</code></a> Deploy 0.205.0 to xplat (<a href="https://redirect.github.com/facebook/metro/issues/37172">#37172</a>)</li>
<li><a href="b2facd9e14"><code>b2facd9</code></a> Add package migration guide to Package Exports docs</li>
<li><a href="453f3a677a"><code>453f3a6</code></a> Add Package Exports guide detailing breaking changes</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.76.0...v0.76.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-config&package-manager=npm_and_yarn&previous-version=0.76.0&new-version=0.76.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/4741

Reviewed By: passy

Differential Revision: D46015927

Pulled By: ivanmisuno

fbshipit-source-id: fe21a81b1d2943132e1e5a8d369b98df5af3f6b7
2023-05-19 05:40:02 -07:00
dependabot[bot]
f65c99c6b2 Bump deep-equal from 2.0.5 to 2.2.1 in /desktop (#4729)
Summary:
Bumps [deep-equal](https://github.com/inspect-js/node-deep-equal) from 2.0.5 to 2.2.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/inspect-js/node-deep-equal/blob/master/CHANGELOG.md">deep-equal's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/inspect-js/node-deep-equal/compare/v2.2.0...v2.2.1">v2.2.1</a> - 2023-04-27</h2>
<h3>Commits</h3>
<ul>
<li>[Tests] add passing tests covering object key ordering <a href="51c9ff6b4c"><code>51c9ff6</code></a></li>
<li>[Refactor] use <code>array-buffer-byte-length</code> <a href="f47822cf0c"><code>f47822c</code></a></li>
<li>[Deps] update <code>is-array-buffer</code>, <code>regexp.prototype.flags</code> <a href="160d851333"><code>160d851</code></a></li>
<li>[Deps] update <code>es-get-iterator</code>, <code>get-intrinsic</code> <a href="2e08e956a4"><code>2e08e95</code></a></li>
<li>[Dev Deps] update <code>object.getownpropertydescriptors</code> <a href="63e9ab7450"><code>63e9ab7</code></a></li>
<li>[Dev Deps] update <code>tape</code> <a href="c8db964f60"><code>c8db964</code></a></li>
</ul>
<h2><a href="https://github.com/inspect-js/node-deep-equal/compare/v2.1.0...v2.2.0">v2.2.0</a> - 2023-01-05</h2>
<h3>Commits</h3>
<ul>
<li>[New] add support for <code>SharedArrayBuffer</code> <a href="0ef51c79b7"><code>0ef51c7</code></a></li>
<li>[Refactor] use <code>is-array-buffer</code> package <a href="0360ee1f1b"><code>0360ee1</code></a></li>
<li>[Fix] <code>whichTypedArray</code> can return false in both cases <a href="df3e3c4e30"><code>df3e3c4</code></a></li>
<li>[Dev Deps] update <code>aud</code>, <code>object.getownpropertydescriptors</code> <a href="6d62ea4f2b"><code>6d62ea4</code></a></li>
<li>[Dev Deps] update <code>ljharb/eslint-config</code> <a href="15aab59d64"><code>15aab59</code></a></li>
<li>[Deps] update <code>which-typed-array</code> <a href="8dfce27f33"><code>8dfce27</code></a></li>
<li>[eslint] remove <code>.eslintignore</code> <a href="af46773b28"><code>af46773</code></a></li>
</ul>
<h2><a href="https://github.com/inspect-js/node-deep-equal/compare/v2.0.5...v2.1.0">v2.1.0</a> - 2022-11-02</h2>
<h3>Fixed</h3>
<ul>
<li>[New] add support for <code>ArrayBuffer</code> <a href="https://redirect.github.com/inspect-js/node-deep-equal/issues/94"><code>[https://github.com/facebook/flipper/issues/94](https://github.com/inspect-js/node-deep-equal/issues/94)</code></a></li>
</ul>
<h3>Commits</h3>
<ul>
<li>[actions] reuse common workflows <a href="12de2873de"><code>12de287</code></a></li>
<li>[actions] use <code>node/install</code> instead of <code>node/run</code>; use <code>codecov</code> action <a href="ec248b96f4"><code>ec248b9</code></a></li>
<li>[Tests] run assert tests on a dynamic matrix <a href="695aebd509"><code>695aebd</code></a></li>
<li>[readme] add badges <a href="492e159158"><code>492e159</code></a></li>
<li>[Test] ArrayBuffers in node &lt; 0.12 have a nonconfigurable own <code>byteLength</code> property <a href="40f4b87196"><code>40f4b87</code></a></li>
<li>[meta] use <code>npmignore</code> to autogenerate an npmignore file <a href="2627269314"><code>2627269</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code>, <code>safe-publish-latest</code>, <code>tape</code> <a href="7a05bb7482"><code>7a05bb7</code></a></li>
<li>[Deps] update <code>call-bind</code>, <code>es-get-iterator</code>, <code>get-intrinsic</code>, <code>is-arguments</code>, <code>is-regex</code>, <code>regexp.prototype.flags</code>, <code>side-channel</code>, <code>which-boxed-primitive</code>, <code>which-typed-array</code> <a href="c0844e629b"><code>c0844e6</code></a></li>
<li>[actions] update codecov uploader <a href="b1b0552fe3"><code>b1b0552</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code>, <code>aud</code>, <code>auto-changelog</code>, <code>has-symbols</code>, <code>object.getownpropertydescriptors</code>, <code>tape</code> <a href="9a1ccf5285"><code>9a1ccf5</code></a></li>
<li>[meta] do not publish github action workflow files <a href="2d63384d66"><code>2d63384</code></a></li>
<li>[actions] update rebase action to use reusable workflow <a href="69d21f55af"><code>69d21f5</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code>, <code>aud</code>, <code>has-symbols</code>, <code>object.getownpropertydescriptors</code>, <code>tape</code> <a href="297aae88f6"><code>297aae8</code></a></li>
<li>[Tests] add tests for regexes with the same source but different flags <a href="29c8a0da09"><code>29c8a0d</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code> <a href="9e64ec93a8"><code>9e64ec9</code></a></li>
<li>[Deps] update <code>is-arguments</code>, <code>is-date-object</code>, <code>is-regex</code>, <code>which-typed-array</code> <a href="edfb752810"><code>edfb752</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code>, <code>auto-changelog</code>, <code>tape</code> <a href="7b5f7a348b"><code>7b5f7a3</code></a></li>
<li>[Dev Deps] update <code>eslint</code>, <code>ljharb/eslint-config</code>, <code>has-typed-arrays</code>, <code>tape</code> <a href="e328a237ba"><code>e328a23</code></a></li>
<li>[Deps] update <code>get-intrinsic</code>, <code>regexp.prototype.flags</code>, <code>which-typed-array</code> <a href="29123a7185"><code>29123a7</code></a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6ea6b8d296"><code>6ea6b8d</code></a> v2.2.1</li>
<li><a href="f47822cf0c"><code>f47822c</code></a> [Refactor] use <code>array-buffer-byte-length</code></li>
<li><a href="160d851333"><code>160d851</code></a> [Deps] update <code>is-array-buffer</code>, <code>regexp.prototype.flags</code></li>
<li><a href="63e9ab7450"><code>63e9ab7</code></a> [Dev Deps] update <code>object.getownpropertydescriptors</code></li>
<li><a href="2e08e956a4"><code>2e08e95</code></a> [Deps] update <code>es-get-iterator</code>, <code>get-intrinsic</code></li>
<li><a href="c8db964f60"><code>c8db964</code></a> [Dev Deps] update <code>tape</code></li>
<li><a href="51c9ff6b4c"><code>51c9ff6</code></a> [Tests] add passing tests covering object key ordering</li>
<li><a href="b9d9e54c27"><code>b9d9e54</code></a> v2.2.0</li>
<li><a href="0ef51c79b7"><code>0ef51c7</code></a> [New] add support for <code>SharedArrayBuffer</code></li>
<li><a href="0360ee1f1b"><code>0360ee1</code></a> [Refactor] use <code>is-array-buffer</code> package</li>
<li>Additional commits viewable in <a href="https://github.com/inspect-js/node-deep-equal/compare/v2.0.5...v2.2.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=deep-equal&package-manager=npm_and_yarn&previous-version=2.0.5&new-version=2.2.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/4729

Reviewed By: passy

Differential Revision: D46016549

Pulled By: ivanmisuno

fbshipit-source-id: bbce2af026fba2c5d7622c4593b241155cc6e82e
2023-05-19 05:40:02 -07:00
dependabot[bot]
c325ffd5f5 Bump eslint from 8.38.0 to 8.40.0 in /js/js-flipper (#4728)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.40.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.40.0</h2>
<h2>Features</h2>
<ul>
<li><a href="5db7808139"><code>5db7808</code></a> feat: improve flat config errors for invalid rule options and severities (<a href="https://redirect.github.com/eslint/eslint/issues/17140">#17140</a>) (Josh Goldberg )</li>
<li><a href="f5574dc739"><code>f5574dc</code></a> feat: Add findConfigFile() method to FlatESLint (<a href="https://redirect.github.com/eslint/eslint/issues/17142">#17142</a>) (Nicholas C. Zakas)</li>
<li><a href="e52b98bf25"><code>e52b98b</code></a> feat: add <code>sourceCode</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17107">#17107</a>) (Nitin Kumar)</li>
<li><a href="1468f5b640"><code>1468f5b</code></a> feat: add <code>physicalFilename</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17111">#17111</a>) (Nitin Kumar)</li>
<li><a href="0df4d4f658"><code>0df4d4f</code></a> feat: add <code>cwd</code> to rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17106">#17106</a>) (Nitin Kumar)</li>
<li><a href="52018f21c1"><code>52018f2</code></a> feat: add <code>filename</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17108">#17108</a>) (Nitin Kumar)</li>
<li><a href="559ff4e4bc"><code>559ff4e</code></a> feat: add new <code>omitLastInOneLineClassBody</code> option to the <code>semi</code> rule (<a href="https://redirect.github.com/eslint/eslint/issues/17105">#17105</a>) (Nitin Kumar)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="f076e54ecd"><code>f076e54</code></a> fix: Ensure FlatESLint#findConfigFile() doesn't throw. (<a href="https://redirect.github.com/eslint/eslint/issues/17151">#17151</a>) (Nicholas C. Zakas)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="e980bf38cf"><code>e980bf3</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="e92a6fc7ed"><code>e92a6fc</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="af5fe64c39"><code>af5fe64</code></a> docs: Fix custom rule schema docs (<a href="https://redirect.github.com/eslint/eslint/issues/17115">#17115</a>) (Adam Jones)</li>
<li><a href="4a352a957b"><code>4a352a9</code></a> docs: explain how to include predefined globals (<a href="https://redirect.github.com/eslint/eslint/issues/17114">#17114</a>) (Marcus Wyatt)</li>
<li><a href="5ea15d92ee"><code>5ea15d9</code></a> docs: add mastodon link in readme (<a href="https://redirect.github.com/eslint/eslint/issues/17110">#17110</a>) (唯然)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="4053004c95"><code>4053004</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.40.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17156">#17156</a>) (Milos Djermanovic)</li>
<li><a href="50fed1da44"><code>50fed1d</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="4c7a170b04"><code>4c7a170</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.3 (<a href="https://redirect.github.com/eslint/eslint/issues/17155">#17155</a>) (Milos Djermanovic)</li>
<li><a href="e80b7cce64"><code>e80b7cc</code></a> chore: upgrade espree@9.5.2 (<a href="https://redirect.github.com/eslint/eslint/issues/17154">#17154</a>) (Milos Djermanovic)</li>
<li><a href="ce3ac91b51"><code>ce3ac91</code></a> chore: upgrade eslint-visitor-keys@3.4.1 (<a href="https://redirect.github.com/eslint/eslint/issues/17153">#17153</a>) (Milos Djermanovic)</li>
<li><a href="9094d79fb4"><code>9094d79</code></a> chore: add <code>latest/</code> to <code>meta.docs.url</code> in all core rules (<a href="https://redirect.github.com/eslint/eslint/issues/17136">#17136</a>) (Milos Djermanovic)</li>
<li><a href="d85efad655"><code>d85efad</code></a> perf: don't use <code>grapheme-splitter</code> on ASCII strings in key-spacing rule (<a href="https://redirect.github.com/eslint/eslint/issues/17122">#17122</a>) (Milos Djermanovic)</li>
</ul>
<h2>v8.39.0</h2>
<h2>Features</h2>
<ul>
<li><a href="3f7af9f408"><code>3f7af9f</code></a> feat: Implement <code>SourceCode#markVariableAsUsed()</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17086">#17086</a>) (Nicholas C. Zakas)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="6987dc59e4"><code>6987dc5</code></a> docs: Fix formatting in Custom Rules docs (<a href="https://redirect.github.com/eslint/eslint/issues/17097">#17097</a>) (Milos Djermanovic)</li>
<li><a href="4ee92e5cbd"><code>4ee92e5</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="d8e9887c2c"><code>d8e9887</code></a> docs: Custom Rules cleanup/expansion (<a href="https://redirect.github.com/eslint/eslint/issues/16906">#16906</a>) (Ben Perlmutter)</li>
<li><a href="1fea279780"><code>1fea279</code></a> docs: Clarify how to add to tsc agenda (<a href="https://redirect.github.com/eslint/eslint/issues/17084">#17084</a>) (Nicholas C. Zakas)</li>
<li><a href="970ef1c868"><code>970ef1c</code></a> docs: Update triage board location (Nicholas C. Zakas)</li>
<li><a href="6d8bffdf45"><code>6d8bffd</code></a> docs: Update README (GitHub Actions Bot)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="60a6f2694d"><code>60a6f26</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.39.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17102">#17102</a>) (Milos Djermanovic)</li>
<li><a href="d5ba5c0a85"><code>d5ba5c0</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="f57eff20f5"><code>f57eff2</code></a> ci: run tests on Node.js v20 (<a href="https://redirect.github.com/eslint/eslint/issues/17093">#17093</a>) (Nitin Kumar)</li>
<li><a href="9d1b8fc60c"><code>9d1b8fc</code></a> perf: Binary search in token store <code>utils.search</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17066">#17066</a>) (Francesco Trotta)</li>
<li><a href="07a4435a0c"><code>07a4435</code></a> chore: Add request for minimal repro to bug report (<a href="https://redirect.github.com/eslint/eslint/issues/17081">#17081</a>) (Nicholas C. Zakas)</li>
<li><a href="eac4943ba2"><code>eac4943</code></a> refactor: remove unnecessary use of <code>SourceCode#getAncestors</code> in rules (<a href="https://redirect.github.com/eslint/eslint/issues/17075">#17075</a>) (Milos Djermanovic)</li>
<li><a href="0a7b60a9d5"><code>0a7b60a</code></a> chore: update description of <code>SourceCode#getDeclaredVariables</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17072">#17072</a>) (Milos Djermanovic)</li>
<li><a href="6e2df71cc3"><code>6e2df71</code></a> chore: remove unnecessary references to the LICENSE file (<a href="https://redirect.github.com/eslint/eslint/issues/17071">#17071</a>) (Milos Djermanovic)</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.40.0 - May 5, 2023</p>
<ul>
<li><a href="4053004c95"><code>4053004</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.40.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17156">#17156</a>) (Milos Djermanovic)</li>
<li><a href="50fed1da44"><code>50fed1d</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="f076e54ecd"><code>f076e54</code></a> fix: Ensure FlatESLint#findConfigFile() doesn't throw. (<a href="https://redirect.github.com/eslint/eslint/issues/17151">#17151</a>) (Nicholas C. Zakas)</li>
<li><a href="4c7a170b04"><code>4c7a170</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.3 (<a href="https://redirect.github.com/eslint/eslint/issues/17155">#17155</a>) (Milos Djermanovic)</li>
<li><a href="e80b7cce64"><code>e80b7cc</code></a> chore: upgrade espree@9.5.2 (<a href="https://redirect.github.com/eslint/eslint/issues/17154">#17154</a>) (Milos Djermanovic)</li>
<li><a href="ce3ac91b51"><code>ce3ac91</code></a> chore: upgrade eslint-visitor-keys@3.4.1 (<a href="https://redirect.github.com/eslint/eslint/issues/17153">#17153</a>) (Milos Djermanovic)</li>
<li><a href="5db7808139"><code>5db7808</code></a> feat: improve flat config errors for invalid rule options and severities (<a href="https://redirect.github.com/eslint/eslint/issues/17140">#17140</a>) (Josh Goldberg )</li>
<li><a href="f5574dc739"><code>f5574dc</code></a> feat: Add findConfigFile() method to FlatESLint (<a href="https://redirect.github.com/eslint/eslint/issues/17142">#17142</a>) (Nicholas C. Zakas)</li>
<li><a href="e52b98bf25"><code>e52b98b</code></a> feat: add <code>sourceCode</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17107">#17107</a>) (Nitin Kumar)</li>
<li><a href="e980bf38cf"><code>e980bf3</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="9094d79fb4"><code>9094d79</code></a> chore: add <code>latest/</code> to <code>meta.docs.url</code> in all core rules (<a href="https://redirect.github.com/eslint/eslint/issues/17136">#17136</a>) (Milos Djermanovic)</li>
<li><a href="1468f5b640"><code>1468f5b</code></a> feat: add <code>physicalFilename</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17111">#17111</a>) (Nitin Kumar)</li>
<li><a href="0df4d4f658"><code>0df4d4f</code></a> feat: add <code>cwd</code> to rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17106">#17106</a>) (Nitin Kumar)</li>
<li><a href="52018f21c1"><code>52018f2</code></a> feat: add <code>filename</code> property to the rule context (<a href="https://redirect.github.com/eslint/eslint/issues/17108">#17108</a>) (Nitin Kumar)</li>
<li><a href="559ff4e4bc"><code>559ff4e</code></a> feat: add new <code>omitLastInOneLineClassBody</code> option to the <code>semi</code> rule (<a href="https://redirect.github.com/eslint/eslint/issues/17105">#17105</a>) (Nitin Kumar)</li>
<li><a href="e92a6fc7ed"><code>e92a6fc</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="d85efad655"><code>d85efad</code></a> perf: don't use <code>grapheme-splitter</code> on ASCII strings in key-spacing rule (<a href="https://redirect.github.com/eslint/eslint/issues/17122">#17122</a>) (Milos Djermanovic)</li>
<li><a href="af5fe64c39"><code>af5fe64</code></a> docs: Fix custom rule schema docs (<a href="https://redirect.github.com/eslint/eslint/issues/17115">#17115</a>) (Adam Jones)</li>
<li><a href="4a352a957b"><code>4a352a9</code></a> docs: explain how to include predefined globals (<a href="https://redirect.github.com/eslint/eslint/issues/17114">#17114</a>) (Marcus Wyatt)</li>
<li><a href="5ea15d92ee"><code>5ea15d9</code></a> docs: add mastodon link in readme (<a href="https://redirect.github.com/eslint/eslint/issues/17110">#17110</a>) (唯然)</li>
</ul>
<p>v8.39.0 - April 21, 2023</p>
<ul>
<li><a href="60a6f2694d"><code>60a6f26</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.39.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17102">#17102</a>) (Milos Djermanovic)</li>
<li><a href="d5ba5c0a85"><code>d5ba5c0</code></a> chore: package.json update for <code>@​eslint/js</code> release (ESLint Jenkins)</li>
<li><a href="6987dc59e4"><code>6987dc5</code></a> docs: Fix formatting in Custom Rules docs (<a href="https://redirect.github.com/eslint/eslint/issues/17097">#17097</a>) (Milos Djermanovic)</li>
<li><a href="4ee92e5cbd"><code>4ee92e5</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="3f7af9f408"><code>3f7af9f</code></a> feat: Implement <code>SourceCode#markVariableAsUsed()</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17086">#17086</a>) (Nicholas C. Zakas)</li>
<li><a href="d8e9887c2c"><code>d8e9887</code></a> docs: Custom Rules cleanup/expansion (<a href="https://redirect.github.com/eslint/eslint/issues/16906">#16906</a>) (Ben Perlmutter)</li>
<li><a href="f57eff20f5"><code>f57eff2</code></a> ci: run tests on Node.js v20 (<a href="https://redirect.github.com/eslint/eslint/issues/17093">#17093</a>) (Nitin Kumar)</li>
<li><a href="1fea279780"><code>1fea279</code></a> docs: Clarify how to add to tsc agenda (<a href="https://redirect.github.com/eslint/eslint/issues/17084">#17084</a>) (Nicholas C. Zakas)</li>
<li><a href="970ef1c868"><code>970ef1c</code></a> docs: Update triage board location (Nicholas C. Zakas)</li>
<li><a href="9d1b8fc60c"><code>9d1b8fc</code></a> perf: Binary search in token store <code>utils.search</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17066">#17066</a>) (Francesco Trotta)</li>
<li><a href="07a4435a0c"><code>07a4435</code></a> chore: Add request for minimal repro to bug report (<a href="https://redirect.github.com/eslint/eslint/issues/17081">#17081</a>) (Nicholas C. Zakas)</li>
<li><a href="eac4943ba2"><code>eac4943</code></a> refactor: remove unnecessary use of <code>SourceCode#getAncestors</code> in rules (<a href="https://redirect.github.com/eslint/eslint/issues/17075">#17075</a>) (Milos Djermanovic)</li>
<li><a href="6d8bffdf45"><code>6d8bffd</code></a> docs: Update README (GitHub Actions Bot)</li>
<li><a href="0a7b60a9d5"><code>0a7b60a</code></a> chore: update description of <code>SourceCode#getDeclaredVariables</code> (<a href="https://redirect.github.com/eslint/eslint/issues/17072">#17072</a>) (Milos Djermanovic)</li>
<li><a href="6e2df71cc3"><code>6e2df71</code></a> chore: remove unnecessary references to the LICENSE file (<a href="https://redirect.github.com/eslint/eslint/issues/17071">#17071</a>) (Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="69a19c83e4"><code>69a19c8</code></a> 8.40.0</li>
<li><a href="9ef73ea70c"><code>9ef73ea</code></a> Build: changelog update for 8.40.0</li>
<li><a href="4053004c95"><code>4053004</code></a> chore: upgrade <code>@​eslint/js</code><a href="https://github.com/8"><code>@​8</code></a>.40.0 (<a href="https://redirect.github.com/eslint/eslint/issues/17156">#17156</a>)</li>
<li><a href="50fed1da44"><code>50fed1d</code></a> chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a href="f076e54ecd"><code>f076e54</code></a> fix: Ensure FlatESLint#findConfigFile() doesn't throw. (<a href="https://redirect.github.com/eslint/eslint/issues/17151">#17151</a>)</li>
<li><a href="4c7a170b04"><code>4c7a170</code></a> chore: upgrade <code>@​eslint/eslintrc</code><a href="https://github.com/2"><code>@​2</code></a>.0.3 (<a href="https://redirect.github.com/eslint/eslint/issues/17155">#17155</a>)</li>
<li><a href="e80b7cce64"><code>e80b7cc</code></a> chore: upgrade espree@9.5.2 (<a href="https://redirect.github.com/eslint/eslint/issues/17154">#17154</a>)</li>
<li><a href="ce3ac91b51"><code>ce3ac91</code></a> chore: upgrade eslint-visitor-keys@3.4.1 (<a href="https://redirect.github.com/eslint/eslint/issues/17153">#17153</a>)</li>
<li><a href="5db7808139"><code>5db7808</code></a> feat: improve flat config errors for invalid rule options and severities (<a href="https://redirect.github.com/eslint/eslint/issues/17">https://github.com/facebook/flipper/issues/17</a>...</li>
<li><a href="f5574dc739"><code>f5574dc</code></a> feat: Add findConfigFile() method to FlatESLint (<a href="https://redirect.github.com/eslint/eslint/issues/17142">#17142</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.38.0...v8.40.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.38.0&new-version=8.40.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/4728

Reviewed By: passy

Differential Revision: D46016561

Pulled By: ivanmisuno

fbshipit-source-id: 23a93c6f74556743e2e9d9362efa5f7b9f95928a
2023-05-19 05:40:02 -07:00
dependabot[bot]
e21f7dd9a3 Bump @babel/eslint-parser from 7.21.3 to 7.21.8 in /js/js-flipper (#4727)
Summary:
Bumps [babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.21.3 to 7.21.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/eslint-parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.21.8 (2023-05-02)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15602">#15602</a> Remove <code>using await</code> restriction in explicitResourceManagement (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15605">#15605</a> Fix backward compat for semver checks in class&amp;regexp feat plugins (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 2</h4>
<ul>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h1>v7.21.7 (2023-04-29)</h1>
<p>Force-pubilsh <code>babel/compat-data</code></p>
<h2>v7.21.6 (2023-04-29)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-compat-data</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15598">#15598</a> fix: Not found <code>corejs3-shipped-proposals.json</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 1</h4>
<ul>
<li><a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a></li>
</ul>
<h2>v7.21.5 (2023-04-28)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15539">#15539</a> fix: Remove <code>mixins</code> and <code>implements</code> for <code>DeclareInterface</code> and <code>InterfaceDeclaration</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15515">#15515</a> fix: <code>)</code> position with <code>createParenthesizedExpressions</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15580">#15580</a> Add syntax import meta to preset env (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15546">#15546</a> Improve the layout of generated validators (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15535">#15535</a> Use <code>lt</code> instead of <code>lte</code> to check TS version for .cts config (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15575">#15575</a> Use synchronous <code>import.meta.resolve</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-fixtures</code>, <code>babel-preset-typescript</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15568">#15568</a> Handle <code>.overrides</code> and <code>.env</code> when resolving plugins/presets from fixture options (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/eslint-parser</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.21.8 (2023-05-02)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15602">#15602</a> Remove <code>using await</code> restriction in explicitResourceManagement (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15605">#15605</a> Fix backward compat for semver checks in class&amp;regexp feat plugins (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.21.6 (2023-04-29)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-compat-data</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15598">#15598</a> fix: Not found <code>corejs3-shipped-proposals.json</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.21.5 (2023-04-28)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15539">#15539</a> fix: Remove <code>mixins</code> and <code>implements</code> for <code>DeclareInterface</code> and <code>InterfaceDeclaration</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15515">#15515</a> fix: <code>)</code> position with <code>createParenthesizedExpressions</code> (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15580">#15580</a> Add syntax import meta to preset env (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15546">#15546</a> Improve the layout of generated validators (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15535">#15535</a> Use <code>lt</code> instead of <code>lte</code> to check TS version for .cts config (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15575">#15575</a> Use synchronous <code>import.meta.resolve</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-fixtures</code>, <code>babel-preset-typescript</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15568">#15568</a> Handle <code>.overrides</code> and <code>.env</code> when resolving plugins/presets from fixture options (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-create-regexp-features-plugin</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15548">#15548</a> Use <code>semver</code> package to compare versions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.21.4 (2023-03-31)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-core</code>, <code>babel-helper-module-imports</code>, <code>babel-preset-typescript</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15478">#15478</a> Fix support for <code>import/export</code> in <code>.cts</code> files (<a href="https://github.com/liuxingbaoyu"><code>@​liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://redirect.github.com/babel/babel/pull/15496">#15496</a> Fix compact printing of non-null assertion operators (<a href="https://github.com/rtsao"><code>@​rtsao</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8fd99c8f48"><code>8fd99c8</code></a> v7.21.8</li>
<li><a href="39351316a4"><code>3935131</code></a> [⚠️ DANGER ⚠️] Prepare make commands and GH actions for Babel 8 pre-releases ...</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.21.8/eslint/babel-eslint-parser">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D46016588

Pulled By: ivanmisuno

fbshipit-source-id: c8e17f7a8b75d6af52e8be827cd5fc8f2cef8340
2023-05-19 05:40:02 -07:00
dependabot[bot]
1c8faa8f0f Bump @typescript-eslint/parser from 5.58.0 to 5.59.6 in /js/js-flipper (#4744)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.58.0 to 5.59.6.
<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.59.6</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6">5.59.6</a> (2023-05-15)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.5</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5">5.59.5</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.4</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4">5.59.4</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.3</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3">5.59.3</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.2</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2">5.59.2</a> (2023-05-01)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1">5.59.1</a> (2023-04-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] skip malformed regexes (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6935">#6935</a>) (<a href="05ed60e25f">05ed60e</a>)</li>
<li><strong>eslint-plugin:</strong> [unified-signatures] no parameters function (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6940">#6940</a>) (<a href="297086154a">2970861</a>)</li>
</ul>
<h2>v5.59.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0">5.59.0</a> (2023-04-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unnecessary-condition] allow nullish coalescing for naked type parameter (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6910">#6910</a>) (<a href="3e5f8583f1">3e5f858</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [ban-types] add NonNullable suggestion and allow custom suggestions (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6876">#6876</a>) (<a href="ff65235246">ff65235</a>)</li>
</ul>
</blockquote>
</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>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6">5.59.6</a> (2023-05-15)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5">5.59.5</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4">5.59.4</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3">5.59.3</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2">5.59.2</a> (2023-05-01)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1">5.59.1</a> (2023-04-24)</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.58.0...v5.59.0">5.59.0</a> (2023-04-17)</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5b0e577f25"><code>5b0e577</code></a> chore: publish v5.59.6</li>
<li><a href="a6f23a2dd5"><code>a6f23a2</code></a> chore: publish v5.59.5</li>
<li><a href="13fd1e5edb"><code>13fd1e5</code></a> chore: publish v5.59.4</li>
<li><a href="200afb6113"><code>200afb6</code></a> chore: publish v5.59.3</li>
<li><a href="ce5f5165c9"><code>ce5f516</code></a> chore: publish v5.59.2</li>
<li><a href="2f32472787"><code>2f32472</code></a> chore: publish v5.59.1</li>
<li><a href="f1a0d78dda"><code>f1a0d78</code></a> chore: publish v5.59.0</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/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.58.0&new-version=5.59.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/4744

Reviewed By: passy

Differential Revision: D46015821

Pulled By: ivanmisuno

fbshipit-source-id: fffa7822205a8279db524f1861e0dddefbe09836
2023-05-19 05:40:02 -07:00
dependabot[bot]
8d3e4a7d47 Bump @typescript-eslint/eslint-plugin from 5.58.0 to 5.59.6 in /js/js-flipper (#4745)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.58.0 to 5.59.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v5.59.6</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6">5.59.6</a> (2023-05-15)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.5</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5">5.59.5</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.4</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4">5.59.4</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.3</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3">5.59.3</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.2</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2">5.59.2</a> (2023-05-01)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.59.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1">5.59.1</a> (2023-04-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] skip malformed regexes (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6935">#6935</a>) (<a href="05ed60e25f">05ed60e</a>)</li>
<li><strong>eslint-plugin:</strong> [unified-signatures] no parameters function (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6940">#6940</a>) (<a href="297086154a">2970861</a>)</li>
</ul>
<h2>v5.59.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0">5.59.0</a> (2023-04-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unnecessary-condition] allow nullish coalescing for naked type parameter (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6910">#6910</a>) (<a href="3e5f8583f1">3e5f858</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [ban-types] add NonNullable suggestion and allow custom suggestions (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6876">#6876</a>) (<a href="ff65235246">ff65235</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6">5.59.6</a> (2023-05-15)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5">5.59.5</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4">5.59.4</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3">5.59.3</a> (2023-05-08)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2">5.59.2</a> (2023-05-01)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1">5.59.1</a> (2023-04-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] skip malformed regexes (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6935">#6935</a>) (<a href="05ed60e25f">05ed60e</a>)</li>
<li><strong>eslint-plugin:</strong> [unified-signatures] no parameters function (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6940">#6940</a>) (<a href="297086154a">2970861</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5b0e577f25"><code>5b0e577</code></a> chore: publish v5.59.6</li>
<li><a href="a6f23a2dd5"><code>a6f23a2</code></a> chore: publish v5.59.5</li>
<li><a href="13fd1e5edb"><code>13fd1e5</code></a> chore: publish v5.59.4</li>
<li><a href="200afb6113"><code>200afb6</code></a> chore: publish v5.59.3</li>
<li><a href="30f41aba51"><code>30f41ab</code></a> docs: [ban-types] update documentation; suggest option and defaults (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/7002">#7002</a>)</li>
<li><a href="d4bc770be1"><code>d4bc770</code></a> docs: add missing ! (...) around comparison cases in no-unnecessary-boolean-l...</li>
<li><a href="ce5f5165c9"><code>ce5f516</code></a> chore: publish v5.59.2</li>
<li><a href="2f32472787"><code>2f32472</code></a> chore: publish v5.59.1</li>
<li><a href="297086154a"><code>2970861</code></a> fix(eslint-plugin): [unified-signatures] no parameters function (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6940">#6940</a>)</li>
<li><a href="05ed60e25f"><code>05ed60e</code></a> fix(eslint-plugin): [prefer-regexp-exec] skip malformed regexes (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6935">#6935</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.6/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D46015740

Pulled By: ivanmisuno

fbshipit-source-id: 42991f8924c0aaf92691893c06c313d2bfedd20f
2023-05-19 05:40:02 -07:00
dependabot[bot]
aa9d523f5b Bump com.google.protobuf:protobuf-java from 3.22.3 to 3.23.0 (#4737)
Summary:
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.22.3 to 3.23.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="6e511679de"><code>6e51167</code></a> Updating version.json and repo version numbers to: 23.0</li>
<li><a href="abb293dee2"><code>abb293d</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12702">#12702</a> from fowles/23.x</li>
<li><a href="b880933ed3"><code>b880933</code></a> fix: avoid warnings on MSVC (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12697">#12697</a>)</li>
<li><a href="fe1277f9a8"><code>fe1277f</code></a> fix: avoid warnings on Windows (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12701">#12701</a>)</li>
<li><a href="28c990508f"><code>28c9905</code></a> fix: typo in <code>string(JOIN)</code> workaround (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12698">#12698</a>)</li>
<li><a href="1ca4e9c485"><code>1ca4e9c</code></a> fix: missing -DPROTOBUF_USE_DLLS in pkg-config (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12700">#12700</a>)</li>
<li><a href="d5a1b09eef"><code>d5a1b09</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12695">#12695</a> from protocolbuffers/cpp-fixes-23</li>
<li><a href="bc9a1d219e"><code>bc9a1d2</code></a> Add tests for GCC support window.</li>
<li><a href="54caf40312"><code>54caf40</code></a> Avoid using string(JOIN..., which requires cmake 3.12</li>
<li><a href="3dc68d257a"><code>3dc68d2</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12680">#12680</a> from protocolbuffers/23.x-202305051714</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.22.3...v3.23.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.22.3&new-version=3.23.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/4737

Reviewed By: passy

Differential Revision: D46016026

Pulled By: ivanmisuno

fbshipit-source-id: ff06d7bdb7e492adf769cda1ad45f99f10222b63
2023-05-19 04:53:46 -07:00
Andrey Goncharov
898e9c3b07 Update adbkit and logcat to maintained librarys
Summary:
We were using an old unmaintained/abandonned library for communicating with adb server https://github.com/openstf/adbkit

This was giving me issues i couldnt figure out when running flipper server.

There is a popular fork written in typescript here https://github.com/DeviceFarmer/adbkit but it uses blue bird for promises.

There is a fork of the fork here which i have chosen to use which is the same api as above but with es6 promises, https://github.com/UrielCh/adbkit.

Both forks have a slightly different api to the original. In the original library there was a single client and any command directed at a particular device had a serial as the first argument

In the new libraries you create a DeviceClient where the serial is baked in and you don't need to supply this argument every time

allow-large-files

Reviewed By: lblasa

Differential Revision: D45569652

fbshipit-source-id: 2a23c0eaa12feaebdccadb3d343e087c0d5708d5
2023-05-18 09:56:41 -07:00
generatedunixname89002005306973
e2d5cc4607 Flipper Snapshot Bump: v0.191.1-SNAPSHOT
Summary: Releasing snapshot version 0.191.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D45986191

fbshipit-source-id: 269faf50274909e1a26d1a10f882b00025e08924
2023-05-18 09:12:47 -07:00
generatedunixname89002005306973
55271bcfa4 Flipper Release: v0.191.0
Summary: Releasing version 0.191.0

Reviewed By: lblasa

Differential Revision: D45986192

fbshipit-source-id: 15f544da6c3904647ffd4c9b165042ab66fef933
2023-05-18 09:12:47 -07:00
Lorenzo Blasa
8400e6b240 Don't ask to install PWA if running as Electron
Summary:
I had wrongly assumed the display mode was standalone for Electron, but it turns out that is not the case.

So, explicitly prevent showing the wizard in Electron builds.

Reviewed By: antonk52

Differential Revision: D45983295

fbshipit-source-id: 0bd770d28c0e52a7417789751ac78c5f84165d86
2023-05-18 06:29:00 -07:00
Aria Fallah
0d34662698 Support the monaco editor in flipper and add it to the smax plugin
Summary:
## Context

The editor for mocks is currently just a textarea. It'd be nicer as a monaco editor :D

## Changes
* Add monaco editor
* Change bundler for flipper plugins to allow loading .ttf as `dataurl`
* Resize the input/button for name and save and put them at the top next to each other
* Add a default mock template for when the editor is empty

allow-large-files

Reviewed By: aigoncharov

Differential Revision: D45929635

fbshipit-source-id: 66f3103d073ac630cb41d21f2ce3a7f89e15fed8
2023-05-17 21:16:31 -07:00
Lorenzo Blasa
e272705af3 Add button to attempt start Flipper server
Summary: If Flipper server is not running, the offline landing site will offer an option to start it by trying to open 'start-server' under the `flipper-launcher://` scheme.

Reviewed By: mweststrate

Differential Revision: D45950872

fbshipit-source-id: 0d4e22c8474413e914c3c7b4fc9154ae628a8b42
2023-05-17 11:01:37 -07:00
Lorenzo Blasa
5d40b5fedd Lock manifest.json
Summary:
The PWA manifest is very unlikely to change at the same frequency that tokens get generated and injected here.

Add it to .gitignore so that these changes are, well, ignored.

Reviewed By: antonk52

Differential Revision: D45950055

fbshipit-source-id: bd082f3bf005c7746c7dd3682b4ebde039633398
2023-05-17 09:33:45 -07:00
Lorenzo Blasa
1a6fac2a50 Only show PWA wizard in production
Summary: ^

Reviewed By: antonk52

Differential Revision: D45942615

fbshipit-source-id: e759da943396d85cd68169f79818d7037f5a940b
2023-05-17 03:50:40 -07:00
dependabot[bot]
6f36108ca2 Bump serde from 1.0.160 to 1.0.163 in /packer (#4736)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.163.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.163</h2>
<ul>
<li>Eliminate build script from serde_derive crate to slightly reduce build time (<a href="https://redirect.github.com/serde-rs/serde/issues/2442">https://github.com/facebook/flipper/issues/2442</a>, thanks <a href="https://github.com/taiki-e"><code>@​taiki-e</code></a>)</li>
</ul>
<h2>v1.0.162</h2>
<ul>
<li>
<p>Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the <code>csv</code> crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2377">https://github.com/facebook/flipper/issues/2377</a>, thanks <a href="https://github.com/mfro"><code>@​mfro</code></a>)</p>
<pre lang="rust"><code>#[derive(Deserialize)]
pub struct Record {
    common: u64,
    #[serde(flatten)]
    kind: Kind,
}
<p>#[derive(Deserialize)]
#[serde(tag = &quot;kind&quot;, content = &quot;parameter&quot;, rename_all = &quot;lowercase&quot;)]
enum Kind {
Foo(u64),
Bar(bool),
}
</code></pre></p>
<pre lang="csv"><code>common,kind,parameter
1,foo,42
2,bar,true
</code></pre>
</li>
</ul>
<h2>v1.0.161</h2>
<ul>
<li>Improve error messages produced by serde_test on test failure (<a href="https://redirect.github.com/serde-rs/serde/issues/2435">https://github.com/facebook/flipper/issues/2435</a>, thanks <a href="https://github.com/Mingun"><code>@​Mingun</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fccb9499bc"><code>fccb949</code></a> Release 1.0.163</li>
<li><a href="a139ab2572"><code>a139ab2</code></a> Adjust PR 2446 with less overgeneralized name</li>
<li><a href="1d910a484c"><code>1d910a4</code></a> Format with rustfmt 1.5.2-nightly</li>
<li><a href="ee9166ec97"><code>ee9166e</code></a> Revise comments on the FlatMapDeserializer entry taker</li>
<li><a href="b5a9eff32e"><code>b5a9eff</code></a> Resolve while_let_on_iterator clippy lint</li>
<li><a href="9441a29663"><code>9441a29</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2446">https://github.com/facebook/flipper/issues/2446</a> from Mingun/dedup2</li>
<li><a href="ab6588ef74"><code>ab6588e</code></a> Extract duplicated code into a function</li>
<li><a href="1d11f03449"><code>1d11f03</code></a> Extract logic of taking flattened fields into a function</li>
<li><a href="e11d01fe1d"><code>e11d01f</code></a> Remove constructors for FlatMapAccess and FlatStructAccess</li>
<li><a href="a901f50850"><code>a901f50</code></a> FlatMapAccess and FlatStructAccess does not need to be public</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.163">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.160&new-version=1.0.163)](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/4736

Reviewed By: ivanmisuno

Differential Revision: D45917748

Pulled By: passy

fbshipit-source-id: 86fbf6ffa9a52f6af3c1e5e2ce39aca04e23a788
2023-05-17 02:39:09 -07:00
dependabot[bot]
6674a6ab0e Bump org.robolectric:robolectric from 4.10 to 4.10.2 (#4724)
Summary:
Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10 to 4.10.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">org.robolectric:robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.10.2 is a minor release that fixes an issue related to re-instrumenting classes that have already been instrumented with Jacoco (1c22a484c39711d4f7270585130bb15990f3cc85).</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10.1...robolectric-4.10.2">https://github.com/robolectric/robolectric/compare/robolectric-4.10.1...robolectric-4.10.2</a></p>
<p>Robolectric 4.10.1 is a minor release that fixes several issues:</p>
<ul>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8163">robolectric/robolectric#8163</a>, which involve ICU extensions in SQLite (9551b04602985795ef7667a3f6238e989bdba765)</li>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8137">robolectric/robolectric#8137</a>, ShadowVibrator APIs on older SDK levels (5127cefaddbb58c3e64423ee13cf4031ce531ec3), thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a></li>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8160">robolectric/robolectric#8160</a>, where an obscure exception would be thrown in resetters (866dacc37308c4b5381d7f01d5c56193f643b412).</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.1">https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="24d5efd568"><code>24d5efd</code></a> Bump version to 4.10.2.</li>
<li><a href="3ffdaf7847"><code>3ffdaf7</code></a> Fix another edge case in Jacoco instrumentation detection</li>
<li><a href="348443c128"><code>348443c</code></a> Bump version to 4.10.1.</li>
<li><a href="5127cefadd"><code>5127cef</code></a> Make ShdadowVibrator compatible with SDK 28+</li>
<li><a href="866dacc373"><code>866dacc</code></a> Remove precondition check in ShadowActivityThread resetter</li>
<li><a href="9551b04602"><code>9551b04</code></a> Add support for SQLite 'regexp' methods</li>
<li>See full diff in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.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.10&new-version=4.10.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/4724

Reviewed By: ivanmisuno

Differential Revision: D45917753

Pulled By: passy

fbshipit-source-id: e81a646ad1834d64f2ed79c73cf34d7ecb6c2943
2023-05-17 02:36:07 -07:00
Nikita Lutsenko
b66bff3837 sonar | Replace global static variables within jni/sonar.cpp with local static.
Summary: Replacing global static varaibles with local static. No cost at startup time, and also fixes any potential static initialization order fiasco.

Differential Revision: D45900844

fbshipit-source-id: 4ff05cbefe2f0c00199f40b9127e28c355d1819e
2023-05-16 18:56:17 -07:00
Nikita Lutsenko
0069155b1e flipper | Replace global static variables in FlipperSocketProvider with local static.
Summary: Replacing global static varaibles with local static. No cost at startup time, and also fixes any potential static initialization order fiasco.

Differential Revision: D45900297

fbshipit-source-id: 80e3ffb6527f7f7b6b08de4a6209f0f8298f7bf5
2023-05-16 14:15:04 -07:00
Lorenzo Blasa
7386608a53 Track token validation
Summary: ^

Reviewed By: antonk52

Differential Revision: D45864358

fbshipit-source-id: c043555c5dd3050503115a22982162ec16aba40f
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
5830333e0d PWA installation wizard usage tracking
Summary: Get some metrics from the PWA installation wizard.

Reviewed By: antonk52

Differential Revision: D45863352

fbshipit-source-id: 1cf8912a47c749b3b2c2e573796ee1935ea172c9
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
c6d5eb3334 Flipper as PWA
Summary:
^

Reference: https://docs.google.com/document/d/1flQJUzTe4AuQz3QCpvbloQycenHsu7ZxbKScov7K7ao

Reviewed By: passy

Differential Revision: D45693382

fbshipit-source-id: 5a2e6c213a7e7e2cf9cd5f3033cff3e5291a2a92
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
47a4c10c67 Improve error logs readability
Summary:
Setting the background to red for error logs has a lot of implications for all text colouring inside of its container.

Instead, set the error border to red, which gives a clear error indication whilst making things easier to read.

changelog: Improve console error logs readability

Reviewed By: mweststrate

Differential Revision: D45861604

fbshipit-source-id: 51f557451ac16269b69ff830a26328552e134ee5
2023-05-15 05:35:32 -07:00
Luke De Feo
cd67ce59f7 Improve selection / hovered state of visualiser
Summary:
Previously we used an overlay to indicated selected but this was kind of hard to see due to <1 opacity. I think this approach where we enchance the border is clearer.

Also we used border colour earlier to indicate type of node which i think was never obvious to the user. Given that nodes heavily overlap we should remove this design language

changelog: UIDebugger, improve selected and hover state of the visualiser

Reviewed By: antonk52

Differential Revision: D45737758

fbshipit-source-id: 5299043656787d6479cff6ec2b38cebe8417fd53
2023-05-11 08:15:19 -07:00
Andrey Goncharov
33ae7f23db Fix column sorting not visible
Summary: Fixes a regression from D45394048. It "sortable" as a nullable column prop. When it is undefined it should be treated as true.

Reviewed By: LukeDefeo

Differential Revision: D45776216

fbshipit-source-id: dcd8ce97217086deab7b2b1852837fbfa7437d13
2023-05-11 08:14:05 -07:00
Anton Kastritskiy
94482f9782 limit vscode code action apply to eslint only
Summary:
I accidentally used vscode. I acctidentally used an await keyword in a sync funciton. typescript has an codeaction to add an async to the function which was out of my screen. This changed the function return type to promise which caused other errors around the codebase and it took me a while to figure out where the error was coming from.

All eslint code actions are safe to apply which is not the case with typescript. Thus making this change.

Reviewed By: lblasa

Differential Revision: D45773531

fbshipit-source-id: 1f8835c442d7703644b1af729ab55fcef7d5be73
2023-05-11 07:30:07 -07:00
Anton Kastritskiy
4ad54db723 eslint warn on non null assertions
Summary:
Let's ban the non null assertion syntax `maybeNull!` as it is unsafe and can cause unexpected behavior. Ideally this should be an error or require a comment explaining why the value cannot be nullish. Though, there are 468 occurrences around the codebase and it is not worth it to manually go around fixing it now. Thus I used a warn to still warn developers to avoid the use where possible.

Last week I spend over an hour on debugging something where the code was null-asserted as the developer thought the value could never be null while in reallity it could. Adding a runtime check in this case sounds reasonable.

rule docs
https://typescript-eslint.io/rules/no-non-null-assertion/

Reviewed By: nikoant

Differential Revision: D45773327

fbshipit-source-id: 9e8a40af353ce979f469ffaedd8e777d72500dab
2023-05-11 07:30:07 -07:00
Lorenzo Blasa
a96caacb2b EnvironmentInfo as argument to start server
Summary:
Clean initialisation by passing down the environment info to start server.

(Also rename dir to path as that's the name used in other places)

Reviewed By: passy

Differential Revision: D45731751

fbshipit-source-id: a60fdd49c567fc312d1f8da72db3a46a0828c140
2023-05-11 04:10:16 -07:00
Luke De Feo
0f9eeda2dd Remove ctrl to stop drawing children
Summary: This feature is annoying and useless

Reviewed By: antonk52

Differential Revision: D45696921

fbshipit-source-id: 01c007d3e196a7511b940b7973bb8e6a880e27e5
2023-05-10 09:14:47 -07:00
Luke De Feo
da268f0095 Bump mock-fs
Summary: various tests failing due to this dep

Reviewed By: antonk52

Differential Revision: D45731274

fbshipit-source-id: cb79199c15a8973f50e5075dab16605d0120b30c
2023-05-10 07:47:19 -07:00
Szu-Kai Hsu
10f967fe60 feat: Update paste argument schema to support specified programming language (#4732)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4732

This diff adds a `language` field into `CreatePasteArgs` type to potentially specify programming language in the paste service

Reviewed By: mweststrate

Differential Revision: D45701098

fbshipit-source-id: 080d76e5ff332518881e9c6b84aa47aaea680309
2023-05-10 07:36:49 -07:00
Luke De Feo
23ebd8b865 Change logic for generating debug wrapper for nodes
Summary:
Previously we would only generate debug wrapper for render core layout result when uidebugger was currently connected.

This meant if you navigate to a bloks screen *before* having the ui debugger open at render time it would read ui debugger as disconnected since the ui debugger is not a background plugin. The result is the user would see the native nodes instead of the bound tree, it was extra confusing since the layout result was cached so going forward and back doesnt solve it.

The ideal solution would be to have a global flipper is connected on the client but this isnt available yet, lorenzo said he would work on it later.

As a work around we use the fact that the uidebugger has ever been connected in this session.

It can still be confusing since the initial load of a bloks screen migt not generate the debug nodes until you navigate to the plugin once. I will add a note to the docs so say that you need to have open the uidebugger once before nodes will appear

Reviewed By: mweststrate

Differential Revision: D45605120

fbshipit-source-id: 970943b9f8f98221b7fc5e20bb1caf18c2266474
2023-05-10 05:05:34 -07:00
Lorenzo Blasa
fdd1a9e887 Use different location for token depending on build type
Summary:
For Electron builds, use the same directory as certificates and keys.

For headless builds, then use the static directory.

Reviewed By: antonk52

Differential Revision: D45728515

fbshipit-source-id: 55a3b143a9289fed23e57cbf6b701a5e48d27332
2023-05-10 04:35:17 -07:00
Lorenzo Blasa
b94f6b6152 Set the right environment info for headless builds
Summary: The isHeadlessBuild flag was not properly set.

Reviewed By: antonk52

Differential Revision: D45728435

fbshipit-source-id: 3616c4358114d4f3d96372766dabf48b27b44333
2023-05-10 04:35:17 -07:00
Ruslan Lesiutin
1086e05ba0 upgrade react-devtools to v4.27.7 in fbsource (#4706)
Summary:
X-link: https://github.com/facebook/react-native/pull/37146

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

Changelog: [Internal]

Updating react-devtools-* packages to v4.27.7

Reviewed By: jacdebug

Differential Revision: D45317588

fbshipit-source-id: 5625f654feffced92ca933796e90ac10fc4801ff
2023-05-09 07:13:39 -07:00
Lorenzo Blasa
133ea43f7d Add auth.token to .gitignore
Summary:
Bit annoying if everytime we run it we have to manually delete/discard file.

So, add to gitignore.

Reviewed By: LukeDefeo, passy

Differential Revision: D45688164

fbshipit-source-id: 6ae2b570f571a3d44b0c75bb3d614887e4943e5b
2023-05-09 03:12:35 -07:00
Lorenzo Blasa
238f40f55d Mandate auth token to connect over TCP
Summary:
Until now, launching flipper-server with TCP would accept any incoming connection as long as it comes from the same origin (localhost) using web socket host origin verification.

This is not entirely secure as origin can be spoofed with tools like curl.

Our team created a security review and a proposal was written:
https://docs.google.com/document/d/16iXypCQibPiner061SoaQUFUY9tLVAEpkKfV_hUXI7c/

Effectively, Flipper can generate a token which is then used by the client to authenticate.

This diff contains the changes required to generate, obtain, and validate authentication tokens from clients connecting to flipper over TCP connections.

The token itself is a JWT token. JWT was chosen because it is a simple industry standard which offers three features which can immediately benefit us:

- Expiration handling. No need for Flipper to store this information anywhere.
- Payload. Payload can be used to push any data we deem relevant i.e. unix username.
- Signing. Signed and verified using the same server key pair which is already in place for certificate exchange.

Additionally, the token is stored in the Flipper static folder. This ensures that the browser and PWA clients have access to it.

Reviewed By: mweststrate

Differential Revision: D45179654

fbshipit-source-id: 6761bcb24f4ba30b67d1511cde8fe875158d78af
2023-05-05 07:52:13 -07:00