fela-utils
Advanced tools
Comparing version 11.5.1 to 11.5.2
@@ -5,5 +5,6 @@ import arrayReduce from 'fast-loops/lib/arrayReduce'; | ||
var props = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; | ||
var plugins = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : renderer.plugins; | ||
if (renderer.plugins.length > 0) { | ||
return arrayReduce(renderer.plugins, function (processedStyle, plugin) { | ||
if (plugins.length > 0) { | ||
return arrayReduce(plugins, function (processedStyle, plugin) { | ||
return plugin(processedStyle, type, renderer, props); | ||
@@ -10,0 +11,0 @@ }, style); |
@@ -16,5 +16,6 @@ 'use strict'; | ||
var props = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; | ||
var plugins = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : renderer.plugins; | ||
if (renderer.plugins.length > 0) { | ||
return (0, _arrayReduce2.default)(renderer.plugins, function (processedStyle, plugin) { | ||
if (plugins.length > 0) { | ||
return (0, _arrayReduce2.default)(plugins, function (processedStyle, plugin) { | ||
return plugin(processedStyle, type, renderer, props); | ||
@@ -21,0 +22,0 @@ }, style); |
{ | ||
"name": "fela-utils", | ||
"version": "11.5.1", | ||
"version": "11.5.2", | ||
"description": "Internal utilities for Fela", | ||
@@ -27,3 +27,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "a830cf6358d33bd27b1389e826e59ad8ce6981c6" | ||
"gitHead": "b73826bbc7e77289bec55f344e0e9a22f5700bfd" | ||
} |
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
27306
554