@codingame/monaco-vscode-api 21.0.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "21.0.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "21.0.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "21.0.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "21.0.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "21.0.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "21.0.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "21.0.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "21.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "21.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "21.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "21.0.1",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "21.0.1",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "21.0.1",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "21.0.1",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
26
26
|
"dompurify": "3.2.6",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.js
CHANGED
|
@@ -396,10 +396,10 @@ export { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/
|
|
|
396
396
|
export { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
|
|
397
397
|
export { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
|
|
398
398
|
|
|
399
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.104.0-
|
|
400
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.104.0-
|
|
399
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.104.0-eda71d57-3503-4259-a8db-a8d5c3ea0616") {
|
|
400
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.104.0-eda71d57-3503-4259-a8db-a8d5c3ea0616"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
401
401
|
}
|
|
402
|
-
window.monacoVscodeApiBuildId = "1.104.0-
|
|
402
|
+
window.monacoVscodeApiBuildId = "1.104.0-eda71d57-3503-4259-a8db-a8d5c3ea0616";
|
|
403
403
|
async function initialize(overrides, container = document.body, configuration = {}, env) {
|
|
404
404
|
checkServicesNotInitialized();
|
|
405
405
|
injectCss(container);
|
|
@@ -238,7 +238,7 @@ function getClaimsFromJWT(token) {
|
|
|
238
238
|
if (parts.length !== 3) {
|
|
239
239
|
throw ( new Error('Invalid JWT token format: token must have three parts separated by dots'));
|
|
240
240
|
}
|
|
241
|
-
const [header, payload
|
|
241
|
+
const [header, payload] = parts;
|
|
242
242
|
try {
|
|
243
243
|
const decodedHeader = JSON.parse(( decodeBase64(header).toString()));
|
|
244
244
|
if (typeof decodedHeader !== 'object') {
|