Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vscode-css-languageservice

Package Overview
Dependencies
Maintainers
4
Versions
185
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 1.0.3 to 1.0.4

4

lib/services/cssCompletion.js

@@ -175,3 +175,3 @@ (function (factory) {

label: symbol.name,
insertText: strings.startsWith(symbol.name, '--') ? "let(" + symbol.name + ")" : symbol.name,
insertText: strings.startsWith(symbol.name, '--') ? "var(" + symbol.name + ")" : symbol.name,
kind: 6 /* Variable */

@@ -520,3 +520,3 @@ });

CSSCompletion.prototype.getCompletionsForFunctionArgument = function (arg, func, result) {
if (func.getIdentifier().getText() === 'let') {
if (func.getIdentifier().getText() === 'var') {
if (!func.getArguments().hasChildren() || func.getArguments().getChild(0) === arg) {

@@ -523,0 +523,0 @@ this.getVariableProposalsForCSSVarFunction(result);

{
"name": "vscode-css-languageservice",
"version": "1.0.3",
"version": "1.0.4",
"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