@babel/plugin-transform-react-constant-elements
Advanced tools
Comparing version 7.24.1 to 7.24.6
@@ -91,3 +91,3 @@ "use strict"; | ||
const binding = path.scope.getBinding(path.node.name); | ||
if (binding && binding.constant) return; | ||
if (binding != null && binding.constant) return; | ||
} | ||
@@ -94,0 +94,0 @@ const { |
{ | ||
"name": "@babel/plugin-transform-react-constant-elements", | ||
"version": "7.24.1", | ||
"version": "7.24.6", | ||
"description": "Treat React JSX elements as value types and hoist them to the highest scope", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-plugin-utils": "^7.24.0" | ||
"@babel/helper-plugin-utils": "^7.24.6" | ||
}, | ||
@@ -27,4 +27,4 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.1", | ||
"@babel/helper-plugin-test-runner": "^7.24.1" | ||
"@babel/core": "^7.24.6", | ||
"@babel/helper-plugin-test-runner": "^7.24.6" | ||
}, | ||
@@ -31,0 +31,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
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
89514
7
195