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 3.0.0-next.3 to 3.0.1

4

lib/esm/services/htmlSelectionRange.js

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

if (currNode.startTagEnd && !currNode.endTagStart) {
// THe rare case of unmatching tag pairs like <div></div1>
if (currNode.startTagEnd !== currNode.end) {
return [[currNode.start, currNode.end]];
}
var closeRange = Range.create(document.positionAt(currNode.startTagEnd - 2), document.positionAt(currNode.startTagEnd));

@@ -45,0 +49,0 @@ var closeText = document.getText(closeRange);

@@ -55,2 +55,6 @@ (function (factory) {

if (currNode.startTagEnd && !currNode.endTagStart) {
// THe rare case of unmatching tag pairs like <div></div1>
if (currNode.startTagEnd !== currNode.end) {
return [[currNode.start, currNode.end]];
}
var closeRange = vscode_languageserver_types_1.Range.create(document.positionAt(currNode.startTagEnd - 2), document.positionAt(currNode.startTagEnd));

@@ -57,0 +61,0 @@ var closeText = document.getText(closeRange);

8

package.json
{
"name": "vscode-html-languageservice",
"version": "3.0.0-next.3",
"version": "3.0.1",
"description": "Language service for HTML",

@@ -43,5 +43,5 @@ "main": "./lib/umd/htmlLanguageService.js",

"lint": "tslint src/**/*.ts",
"install-types-next": "npm install vscode-languageserver-types@next -f -S",
"update-jsbeautify": "npm install js-beautify && node ./build/update-jsbeautify.js",
"update-jsbeautify-next": "npm install js-beautify@next && node ./build/update-jsbeautify.js",
"install-types-next": "yarn add vscode-languageserver-types@next -f -S",
"update-jsbeautify": "yarn add js-beautify && node ./build/update-jsbeautify.js",
"update-jsbeautify-next": "yarn add js-beautify@next && node ./build/update-jsbeautify.js",
"preversion": "npm test",

@@ -48,0 +48,0 @@ "postversion": "git push && git push --tags"

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