Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-react-jsx-self

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-react-jsx-self - npm Package Compare versions

Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16

4

lib/index.js

@@ -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

6

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc