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
6
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 3.0.9-next.3 to 3.0.9-next.4

5

lib/esm/services/cssCompletion.js

@@ -97,3 +97,6 @@ /*---------------------------------------------------------------------------------------------

}
if (result.items.length > 0) {
else {
continue;
}
if (result.items.length > 0 || this.offset > node.offset) {
return this.finalize(result);

@@ -100,0 +103,0 @@ }

12

lib/esm/services/cssFolding.js

@@ -7,3 +7,3 @@ /*---------------------------------------------------------------------------------------------

import { TokenType, Scanner } from '../parser/cssScanner';
import { SCSSScanner } from '../parser/scssScanner';
import { SCSSScanner, InterpolationFunction } from '../parser/scssScanner';
import { LESSScanner } from '../parser/lessScanner';

@@ -50,6 +50,8 @@ export function getFoldingRegions(document) {

switch (token.type) {
case TokenType.CurlyL: {
stack.push(getStartLine(token));
break;
}
case TokenType.CurlyL:
case InterpolationFunction:
{
stack.push(getStartLine(token));
break;
}
case TokenType.CurlyR: {

@@ -56,0 +58,0 @@ if (stack.length !== 0) {

@@ -107,3 +107,6 @@ (function (factory) {

}
if (result.items.length > 0) {
else {
continue;
}
if (result.items.length > 0 || this.offset > node.offset) {
return this.finalize(result);

@@ -110,0 +113,0 @@ }

@@ -59,6 +59,8 @@ (function (factory) {

switch (token.type) {
case cssScanner_1.TokenType.CurlyL: {
stack.push(getStartLine(token));
break;
}
case cssScanner_1.TokenType.CurlyL:
case scssScanner_1.InterpolationFunction:
{
stack.push(getStartLine(token));
break;
}
case cssScanner_1.TokenType.CurlyR: {

@@ -65,0 +67,0 @@ if (stack.length !== 0) {

{
"name": "vscode-css-languageservice",
"version": "3.0.9-next.3",
"version": "3.0.9-next.4",
"description": "Language service for CSS, LESS and SCSS",

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc