@volar/typescript
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -418,5 +418,5 @@ "use strict"; | ||
start ??= mapping.generatedOffsets[0]; | ||
end ??= mapping.generatedOffsets[mapping.generatedOffsets.length - 1] + mapping.lengths[mapping.lengths.length - 1]; | ||
end ??= mapping.generatedOffsets[mapping.generatedOffsets.length - 1] + (mapping.generatedLengths ?? mapping.lengths)[mapping.lengths.length - 1]; | ||
start = Math.min(start, mapping.generatedOffsets[0]); | ||
end = Math.max(end, mapping.generatedOffsets[mapping.generatedOffsets.length - 1] + mapping.lengths[mapping.lengths.length - 1]); | ||
end = Math.max(end, mapping.generatedOffsets[mapping.generatedOffsets.length - 1] + (mapping.generatedLengths ?? mapping.lengths)[mapping.lengths.length - 1]); | ||
} | ||
@@ -423,0 +423,0 @@ } |
{ | ||
"name": "@volar/typescript", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"license": "MIT", | ||
@@ -15,3 +15,3 @@ "files": [ | ||
"dependencies": { | ||
"@volar/language-core": "2.2.4", | ||
"@volar/language-core": "2.2.5", | ||
"path-browserify": "^1.0.1" | ||
@@ -22,5 +22,5 @@ }, | ||
"@types/path-browserify": "latest", | ||
"@volar/language-service": "2.2.4" | ||
"@volar/language-service": "2.2.5" | ||
}, | ||
"gitHead": "71a58c8b9c3a3e420b95df9ffb4a50be37cb31bc" | ||
"gitHead": "ee4aaa9da58c4c942d6cb74f9028d19b7ef4465d" | ||
} |
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
181678
+ Added@volar/language-core@2.2.5(transitive)
+ Added@volar/source-map@2.2.5(transitive)
- Removed@volar/language-core@2.2.4(transitive)
- Removed@volar/source-map@2.2.4(transitive)
Updated@volar/language-core@2.2.5