Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.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.23.0</h2> <ul> <li><a href="687ccae517"><code>687ccae</code></a> Update: add option "allowInParentheses" to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>) (Daniel Rentz)</li> <li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>) (Brandon Mills)</li> <li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>) (Milos Djermanovic)</li> <li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>) (Ed S)</li> <li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>) (Milos Djermanovic)</li> <li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>) (armin yahya)</li> <li><a href="8984c91372"><code>8984c91</code></a> Update: eslint --env-info output os info (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14059">#14059</a>) (薛定谔的猫)</li> <li><a href="2a79306f71"><code>2a79306</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="ebd70263f6"><code>ebd7026</code></a> Docs: Fix typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14225">#14225</a>) (Greg Finley)</li> <li><a href="a2013fcf99"><code>a2013fc</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.23.0 - March 26, 2021</p> <ul> <li><a href="687ccae517"><code>687ccae</code></a> Update: add option "allowInParentheses" to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>) (Daniel Rentz)</li> <li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>) (Brandon Mills)</li> <li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>) (Milos Djermanovic)</li> <li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>) (Ed S)</li> <li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>) (Milos Djermanovic)</li> <li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>) (armin yahya)</li> <li><a href="8984c91372"><code>8984c91</code></a> Update: eslint --env-info output os info (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14059">#14059</a>) (薛定谔的猫)</li> <li><a href="2a79306f71"><code>2a79306</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="ebd70263f6"><code>ebd7026</code></a> Docs: Fix typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14225">#14225</a>) (Greg Finley)</li> <li><a href="a2013fcf99"><code>a2013fc</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="cd2e584aa5"><code>cd2e584</code></a> 7.23.0</li> <li><a href="11bdeaba92"><code>11bdeab</code></a> Build: changelog update for 7.23.0</li> <li><a href="687ccae517"><code>687ccae</code></a> Update: add option "allowInParentheses" to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>)</li> <li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website</li> <li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website</li> <li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>)</li> <li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>)</li> <li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>)</li> <li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>)</li> <li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>)</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.22.0...v7.23.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/2122 Reviewed By: passy Differential Revision: D27396046 Pulled By: mweststrate fbshipit-source-id: aa6e0e8707b958963550b5dde0ae9804fb085657
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'})