From 052ca0e55634075b281740538a62ebc8115755e8 Mon Sep 17 00:00:00 2001 From: "egg-sourcegraph-testing[bot]" <278724144+egg-sourcegraph-testing[bot]@users.noreply.github.com> Date: Fri, 8 May 2026 10:38:26 +0000 Subject: [PATCH] =?UTF-8?q?security:=20upgrade=20rxjs=20v6.x=20=E2=86=92?= =?UTF-8?q?=207.8.0=20and=20migrate=20breaking=20API=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sourcegraph Egg --- package.json | 2 +- src/lsp.ts | 4 +++- src/sourcegraph-python.ts | 12 ++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) 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'