Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.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.25.0</h2> <ul> <li><a href="5df5e4a997"><code>5df5e4a</code></a> Update: highlight last write reference for no-unused-vars (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14324">#14324</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14335">#14335</a>) (Nitin Kumar)</li> <li><a href="0023872932"><code>0023872</code></a> Docs: Add deprecated note to <code>working-with-rules-deprecated</code> page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14344">#14344</a>) (Michael Novotny)</li> <li><a href="36fca70fa2"><code>36fca70</code></a> Chore: Upgrade eslump to 3.0.0 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14350">#14350</a>) (Stephen Wade)</li> <li><a href="59b689a0b3"><code>59b689a</code></a> Chore: add node v16 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14355">#14355</a>) (薛定谔的猫)</li> <li><a href="35a1f5e967"><code>35a1f5e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="fb0a92b3d2"><code>fb0a92b</code></a> Chore: rename misspelled identifier in test (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14346">#14346</a>) (Tobias Nießen)</li> <li><a href="f2babb1069"><code>f2babb1</code></a> Docs: update pull request template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14336">#14336</a>) (Nitin Kumar)</li> <li><a href="02dde29eeb"><code>02dde29</code></a> Docs: Fix anchor in 'docs/developer-guide/working-with-rules.md' (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14332">#14332</a>) (Nate-Wilkins)</li> <li><a href="07d14c304c"><code>07d14c3</code></a> Chore: remove extraneous command from lint-staged config (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14314">#14314</a>) (James George)</li> <li><a href="41b3570b6c"><code>41b3570</code></a> Update: lint code block with same extension but different content (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14227">#14227</a>) (JounQin)</li> <li><a href="eb299966bd"><code>eb29996</code></a> Docs: add more examples with arrow functions for no-sequences rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14313">#14313</a>) (Nitin Kumar)</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.25.0 - April 23, 2021</p> <ul> <li><a href="5df5e4a997"><code>5df5e4a</code></a> Update: highlight last write reference for no-unused-vars (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14324">#14324</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14335">#14335</a>) (Nitin Kumar)</li> <li><a href="0023872932"><code>0023872</code></a> Docs: Add deprecated note to <code>working-with-rules-deprecated</code> page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14344">#14344</a>) (Michael Novotny)</li> <li><a href="36fca70fa2"><code>36fca70</code></a> Chore: Upgrade eslump to 3.0.0 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14350">#14350</a>) (Stephen Wade)</li> <li><a href="59b689a0b3"><code>59b689a</code></a> Chore: add node v16 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14355">#14355</a>) (薛定谔的猫)</li> <li><a href="35a1f5e967"><code>35a1f5e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="fb0a92b3d2"><code>fb0a92b</code></a> Chore: rename misspelled identifier in test (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14346">#14346</a>) (Tobias Nießen)</li> <li><a href="f2babb1069"><code>f2babb1</code></a> Docs: update pull request template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14336">#14336</a>) (Nitin Kumar)</li> <li><a href="02dde29eeb"><code>02dde29</code></a> Docs: Fix anchor in 'docs/developer-guide/working-with-rules.md' (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14332">#14332</a>) (Nate-Wilkins)</li> <li><a href="07d14c304c"><code>07d14c3</code></a> Chore: remove extraneous command from lint-staged config (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14314">#14314</a>) (James George)</li> <li><a href="41b3570b6c"><code>41b3570</code></a> Update: lint code block with same extension but different content (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14227">#14227</a>) (JounQin)</li> <li><a href="eb299966bd"><code>eb29996</code></a> Docs: add more examples with arrow functions for no-sequences rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14313">#14313</a>) (Nitin Kumar)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="8a77b661bc"><code>8a77b66</code></a> 7.25.0</li> <li><a href="2c7c558fe1"><code>2c7c558</code></a> Build: changelog update for 7.25.0</li> <li><a href="5df5e4a997"><code>5df5e4a</code></a> Update: highlight last write reference for no-unused-vars (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14324">#14324</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14">https://github.com/facebook/flipper/issues/14</a>...</li> <li><a href="0023872932"><code>0023872</code></a> Docs: Add deprecated note to <code>working-with-rules-deprecated</code> page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14344">#14344</a>)</li> <li><a href="36fca70fa2"><code>36fca70</code></a> Chore: Upgrade eslump to 3.0.0 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14350">#14350</a>)</li> <li><a href="59b689a0b3"><code>59b689a</code></a> Chore: add node v16 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14355">#14355</a>)</li> <li><a href="35a1f5e967"><code>35a1f5e</code></a> Sponsors: Sync README with website</li> <li><a href="fb0a92b3d2"><code>fb0a92b</code></a> Chore: rename misspelled identifier in test (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14346">#14346</a>)</li> <li><a href="f2babb1069"><code>f2babb1</code></a> Docs: update pull request template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14336">#14336</a>)</li> <li><a href="02dde29eeb"><code>02dde29</code></a> Docs: Fix anchor in 'docs/developer-guide/working-with-rules.md' (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14332">#14332</a>)</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.24.0...v7.25.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/2226 Reviewed By: muraziz Differential Revision: D28093951 Pulled By: passy fbshipit-source-id: 28b14da8a71b25755572b9268e425be85ec33313
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'})