Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-transform-react-constant-elements

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-react-constant-elements - npm Package Compare versions

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

8

package.json
{
"name": "@babel/plugin-transform-react-constant-elements",
"version": "7.0.0-beta.32",
"version": "7.0.0-beta.33",
"description": "Treat React JSX elements as value types and hoist them to the highest scope",

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

"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"
}
}

@@ -65,3 +65,3 @@ # @babel/plugin-transform-react-constant-elements

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

@@ -84,3 +84,3 @@ ```

"plugins": [
["@babel/transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}],
["@babel/plugin-transform-react-constant-elements", {"allowMutablePropsOnTags": ["FormattedMessage"]}],
]

@@ -94,3 +94,3 @@ }

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

@@ -102,3 +102,3 @@

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

@@ -105,0 +105,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