Skip to content

Commit 2e97b83

Browse files
committed
fix: update sourcegraph API for proper enums
1 parent 4f2d75b commit 2e97b83

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
]
4545
},
4646
"peerDependencies": {
47-
"sourcegraph": "*"
47+
"sourcegraph": ">=23.0.1"
4848
},
4949
"devDependencies": {
5050
"@commitlint/cli": "^7.5.2",
@@ -58,7 +58,7 @@
5858
"nyc": "^14.0.0",
5959
"prettier": "^1.17.0",
6060
"semantic-release": "^15.13.3",
61-
"sourcegraph": "^23.0.0",
61+
"sourcegraph": "^23.0.1",
6262
"ts-node": "^8.1.0",
6363
"tslint": "^5.16.0",
6464
"typescript": "^3.4.5"

src/enums.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const MarkupKind: typeof sourcegraph.MarkupKind = {
88
Markdown: 'markdown' as sourcegraph.MarkupKind.Markdown,
99
} as const
1010

11-
export const NotificationType = {
11+
export const NotificationType: typeof sourcegraph.NotificationType = {
1212
Error: 1,
1313
Warning: 2,
1414
Info: 3,

yarn.lock

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

5012-
sourcegraph@^23.0.0:
5013-
version "23.0.0"
5014-
resolved "https://registry.npmjs.org/sourcegraph/-/sourcegraph-23.0.0.tgz#1fb96015af3e84cc9cc2944823f04a7e952ed565"
5015-
integrity sha512-hQALHrTt+AK5ZAqUAUNhxO7ClSv/xyTjMQPBb+hQykKJrMaHTk+CnJNHs7dRfXYKnbnZeisQRjaxKGX8UecU0Q==
5012+
sourcegraph@^23.0.1:
5013+
version "23.0.1"
5014+
resolved "https://registry.npmjs.org/sourcegraph/-/sourcegraph-23.0.1.tgz#715fcf4129a6d94bc3bfd2740d9c706ae6357ffe"
5015+
integrity sha512-4We7zqhOagOVxNFdS6/xT/Crhb0Arw/9ytGBu8JuHfjo5yjMtcUYt22kZyu2TaPHXwyPW9muUi1eKSFA6Qg4lw==
50165016

50175017
spawn-error-forwarder@~1.0.0:
50185018
version "1.0.0"

0 commit comments

Comments
 (0)