Upgrade RxJS to 7 (#129087)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Alejandro Fernández Haro 2022-04-12 21:40:55 +02:00 committed by GitHub
parent 5ee7c3d25a
commit 9d5aca591b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
260 changed files with 11471 additions and 16589 deletions

View file

@ -5,7 +5,7 @@
* 2.0.
*/
import { first } from 'rxjs/operators';
import { firstValueFrom } from 'rxjs';
import { i18n } from '@kbn/i18n';
import { Plugin, CoreSetup } from 'src/core/public';
@ -52,7 +52,7 @@ export class SearchProfilerUIPlugin implements Plugin<void, void, AppPublicPlugi
const { notifications, i18n: i18nDep } = coreStart;
const { renderApp } = await import('./application');
const license = await licensing.license$.pipe(first()).toPromise();
const license = await firstValueFrom(licensing.license$);
const initialLicenseStatus = checkLicenseStatus(license);
return renderApp({