Socket
Socket
Sign inDemoInstall

@babel/helper-builder-react-jsx-experimental

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-builder-react-jsx-experimental - npm Package Compare versions

Comparing version 7.9.0 to 7.9.5

2

lib/index.js

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

const openingPath = path.get("openingElement");
const validChildren = openingPath.parent.children.filter(child => !t.isJSXEmptyExpression(child) && !(t.isJSXText(child) && child.value.trim() === ""));
const validChildren = t.react.buildChildren(openingPath.parent);
let importName;

@@ -233,0 +233,0 @@

{
"name": "@babel/helper-builder-react-jsx-experimental",
"version": "7.9.0",
"version": "7.9.5",
"description": "Helper function to build react jsx",

@@ -14,5 +14,5 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-react-jsx-experimental",

"@babel/helper-module-imports": "^7.8.3",
"@babel/types": "^7.9.0"
"@babel/types": "^7.9.5"
},
"gitHead": "8d5e422be27251cfaadf8dd2536b31b4a5024b02"
"gitHead": "5b97e77e030cf3853a147fdff81844ea4026219d"
}

@@ -306,8 +306,4 @@ import * as t from "@babel/types";

const openingPath = path.get("openingElement");
const validChildren = openingPath.parent.children.filter(
child =>
!t.isJSXEmptyExpression(child) &&
!(t.isJSXText(child) && child.value.trim() === ""),
);
const validChildren = t.react.buildChildren(openingPath.parent);
let importName;

@@ -314,0 +310,0 @@ if (path.type === "JSXElement" && shouldUseCreateElement(path)) {

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