mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
🆙 monaco-editor-core@0.30.0
This commit is contained in:
parent
49ba01f724
commit
f650027fc6
4 changed files with 6 additions and 6 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -237,9 +237,9 @@
|
|||
}
|
||||
},
|
||||
"monaco-editor-core": {
|
||||
"version": "0.29.1",
|
||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.29.1.tgz",
|
||||
"integrity": "sha512-A2+iNWf2Jhy/yAJ8HaDIszEhAlS1xjLvQfbk41yAyGwC4wDwbcTymUud1g0I9nV31S1x7QlXNC0BABc2uZN1Qg==",
|
||||
"version": "0.30.0",
|
||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.30.0.tgz",
|
||||
"integrity": "sha512-vFJ7BEOCqLv4xWgFW+UheI/PtccHHNht29lNmo79Re1kNhWCBLLb2nThjRMLPO1rd41vX9hhd9C07/iKOk9/jQ==",
|
||||
"dev": true
|
||||
},
|
||||
"monaco-languages": {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
"devDependencies": {
|
||||
"@typescript/vfs": "^1.3.5",
|
||||
"husky": "^5.1.3",
|
||||
"monaco-editor-core": "0.29.1",
|
||||
"monaco-editor-core": "0.30.0",
|
||||
"monaco-languages": "^2.9.0",
|
||||
"monaco-plugin-helpers": "^1.0.3",
|
||||
"prettier": "^2.4.1",
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ export class DiagnosticsAdapter extends Adapter {
|
|||
super(worker);
|
||||
|
||||
const onModelAdd = (model: IInternalEditorModel): void => {
|
||||
if (model.getModeId() !== _selector) {
|
||||
if (model.getLanguageId() !== _selector) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ export class WorkerManager {
|
|||
return this._worker.withSyncedResources(
|
||||
editor
|
||||
.getModels()
|
||||
.filter((model) => model.getModeId() === this._modeId)
|
||||
.filter((model) => model.getLanguageId() === this._modeId)
|
||||
.map((model) => model.uri)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue