diff --git a/package-lock.json b/package-lock.json index b2011bcb6..051a15360 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6114,9 +6114,9 @@ "integrity": "sha512-Cl65diFGxz7gpwbav10HqiY/eVYTO1sjQpmRmV991Bj7wAoOAjGQ97PpQcXorDE2Uc4hnGWLY17xme+5t6MlSg==" }, "node_modules/vscode-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", - "integrity": "sha512-eOpPHogvorZRobNqJGhapa0JdwaxpjVvyBp0QIUMRMSf8ZAlqOdEquKuRmw9Qwu0qXtJIWqFtMkmvJjUZmMjVA==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", + "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" }, "node_modules/vscode-ws-jsonrpc": { "resolved": "packages/vscode-ws-jsonrpc", @@ -6492,6 +6492,7 @@ "request-light": "~0.7.0", "vscode-json-languageservice": "~5.3.6", "vscode-languageserver": "~8.1.0", + "vscode-uri": "~3.0.8", "vscode-ws-jsonrpc": "~3.0.0", "ws": "~8.14.2" }, diff --git a/packages/examples/package.json b/packages/examples/package.json index b5bef3da0..67b6cbb14 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -62,6 +62,7 @@ "request-light": "~0.7.0", "vscode-json-languageservice": "~5.3.6", "vscode-languageserver": "~8.1.0", + "vscode-uri": "~3.0.8", "vscode-ws-jsonrpc": "~3.0.0", "ws": "~8.14.2" }, diff --git a/packages/examples/src/json/server/json-server.ts b/packages/examples/src/json/server/json-server.ts index d49de1a8e..bd4d18c46 100644 --- a/packages/examples/src/json/server/json-server.ts +++ b/packages/examples/src/json/server/json-server.ts @@ -4,8 +4,8 @@ * ------------------------------------------------------------------------------------------ */ import { readFile } from 'fs'; import requestLight from 'request-light'; -import URI from 'vscode-uri'; -import { } from 'vscode-ws-jsonrpc'; +import * as URI from 'vscode-uri'; +import 'vscode-ws-jsonrpc'; import { _Connection, TextDocuments, DocumentSymbolParams } from 'vscode-languageserver/lib/node/main.js'; import { Diagnostic, Command, CompletionList, CompletionItem, Hover,