@volar/language-core
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -27,3 +27,5 @@ "use strict"; | ||
function isRenameEnabled(info) { | ||
return !!info.navigation; | ||
return typeof info.navigation === 'object' | ||
? info.navigation.shouldRename?.() ?? true | ||
: !!info.navigation; | ||
} | ||
@@ -30,0 +32,0 @@ exports.isRenameEnabled = isRenameEnabled; |
{ | ||
"name": "@volar/language-core", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"license": "MIT", | ||
@@ -15,5 +15,5 @@ "files": [ | ||
"dependencies": { | ||
"@volar/source-map": "2.2.1" | ||
"@volar/source-map": "2.2.2" | ||
}, | ||
"gitHead": "629f686bda694077b236a0bcd0304437bb2eabf5" | ||
"gitHead": "8aa41e4c2ab1e954b8c777f789b7a948972e77aa" | ||
} |
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
23893
530
104
+ Added@volar/source-map@2.2.2(transitive)
- Removed@volar/source-map@2.2.1(transitive)
Updated@volar/source-map@2.2.2