@babel/plugin-transform-react-inline-elements
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
{ | ||
"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 @@ ``` |
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
4851
+ Added@babel/code-frame@7.0.0-beta.33(transitive)
+ Added@babel/core@7.0.0-beta.33(transitive)
+ Added@babel/generator@7.0.0-beta.33(transitive)
+ Added@babel/helper-builder-react-jsx@7.0.0-beta.33(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.33(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.33(transitive)
+ Added@babel/helpers@7.0.0-beta.33(transitive)
+ Added@babel/template@7.0.0-beta.33(transitive)
+ Added@babel/traverse@7.0.0-beta.33(transitive)
+ Added@babel/types@7.0.0-beta.33(transitive)
+ Addedbabylon@7.0.0-beta.33(transitive)
- Removed@babel/code-frame@7.0.0-beta.32(transitive)
- Removed@babel/core@7.0.0-beta.32(transitive)
- Removed@babel/generator@7.0.0-beta.32(transitive)
- Removed@babel/helper-builder-react-jsx@7.0.0-beta.32(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.32(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.32(transitive)
- Removed@babel/helpers@7.0.0-beta.32(transitive)
- Removed@babel/template@7.0.0-beta.32(transitive)
- Removed@babel/traverse@7.0.0-beta.32(transitive)
- Removed@babel/types@7.0.0-beta.32(transitive)
- Removedbabylon@7.0.0-beta.32(transitive)