Socket
Socket
Sign inDemoInstall

postcss-reduce-transforms

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-reduce-transforms - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

CHANGELOG.md

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

# 1.0.3
* The `translate(tx, 0)` compression was changed from `translateX(tx)`
to `translate(tx)`.
# 1.0.2

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

4

dist/index.js

@@ -82,5 +82,5 @@ 'use strict';

if (node.value === 'translate' && node.nodes[2]) {
// translate(tx, 0) => translateX(tx)
// translate(tx, 0) => translate(tx)
if (parseFloat(node.nodes[2].value) === 0) {
node.value = 'translateX', node.nodes = [node.nodes[0]];
node.value = 'translate', node.nodes = [node.nodes[0]];
return false;

@@ -87,0 +87,0 @@ }

{
"name": "postcss-reduce-transforms",
"version": "1.0.2",
"version": "1.0.3",
"description": "Reduce transform functions 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