New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vscode-css-languageservice

Package Overview
Dependencies
Maintainers
4
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-css-languageservice - npm Package Compare versions

Comparing version 2.1.10 to 2.1.11

19

lib/parser/lessParser.js

@@ -217,9 +217,18 @@ var __extends = (this && this.__extends) || (function () {

// CSS Guards
var mark = this.mark();
var node = this.create(nodes.Selector);
if (node.addChild(this._parseSimpleSelector()) && node.addChild(this._parseGuard())) {
return this.finish(node);
var hasContent = false;
if (isNested) {
// nested selectors can start with a combinator
hasContent = node.addChild(this._parseCombinator());
}
this.restoreAtMark(mark);
return _super.prototype._parseSelector.call(this, isNested);
while (node.addChild(this._parseSimpleSelector())) {
hasContent = true;
var mark = this.mark();
if (node.addChild(this._parseGuard()) && this.peek(cssScanner_1.TokenType.CurlyL)) {
break;
}
this.restoreAtMark(mark);
node.addChild(this._parseCombinator()); // optional
}
return hasContent ? this.finish(node) : null;
};

@@ -226,0 +235,0 @@ LESSParser.prototype._parseSelectorCombinator = function () {

{
"name": "vscode-css-languageservice",
"version": "2.1.10",
"version": "2.1.11",
"description": "Language service for CSS, LESS and SCSS",

@@ -5,0 +5,0 @@ "main": "./lib/cssLanguageService.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc