@babel/plugin-transform-react-jsx
Advanced tools
Comparing version 7.17.12 to 7.18.6
@@ -37,3 +37,3 @@ "use strict"; | ||
}) { | ||
return (0, _helperPluginUtils.declare)((api, options) => { | ||
return (0, _helperPluginUtils.declare)((_, options) => { | ||
const { | ||
@@ -445,3 +445,3 @@ pure: PURE_ANNOTATION, | ||
tagName = tagExpr.name; | ||
} else if (_core.types.isLiteral(tagExpr)) { | ||
} else if (_core.types.isStringLiteral(tagExpr)) { | ||
tagName = tagExpr.value; | ||
@@ -448,0 +448,0 @@ } |
{ | ||
"name": "@babel/plugin-transform-react-jsx", | ||
"version": "7.17.12", | ||
"version": "7.18.6", | ||
"description": "Turn JSX into React function calls", | ||
@@ -20,7 +20,7 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-annotate-as-pure": "^7.16.7", | ||
"@babel/helper-module-imports": "^7.16.7", | ||
"@babel/helper-plugin-utils": "^7.17.12", | ||
"@babel/plugin-syntax-jsx": "^7.17.12", | ||
"@babel/types": "^7.17.12" | ||
"@babel/helper-annotate-as-pure": "^7.18.6", | ||
"@babel/helper-module-imports": "^7.18.6", | ||
"@babel/helper-plugin-utils": "^7.18.6", | ||
"@babel/plugin-syntax-jsx": "^7.18.6", | ||
"@babel/types": "^7.18.6" | ||
}, | ||
@@ -31,5 +31,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.17.12", | ||
"@babel/helper-plugin-test-runner": "^7.16.7", | ||
"@babel/traverse": "^7.17.12" | ||
"@babel/core": "^7.18.6", | ||
"@babel/helper-plugin-test-runner": "^7.18.6", | ||
"@babel/traverse": "^7.18.6" | ||
}, | ||
@@ -39,3 +39,4 @@ "engines": { | ||
}, | ||
"author": "The Babel Team (https://babel.dev/team)" | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "commonjs" | ||
} |
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
24163