fela-plugin-extend
Advanced tools
Comparing version 10.2.2 to 10.2.3
@@ -26,5 +26,4 @@ import objectEach from 'fast-loops/lib/objectEach'; | ||
// extend conditional style objects | ||
if (extension && Object.prototype.hasOwnProperty.call(extension, 'condition')) { | ||
if (extension.hasOwnProperty('condition')) { | ||
if (extension.condition) { | ||
// eslint-disable-next-line no-use-before-define | ||
assignStyle(style, extend(extension.style)); | ||
@@ -34,3 +33,3 @@ } | ||
// extend basic style objects | ||
assignStyle(style, removeUndefined(extend(extension))); | ||
assignStyle(style, removeUndefined(extension)); | ||
} | ||
@@ -37,0 +36,0 @@ } |
@@ -46,5 +46,4 @@ 'use strict'; | ||
// extend conditional style objects | ||
if (extension && Object.prototype.hasOwnProperty.call(extension, 'condition')) { | ||
if (extension.hasOwnProperty('condition')) { | ||
if (extension.condition) { | ||
// eslint-disable-next-line no-use-before-define | ||
(0, _assignStyle2.default)(style, extend(extension.style)); | ||
@@ -54,3 +53,3 @@ } | ||
// extend basic style objects | ||
(0, _assignStyle2.default)(style, removeUndefined(extend(extension))); | ||
(0, _assignStyle2.default)(style, removeUndefined(extension)); | ||
} | ||
@@ -57,0 +56,0 @@ } |
{ | ||
"name": "fela-plugin-extend", | ||
"version": "10.2.2", | ||
"version": "10.2.3", | ||
"description": "Fela plugin to extend style objects", | ||
@@ -29,6 +29,6 @@ "main": "lib/index.js", | ||
"fast-loops": "^1.0.0", | ||
"fela-utils": "^10.2.2", | ||
"fela-utils": "^10.2.3", | ||
"isobject": "^3.0.1" | ||
}, | ||
"gitHead": "b3f7f53c5697e2c318d0490527e21852984242b9" | ||
"gitHead": "4edeeffc5be2e05473a52c24523dbebcd9e0ef0d" | ||
} |
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
7530
103
Updatedfela-utils@^10.2.3