babel-plugin-transform-react-jsx
Advanced tools
Comparing version 6.23.0 to 7.0.0-alpha.1
@@ -5,6 +5,2 @@ "use strict"; | ||
var _getIterator2 = require("babel-runtime/core-js/get-iterator"); | ||
var _getIterator3 = _interopRequireDefault(_getIterator2); | ||
exports.default = function (_ref) { | ||
@@ -35,3 +31,3 @@ var t = _ref.types; | ||
for (var _iterator = file.ast.comments, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) { | ||
for (var _iterator = file.ast.comments, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { | ||
var _ref2; | ||
@@ -84,4 +80,2 @@ | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
module.exports = exports["default"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "babel-plugin-transform-react-jsx", | ||
"version": "6.23.0", | ||
"version": "7.0.0-alpha.1", | ||
"description": "Turn JSX into React function calls", | ||
@@ -12,9 +12,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx", | ||
"dependencies": { | ||
"babel-runtime": "^6.22.0", | ||
"babel-helper-builder-react-jsx": "^6.23.0", | ||
"babel-plugin-syntax-jsx": "^6.8.0" | ||
"babel-helper-builder-react-jsx": "7.0.0-alpha.1", | ||
"babel-plugin-syntax-jsx": "7.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"babel-helper-plugin-test-runner": "^6.22.0" | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.1" | ||
} | ||
} |
@@ -67,8 +67,13 @@ # babel-plugin-transform-react-jsx | ||
```js | ||
// without options | ||
Without options: | ||
```json | ||
{ | ||
"plugins": ["transform-react-jsx"] | ||
} | ||
// with options | ||
``` | ||
With options: | ||
```json | ||
{ | ||
@@ -75,0 +80,0 @@ "plugins": [ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2
116
4562
60
2
+ Addedbabel-helper-builder-react-jsx@7.0.0-alpha.1(transitive)
+ Addedbabel-plugin-syntax-jsx@7.0.0-alpha.1(transitive)
+ Addedbabel-types@7.0.0-alpha.1(transitive)
- Removedbabel-runtime@^6.22.0
- Removedbabel-helper-builder-react-jsx@6.26.0(transitive)
- Removedbabel-plugin-syntax-jsx@6.18.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)