babel-plugin-transform-react-jsx-self
Advanced tools
Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16
@@ -7,14 +7,10 @@ "use strict"; | ||
var t = _ref.types; | ||
var visitor = { | ||
JSXOpeningElement: function JSXOpeningElement(_ref2) { | ||
var node = _ref2.node; | ||
var id = t.jSXIdentifier(TRACE_ID); | ||
var trace = t.thisExpression(); | ||
node.attributes.push(t.jSXAttribute(id, t.jSXExpressionContainer(trace))); | ||
} | ||
}; | ||
return { | ||
@@ -21,0 +17,0 @@ visitor: visitor |
{ | ||
"name": "babel-plugin-transform-react-jsx-self", | ||
"version": "7.0.0-alpha.15", | ||
"version": "7.0.0-alpha.16", | ||
"description": "Add a __self prop to all JSX Elements", | ||
@@ -12,7 +12,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx-self", | ||
"dependencies": { | ||
"babel-plugin-syntax-jsx": "7.0.0-alpha.15" | ||
"babel-plugin-syntax-jsx": "7.0.0-alpha.16" | ||
}, | ||
"devDependencies": { | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.15" | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.16" | ||
} | ||
} |
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
1637
+ Addedbabel-plugin-syntax-jsx@7.0.0-alpha.16(transitive)
- Removedbabel-plugin-syntax-jsx@7.0.0-alpha.15(transitive)