From f8c175d0c42320c16502fc60019b8d22079d6488 Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Fri, 31 Mar 2023 11:20:41 +0200 Subject: [PATCH] Fixes #3534 --- package-lock.json | 14 +++++++------- package.json | 2 +- src/basic-languages/_.contribution.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3b6ce9e622..6b3dcd2dda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "jsdom": "^19.0.0", "jsonc-parser": "^3.0.0", "mocha": "^9.2.0", - "monaco-editor-core": "^0.36.0-dev.20230224", + "monaco-editor-core": "^0.37.0-dev.20230330", "parcel": "^2.7.0", "pin-github-action": "^1.8.0", "playwright": "^1.18.1", @@ -5170,9 +5170,9 @@ "dev": true }, "node_modules/monaco-editor-core": { - "version": "0.36.0-dev.20230224", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.36.0-dev.20230224.tgz", - "integrity": "sha512-ubH2YoU86gNvO/lG4Un62ZGCwmzJXrMZFUw6VfwuFYgWAKflCZXHssrQKVsr0NwwyEJIn3Z4pURlo2ja3xAfIg==", + "version": "0.37.0-dev.20230330", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz", + "integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==", "dev": true }, "node_modules/mri": { @@ -10943,9 +10943,9 @@ } }, "monaco-editor-core": { - "version": "0.36.0-dev.20230224", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.36.0-dev.20230224.tgz", - "integrity": "sha512-ubH2YoU86gNvO/lG4Un62ZGCwmzJXrMZFUw6VfwuFYgWAKflCZXHssrQKVsr0NwwyEJIn3Z4pURlo2ja3xAfIg==", + "version": "0.37.0-dev.20230330", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.37.0-dev.20230330.tgz", + "integrity": "sha512-GHp8zu1tTHWbdBzo6A7/P3Sdsn1LgXIzh5I8kI7RWm5jBSIlnet0t+3hDXXyaoXX4zohIMW5hN7ADsihBwKkSQ==", "dev": true }, "mri": { diff --git a/package.json b/package.json index 33c40bd7c2..c659688773 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "jsdom": "^19.0.0", "jsonc-parser": "^3.0.0", "mocha": "^9.2.0", - "monaco-editor-core": "^0.36.0-dev.20230224", + "monaco-editor-core": "^0.37.0-dev.20230330", "parcel": "^2.7.0", "pin-github-action": "^1.8.0", "playwright": "^1.18.1", diff --git a/src/basic-languages/_.contribution.ts b/src/basic-languages/_.contribution.ts index 0a7efdf898..f0983d1cb8 100644 --- a/src/basic-languages/_.contribution.ts +++ b/src/basic-languages/_.contribution.ts @@ -73,7 +73,7 @@ export function registerLanguage(def: ILang): void { return mod.language; } }); - languages.onLanguage(languageId, async () => { + languages.onLanguageEncountered(languageId, async () => { const mod = await lazyLanguageLoader.load(); languages.setLanguageConfiguration(languageId, mod.conf); });