@codingame/monaco-vscode-api 14.0.1 → 14.0.3
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/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.d.ts +1 -1
- package/services.js +5 -5
package/missing-services.js
CHANGED
|
@@ -1238,8 +1238,8 @@ registerSingleton(IPathService, PathService, InstantiationType.Delayed);
|
|
|
1238
1238
|
class ProductService {
|
|
1239
1239
|
constructor() {
|
|
1240
1240
|
this._serviceBrand = undefined;
|
|
1241
|
-
this.version = "1.97.
|
|
1242
|
-
this.commit = "
|
|
1241
|
+
this.version = "1.97.1";
|
|
1242
|
+
this.commit = "e249dada235c2083c83813bd65b7f4707fb97b76";
|
|
1243
1243
|
this.quality = 'oss';
|
|
1244
1244
|
this.nameShort = 'Code - OSS Dev';
|
|
1245
1245
|
this.nameLong = 'Code - OSS Dev';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.3",
|
|
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": "14.0.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "14.0.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "14.0.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "14.0.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "14.0.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "14.0.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "14.0.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "14.0.3",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "14.0.3",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "14.0.3",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "14.0.3",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "14.0.3",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "14.0.3",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "14.0.3",
|
|
25
25
|
"marked": "14.0.0"
|
|
26
26
|
},
|
|
27
27
|
"main": "services.js",
|
package/services.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { IColorTheme } from "./vscode/src/vs/platform/theme/common/themeSer
|
|
|
13
13
|
import { type EnvironmentOverride } from "./workbench.js";
|
|
14
14
|
declare global {
|
|
15
15
|
interface Window {
|
|
16
|
-
|
|
16
|
+
monacoVscodeApiBuildId?: string;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export declare function initialize(overrides: IEditorOverrideServices, container?: HTMLElement, configuration?: IWorkbenchConstructionOptions, env?: EnvironmentOverride): Promise<void>;
|
package/services.js
CHANGED
|
@@ -180,18 +180,18 @@ export { IKeybindingService } from './vscode/src/vs/platform/keybinding/common/k
|
|
|
180
180
|
export { ISecretStorageService } from './vscode/src/vs/platform/secrets/common/secrets.service.js';
|
|
181
181
|
export { ConfigurationTarget } from './vscode/src/vs/platform/configuration/common/configuration.js';
|
|
182
182
|
|
|
183
|
-
if (window.
|
|
184
|
-
throw new Error(
|
|
183
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.97.1-e012c6cf-1582-47b5-959d-c565d63d32e1") {
|
|
184
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.97.1-e012c6cf-1582-47b5-959d-c565d63d32e1"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
185
185
|
}
|
|
186
|
-
window.
|
|
186
|
+
window.monacoVscodeApiBuildId = "1.97.1-e012c6cf-1582-47b5-959d-c565d63d32e1";
|
|
187
187
|
async function initialize(overrides, container = document.body, configuration = {}, env) {
|
|
188
188
|
checkServicesNotInitialized();
|
|
189
189
|
initialize$1(container, configuration, env);
|
|
190
190
|
const instantiationService = StandaloneServices.initialize({
|
|
191
191
|
[IProductService.toString()]: mixin({
|
|
192
|
-
version: "1.97.
|
|
192
|
+
version: "1.97.1",
|
|
193
193
|
quality: 'stable',
|
|
194
|
-
commit: "
|
|
194
|
+
commit: "e249dada235c2083c83813bd65b7f4707fb97b76",
|
|
195
195
|
nameShort: 'Code - OSS',
|
|
196
196
|
nameLong: 'Code - OSS',
|
|
197
197
|
applicationName: 'code-oss',
|