diff --git a/package.json b/package.json index 67e11fe..543de3e 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "@types/ws": "^6.0.1", "concurrently": "^4.1.0", "path-browserify": "^1.0.0", - "rxjs": "^6.3.3", + "rxjs": "7.8.0", "tagged-template-noop": "^2.1.0", "vscode-jsonrpc": "^4.0.0", "vscode-languageserver-protocol": "^3.13.0", diff --git a/src/lsp.ts b/src/lsp.ts index 651c0da..16520e5 100644 --- a/src/lsp.ts +++ b/src/lsp.ts @@ -1,12 +1,14 @@ // tslint:disable:rxjs-no-wholesale import { BehaviorSubject, + bufferCount, from, + map, Observable, + startWith, Subscribable, Subscription, } from 'rxjs' -import { bufferCount, map, startWith } from 'rxjs/operators' import * as sourcegraph from 'sourcegraph' import { Unsubscribable } from 'sourcegraph' import * as rpc from 'vscode-jsonrpc' diff --git a/src/sourcegraph-python.ts b/src/sourcegraph-python.ts index 1948a09..6eb5ea4 100644 --- a/src/sourcegraph-python.ts +++ b/src/sourcegraph-python.ts @@ -1,7 +1,15 @@ import { activateBasicCodeIntel } from '@sourcegraph/basic-code-intel' // tslint:disable-next-line:rxjs-no-wholesale -import { combineLatest, concat, from, Observable, of } from 'rxjs' -import { map, startWith, tap } from 'rxjs/operators' +import { + combineLatest, + concat, + from, + map, + Observable, + of, + startWith, + tap, +} from 'rxjs' import * as sourcegraph from 'sourcegraph' import { Position, ReferenceContext, TextDocument } from 'sourcegraph' import * as rpc from 'vscode-jsonrpc'