Skip to content

Commit bcd736b

Browse files
extension: update all dependencies
1 parent b94bfca commit bcd736b

File tree

5 files changed

+465
-1300
lines changed

5 files changed

+465
-1300
lines changed

extension/osgiviz/package.json

+8-17
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "osgiviz",
33
"displayName": "OSGiViz VSCode",
44
"description": "KIELER OSGiViz extension for VSCode",
5-
"version": "0.0.1",
5+
"version": "0.3.0",
66
"publisher": "kieler",
77
"author": "KIELER <[email protected]>",
88
"license": "EPL-2.0",
99
"repository": {"type": "git", "url": "https://github.com/kieler/osgiviz"},
1010
"engines": {
11-
"vscode": "^1.70.0"
11+
"vscode": "^1.89.1"
1212
},
1313
"categories": [
1414
"Visualization"
@@ -52,26 +52,17 @@
5252
"vscode:prepublish": "yarn run compile",
5353
"compile": "tsc -p ./",
5454
"watch": "tsc -watch -p ./",
55-
"lint": "eslint src --ext ts",
5655
"package": "vsce package --yarn",
5756
"distribute": "vsce publish --yarn && ovsx publish --yarn"
5857
},
5958
"devDependencies": {
60-
"@types/vscode": "^1.70.0",
61-
"@types/glob": "^7.2.0",
62-
"@types/mocha": "^9.1.1",
63-
"@types/node": "14.x",
64-
"@typescript-eslint/eslint-plugin": "^5.33.1",
65-
"@typescript-eslint/parser": "^5.33.1",
66-
"@vscode/test-electron": "2.1.5",
67-
"eslint": "^8.22.0",
68-
"glob": "^8.0.3",
69-
"mocha": "^10.0.0",
70-
"typescript": "^4.7.4",
71-
"vsce": "^2.10.2",
72-
"ovsx": "^0.5.1"
59+
"@types/vscode": "^1.89.1",
60+
"@types/node": "^20.14.2",
61+
"typescript": "^5.4.5",
62+
"vsce": "^2.15.0",
63+
"ovsx": "^0.9.1"
7364
},
7465
"dependencies": {
75-
"vscode-languageclient": "^5.2.1"
66+
"vscode-languageclient": "^9.0.1"
7667
}
7768
}

extension/osgiviz/src/error-handler.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* http://rtsys.informatik.uni-kiel.de/kieler
55
*
6-
* Copyright 2021 by
6+
* Copyright 2021-2024 by
77
* + Kiel University
88
* + Department of Computer Science
99
* + Real-Time and Embedded Systems Group
@@ -17,9 +17,9 @@
1717

1818
import { window } from "vscode";
1919
import {
20-
CloseAction,
21-
ErrorAction,
20+
CloseHandlerResult,
2221
ErrorHandler,
22+
ErrorHandlerResult,
2323
Message,
2424
} from "vscode-languageclient";
2525

@@ -30,14 +30,14 @@ import {
3030
export class KeithErrorHandler implements ErrorHandler {
3131
constructor(private defaultHandler: ErrorHandler) {}
3232

33-
error(error: Error, message: Message, count: number): ErrorAction {
33+
error(error: Error, message: Message, count: number): ErrorHandlerResult | Promise<ErrorHandlerResult> {
3434
window.showErrorMessage("Connection to KIELER OSGiViz Language Server produced an error!");
3535
console.error(error);
3636

3737
return this.defaultHandler.error(error, message, count);
3838
}
3939

40-
closed(): CloseAction {
40+
closed(): CloseHandlerResult | Promise<CloseHandlerResult> {
4141
window.showErrorMessage("Connection to KIELER OSGiViz Language Server got closed!");
4242

4343
return this.defaultHandler.closed();

extension/osgiviz/src/extension.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* http://rtsys.informatik.uni-kiel.de/kieler
55
*
6-
* Copyright 2021-2023 by
6+
* Copyright 2021-2024 by
77
* + Kiel University
88
* + Department of Computer Science
99
* + Real-Time and Embedded Systems Group
@@ -20,7 +20,7 @@ import {
2020
ServerOptions,
2121
LanguageClientOptions,
2222
StreamInfo,
23-
} from "vscode-languageclient";
23+
} from "vscode-languageclient/node";
2424
import { connect, NetConnectOpts, Socket } from "net";
2525
import { KeithErrorHandler } from "./error-handler";
2626

extension/osgiviz/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es6",
4+
"target": "es2022",
55
"outDir": "out",
66
"lib": [
7-
"es6"
7+
"es2022"
88
],
99
"sourceMap": true,
1010
"rootDir": "src",

0 commit comments

Comments
 (0)