Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.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.27.0</h2> <ul> <li><a href="2c0868cbea"><code>2c0868c</code></a> Chore: merge all html formatter files into <code>html.js</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14612">#14612</a>) (Milos Djermanovic)</li> <li><a href="9e9b5e0747"><code>9e9b5e0</code></a> Update: no-unused-vars false negative with comma operator (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14325">#14325</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14354">#14354</a>) (Nitin Kumar)</li> <li><a href="afe95693e1"><code>afe9569</code></a> Chore: use includes instead of indexOf (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14607">#14607</a>) (Mikhail Bodrov)</li> <li><a href="c0f418e247"><code>c0f418e</code></a> Chore: Remove lodash (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14287">#14287</a>) (Stephen Wade)</li> <li><a href="52655dd549"><code>52655dd</code></a> Update: no-restricted-imports custom message for patterns (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11843">#11843</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14580">#14580</a>) (Alex Holden)</li> <li><a href="967b1c4cec"><code>967b1c4</code></a> Chore: Fix typo in large.js (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14589">#14589</a>) (Ikko Ashimine)</li> <li><a href="2466a05160"><code>2466a05</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="fe29f18227"><code>fe29f18</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="086c1d6e85"><code>086c1d6</code></a> Chore: add more test cases for <code>no-sequences</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14579">#14579</a>) (Nitin Kumar)</li> <li><a href="6a2ced892c"><code>6a2ced8</code></a> Docs: Update README team and sponsors (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.27.0 - May 21, 2021</p> <ul> <li><a href="2c0868cbea"><code>2c0868c</code></a> Chore: merge all html formatter files into <code>html.js</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14612">#14612</a>) (Milos Djermanovic)</li> <li><a href="9e9b5e0747"><code>9e9b5e0</code></a> Update: no-unused-vars false negative with comma operator (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14325">#14325</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14354">#14354</a>) (Nitin Kumar)</li> <li><a href="afe95693e1"><code>afe9569</code></a> Chore: use includes instead of indexOf (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14607">#14607</a>) (Mikhail Bodrov)</li> <li><a href="c0f418e247"><code>c0f418e</code></a> Chore: Remove lodash (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14287">#14287</a>) (Stephen Wade)</li> <li><a href="52655dd549"><code>52655dd</code></a> Update: no-restricted-imports custom message for patterns (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11843">#11843</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14580">#14580</a>) (Alex Holden)</li> <li><a href="967b1c4cec"><code>967b1c4</code></a> Chore: Fix typo in large.js (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14589">#14589</a>) (Ikko Ashimine)</li> <li><a href="2466a05160"><code>2466a05</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="fe29f18227"><code>fe29f18</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="086c1d6e85"><code>086c1d6</code></a> Chore: add more test cases for <code>no-sequences</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14579">#14579</a>) (Nitin Kumar)</li> <li><a href="6a2ced892c"><code>6a2ced8</code></a> Docs: Update README team and sponsors (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="18c791ad51"><code>18c791a</code></a> 7.27.0</li> <li><a href="ebd1292454"><code>ebd1292</code></a> Build: changelog update for 7.27.0</li> <li><a href="2c0868cbea"><code>2c0868c</code></a> Chore: merge all html formatter files into <code>html.js</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14612">#14612</a>)</li> <li><a href="9e9b5e0747"><code>9e9b5e0</code></a> Update: no-unused-vars false negative with comma operator (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14325">#14325</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14">https://github.com/facebook/flipper/issues/14</a>...</li> <li><a href="afe95693e1"><code>afe9569</code></a> Chore: use includes instead of indexOf (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14607">#14607</a>)</li> <li><a href="c0f418e247"><code>c0f418e</code></a> Chore: Remove lodash (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14287">#14287</a>)</li> <li><a href="52655dd549"><code>52655dd</code></a> Update: no-restricted-imports custom message for patterns (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11843">#11843</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14">https://github.com/facebook/flipper/issues/14</a>...</li> <li><a href="967b1c4cec"><code>967b1c4</code></a> Chore: Fix typo in large.js (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14589">#14589</a>)</li> <li><a href="2466a05160"><code>2466a05</code></a> Sponsors: Sync README with website</li> <li><a href="fe29f18227"><code>fe29f18</code></a> Sponsors: Sync README with website</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.26.0...v7.27.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/2353 Reviewed By: nikoant Differential Revision: D28830907 Pulled By: passy fbshipit-source-id: c36b197d877853d573568d13eedc8b782f6cc277
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'})