Summary: Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.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.16.0</h2> <ul> <li><a href="a62ad6f031"><code>a62ad6f</code></a> Update: fix false negative of no-extra-parens with NewExpression (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13930">#13930</a>) (Milos Djermanovic)</li> <li><a href="f85b4c7266"><code>f85b4c7</code></a> Fix: require-atomic-updates false positive across await (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11954">#11954</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13915">#13915</a>) (buhi)</li> <li><a href="301d0c0522"><code>301d0c0</code></a> Fix: no-constant-condition false positives with unary expressions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13927">#13927</a>) (Milos Djermanovic)</li> <li><a href="555c128b49"><code>555c128</code></a> Fix: false positive with await and ** in no-extra-parens (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/12739">#12739</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13923">#13923</a>) (Milos Djermanovic)</li> <li><a href="d93c935036"><code>d93c935</code></a> Docs: update JSON Schema links (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13936">#13936</a>) (Milos Djermanovic)</li> <li><a href="8d0c93a7ef"><code>8d0c93a</code></a> Upgrade: table@6.0.4 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13920">#13920</a>) (Rouven Weßling)</li> <li><a href="924768377a"><code>9247683</code></a> Docs: Remove for deleted npm run profile script (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13931">#13931</a>) (Brandon Mills)</li> <li><a href="ab240d4983"><code>ab240d4</code></a> Fix: prefer-exponentiation-operator invalid autofix with await (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13924">#13924</a>) (Milos Djermanovic)</li> <li><a href="dc76911035"><code>dc76911</code></a> Chore: Add .pre-commit-hooks.yaml file (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13628">#13628</a>) (Álvaro Mondéjar)</li> <li><a href="2124e1b5da"><code>2124e1b</code></a> Docs: Fix wrong rule name (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13913">#13913</a>) (noisyboy25)</li> <li><a href="06b5809697"><code>06b5809</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="26fc12f881"><code>26fc12f</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.16.0 - December 18, 2020</p> <ul> <li><a href="a62ad6f031"><code>a62ad6f</code></a> Update: fix false negative of no-extra-parens with NewExpression (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13930">#13930</a>) (Milos Djermanovic)</li> <li><a href="f85b4c7266"><code>f85b4c7</code></a> Fix: require-atomic-updates false positive across await (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11954">#11954</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13915">#13915</a>) (buhi)</li> <li><a href="301d0c0522"><code>301d0c0</code></a> Fix: no-constant-condition false positives with unary expressions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13927">#13927</a>) (Milos Djermanovic)</li> <li><a href="555c128b49"><code>555c128</code></a> Fix: false positive with await and ** in no-extra-parens (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/12739">#12739</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13923">#13923</a>) (Milos Djermanovic)</li> <li><a href="d93c935036"><code>d93c935</code></a> Docs: update JSON Schema links (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13936">#13936</a>) (Milos Djermanovic)</li> <li><a href="8d0c93a7ef"><code>8d0c93a</code></a> Upgrade: table@6.0.4 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13920">#13920</a>) (Rouven Weßling)</li> <li><a href="924768377a"><code>9247683</code></a> Docs: Remove for deleted npm run profile script (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13931">#13931</a>) (Brandon Mills)</li> <li><a href="ab240d4983"><code>ab240d4</code></a> Fix: prefer-exponentiation-operator invalid autofix with await (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13924">#13924</a>) (Milos Djermanovic)</li> <li><a href="dc76911035"><code>dc76911</code></a> Chore: Add .pre-commit-hooks.yaml file (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13628">#13628</a>) (Álvaro Mondéjar)</li> <li><a href="2124e1b5da"><code>2124e1b</code></a> Docs: Fix wrong rule name (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13913">#13913</a>) (noisyboy25)</li> <li><a href="06b5809697"><code>06b5809</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li> <li><a href="26fc12f881"><code>26fc12f</code></a> Docs: Update README team and sponsors (ESLint Jenkins)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="145aec1ab9"><code>145aec1</code></a> 7.16.0</li> <li><a href="83518a5610"><code>83518a5</code></a> Build: changelog update for 7.16.0</li> <li><a href="a62ad6f031"><code>a62ad6f</code></a> Update: fix false negative of no-extra-parens with NewExpression (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13930">#13930</a>)</li> <li><a href="f85b4c7266"><code>f85b4c7</code></a> Fix: require-atomic-updates false positive across await (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/11954">#11954</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13915">#13915</a>)</li> <li><a href="301d0c0522"><code>301d0c0</code></a> Fix: no-constant-condition false positives with unary expressions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13927">#13927</a>)</li> <li><a href="555c128b49"><code>555c128</code></a> Fix: false positive with await and ** in no-extra-parens (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/12739">#12739</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13923">#13923</a>)</li> <li><a href="d93c935036"><code>d93c935</code></a> Docs: update JSON Schema links (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13936">#13936</a>)</li> <li><a href="8d0c93a7ef"><code>8d0c93a</code></a> Upgrade: table@6.0.4 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13920">#13920</a>)</li> <li><a href="924768377a"><code>9247683</code></a> Docs: Remove for deleted npm run profile script (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13931">#13931</a>)</li> <li><a href="ab240d4983"><code>ab240d4</code></a> Fix: prefer-exponentiation-operator invalid autofix with await (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13924">#13924</a>)</li> <li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.15.0...v7.16.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/1780 Reviewed By: passy Differential Revision: D25664489 Pulled By: cekkaewnumchai fbshipit-source-id: 8b5233adb68593d5f45acad5b0ad9ede5ff181cb
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'})