@vue/babel-plugin-jsx
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -91,4 +91,4 @@ "use strict"; | ||
else if (t.isCallExpression(child) && child.loc && isComponent) { // the element was generated and doesn't have location information | ||
const slotId = path.scope.generateUidIdentifier('slot'); | ||
const scope = path.hub.getScope(); | ||
const { scope } = path; | ||
const slotId = scope.generateUidIdentifier('slot'); | ||
if (scope) { | ||
@@ -95,0 +95,0 @@ scope.push({ |
{ | ||
"name": "@vue/babel-plugin-jsx", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "Babel plugin for Vue 3.0 JSX", | ||
@@ -43,3 +43,3 @@ "author": "Amour1688 <lcz_1996@foxmail.com>", | ||
"@typescript-eslint/parser": "^4.0.1", | ||
"@vue/compiler-dom": "3.0.0", | ||
"@vue/compiler-dom": "3.0.4", | ||
"@vue/test-utils": "2.0.0-beta.2", | ||
@@ -46,0 +46,0 @@ "jest": "^26.0.1", |
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
47751