monaco-css
Advanced tools
Comparing version 2.6.0 to 2.7.0
{ | ||
"name": "monaco-css", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "CSS, LESS and SCSS plugin for the Monaco Editor", | ||
@@ -22,8 +22,8 @@ "scripts": { | ||
"devDependencies": { | ||
"monaco-editor-core": "0.19.0", | ||
"monaco-languages": "1.9.0", | ||
"monaco-editor-core": "0.20.0", | ||
"monaco-languages": "1.10.0", | ||
"monaco-plugin-helpers": "^1.0.2", | ||
"requirejs": "^2.3.6", | ||
"typescript": "3.7.3", | ||
"terser": "^4.4.3", | ||
"typescript": "3.7.5", | ||
"terser": "^4.6.3", | ||
"vscode-css-languageservice": "4.0.3-next.25", | ||
@@ -30,0 +30,0 @@ "vscode-languageserver-types": "3.15.0-next.9", |
@@ -344,11 +344,14 @@ /*--------------------------------------------------------------------------------------------- | ||
for (var uri in edit.changes) { | ||
var edits = []; | ||
var _uri = Uri.parse(uri); | ||
// let edits: monaco.languages.TextEdit[] = []; | ||
for (var _i = 0, _a = edit.changes[uri]; _i < _a.length; _i++) { | ||
var e = _a[_i]; | ||
edits.push({ | ||
range: toRange(e.range), | ||
text: e.newText | ||
resourceEdits.push({ | ||
resource: _uri, | ||
edit: { | ||
range: toRange(e.range), | ||
text: e.newText | ||
} | ||
}); | ||
} | ||
resourceEdits.push({ resource: Uri.parse(uri), edits: edits }); | ||
} | ||
@@ -355,0 +358,0 @@ return { |
/*!----------------------------------------------------------------------------- | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* monaco-css version: 2.6.0(5b08a3733ee5694b6b790d8d84edf543ca2d62f0) | ||
* monaco-css version: 2.7.0(cbf1d6a12b013bb7e773531de7b4f30989e6e4d7) | ||
* Released under the MIT license | ||
@@ -5,0 +5,0 @@ * https://github.com/Microsoft/monaco-css/blob/master/LICENSE.md |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6025086
105718