Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-react-jsx

Package Overview
Dependencies
58
Maintainers
6
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.9.1 to 7.9.4

3

lib/transform-classic.js

@@ -49,3 +49,3 @@ "use strict";

state.callee = pass.get("jsxIdentifier")();
state.pure = PURE_ANNOTATION != null ? PURE_ANNOTATION : !pass.get("pragmaSet");
state.pure = PURE_ANNOTATION != null ? PURE_ANNOTATION : pass.get("pragma") === DEFAULT.pragma;
},

@@ -86,2 +86,3 @@

state.set("usedFragment", false);
state.set("pragma", pragma);
state.set("pragmaSet", pragmaSet);

@@ -88,0 +89,0 @@ state.set("pragmaFragSet", pragmaFragSet);

{
"name": "@babel/plugin-transform-react-jsx",
"version": "7.9.1",
"version": "7.9.4",
"description": "Turn JSX into React function calls",

@@ -27,3 +27,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx",

},
"gitHead": "220ce702a1e02f7c32728985505e0392555b0ae7"
"gitHead": "d3cf5fb5f4b46a1f7e9e33f2d24a466e3ea1e50f"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc