@babel/plugin-transform-react-jsx
Advanced tools
Comparing version 7.24.7 to 7.25.2
@@ -18,6 +18,6 @@ "use strict"; | ||
}; | ||
const JSX_SOURCE_ANNOTATION_REGEX = /^\s*\*?\s*@jsxImportSource\s+([^\s]+)\s*$/m; | ||
const JSX_RUNTIME_ANNOTATION_REGEX = /^\s*\*?\s*@jsxRuntime\s+([^\s]+)\s*$/m; | ||
const JSX_ANNOTATION_REGEX = /^\s*\*?\s*@jsx\s+([^\s]+)\s*$/m; | ||
const JSX_FRAG_ANNOTATION_REGEX = /^\s*\*?\s*@jsxFrag\s+([^\s]+)\s*$/m; | ||
const JSX_SOURCE_ANNOTATION_REGEX = /^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m; | ||
const JSX_RUNTIME_ANNOTATION_REGEX = /^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m; | ||
const JSX_ANNOTATION_REGEX = /^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m; | ||
const JSX_FRAG_ANNOTATION_REGEX = /^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m; | ||
const get = (pass, name) => pass.get(`@babel/plugin-react-jsx/${name}`); | ||
@@ -24,0 +24,0 @@ const set = (pass, name, v) => pass.set(`@babel/plugin-react-jsx/${name}`, v); |
{ | ||
"name": "@babel/plugin-transform-react-jsx", | ||
"version": "7.24.7", | ||
"version": "7.25.2", | ||
"description": "Turn JSX into React function calls", | ||
@@ -22,5 +22,5 @@ "repository": { | ||
"@babel/helper-module-imports": "^7.24.7", | ||
"@babel/helper-plugin-utils": "^7.24.7", | ||
"@babel/helper-plugin-utils": "^7.24.8", | ||
"@babel/plugin-syntax-jsx": "^7.24.7", | ||
"@babel/types": "^7.24.7" | ||
"@babel/types": "^7.25.2" | ||
}, | ||
@@ -31,5 +31,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/core": "^7.25.2", | ||
"@babel/helper-plugin-test-runner": "^7.24.7", | ||
"@babel/traverse": "^7.24.7" | ||
"@babel/traverse": "^7.25.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
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
143903
Updated@babel/types@^7.25.2