Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.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>v7.29.0</h2> <ul> <li><a href="bfbfe5c1fd"><code>bfbfe5c</code></a> New: Add only to RuleTester (refs <a href="https://github-redirect.dependabot.com/eslint/rfcs/issues/73">eslint/rfcs#73</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14677">#14677</a>) (Brandon Mills)</li> <li><a href="c2cd7b4a18"><code>c2cd7b4</code></a> New: Add ESLint#getRulesMetaForResults() (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13654">#13654</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14716">#14716</a>) (Nicholas C. Zakas)</li> <li><a href="eea7e0d09d"><code>eea7e0d</code></a> Chore: remove duplicate code (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14719">#14719</a>) (Nitin Kumar)</li> <li><a href="6a1c7a0dac"><code>6a1c7a0</code></a> Fix: allow fallthrough comment inside block (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14701">#14701</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14702">#14702</a>) (Kevin Gibbons)</li> <li><a href="a47e5e30b0"><code>a47e5e3</code></a> Docs: Add Mega-Linter to the list of integrations (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14707">#14707</a>) (Nicolas Vuillamy)</li> <li><a href="353ddf9650"><code>353ddf9</code></a> Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14699">#14699</a>) (薛定谔的猫)</li> <li><a href="757c49584a"><code>757c495</code></a> Chore: add some rules to eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14692">#14692</a>) (薛定谔的猫)</li> <li><a href="c93a222563"><code>c93a222</code></a> Docs: fix a broken link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14697">#14697</a>) (Sam Chen)</li> <li><a href="655c1187fc"><code>655c118</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="e2bed2ead2"><code>e2bed2e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="8490fb42e5"><code>8490fb4</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="ddbe877c95"><code>ddbe877</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p> <blockquote> <p>v7.29.0 - June 18, 2021</p> <ul> <li><a href="bfbfe5c1fd"><code>bfbfe5c</code></a> New: Add only to RuleTester (refs <a href="https://github-redirect.dependabot.com/eslint/rfcs/issues/73">eslint/rfcs#73</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14677">#14677</a>) (Brandon Mills)</li> <li><a href="c2cd7b4a18"><code>c2cd7b4</code></a> New: Add ESLint#getRulesMetaForResults() (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13654">#13654</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14716">#14716</a>) (Nicholas C. Zakas)</li> <li><a href="eea7e0d09d"><code>eea7e0d</code></a> Chore: remove duplicate code (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14719">#14719</a>) (Nitin Kumar)</li> <li><a href="6a1c7a0dac"><code>6a1c7a0</code></a> Fix: allow fallthrough comment inside block (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14701">#14701</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14702">#14702</a>) (Kevin Gibbons)</li> <li><a href="a47e5e30b0"><code>a47e5e3</code></a> Docs: Add Mega-Linter to the list of integrations (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14707">#14707</a>) (Nicolas Vuillamy)</li> <li><a href="353ddf9650"><code>353ddf9</code></a> Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14699">#14699</a>) (薛定谔的猫)</li> <li><a href="757c49584a"><code>757c495</code></a> Chore: add some rules to eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14692">#14692</a>) (薛定谔的猫)</li> <li><a href="c93a222563"><code>c93a222</code></a> Docs: fix a broken link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14697">#14697</a>) (Sam Chen)</li> <li><a href="655c1187fc"><code>655c118</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="e2bed2ead2"><code>e2bed2e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="8490fb42e5"><code>8490fb4</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="ddbe877c95"><code>ddbe877</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="b402f7892f"><code>b402f78</code></a> 7.29.0</li> <li><a href="a02dbd2822"><code>a02dbd2</code></a> Build: changelog update for 7.29.0</li> <li><a href="bfbfe5c1fd"><code>bfbfe5c</code></a> New: Add only to RuleTester (refs <a href="https://github-redirect.dependabot.com/eslint/rfcs/issues/73">eslint/rfcs#73</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14677">#14677</a>)</li> <li><a href="c2cd7b4a18"><code>c2cd7b4</code></a> New: Add ESLint#getRulesMetaForResults() (refs <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13654">#13654</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14716">#14716</a>)</li> <li><a href="eea7e0d09d"><code>eea7e0d</code></a> Chore: remove duplicate code (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14719">#14719</a>)</li> <li><a href="6a1c7a0dac"><code>6a1c7a0</code></a> Fix: allow fallthrough comment inside block (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14701">#14701</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14702">#14702</a>)</li> <li><a href="97d9bd2a80"><code>97d9bd2</code></a> Revert "Update: ecmaVersion defaults to 5, and allows "latest" (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14622">#14622</a>)" (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14">https://github.com/facebook/flipper/issues/14</a>...</li> <li><a href="a47e5e30b0"><code>a47e5e3</code></a> Docs: Add Mega-Linter to the list of integrations (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14707">#14707</a>)</li> <li><a href="353ddf9650"><code>353ddf9</code></a> Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14699">#14699</a>)</li> <li><a href="757c49584a"><code>757c495</code></a> Chore: add some rules to eslint-config-eslint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14692">#14692</a>)</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0">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/2480 Reviewed By: nikoant Differential Revision: D29263783 Pulled By: mweststrate fbshipit-source-id: 4ead46d27cf3716cf57823f90df809685ad74835
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'})