@volar/vue-language-core
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -62,2 +62,5 @@ const plugin = ({ modules }) => { | ||
} | ||
if (node.exp && withinChangeRange(node.exp.loc) && node.name === 'for') { // #2266 | ||
return false; | ||
} | ||
if (node.arg && !tryUpdateNode(node.arg)) { | ||
@@ -85,7 +88,7 @@ return false; | ||
else if (node.type === 9 /* CompilerDOM.NodeTypes.IF */) { | ||
for (const branche of node.branches) { | ||
if (branche.condition && !tryUpdateNode(branche.condition)) { | ||
for (const branch of node.branches) { | ||
if (branch.condition && !tryUpdateNode(branch.condition)) { | ||
return false; | ||
} | ||
for (const child of branche.children) { | ||
for (const child of branch.children) { | ||
if (!tryUpdateNode(child)) { | ||
@@ -92,0 +95,0 @@ return false; |
{ | ||
"name": "@volar/vue-language-core", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"main": "out/index.js", | ||
@@ -16,4 +16,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/language-core": "1.0.20", | ||
"@volar/source-map": "1.0.20", | ||
"@volar/language-core": "1.0.21", | ||
"@volar/source-map": "1.0.21", | ||
"@vue/compiler-dom": "^3.2.45", | ||
@@ -29,3 +29,3 @@ "@vue/compiler-sfc": "^3.2.45", | ||
}, | ||
"gitHead": "e00f068e812677791c93efe9cf20995764350ec6" | ||
"gitHead": "72332760759e06eed18e62026185cbad70250367" | ||
} |
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
236697
5145
+ Added@volar/language-core@1.0.21(transitive)
+ Added@volar/source-map@1.0.21(transitive)
- Removed@volar/language-core@1.0.20(transitive)
- Removed@volar/source-map@1.0.20(transitive)
Updated@volar/language-core@1.0.21
Updated@volar/source-map@1.0.21