New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 3.0.4-next.13 to 3.0.4-next.14

3

lib/esm/languageFacts/dataProvider.js

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

}
if (result.value === '') {
return undefined;
}
return result;
}

@@ -32,2 +32,8 @@ /*---------------------------------------------------------------------------------------------

var markupContent = generateDocumentation(tag, doesSupportMarkdown);
if (!markupContent) {
markupContent = {
kind: doesSupportMarkdown ? 'markdown' : 'plaintext',
value: ''
};
}
markupContent.value = '```html\n' + tagLabel + '\n```\n' + markupContent.value;

@@ -56,3 +62,9 @@ hover = { contents: markupContent, range: range };

if (currAttr === attr.name && attr.description) {
hover = { contents: generateDocumentation(attr, doesSupportMarkdown), range: range };
var contentsDoc = generateDocumentation(attr, doesSupportMarkdown);
if (contentsDoc) {
hover = { contents: contentsDoc, range: range };
}
else {
hover = null;
}
}

@@ -79,3 +91,9 @@ });

if (currAttrValue === attrValue.name && attrValue.description) {
hover = { contents: generateDocumentation(attrValue, doesSupportMarkdown), range: range };
var contentsDoc = generateDocumentation(attrValue, doesSupportMarkdown);
if (contentsDoc) {
hover = { contents: contentsDoc, range: range };
}
else {
hover = null;
}
}

@@ -82,0 +100,0 @@ });

@@ -132,2 +132,5 @@ /*---------------------------------------------------------------------------------------------

}
if (result.value === '') {
return undefined;
}
return result;

@@ -134,0 +137,0 @@ }

@@ -43,2 +43,8 @@ /*---------------------------------------------------------------------------------------------

var markupContent = dataProvider_1.generateDocumentation(tag, doesSupportMarkdown);
if (!markupContent) {
markupContent = {
kind: doesSupportMarkdown ? 'markdown' : 'plaintext',
value: ''
};
}
markupContent.value = '```html\n' + tagLabel + '\n```\n' + markupContent.value;

@@ -67,3 +73,9 @@ hover = { contents: markupContent, range: range };

if (currAttr === attr.name && attr.description) {
hover = { contents: dataProvider_1.generateDocumentation(attr, doesSupportMarkdown), range: range };
var contentsDoc = dataProvider_1.generateDocumentation(attr, doesSupportMarkdown);
if (contentsDoc) {
hover = { contents: contentsDoc, range: range };
}
else {
hover = null;
}
}

@@ -90,3 +102,9 @@ });

if (currAttrValue === attrValue.name && attrValue.description) {
hover = { contents: dataProvider_1.generateDocumentation(attrValue, doesSupportMarkdown), range: range };
var contentsDoc = dataProvider_1.generateDocumentation(attrValue, doesSupportMarkdown);
if (contentsDoc) {
hover = { contents: contentsDoc, range: range };
}
else {
hover = null;
}
}

@@ -93,0 +111,0 @@ });

2

package.json
{
"name": "vscode-html-languageservice",
"version": "3.0.4-next.13",
"version": "3.0.4-next.14",
"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