Comparing version 0.5.0 to 0.5.1
@@ -179,9 +179,7 @@ 'use strict'; | ||
if (setCount > 0) { | ||
(function () { | ||
var transformedOutput = _this.adapter.transform(styleName, toTransform); | ||
var transformedOutput = this.adapter.transform(styleName, toTransform); | ||
Object.keys(transformedOutput).forEach(function (setName) { | ||
output[setName] = _this.validateTransform(styleName, setName, transformedOutput[setName]); | ||
}); | ||
})(); | ||
Object.keys(transformedOutput).forEach(function (setName) { | ||
output[setName] = _this.validateTransform(styleName, setName, transformedOutput[setName]); | ||
}); | ||
} | ||
@@ -188,0 +186,0 @@ |
@@ -39,4 +39,4 @@ 'use strict'; | ||
_createClass(ClassNameAdapter, [{ | ||
key: 'transformStyles', | ||
value: function transformStyles(styleName, declarations) { | ||
key: 'transform', | ||
value: function transform(styleName, declarations) { | ||
var classNames = {}; | ||
@@ -43,0 +43,0 @@ |
{ | ||
"name": "aesthetic", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Abstract library to support a range of styling options for React components.", | ||
@@ -17,3 +17,3 @@ "keywords": [ | ||
"dependencies": { | ||
"aesthetic-utils": "^0.4.0", | ||
"aesthetic-utils": "^0.4.1", | ||
"hoist-non-react-statics": "^1.2.0", | ||
@@ -20,0 +20,0 @@ "lodash.merge": "^4.6.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
54221
649
Updatedaesthetic-utils@^0.4.1