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

vscode-html-languageservice

Package Overview
Dependencies
Maintainers
6
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-html-languageservice - npm Package Compare versions

Comparing version 2.1.11-next.3 to 2.1.11-next.4

lib/esm/services/htmlSelectionRange.js

1

lib/esm/htmlLanguageService.d.ts

@@ -20,2 +20,3 @@ import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, TextEdit, DocumentHighlight, DocumentLink, FoldingRange } from 'vscode-languageserver-types';

}): FoldingRange[];
getSelectionRanges(document: TextDocument, position: Position): Range[];
}

@@ -22,0 +23,0 @@ export interface LanguageServiceOptions {

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

import { handleCustomData } from './languageFacts';
import { getSelectionRanges } from './services/htmlSelectionRange';
export * from './htmlLanguageTypes';

@@ -35,2 +36,3 @@ export * from 'vscode-languageserver-types';

getFoldingRanges: getFoldingRanges,
getSelectionRanges: getSelectionRanges,
doTagComplete: htmlCompletion.doTagComplete.bind(htmlCompletion),

@@ -37,0 +39,0 @@ };

@@ -25,2 +25,3 @@ import { TextDocument, Position, Range } from 'vscode-languageserver-types';

start: number;
startTagEnd: number | undefined;
end: number;

@@ -27,0 +28,0 @@ endTagStart: number | undefined;

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

curr.end = scanner.getTokenEnd(); // might be later set to end tag position
curr.startTagEnd = scanner.getTokenEnd();
if (curr.tag && isEmptyElement(curr.tag) && curr.parent) {

@@ -96,2 +97,3 @@ curr.closed = true;

curr.end = scanner.getTokenEnd();
curr.startTagEnd = scanner.getTokenEnd();
curr = curr.parent;

@@ -98,0 +100,0 @@ }

@@ -20,2 +20,3 @@ import { TextDocument, Position, CompletionList, Hover, Range, SymbolInformation, TextEdit, DocumentHighlight, DocumentLink, FoldingRange } from 'vscode-languageserver-types';

}): FoldingRange[];
getSelectionRanges(document: TextDocument, position: Position): Range[];
}

@@ -22,0 +23,0 @@ export interface LanguageServiceOptions {

4

lib/umd/htmlLanguageService.js

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

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./parser/htmlScanner", "./parser/htmlParser", "./services/htmlCompletion", "./services/htmlHover", "./services/htmlFormatter", "./services/htmlLinks", "./services/htmlHighlighting", "./services/htmlSymbolsProvider", "./services/htmlFolding", "./languageFacts", "./htmlLanguageTypes", "vscode-languageserver-types"], factory);
define(["require", "exports", "./parser/htmlScanner", "./parser/htmlParser", "./services/htmlCompletion", "./services/htmlHover", "./services/htmlFormatter", "./services/htmlLinks", "./services/htmlHighlighting", "./services/htmlSymbolsProvider", "./services/htmlFolding", "./languageFacts", "./services/htmlSelectionRange", "./htmlLanguageTypes", "vscode-languageserver-types"], factory);
}

@@ -30,2 +30,3 @@ })(function (require, exports) {

var languageFacts_1 = require("./languageFacts");
var htmlSelectionRange_1 = require("./services/htmlSelectionRange");
__export(require("./htmlLanguageTypes"));

@@ -49,2 +50,3 @@ __export(require("vscode-languageserver-types"));

getFoldingRanges: htmlFolding_1.getFoldingRanges,
getSelectionRanges: htmlSelectionRange_1.getSelectionRanges,
doTagComplete: htmlCompletion.doTagComplete.bind(htmlCompletion),

@@ -51,0 +53,0 @@ };

@@ -25,2 +25,3 @@ import { TextDocument, Position, Range } from 'vscode-languageserver-types';

start: number;
startTagEnd: number | undefined;
end: number;

@@ -27,0 +28,0 @@ endTagStart: number | undefined;

@@ -96,2 +96,3 @@ (function (factory) {

curr.end = scanner.getTokenEnd(); // might be later set to end tag position
curr.startTagEnd = scanner.getTokenEnd();
if (curr.tag && languageFacts_1.isEmptyElement(curr.tag) && curr.parent) {

@@ -106,2 +107,3 @@ curr.closed = true;

curr.end = scanner.getTokenEnd();
curr.startTagEnd = scanner.getTokenEnd();
curr = curr.parent;

@@ -108,0 +110,0 @@ }

{
"name": "vscode-html-languageservice",
"version": "2.1.11-next.3",
"version": "2.1.11-next.4",
"description": "Language service for HTML",

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