vscode-pug-languageservice
Advanced tools
Comparing version 0.25.28 to 0.25.29-0.26.0-alpha.1.0
@@ -8,2 +8,5 @@ "use strict"; | ||
return (pugDoc, options) => { | ||
if (pugDoc.pugCode.trim() === '') { | ||
return []; // fix https://github.com/johnsoncodehk/volar/issues/304 | ||
} | ||
const prefixesLength = pugDoc.pugCode.length - pugDoc.pugCode.trimStart().length; | ||
@@ -10,0 +13,0 @@ const suffixesLength = pugDoc.pugCode.length - pugDoc.pugCode.trimEnd().length; |
{ | ||
"name": "vscode-pug-languageservice", | ||
"version": "0.25.28", | ||
"version": "0.25.29-0.26.0-alpha.1.0", | ||
"main": "out/index.js", | ||
@@ -20,6 +20,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/code-gen": "^0.25.28", | ||
"@volar/shared": "^0.25.28", | ||
"@volar/source-map": "^0.25.28", | ||
"@volar/transforms": "^0.25.28", | ||
"@volar/code-gen": "^0.25.29-0.26.0-alpha.1.0", | ||
"@volar/shared": "^0.25.29-0.26.0-alpha.1.0", | ||
"@volar/source-map": "^0.25.29-0.26.0-alpha.1.0", | ||
"@volar/transforms": "^0.25.29-0.26.0-alpha.1.0", | ||
"pug-beautify": "^0.1.1", | ||
@@ -30,3 +30,3 @@ "pug-lexer": "^5.0.1", | ||
}, | ||
"gitHead": "09fb4ce9a6cdf00c57d0faf91d9cf4795549d8f8" | ||
"gitHead": "dd22c07e628a55bc38e93b53939d6282ad2eb2e9" | ||
} |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
23960
511
0
+ Added@volar/code-gen@0.25.29-0.26.0-alpha.1.0(transitive)
+ Added@volar/shared@0.25.29-0.26.0-alpha.1.0(transitive)
+ Added@volar/source-map@0.25.29-0.26.0-alpha.1.0(transitive)
+ Added@volar/transforms@0.25.29-0.26.0-alpha.1.0(transitive)
- Removed@volar/code-gen@0.25.28(transitive)
- Removed@volar/shared@0.25.28(transitive)
- Removed@volar/source-map@0.25.28(transitive)
- Removed@volar/transforms@0.25.28(transitive)