Skip to content

Commit 7d3fecd

Browse files
feat(deps): update dependency sourcegraph to ^24.4.0 (#71)
1 parent 99daeb5 commit 7d3fecd

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@
6767
"@types/sinon": "7.5.2",
6868
"rxjs": "^6.5.1",
6969
"sinon": "^7.5.0",
70-
"sourcegraph": "^24.3.0"
70+
"sourcegraph": "^24.4.0"
7171
}
7272
}

src/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export const createStubSourcegraphAPI = () => {
4141
onDidChangeRoots: rootChanges,
4242
rootChanges,
4343
roots: [] as sourcegraph.WorkspaceRoot[],
44+
versionContextChanges: new BehaviorSubject(undefined),
45+
get versionContext() {
46+
return this.versionContextChanges.value
47+
},
4448
},
4549
languages: {
4650
registerHoverProvider: sinon.spy(

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6071,10 +6071,10 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1:
60716071
resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
60726072
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
60736073

6074-
sourcegraph@^24.3.0:
6075-
version "24.3.0"
6076-
resolved "https://registry.yarnpkg.com/sourcegraph/-/sourcegraph-24.3.0.tgz#f7aa365d02d402586f69485850147f5c3d9bcdac"
6077-
integrity sha512-5sAXYs7tYCeB3uCByZ0PkJfehIqwtwIW33Da4Wcunwm64L5nPvK4kAE4u1OHpDWU0tqwXhFlWcmYsFd3CuddyQ==
6074+
sourcegraph@^24.4.0:
6075+
version "24.4.0"
6076+
resolved "https://registry.yarnpkg.com/sourcegraph/-/sourcegraph-24.4.0.tgz#68825d52cc99ec1868c50b71bdfd09191ff4b802"
6077+
integrity sha512-FMgJLivbfJbSUjotNasUhcT5Y+kzd1KldexozH0+f+4DvZmamMzVBUqf+L6QLE/Y8s8Fj7Z+wLKx+Hk6z/Uejw==
60786078

60796079
spawn-error-forwarder@~1.0.0:
60806080
version "1.0.0"

0 commit comments

Comments
 (0)