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

3

lib/esm/cssLanguageService.d.ts

@@ -1,5 +0,4 @@

import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, Diagnostic, Location, DocumentHighlight, CodeActionContext, Command, WorkspaceEdit, TextEdit } from 'vscode-languageserver-types';
import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, Diagnostic, Location, DocumentHighlight, CodeActionContext, Command, WorkspaceEdit } from 'vscode-languageserver-types';
import { LanguageSettings, ICompletionParticipant, ColorInformation, Color, ColorPresentation, FoldingRangeList } from './cssLanguageTypes';
export declare type Stylesheet = {};
export { TextEdit, Range };
export * from './cssLanguageTypes';

@@ -6,0 +5,0 @@ export interface LanguageService {

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

'use strict';
import { Range, TextEdit } from 'vscode-languageserver-types';
import { Parser } from './parser/cssParser';

@@ -19,3 +18,2 @@ import { CSSCompletion } from './services/cssCompletion';

import { getFoldingRanges } from './services/cssFolding';
export { TextEdit, Range };
export * from './cssLanguageTypes';

@@ -22,0 +20,0 @@ function createFacade(parser, completion, hover, navigation, codeActions, validation) {

@@ -54,5 +54,5 @@ import { Range, TextEdit, Position } from "vscode-languageserver-types";

export interface ICompletionParticipant {
onProperty?: (context: PropertyCompletionContext) => void;
onPropertyValue?: (context: PropertyValueCompletionContext) => void;
onURILiteralValue?: (context: URILiteralCompletionContext) => void;
onCssProperty?: (context: PropertyCompletionContext) => void;
onCssPropertyValue?: (context: PropertyValueCompletionContext) => void;
onCssURILiteralValue?: (context: URILiteralCompletionContext) => void;
}

@@ -59,0 +59,0 @@ export interface FoldingRangeList {

@@ -194,4 +194,4 @@ /*---------------------------------------------------------------------------------------------

this.completionParticipants.forEach(function (participant) {
if (participant.onProperty) {
participant.onProperty({
if (participant.onCssProperty) {
participant.onCssProperty({
propertyName: _this.currentWord,

@@ -213,4 +213,4 @@ range: _this.defaultReplaceRange

this.completionParticipants.forEach(function (participant) {
if (participant.onPropertyValue) {
participant.onPropertyValue({
if (participant.onCssPropertyValue) {
participant.onCssPropertyValue({
propertyName: propertyName,

@@ -836,4 +836,4 @@ propertyValue: _this.currentWord,

this.completionParticipants.forEach(function (participant) {
if (participant.onURILiteralValue) {
participant.onURILiteralValue({
if (participant.onCssURILiteralValue) {
participant.onCssURILiteralValue({
uriValue: uriValue,

@@ -840,0 +840,0 @@ position: position,

@@ -1,5 +0,4 @@

import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, Diagnostic, Location, DocumentHighlight, CodeActionContext, Command, WorkspaceEdit, TextEdit } from 'vscode-languageserver-types';
import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, Diagnostic, Location, DocumentHighlight, CodeActionContext, Command, WorkspaceEdit } from 'vscode-languageserver-types';
import { LanguageSettings, ICompletionParticipant, ColorInformation, Color, ColorPresentation, FoldingRangeList } from './cssLanguageTypes';
export declare type Stylesheet = {};
export { TextEdit, Range };
export * from './cssLanguageTypes';

@@ -6,0 +5,0 @@ export interface LanguageService {

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

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "vscode-languageserver-types", "./parser/cssParser", "./services/cssCompletion", "./services/cssHover", "./services/cssNavigation", "./services/cssCodeActions", "./services/cssValidation", "./parser/scssParser", "./services/scssCompletion", "./parser/lessParser", "./services/lessCompletion", "./services/cssFolding", "./cssLanguageTypes"], factory);
define(["require", "exports", "./parser/cssParser", "./services/cssCompletion", "./services/cssHover", "./services/cssNavigation", "./services/cssCodeActions", "./services/cssValidation", "./parser/scssParser", "./services/scssCompletion", "./parser/lessParser", "./services/lessCompletion", "./services/cssFolding", "./cssLanguageTypes"], factory);
}

@@ -20,5 +20,2 @@ })(function (require, exports) {

Object.defineProperty(exports, "__esModule", { value: true });
var vscode_languageserver_types_1 = require("vscode-languageserver-types");
exports.Range = vscode_languageserver_types_1.Range;
exports.TextEdit = vscode_languageserver_types_1.TextEdit;
var cssParser_1 = require("./parser/cssParser");

@@ -25,0 +22,0 @@ var cssCompletion_1 = require("./services/cssCompletion");

@@ -54,5 +54,5 @@ import { Range, TextEdit, Position } from "vscode-languageserver-types";

export interface ICompletionParticipant {
onProperty?: (context: PropertyCompletionContext) => void;
onPropertyValue?: (context: PropertyValueCompletionContext) => void;
onURILiteralValue?: (context: URILiteralCompletionContext) => void;
onCssProperty?: (context: PropertyCompletionContext) => void;
onCssPropertyValue?: (context: PropertyValueCompletionContext) => void;
onCssURILiteralValue?: (context: URILiteralCompletionContext) => void;
}

@@ -59,0 +59,0 @@ export interface FoldingRangeList {

@@ -204,4 +204,4 @@ (function (factory) {

this.completionParticipants.forEach(function (participant) {
if (participant.onProperty) {
participant.onProperty({
if (participant.onCssProperty) {
participant.onCssProperty({
propertyName: _this.currentWord,

@@ -223,4 +223,4 @@ range: _this.defaultReplaceRange

this.completionParticipants.forEach(function (participant) {
if (participant.onPropertyValue) {
participant.onPropertyValue({
if (participant.onCssPropertyValue) {
participant.onCssPropertyValue({
propertyName: propertyName,

@@ -846,4 +846,4 @@ propertyValue: _this.currentWord,

this.completionParticipants.forEach(function (participant) {
if (participant.onURILiteralValue) {
participant.onURILiteralValue({
if (participant.onCssURILiteralValue) {
participant.onCssURILiteralValue({
uriValue: uriValue,

@@ -850,0 +850,0 @@ position: position,

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

@@ -5,0 +5,0 @@ "main": "./lib/umd/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