Skip to content

Commit 052ca0e

Browse files
egg-sourcegraph-testing[bot]Sourcegraph Egg
andauthored
security: upgrade rxjs v6.x → 7.8.0 and migrate breaking API changes
Co-authored-by: Sourcegraph Egg <egg@sourcegraph.com>
1 parent fe96988 commit 052ca0e

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"@types/ws": "^6.0.1",
9191
"concurrently": "^4.1.0",
9292
"path-browserify": "^1.0.0",
93-
"rxjs": "^6.3.3",
93+
"rxjs": "7.8.0",
9494
"tagged-template-noop": "^2.1.0",
9595
"vscode-jsonrpc": "^4.0.0",
9696
"vscode-languageserver-protocol": "^3.13.0",

‎src/lsp.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// tslint:disable:rxjs-no-wholesale
22
import {
33
BehaviorSubject,
4+
bufferCount,
45
from,
6+
map,
57
Observable,
8+
startWith,
69
Subscribable,
710
Subscription,
811
} from 'rxjs'
9-
import { bufferCount, map, startWith } from 'rxjs/operators'
1012
import * as sourcegraph from 'sourcegraph'
1113
import { Unsubscribable } from 'sourcegraph'
1214
import * as rpc from 'vscode-jsonrpc'

‎src/sourcegraph-python.ts‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import { activateBasicCodeIntel } from '@sourcegraph/basic-code-intel'
22
// tslint:disable-next-line:rxjs-no-wholesale
3-
import { combineLatest, concat, from, Observable, of } from 'rxjs'
4-
import { map, startWith, tap } from 'rxjs/operators'
3+
import {
4+
combineLatest,
5+
concat,
6+
from,
7+
map,
8+
Observable,
9+
of,
10+
startWith,
11+
tap,
12+
} from 'rxjs'
513
import * as sourcegraph from 'sourcegraph'
614
import { Position, ReferenceContext, TextDocument } from 'sourcegraph'
715
import * as rpc from 'vscode-jsonrpc'

0 commit comments

Comments
 (0)