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
140
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 1.0.0-next.8 to 1.0.0-next.9

lib/services/htmlHover.js

1

lib/htmlLanguageService.d.ts

@@ -86,2 +86,3 @@ import { TextDocument, Position, CompletionItem, CompletionList, Hover, Range, SymbolInformation, Diagnostic, TextEdit, DocumentHighlight, FormattingOptions, MarkedString, DocumentLink } from 'vscode-languageserver-types';

doComplete(document: TextDocument, position: Position, htmlDocument: HTMLDocument, options?: CompletionConfiguration): CompletionList;
doHover(document: TextDocument, position: Position, htmlDocument: HTMLDocument): Hover;
format(document: TextDocument, range: Range, options: HTMLFormatConfiguration): TextEdit[];

@@ -88,0 +89,0 @@ findDocumentLinks(document: TextDocument, documentContext: DocumentContext): DocumentLink[];

4

lib/htmlLanguageService.js

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

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

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

var htmlCompletion_1 = require('./services/htmlCompletion');
var htmlHover_1 = require('./services/htmlHover');
var htmlFormatter_1 = require('./services/htmlFormatter');

@@ -79,2 +80,3 @@ var htmlLinks_1 = require('./services/htmlLinks');

doComplete: htmlCompletion_1.doComplete,
doHover: htmlHover_1.doHover,
format: htmlFormatter_1.format,

@@ -81,0 +83,0 @@ findDocumentHighlights: htmlHighlighting_1.findDocumentHighlights,

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

else if (typeof define === 'function' && define.amd) {
define(["require", "exports", '../parser/htmlScanner', '../parser/htmlTags', '../parser/razorTags'], factory);
define(["require", "exports", '../parser/htmlScanner', './tagProviders'], factory);
}

@@ -16,10 +16,3 @@ })(function (require, exports) {

var htmlScanner_1 = require('../parser/htmlScanner');
var htmlTags_1 = require('../parser/htmlTags');
var razorTags_1 = require('../parser/razorTags');
var allTagProviders = [
htmlTags_1.getHTML5TagProvider(),
htmlTags_1.getAngularTagProvider(),
htmlTags_1.getIonicTagProvider(),
razorTags_1.getRazorTagProvider()
];
var tagProviders_1 = require('./tagProviders');
function doComplete(document, position, htmlDocument, settings) {

@@ -30,3 +23,3 @@ var result = {

};
var tagProviders = allTagProviders.filter(function (p) { return p.isApplicable(document.languageId) && (!settings || !!settings[p.getId()]); });
var tagProviders = tagProviders_1.allTagProviders.filter(function (p) { return p.isApplicable(document.languageId) && (!settings || !!settings[p.getId()]); });
var offset = document.offsetAt(position);

@@ -33,0 +26,0 @@ var node = htmlDocument.findNodeBefore(offset);

{
"name": "vscode-html-languageservice",
"version": "1.0.0-next.8",
"version": "1.0.0-next.9",
"description": "Language service for HTML",

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