vscode-html-languageservice
Advanced tools
Comparing version 3.0.0-next.3 to 3.0.1
@@ -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); |
{ | ||
"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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1436017
30076
1