Summary: Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.0 to 4.15.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin's releases</code></a>.</em></p> <blockquote> <h2>v4.15.2</h2> <h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.1...v4.15.2">4.15.2</a> (2021-02-22)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>typescript-estree:</strong> correct issues in AST definition (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3083">#3083</a>) (<a href="509a11749f">509a117</a>)</li> <li>add missing intrinsic keyword node to AST (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3081">#3081</a>) (<a href="409bf0bb3e">409bf0b</a>)</li> <li><strong>eslint-plugin:</strong> [no-var-requires] report when used in type assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3074">#3074</a>) (<a href="763a2520bf">763a252</a>)</li> <li>correct test names on windows for semantic-diagnostics-enabled (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3060">#3060</a>) (<a href="885780d4a2">885780d</a>)</li> </ul> <h2>v4.15.1</h2> <h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.0...v4.15.1">4.15.1</a> (2021-02-15)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [explicit-module-boundary-types] check allowNames on function declarations and property methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3051">#3051</a>) (<a href="0ade469dc1">0ade469</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin's changelog</code></a>.</em></p> <blockquote> <h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.1...v4.15.2">4.15.2</a> (2021-02-22)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>typescript-estree:</strong> correct issues in AST definition (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3083">#3083</a>) (<a href="509a11749f">509a117</a>)</li> <li>add missing intrinsic keyword node to AST (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3081">#3081</a>) (<a href="409bf0bb3e">409bf0b</a>)</li> <li><strong>eslint-plugin:</strong> [no-var-requires] report when used in type assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3074">#3074</a>) (<a href="763a2520bf">763a252</a>)</li> </ul> <h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.0...v4.15.1">4.15.1</a> (2021-02-15)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [explicit-module-boundary-types] check allowNames on function declarations and property methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3051">#3051</a>) (<a href="0ade469dc1">0ade469</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="fc774f6377"><code>fc774f6</code></a> chore: publish v4.15.2</li> <li><a href="509a11749f"><code>509a117</code></a> fix(typescript-estree): correct issues in AST definition (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3083">#3083</a>)</li> <li><a href="409bf0bb3e"><code>409bf0b</code></a> fix: add missing intrinsic keyword node to AST (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3081">#3081</a>)</li> <li><a href="763a2520bf"><code>763a252</code></a> fix(eslint-plugin): [no-var-requires] report when used in type assertion (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3074">#3074</a>)</li> <li><a href="e9bdd07da2"><code>e9bdd07</code></a> test(eslint-plugin): [no-unsafe-assignment] add missing test cases (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3070">#3070</a>)</li> <li><a href="f9980c25fa"><code>f9980c2</code></a> chore: publish v4.15.1</li> <li><a href="d94c6c93eb"><code>d94c6c9</code></a> docs(eslint-plugin): [explicit-module-boundary-types] fix doc & code examples...</li> <li><a href="3dcedb81eb"><code>3dcedb8</code></a> chore: update remaining dependencies (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3057">#3057</a>)</li> <li><a href="0ade469dc1"><code>0ade469</code></a> fix(eslint-plugin): [explicit-module-boundary-types] check allowNames on func...</li> <li><a href="5e5d9b9dc4"><code>5e5d9b9</code></a> chore(eslint-plugin): remove no longer needed tools module (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3052">#3052</a>)</li> <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin">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/1974 Reviewed By: priteshrnandgaonkar Differential Revision: D26723662 Pulled By: mweststrate fbshipit-source-id: 4c0f1f6d77105f4d6aa84cd8561ca611cdfc8df2
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'})