Comparing version 2.2.2 to 2.2.3
@@ -0,1 +1,4 @@ | ||
## 2.2.3 | ||
* Allow to use object shortcut in `use()` with functions like `autoprefixer`. | ||
## 2.2.2 | ||
@@ -2,0 +5,0 @@ * Add shortcut to set processors in `use()` via object with `.postcss` property. |
@@ -44,3 +44,4 @@ var Declaration = require('./declaration'); | ||
PostCSS.prototype.normalize = function(processor) { | ||
if ( typeof(processor) == 'object' && processor.postcss ) { | ||
var type = typeof(processor); | ||
if ( (type == 'object' || type == 'function') && processor.postcss ) { | ||
return processor.postcss; | ||
@@ -47,0 +48,0 @@ } else { |
{ | ||
"name": "postcss", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Framework for CSS postprocessors with full source map support", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "parser", "postproccessor", "source map"], |
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
103396
1715