Socket
Socket
Sign inDemoInstall

monaco-css

Package Overview
Dependencies
0
Maintainers
7
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.1.0

14

package.json
{
"name": "monaco-css",
"version": "3.0.0",
"version": "3.1.0",
"description": "CSS, LESS and SCSS plugin for the Monaco Editor",

@@ -26,10 +26,10 @@ "scripts": {

"husky": "^4.3.0",
"monaco-editor-core": "0.20.0",
"monaco-languages": "1.10.0",
"monaco-editor-core": "0.21.0",
"monaco-languages": "2.1.0",
"monaco-plugin-helpers": "^1.0.3",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.0",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"requirejs": "^2.3.6",
"typescript": "4.0.2",
"terser": "^5.3.0",
"typescript": "4.0.3",
"terser": "^5.3.2",
"vscode-css-languageservice": "4.3.3",

@@ -36,0 +36,0 @@ "vscode-languageserver-types": "3.15.1",

@@ -239,4 +239,3 @@ /*---------------------------------------------------------------------------------------------

if (entry.insertTextFormat === cssService.InsertTextFormat.Snippet) {
item.insertTextRules =
languages.CompletionItemInsertTextRule.InsertAsSnippet;
item.insertTextRules = languages.CompletionItemInsertTextRule.InsertAsSnippet;
}

@@ -255,5 +254,3 @@ return item;

function isMarkupContent(thing) {
return (thing &&
typeof thing === 'object' &&
typeof thing.kind === 'string');
return (thing && typeof thing === 'object' && typeof thing.kind === 'string');
}

@@ -595,5 +592,3 @@ function toMarkdownString(entry) {

return this._worker(resource)
.then(function (worker) {
return worker.getSelectionRanges(resource.toString(), positions.map(fromPosition));
})
.then(function (worker) { return worker.getSelectionRanges(resource.toString(), positions.map(fromPosition)); })
.then(function (selectionRanges) {

@@ -600,0 +595,0 @@ if (!selectionRanges) {

@@ -14,5 +14,3 @@ /*---------------------------------------------------------------------------------------------

this._lastUsedTime = 0;
this._configChangeListener = this._defaults.onDidChange(function () {
return _this._stopWorker();
});
this._configChangeListener = this._defaults.onDidChange(function () { return _this._stopWorker(); });
}

@@ -19,0 +17,0 @@ WorkerManager.prototype._stopWorker = function () {

/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-css version: 3.0.0(e77dc655b9e447c3e61d09bd9e05640531b71761)
* monaco-css version: 3.1.0(7a8e83e2a0cf5e2ef902e9b044ab05106489176e)
* 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc