Commit Graph

110 Commits

Author SHA1 Message Date
dependabot[bot]
48270af383 Bump eslint-plugin-react-hooks from 4.1.0 to 4.1.2 in /flipper-js-client-sdk (#1525)
Summary:
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.1.0 to 4.1.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p>
<blockquote>
<h2>4.1.2</h2>
<ul>
<li>Fix a crash with the TypeScript 4.x parser. (<a href="https://github.com/eps1lon">eps1lon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19815">#19815</a>)</li>
</ul>
<h2>4.1.1</h2>
<ul>
<li>Improve support for optional chaining. (<a href="https://github.com/pfongkye">pfongkye</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19680">#19680</a>)</li>
<li>Fix a false positive warning for TypeScript parameters. (<a href="https://github.com/NeoRaider">NeoRaider</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19751">#19751</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-hooks&package-manager=npm_and_yarn&previous-version=4.1.0&new-version=4.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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/1525

Reviewed By: mweststrate

Differential Revision: D23680993

Pulled By: passy

fbshipit-source-id: ab8af15cc7a1e5dbd221948a80abab5eef22a221
2020-09-15 04:58:34 -07:00
Timur Valiev
1d55b35dfd v0.0.3 - bug fixes
Summary:
couple of bug fixes:
1) we don't want to init plugins on connect - let's wait for init command from flipper
2) on disonnect - "this" didn;t work well with .map() so i switched to old school loop

Reviewed By: jknoxville

Differential Revision: D23623946

fbshipit-source-id: cb3f579a8ee14fedfbe19895f31f77f9e08775d2
2020-09-10 08:18:14 -07:00
Rakha Kanz Kautsar
23afff9e2b flipper-js-client-sdk: fix undefined this on connectPlugin and disconnectPlugin (#1506)
Summary:
`this` is not defined for `connectPlugin` and `disconnectPlugin` because `Array.prototype.map` [replace `this` to `undefined` if not specified](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map):

> If a thisArg parameter is provided, it will be used as callback's this value. Otherwise, the value undefined will be used as its this value. The this value ultimately observable by callback is determined according to the usual rules for determining the this seen by a function.

![image](https://user-images.githubusercontent.com/1536976/91691584-72b24c80-eb9a-11ea-88f1-984f2be8ab4a.png)

## Changelog

flipper-js-client-sdk: Fix undefined this due to array map

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

Test Plan: Tried creating custom client and connecting to websocket server

Reviewed By: mweststrate

Differential Revision: D23473033

Pulled By: nikoant

fbshipit-source-id: bbfd9117da8aa8c7b491e219f98d17ccea48c0fd
2020-09-02 07:21:26 -07:00
dependabot[bot]
6b0c579d4a Bump prettier from 2.0.5 to 2.1.0 in /flipper-js-client-sdk (#1494)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h1>2.1.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.1.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6365138f40"><code>6365138</code></a> Release 2.1.0</li>
<li><a href="5223b78dcd"><code>5223b78</code></a> Build: Quick fix for <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8639">#8639</a> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9035">#9035</a>)</li>
<li><a href="a365d728fe"><code>a365d72</code></a> Build(deps-dev): Bump glimmer/reference from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9032">#9032</a>)</li>
<li><a href="cdc566f5ae"><code>cdc566f</code></a> Build(deps): Bump remark-footnotes from 1.0.0 to 2.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9034">#9034</a>)</li>
<li><a href="e2f265047a"><code>e2f2650</code></a> Build(deps): Bump unified from 9.1.0 to 9.2.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9031">#9031</a>)</li>
<li><a href="d27927c9a9"><code>d27927c</code></a> Build(deps): Bump flow-parser from 0.131.0 to 0.132.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9027">#9027</a>)</li>
<li><a href="fa2935998b"><code>fa29359</code></a> Build(deps-dev): Bump jest from 26.4.1 to 26.4.2 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9030">#9030</a>)</li>
<li><a href="f6eac26592"><code>f6eac26</code></a> Build(deps-dev): Bump rollup from 2.26.4 to 2.26.5 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9029">#9029</a>)</li>
<li><a href="d693a44b17"><code>d693a44</code></a> Build(deps): Bump glimmer/syntax from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9033">#9033</a>)</li>
<li><a href="c4e9dd9c36"><code>c4e9dd9</code></a> Continuation of revert 7889 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9024">#9024</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~sosukesuzuki">sosukesuzuki</a>, a new releaser for prettier since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.0.5&new-version=2.1.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1494

Reviewed By: passy

Differential Revision: D23294310

Pulled By: mweststrate

fbshipit-source-id: 2ed98860f373bc6ac67942b47644ce2c712068cf
2020-08-27 06:20:22 -07:00
dependabot[bot]
a60f165cd0 Bump typescript from 3.9.5 to 4.0.2 in /flipper-js-client-sdk (#1493)
Summary:
allow-large-files

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 4.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Microsoft/TypeScript/releases">typescript's releases</a>.</em></p>
<blockquote>
<h2>TypeScript 4.0</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-0-rc/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.0%22+is%3Aclosed+">fixed issues query for Typescript v4.0.0 (Beta)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.1%22+is%3Aclosed+">fixed issues query for Typescript v4.0.1 (RC)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.2%22+is%3Aclosed+">fixed issues query for Typescript v4.0.2</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-40">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 4.0 Beta</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-0-beta/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0%22+is%3Aclosed+">fixed issues query for Typescript v4.0-beta</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-40beta">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 3.9.7</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.0%22+is%3Aclosed+">fixed issues query for Typescript v3.9.0 (Beta)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.1%22+is%3Aclosed+">fixed issues query for Typescript v3.9.1 (RC)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.2%22+is%3Aclosed+">fixed issues query for Typescript v3.9.2 (Final)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.3%22+is%3Aclosed+">fixed issues query for Typescript v3.9.3 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.5%22+is%3Aclosed+">fixed issues query for Typescript v3.9.5 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.6%22+is%3Aclosed+">fixed issues query for Typescript v3.9.6 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+3.9.7%22+is%3Aclosed+">fixed issues query for Typescript v3.9.7 (patch release)</a>.</li>
</ul>
<p>(note, 3.9.4 was intentionally skipped due to minor complications in publishing)</p>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-397">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 3.9.6</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/">release announcement</a>.</p>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="912cbdfcb6"><code>912cbdf</code></a> Update LKG</li>
<li><a href="076db46a3f"><code>076db46</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40072">#40072</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40076">#40076</a>)</li>
<li><a href="c9c6cd29b6"><code>c9c6cd2</code></a> Bump version to 4.0.2 and LKG</li>
<li><a href="5f5dac0280"><code>5f5dac0</code></a> Add '(approximate)' to the beginning of quick info requests in PartialSemanti...</li>
<li><a href="10304555e7"><code>1030455</code></a> Ensure file, include and exclude specs used are strings  (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40041">#40041</a>)</li>
<li><a href="edaa8aa9c0"><code>edaa8aa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39989">#39989</a> from amcasey/pinned-release-4.0</li>
<li><a href="f88f3065fa"><code>f88f306</code></a> Update LKG</li>
<li><a href="a1925515e2"><code>a192551</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40026">#40026</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40028">#40028</a>)</li>
<li><a href="6620b251ef"><code>6620b25</code></a> � Pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40005">#40005</a> (feat(40004): Missing Compiler API p...) into release-4.0 (#...</li>
<li><a href="7558de69b1"><code>7558de6</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39702">#39702</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39985">#39985</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Microsoft/TypeScript/compare/v3.9.5...v4.0.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=3.9.5&new-version=4.0.2)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1493

Reviewed By: passy

Differential Revision: D23294311

Pulled By: mweststrate

fbshipit-source-id: 7dcdcb9f7387c9114da2123fd3c1c10229cb76b8
2020-08-26 03:38:36 -07:00
dependabot[bot]
10b3c7db0b Bump eslint-plugin-react-hooks from 4.0.4 to 4.1.0 in /flipper-js-client-sdk (#1475)
Summary:
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.4 to 4.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p>
<blockquote>
<h2>4.1.0</h2>
<ul>
<li><strong>New Violations:</strong> Warn when dependencies change on every render. (<a href="https://github.com/captbaritone">captbaritone</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19590">#19590</a>)</li>
</ul>
<h2>4.0.8</h2>
<ul>
<li>Fixes TypeScript <code>typeof</code> annotation to not be considered a dependency. (<a href="https://github.com/delca85">delca85</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19316">#19316</a>)</li>
</ul>
<h2>4.0.7</h2>
<ul>
<li>Fixes an overly coarse dependency suggestion. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19313">#19313</a>)</li>
</ul>
<h2>4.0.6</h2>
<ul>
<li>Fix crashes and other bugs related to optional chaining. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19273">#19273</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/19275">#19275</a>)</li>
</ul>
<h2>4.0.5</h2>
<ul>
<li>Fix a crash when the dependency array has an empty element. (<a href="https://github.com/yeonjuan">yeonjuan</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19145">#19145</a>)</li>
<li>Fix a false positive warning that occurs with optional chaining. (<a href="https://github.com/fredvollmer">fredvollmer</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19061">#19061</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-hooks&package-manager=npm_and_yarn&previous-version=4.0.4&new-version=4.1.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1475

Reviewed By: mweststrate

Differential Revision: D23161698

Pulled By: passy

fbshipit-source-id: 725c377f627b2555a85487ef39cebe372205d394
2020-08-18 03:28:01 -07:00
dependabot[bot]
a994683b2e Bump eslint-import-resolver-typescript from 2.0.0 to 2.2.0 in /flipper-js-client-sdk (#1432)
Summary:
Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.0.0 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases">eslint-import-resolver-typescript's releases</a>.</em></p>
<blockquote>
<h2>v2.2.0</h2>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.1.0...v2.2.0">2.2.0</a> (2020-07-30)</h2>
<h3>Features</h3>
<ul>
<li>rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a> (<a href="a662fc14f6">a662fc1</a>)</li>
</ul>
<h2>v2.1.0</h2>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.1.0">2.1.0</a> (2020-07-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a> (<a href="81db8eb0ae">81db8eb</a>)</li>
<li>typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>) (<a href="585509e95f">585509e</a>)</li>
<li>wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>) (<a href="d563eeb2af">d563eeb</a>), closes <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/50">https://github.com/facebook/flipper/issues/50</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md">eslint-import-resolver-typescript's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.1.0...v2.2.0">2.2.0</a> (2020-07-30)</h2>
<h3>Features</h3>
<ul>
<li>rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a> (<a href="a662fc14f6">a662fc1</a>)</li>
</ul>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.1.0">2.1.0</a> (2020-07-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a> (<a href="81db8eb0ae">81db8eb</a>)</li>
<li>typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>) (<a href="585509e95f">585509e</a>)</li>
<li>wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>) (<a href="d563eeb2af">d563eeb</a>), closes <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/50">https://github.com/facebook/flipper/issues/50</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="05f7c0d912"><code>05f7c0d</code></a> chore(release): 2.2.0</li>
<li><a href="a662fc14f6"><code>a662fc1</code></a> feat: rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a></li>
<li><a href="d0f19d3920"><code>d0f19d3</code></a> chore(release): 2.1.0</li>
<li><a href="e5e6e6cb3f"><code>e5e6e6c</code></a> chore: bump deps, release v2.1.0 - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/52">https://github.com/facebook/flipper/issues/52</a></li>
<li><a href="f984cef51b"><code>f984cef</code></a> Package filter extensions options (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/49">https://github.com/facebook/flipper/issues/49</a>)</li>
<li><a href="d563eeb2af"><code>d563eeb</code></a> fix: wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>)</li>
<li><a href="afbcdec120"><code>afbcdec</code></a> chore: add prepublishOnly script for security</li>
<li><a href="81db8eb0ae"><code>81db8eb</code></a> fix: options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a></li>
<li><a href="03d501771a"><code>03d5017</code></a> test: lint test folders specifically - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/43">https://github.com/facebook/flipper/issues/43</a></li>
<li><a href="585509e95f"><code>585509e</code></a> fix: typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.2.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~jounqin">jounqin</a>, a new releaser for eslint-import-resolver-typescript since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-import-resolver-typescript&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.2.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1432

Reviewed By: mweststrate

Differential Revision: D22920267

Pulled By: passy

fbshipit-source-id: 32ea8109b0ddf4d3a1b0281488efef1fc6533383
2020-08-05 04:36:03 -07:00
dependabot[bot]
1e22c03c24 Bump eslint-plugin-react from 7.20.0 to 7.20.5 in /flipper-js-client-sdk (#1433)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.0 to 7.20.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5">7.20.5</a> - 2020.07.28</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-curly-brace-presence</code>]: disable disallowed JSX text chars check in props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2710">#2710</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>no-unused-state</code>]: check for class expression (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2712">#2712</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: handle anonymous functions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2730">#2730</a>[], <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2731">#2731</a>[] <a href="https://github.com/odinho">odinho</a> <a href="https://github.com/wKich">wKich</a> <a href="https://github.com/jzabala">jzabala</a>)</li>
</ul>
<h3>Docs</h3>
<ul>
<li>[Docs] [<code>no-access-state-in-setstate</code>]: fix example (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2724">#2724</a>[] <a href="https://github.com/youngjuning">youngjuning</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2731">#2731</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2731">yannickcr/eslint-plugin-react#2731</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2730">#2730</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2730">yannickcr/eslint-plugin-react#2730</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2724">#2724</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2724">yannickcr/eslint-plugin-react#2724</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2712">#2712</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2712">yannickcr/eslint-plugin-react#2712</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2710">#2710</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2710">yannickcr/eslint-plugin-react#2710</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4">7.20.4</a> - 2020.07.26</h2>
<h3>Fixed</h3>
<ul>
<li>improve algorithm to check if a variable is coming from the pragma (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2706">#2706</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: handle component returning null (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2696">#2696</a>[] <a href="https://github.com/hank121314">hank121314</a>)</li>
<li>[<code>prop-types</code>]/[<code>function-component-definition</code>]: Add check for first letter capitalization in functional component detection (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2699">#2699</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: use variable value in prop type fields defined by variables (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2704">#2704</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>no-typos</code>]: warn on a bindingless <code>react</code> import</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] <code>boolean-prop-naming</code>: Added test for function invocation of bool (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2697">#2697</a>[] <a href="https://github.com/ajkovar">ajkovar</a>)</li>
<li>[Tests] <code>jsx-curly-brace-presence</code>, <code>jsx-no-comment-textnodes</code>: add passing tests</li>
<li>[Refactor] <code>no-unused-state</code>: avoid a loop</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2704">#2704</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2704">yannickcr/eslint-plugin-react#2704</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2699">#2699</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2699">yannickcr/eslint-plugin-react#2699</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2697">#2697</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2697">yannickcr/eslint-plugin-react#2697</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2696">#2696</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2696">yannickcr/eslint-plugin-react#2696</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3">7.20.3</a> - 2020-06-30</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-unused-prop-types</code>]/[<code>prop-types</code>]: typescript interface support literal type and only FunctionComponent should have propTypes validation (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2690">#2690</a>[] <a href="https://github.com/hank121314">hank121314</a>)</li>
<li>[<code>no-unused-prop-types</code>]/TypeScript: avoid crash on indexable interface (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">#2687</a>[] <a href="https://github.com/ljharb">ljharb</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2690">#2690</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2690">yannickcr/eslint-plugin-react#2690</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">#2687</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">yannickcr/eslint-plugin-react#2687</a></p>
<h2>[7.20.2] - 2020-06-29</h2>
<h3>Fixed</h3>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4c8d8cc0a5"><code>4c8d8cc</code></a> Update CHANGELOG and bump version</li>
<li><a href="253a62aad3"><code>253a62a</code></a> [Tests] <code>no-access-state-in-setstate</code>: add passing tests</li>
<li><a href="f0ff971d78"><code>f0ff971</code></a> [Fix] <code>jsx-curly-brace-presence</code>: disable disallowed JSX text chars check in ...</li>
<li><a href="96309574ac"><code>9630957</code></a> [Fix] <code>no-unused-state</code>: check for class expression</li>
<li><a href="cadee91b7c"><code>cadee91</code></a> [Docs] <code>no-access-state-in-setstate</code>: fix example</li>
<li><a href="e8d2ce9f90"><code>e8d2ce9</code></a> [Fix] <code>prop-types</code>: handle anonymous functions</li>
<li><a href="e20522c0ce"><code>e20522c</code></a> Update CHANGELOG and bump version</li>
<li><a href="bb2b8db251"><code>bb2b8db</code></a> [Tests] <code>jsx-curly-brace-presence</code>, <code>jsx-no-comment-textnodes</code>: add passing t...</li>
<li><a href="e3e767bd04"><code>e3e767b</code></a> [Fix]: improve algorithm to check if a variable is coming from the pragma</li>
<li><a href="c57cc315e4"><code>c57cc31</code></a> [Fix] <code>prop-types</code>: handle component returning null</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.20.0&new-version=7.20.5)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1433

Reviewed By: nikoant

Differential Revision: D22897473

Pulled By: passy

fbshipit-source-id: c113cefbe62b2788554fe061aaae83f206ac2f26
2020-08-04 02:58:16 -07:00
Timur Valiev
7dbcfc89b0 js api improvements: responnders, communication protocol
Summary:
A few improvements to JS API:
1) non-dummy responders - now we can reply to flipper
2) respecting flipper communication protocol: getPlugins, getBackgroundplugins, init, deinit, execute

adding linters

Reviewed By: jknoxville

Differential Revision: D22307525

fbshipit-source-id: 2f629210f398d118cc0cb99097c9d473bb466e57
2020-07-17 04:54:44 -07:00
Timur Valiev
896a90aa26 update js-client api (migrate to TS)
Summary:
JS/TS api:
- migrate to TS
- some refactoring (get rid of bridge, make client abstract)

Implementation isn't full yet, things to be implemented:
- let plugins connect on init command from Flipper
- implement Responder

Further plans:
- make fully compatible with react-native api without breaking changes

Reviewed By: mweststrate

Differential Revision: D21839377

fbshipit-source-id: 9e9fe4ad01632f958b59eb255c703c6cbc5fafe2
2020-06-11 08:45:35 -07:00