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

postcss-colormin

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-colormin - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.2.2
* Resolves an issue where the module would mangle the non-standard `composes`
property when consumed via css-loader.
# 2.2.1

@@ -2,0 +7,0 @@

4

dist/index.js

@@ -44,3 +44,3 @@ 'use strict';

}
if (/^(font|filter)/.test(decl.prop)) {
if (/^(composes|font|filter)/i.test(decl.prop)) {
return;

@@ -71,3 +71,3 @@ }

exports.default = _postcss2.default.plugin('postcss-colormin', function () {
var opts = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -74,0 +74,0 @@ return function (css) {

{
"name": "postcss-colormin",
"version": "2.2.1",
"version": "2.2.2",
"description": "Minify colors in your CSS files with PostCSS.",

@@ -27,3 +27,3 @@ "main": "dist/index.js",

"devDependencies": {
"ava": "^0.16.0",
"ava": "^0.17.0",
"babel-cli": "^6.3.17",

@@ -40,3 +40,3 @@ "babel-core": "^6.3.26",

"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^1.10.2"
"eslint-plugin-import": "^2.0.1"
},

@@ -43,0 +43,0 @@ "homepage": "https://github.com/ben-eb/postcss-colormin",

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