@vue/compiler-sfc
Advanced tools
Comparing version 3.0.0-alpha.10 to 3.0.0-alpha.11
@@ -62,3 +62,3 @@ 'use strict'; | ||
if (!descriptor.template) { | ||
descriptor.template = createBlock(node, source, pad); | ||
descriptor.template = createBlock(node, source, false); | ||
} | ||
@@ -88,3 +88,3 @@ else { | ||
if (block && !block.src) { | ||
block.map = generateSourceMap(filename, source, block.content, sourceRoot, pad ? 0 : block.loc.start.line - 1); | ||
block.map = generateSourceMap(filename, source, block.content, sourceRoot, !pad || block.type === 'template' ? block.loc.start.line - 1 : 0); | ||
} | ||
@@ -129,3 +129,3 @@ }; | ||
}; | ||
if (node.tag !== 'template' && pad) { | ||
if (pad) { | ||
block.content = padContent(source, block, pad) + block.content; | ||
@@ -132,0 +132,0 @@ } |
{ | ||
"name": "@vue/compiler-sfc", | ||
"version": "3.0.0-alpha.10", | ||
"version": "3.0.0-alpha.11", | ||
"description": "@vue/compiler-sfc", | ||
@@ -30,9 +30,9 @@ "main": "dist/compiler-sfc.cjs.js", | ||
"peerDependencies": { | ||
"vue": "3.0.0-alpha.10" | ||
"vue": "3.0.0-alpha.11" | ||
}, | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-alpha.10", | ||
"@vue/compiler-core": "3.0.0-alpha.10", | ||
"@vue/compiler-dom": "3.0.0-alpha.10", | ||
"@vue/compiler-ssr": "3.0.0-alpha.10", | ||
"@vue/shared": "3.0.0-alpha.11", | ||
"@vue/compiler-core": "3.0.0-alpha.11", | ||
"@vue/compiler-dom": "3.0.0-alpha.11", | ||
"@vue/compiler-ssr": "3.0.0-alpha.11", | ||
"consolidate": "^0.15.1", | ||
@@ -39,0 +39,0 @@ "hash-sum": "^2.0.0", |
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
37283
+ Added@vue/compiler-core@3.0.0-alpha.11(transitive)
+ Added@vue/compiler-dom@3.0.0-alpha.11(transitive)
+ Added@vue/compiler-ssr@3.0.0-alpha.11(transitive)
+ Added@vue/reactivity@3.0.0-alpha.11(transitive)
+ Added@vue/runtime-core@3.0.0-alpha.11(transitive)
+ Added@vue/runtime-dom@3.0.0-alpha.11(transitive)
+ Added@vue/shared@3.0.0-alpha.11(transitive)
+ Addedvue@3.0.0-alpha.11(transitive)
- Removed@vue/compiler-core@3.0.0-alpha.10(transitive)
- Removed@vue/compiler-dom@3.0.0-alpha.10(transitive)
- Removed@vue/compiler-ssr@3.0.0-alpha.10(transitive)
- Removed@vue/reactivity@3.0.0-alpha.10(transitive)
- Removed@vue/runtime-core@3.0.0-alpha.10(transitive)
- Removed@vue/runtime-dom@3.0.0-alpha.10(transitive)
- Removed@vue/shared@3.0.0-alpha.10(transitive)
- Removedvue@3.0.0-alpha.10(transitive)
Updated@vue/shared@3.0.0-alpha.11