@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.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.0",
19
- "@codingame/monaco-vscode-environment-service-override": "21.0.0",
20
- "@codingame/monaco-vscode-extensions-service-override": "21.0.0",
21
- "@codingame/monaco-vscode-files-service-override": "21.0.0",
22
- "@codingame/monaco-vscode-host-service-override": "21.0.0",
23
- "@codingame/monaco-vscode-layout-service-override": "21.0.0",
24
- "@codingame/monaco-vscode-quickaccess-service-override": "21.0.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-87c2369d-d7c8-4026-8869-cac220b0f4db") {
400
- throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.104.0-87c2369d-d7c8-4026-8869-cac220b0f4db"}, ${window.monacoVscodeApiBuildId} is already loaded`);
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-87c2369d-d7c8-4026-8869-cac220b0f4db";
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, _signature] = parts;
241
+ const [header, payload] = parts;
242
242
  try {
243
243
  const decodedHeader = JSON.parse(( decodeBase64(header).toString()));
244
244
  if (typeof decodedHeader !== 'object') {
@@ -6,7 +6,7 @@ var product = {
6
6
  quality: 'stable',
7
7
  version: '1.104.0',
8
8
  commit: 'f220831ea2d946c0dcb0f3eaa480eb435a2c1260',
9
- date: '2025-09-12T07:39:09.809Z',
9
+ date: '2025-09-15T13:51:06.751Z',
10
10
  ...(globalThis._VSCODE_PRODUCT_JSON ?? {})
11
11
  };
12
12