Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
78
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

10

package.json
{
"name": "@babel/plugin-transform-react-inline-elements",
"version": "7.0.0-beta.32",
"version": "7.0.0-beta.33",
"description": "Turn JSX elements into exploded React objects",

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

"dependencies": {
"@babel/helper-builder-react-jsx": "7.0.0-beta.32"
"@babel/helper-builder-react-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"
}
}

@@ -7,5 +7,5 @@ # @babel/plugin-transform-react-inline-elements

When used alongside `transform-runtime`, polyfills (by default including `Symbol`) are specifically scoped to not pollute the global scope. This breaks usage with React, as it won't have access to that polyfill and will cause your application to fail in legacy browsers.
When used alongside `@babel/plugin-transform-runtime`, polyfills (by default including `Symbol`) are specifically scoped to not pollute the global scope. This breaks usage with React, as it won't have access to that polyfill and will cause your application to fail in legacy browsers.
Even if `['transform-runtime', { helpers: true, polyfill: false }]` is specified, it might still break, since `helpers` come precompiled.
Even if `['@babel/plugin-transform-runtime', { helpers: true, polyfill: false }]` is specified, it might still break, since `helpers` come precompiled.

@@ -63,3 +63,3 @@ In this case, we recommend importing/requiring `@babel/polyfill` in the entry point of your application and using `@babel/preset-env` with the `useBuiltIns` option to only include the polyfills your targets need. Alternatively, you can also import/require `core-js/modules/es6.symbol` by itself.

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

@@ -71,3 +71,3 @@ ```

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

@@ -79,3 +79,3 @@

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

@@ -82,0 +82,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc