Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss

Package Overview
Dependencies
Maintainers
1
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

3

ChangeLog.md

@@ -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.

3

lib/postcss.js

@@ -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"],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc