Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-react-jsx

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-react-jsx - npm Package Compare versions

Comparing version 7.0.0-beta.32 to 7.0.0-beta.33

12

package.json
{
"name": "@babel/plugin-transform-react-jsx",
"version": "7.0.0-beta.32",
"version": "7.0.0-beta.33",
"description": "Turn JSX into React function calls",

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

"dependencies": {
"@babel/helper-builder-react-jsx": "7.0.0-beta.32",
"@babel/plugin-syntax-jsx": "7.0.0-beta.32"
"@babel/helper-builder-react-jsx": "7.0.0-beta.33",
"@babel/plugin-syntax-jsx": "7.0.0-beta.33"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.32"
"@babel/core": "7.0.0-beta.33"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.32",
"@babel/helper-plugin-test-runner": "7.0.0-beta.32"
"@babel/core": "7.0.0-beta.33",
"@babel/helper-plugin-test-runner": "7.0.0-beta.33"
}
}

@@ -135,3 +135,3 @@ # @babel/plugin-transform-react-jsx

{
"plugins": ["@babel/transform-react-jsx"]
"plugins": ["@babel/plugin-transform-react-jsx"]
}

@@ -145,3 +145,3 @@ ```

"plugins": [
["@babel/transform-react-jsx", {
["@babel/plugin-transform-react-jsx", {
"pragma": "dom", // default pragma is React.createElement

@@ -158,3 +158,3 @@ "pragmaFrag": "DomFrag", // default is React.Fragment

```sh
babel --plugins @babel/transform-react-jsx script.js
babel --plugins @babel/plugin-transform-react-jsx script.js
```

@@ -166,3 +166,3 @@

require("@babel/core").transform("code", {
plugins: ["@babel/transform-react-jsx"]
plugins: ["@babel/plugin-transform-react-jsx"]
});

@@ -169,0 +169,0 @@ ```

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