Use rxjs instead of rxjs/operators (#179553)

This commit is contained in:
Alejandro Fernández Haro 2024-04-02 20:41:33 +02:00 committed by GitHub
parent e43dd0e93b
commit 1c1e20afdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
447 changed files with 498 additions and 537 deletions

View file

@ -13,7 +13,7 @@ import { Server, Request } from '@hapi/hapi';
import HapiProxy from '@hapi/h2o2';
import { sampleSize } from 'lodash';
import * as Rx from 'rxjs';
import { take } from 'rxjs/operators';
import { take } from 'rxjs';
import { ByteSizeValue } from '@kbn/config-schema';
import { createServer, getListenerOptions, getServerOptions } from '@kbn/server-http-tools';

View file

@ -20,7 +20,7 @@ import {
switchMap,
concatMap,
takeUntil,
} from 'rxjs/operators';
} from 'rxjs';
import { CliArgs } from '@kbn/config';
import { CiStatsReporter } from '@kbn/ci-stats-reporter';
import { REPO_ROOT } from '@kbn/repo-info';

View file

@ -7,17 +7,7 @@
*/
import * as Rx from 'rxjs';
import {
map,
tap,
take,
share,
mergeMap,
switchMap,
scan,
takeUntil,
ignoreElements,
} from 'rxjs/operators';
import { map, tap, take, share, mergeMap, switchMap, scan, takeUntil, ignoreElements } from 'rxjs';
import { observeLines } from '@kbn/stdio-dev-helpers';
import { usingServerProcess } from './using_server_process';

View file

@ -9,7 +9,7 @@
import { PassThrough } from 'stream';
import * as Rx from 'rxjs';
import { toArray } from 'rxjs/operators';
import { toArray } from 'rxjs';
import { OptimizerUpdate } from '@kbn/optimizer';
import { observeLines } from '@kbn/stdio-dev-helpers';
import { createReplaceSerializer } from '@kbn/jest-serializers';

View file

@ -9,7 +9,7 @@
import Chalk from 'chalk';
import moment from 'moment';
import { Writable } from 'stream';
import { tap } from 'rxjs/operators';
import { tap } from 'rxjs';
import {
ToolingLog,
pickLevelFromFlags,
@ -17,7 +17,7 @@ import {
parseLogLevel,
} from '@kbn/tooling-log';
import * as Rx from 'rxjs';
import { ignoreElements } from 'rxjs/operators';
import { ignoreElements } from 'rxjs';
import {
runOptimizer,
OptimizerConfig,