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

postcss-minify-gradients

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-gradients - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -0,3 +1,7 @@

# 1.0.1
* Reduce function iterations (thanks to @TrySound).
# 1.0.0
* Initial release.

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

if (node.value === 'linear-gradient' || node.value === 'repeating-linear-gradient' || node.value === '-webkit-linear-gradient' || node.value === '-webkit-repeating-linear-gradient') {
(function () {
var _ret = (function () {
var args = getArguments(node);

@@ -76,6 +76,11 @@ if (node.nodes[0].value === 'to' && args[0].length === 3) {

});
return {
v: false
};
})();
if (typeof _ret === 'object') return _ret.v;
}
if (node.value === 'radial-gradient' || node.value === 'repeating-radial-gradient' || node.value === '-webkit-radial-gradient' || node.value === '-webkit-repeating-radial-gradient') {
(function () {
var _ret2 = (function () {
var args = getArguments(node);

@@ -97,3 +102,8 @@ var lastStop = undefined;

});
return {
v: false
};
})();
if (typeof _ret2 === 'object') return _ret2.v;
}

@@ -100,0 +110,0 @@ }).toString();

2

package.json
{
"name": "postcss-minify-gradients",
"version": "1.0.0",
"version": "1.0.1",
"description": "Minify gradient parameters with PostCSS.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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