@vue/language-plugin-pug
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -30,6 +30,7 @@ "use strict"; | ||
const htmlOffset = target.offset; | ||
const nums = []; | ||
for (const mapped of map.getSourceOffsets(htmlOffset)) { | ||
return mapped[0]; | ||
nums.push(mapped[0]); | ||
} | ||
return -1; | ||
return Math.max(-1, ...nums); | ||
} | ||
@@ -36,0 +37,0 @@ const value = target[prop]; |
{ | ||
"name": "@vue/language-plugin-pug", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"license": "MIT", | ||
@@ -16,9 +16,9 @@ "files": [ | ||
"@types/node": "latest", | ||
"@vue/language-core": "2.0.6" | ||
"@vue/language-core": "2.0.7" | ||
}, | ||
"dependencies": { | ||
"@volar/source-map": "~2.1.2", | ||
"volar-service-pug": "0.0.31" | ||
"@volar/source-map": "~2.1.3", | ||
"volar-service-pug": "0.0.34" | ||
}, | ||
"gitHead": "feb990ccec85f6330bba37c8b1d1287f0980274c" | ||
"gitHead": "4a37e8f3ebcf31ecfd2ea627f7611d5990ec5df6" | ||
} |
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
4139
52
+ Addedvolar-service-html@0.0.34(transitive)
+ Addedvolar-service-pug@0.0.34(transitive)
- Removedvolar-service-html@0.0.31(transitive)
- Removedvolar-service-pug@0.0.31(transitive)
Updated@volar/source-map@~2.1.3
Updatedvolar-service-pug@0.0.34