Summary: Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 5.2.0 to 5.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gajus/eslint-plugin-flowtype/releases">eslint-plugin-flowtype's releases</a>.</em></p> <blockquote> <h2>v5.3.1</h2> <h2><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.3.0...v5.3.1">5.3.1</a> (2021-02-24)</h2> <h3>Bug Fixes</h3> <ul> <li>object-type-curly-spacing should not throw errors on multiple spaces on option always (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/466">https://github.com/facebook/flipper/issues/466</a>) (<a href="e1d5d049ae">e1d5d04</a>)</li> </ul> <h2>v5.3.0</h2> <h1><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.2.2...v5.3.0">5.3.0</a> (2021-02-23)</h1> <h3>Features</h3> <ul> <li>Added rule objectTypeCurlySpacing (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/464">https://github.com/facebook/flipper/issues/464</a>) (<a href="cd40053e8e">cd40053</a>)</li> </ul> <h2>v5.2.2</h2> <h2><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.2.1...v5.2.2">5.2.2</a> (2021-02-18)</h2> <h3>Bug Fixes</h3> <ul> <li>add meta everywhere (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/461">https://github.com/facebook/flipper/issues/461</a>) (<a href="9cf7aff633">9cf7aff</a>)</li> <li>remove duplicate meta usage (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/463">https://github.com/facebook/flipper/issues/463</a>) (<a href="204571f2cf">204571f</a>)</li> </ul> <h2>v5.2.1</h2> <h2><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.2.0...v5.2.1">5.2.1</a> (2021-02-18)</h2> <h3>Bug Fixes</h3> <ul> <li>[sort-keys] handle method signatures (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/459">https://github.com/facebook/flipper/issues/459</a>) (<a href="04b9637b49">04b9637</a>), closes <a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/455">https://github.com/facebook/flipper/issues/455</a></li> <li>annotate fixable rules (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/458">https://github.com/facebook/flipper/issues/458</a>) (<a href="61c4a3c6c0">61c4a3c</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="e1d5d049ae"><code>e1d5d04</code></a> fix: object-type-curly-spacing should not throw errors on multiple spaces on ...</li> <li><a href="1a4939a834"><code>1a4939a</code></a> chore: Should ignore yarn.lock not yack.lock (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/465">https://github.com/facebook/flipper/issues/465</a>)</li> <li><a href="cd40053e8e"><code>cd40053</code></a> feat: Added rule objectTypeCurlySpacing (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/464">https://github.com/facebook/flipper/issues/464</a>)</li> <li><a href="204571f2cf"><code>204571f</code></a> fix: remove duplicate meta usage (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/463">https://github.com/facebook/flipper/issues/463</a>)</li> <li><a href="9cf7aff633"><code>9cf7aff</code></a> fix: add meta everywhere (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/461">https://github.com/facebook/flipper/issues/461</a>)</li> <li><a href="04b9637b49"><code>04b9637</code></a> fix: [sort-keys] handle method signatures (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/459">https://github.com/facebook/flipper/issues/459</a>)</li> <li><a href="61c4a3c6c0"><code>61c4a3c</code></a> fix: annotate fixable rules (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/458">https://github.com/facebook/flipper/issues/458</a>)</li> <li>See full diff in <a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.2.0...v5.3.1">compare view</a></li> </ul> </details> <br /> [](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/1975 Reviewed By: priteshrnandgaonkar Differential Revision: D26723658 Pulled By: mweststrate fbshipit-source-id: 1e39c9359993fb5833dfce9dfdf4ac9fad002fc0
flipper-sdk-api
SDK to build Flipper clients for JS based apps
Installation
yarn add flipper-client-sdk
Usage
Example
class SeaMammalPlugin extends AbsctractFlipperPlugin {
getId(): string {
return 'sea-mammals';
}
runInBackground(): boolean {
return true;
}
newRow(row: {id: string, url: string, title: string}) {
this.connection?.send("newRow", row)
}
}
const flipperClient = newWebviewClient();
cosnt plugin = new SeaMammalPlugin();
flipperClient.addPlugin();
flipperClient.start('Example JS App');
plugin.newRow({id: '1', title: 'Dolphin', url: 'example.com'})