Summary: Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h1>2.1.0</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p> <p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>2.1.0</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p> <p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="6365138f40"><code>6365138</code></a> Release 2.1.0</li> <li><a href="5223b78dcd"><code>5223b78</code></a> Build: Quick fix for <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8639">#8639</a> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9035">#9035</a>)</li> <li><a href="a365d728fe"><code>a365d72</code></a> Build(deps-dev): Bump glimmer/reference from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9032">#9032</a>)</li> <li><a href="cdc566f5ae"><code>cdc566f</code></a> Build(deps): Bump remark-footnotes from 1.0.0 to 2.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9034">#9034</a>)</li> <li><a href="e2f265047a"><code>e2f2650</code></a> Build(deps): Bump unified from 9.1.0 to 9.2.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9031">#9031</a>)</li> <li><a href="d27927c9a9"><code>d27927c</code></a> Build(deps): Bump flow-parser from 0.131.0 to 0.132.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9027">#9027</a>)</li> <li><a href="fa2935998b"><code>fa29359</code></a> Build(deps-dev): Bump jest from 26.4.1 to 26.4.2 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9030">#9030</a>)</li> <li><a href="f6eac26592"><code>f6eac26</code></a> Build(deps-dev): Bump rollup from 2.26.4 to 2.26.5 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9029">#9029</a>)</li> <li><a href="d693a44b17"><code>d693a44</code></a> Build(deps): Bump glimmer/syntax from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9033">#9033</a>)</li> <li><a href="c4e9dd9c36"><code>c4e9dd9</code></a> Continuation of revert 7889 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9024">#9024</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~sosukesuzuki">sosukesuzuki</a>, a new releaser for prettier since your current version.</p> </details> <br /> [](https://help.github.com/articles/configuring-automated-security-fixes) 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/1494 Reviewed By: passy Differential Revision: D23294310 Pulled By: mweststrate fbshipit-source-id: 2ed98860f373bc6ac67942b47644ce2c712068cf
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'})