mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Adopt latest monaco-editor-core
This commit is contained in:
parent
8989f44eb5
commit
90417ad4ff
3 changed files with 14 additions and 5 deletions
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -1213,9 +1213,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"monaco-editor-core": {
|
"monaco-editor-core": {
|
||||||
"version": "0.22.0",
|
"version": "0.24.0",
|
||||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.22.0.tgz",
|
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.24.0.tgz",
|
||||||
"integrity": "sha512-KzghzcLxuLspZkOQdSqhAxES7pB/0VgjcBk126+e+ydiXAnrUTiMhiUV1lWA3cSPg0xL08HN64y5eYy+6Au8iw==",
|
"integrity": "sha512-WJAzpNYEaJp8Z7crIAiLCVln1zZdo4cFXCRuhTDN4A3tz6IK2NOXAtTOZ9iLKBTtd6eitZJ2Q1Fx8JN8rN3fWw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"monaco-plugin-helpers": {
|
"monaco-plugin-helpers": {
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"husky": "^4.3.8",
|
"husky": "^4.3.8",
|
||||||
"jsdom": "^16.4.0",
|
"jsdom": "^16.4.0",
|
||||||
"monaco-editor-core": "0.22.0",
|
"monaco-editor-core": "0.24.0",
|
||||||
"monaco-plugin-helpers": "^1.0.3",
|
"monaco-plugin-helpers": "^1.0.3",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"pretty-quick": "^3.1.0",
|
"pretty-quick": "^3.1.0",
|
||||||
|
|
|
||||||
11
test/all.js
11
test/all.js
|
|
@ -21,7 +21,16 @@ global.self = global;
|
||||||
global.document.queryCommandSupported = function () {
|
global.document.queryCommandSupported = function () {
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
global.window = { location: {}, navigator: tmp.window.navigator };
|
global.window = {
|
||||||
|
location: {},
|
||||||
|
navigator: tmp.window.navigator,
|
||||||
|
matchMedia: function () {
|
||||||
|
return {
|
||||||
|
matches: false,
|
||||||
|
addListener: function () {}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
requirejs(
|
requirejs(
|
||||||
['./test/setup'],
|
['./test/setup'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue