Summary: Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>2.3.2</h2> <p><a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#232">changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>2.3.2</h1> <p><a href="https://github.com/prettier/prettier/compare/2.3.1...2.3.2">diff</a></p> <h4>Fix failure on dir with trailing slash (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11000">#11000</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <pre lang="console"><code>$ ls 1.js 1.unknown </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="9a8b579d36"><code>9a8b579</code></a> Release 2.3.2</li> <li><a href="2faf01b8b4"><code>2faf01b</code></a> Add changelog-for-patch script (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11052">#11052</a>)</li> <li><a href="9a61bf3a4a"><code>9a61bf3</code></a> Build(deps): Bump <code>@angular/compiler</code> from 12.0.4 to 12.0.5 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11092">#11092</a>)</li> <li><a href="0b5a795b85"><code>0b5a795</code></a> Build(deps): Bump flow-parser from 0.152.0 to 0.153.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11095">#11095</a>)</li> <li><a href="40329ce346"><code>40329ce</code></a> Build(deps): Bump typescript from 4.3.2 to 4.3.4 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11093">#11093</a>)</li> <li><a href="31d9c50793"><code>31d9c50</code></a> Build(deps-dev): Bump snapshot-diff from 0.8.1 to 0.9.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11091">#11091</a>)</li> <li><a href="ca6f2d4cc9"><code>ca6f2d4</code></a> Build(deps-dev): Bump <code>@babel/core</code> from 7.14.5 to 7.14.6 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11097">#11097</a>)</li> <li><a href="fc46f1b9f3"><code>fc46f1b</code></a> Build(deps-dev): Bump eslint from 7.28.0 to 7.29.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11096">#11096</a>)</li> <li><a href="bb57a27069"><code>bb57a27</code></a> Build(deps-dev): Bump webpack from 5.38.1 to 5.39.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11087">#11087</a>)</li> <li><a href="0c79b9978e"><code>0c79b99</code></a> Build(deps): Bump globby from 11.0.3 to 11.0.4 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11094">#11094</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.3.1...2.3.2">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/2516 Reviewed By: mweststrate Differential Revision: D29429432 Pulled By: cekkaewnumchai fbshipit-source-id: 70b8e6e645495b329628c8f9146be6967a52839d
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'})