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

postcss-minify-selectors

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-selectors - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.4.3
* Fixed an issue where `.from` was transformed to `0%`.
# 1.4.2

@@ -2,0 +6,0 @@

4

index.js

@@ -70,4 +70,4 @@ 'use strict';

// Minimise from/100%
if (selector.value === 'from') { selector.value = '0%'; }
if (selector.value === '100%') { selector.value = 'to'; }
if (selector.value === 'from' && selector.type === 'tag') { selector.value = '0%'; }
if (selector.value === '100%' && selector.type === 'tag') { selector.value = 'to'; }
if (selector.type === 'combinator') {

@@ -74,0 +74,0 @@ var value = selector.value.trim();

{
"name": "postcss-minify-selectors",
"version": "1.4.2",
"version": "1.4.3",
"description": "Minify selectors with PostCSS.",

@@ -5,0 +5,0 @@ "main": "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