babel-plugin-transform-class-properties
Advanced tools
Comparing version 7.0.0-alpha.18 to 7.0.0-alpha.19
@@ -66,10 +66,10 @@ "use strict"; | ||
var _path2 = _ref4; | ||
var _path = _ref4; | ||
if (_path2.isClassProperty()) { | ||
props.push(_path2); | ||
} else if (_path2.isClassMethod({ | ||
if (_path.isClassProperty()) { | ||
props.push(_path); | ||
} else if (_path.isClassMethod({ | ||
kind: "constructor" | ||
})) { | ||
constructor = _path2; | ||
constructor = _path; | ||
} | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "babel-plugin-transform-class-properties", | ||
"version": "7.0.0-alpha.18", | ||
"version": "7.0.0-alpha.19", | ||
"description": "This plugin transforms static class properties as well as properties declared with the property initializer syntax", | ||
@@ -12,9 +12,9 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-class-properties", | ||
"dependencies": { | ||
"babel-helper-function-name": "7.0.0-alpha.18", | ||
"babel-plugin-syntax-class-properties": "7.0.0-alpha.18", | ||
"babel-template": "7.0.0-alpha.18" | ||
"babel-helper-function-name": "7.0.0-alpha.19", | ||
"babel-plugin-syntax-class-properties": "7.0.0-alpha.19", | ||
"babel-template": "7.0.0-alpha.19" | ||
}, | ||
"devDependencies": { | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.18" | ||
"babel-helper-plugin-test-runner": "7.0.0-alpha.19" | ||
} | ||
} |
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
9203
+ Addedbabel-code-frame@7.0.0-alpha.19(transitive)
+ Addedbabel-helper-function-name@7.0.0-alpha.19(transitive)
+ Addedbabel-helper-get-function-arity@7.0.0-alpha.19(transitive)
+ Addedbabel-messages@7.0.0-alpha.19(transitive)
+ Addedbabel-plugin-syntax-class-properties@7.0.0-alpha.19(transitive)
+ Addedbabel-template@7.0.0-alpha.19(transitive)
+ Addedbabel-traverse@7.0.0-alpha.19(transitive)
+ Addedbabel-types@7.0.0-alpha.19(transitive)
- Removedbabel-code-frame@7.0.0-alpha.18(transitive)
- Removedbabel-helper-function-name@7.0.0-alpha.18(transitive)
- Removedbabel-helper-get-function-arity@7.0.0-alpha.18(transitive)
- Removedbabel-messages@7.0.0-alpha.18(transitive)
- Removedbabel-plugin-syntax-class-properties@7.0.0-alpha.18(transitive)
- Removedbabel-template@7.0.0-alpha.18(transitive)
- Removedbabel-traverse@7.0.0-alpha.18(transitive)
- Removedbabel-types@7.0.0-alpha.18(transitive)