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

postcss-minify-params

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-minify-params - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

CHANGELOG.md

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

# 1.2.2
* Resolves an issue where `all and` would be removed from
`@media not all and (conditions) {}`, causing an invalid media query to
be output.
# 1.2.1

@@ -2,0 +8,0 @@

7

dist/index.js

@@ -76,3 +76,8 @@ var postcss = require('postcss');

} else if (node.type === 'word') {
if (node.value === 'all' && rule.name === 'media') {
var prevWord = params.nodes[index - 2];
if (
node.value === 'all' &&
rule.name === 'media' &&
!prevWord
) {
var nextSpace = params.nodes[index + 1];

@@ -79,0 +84,0 @@ var nextWord = params.nodes[index + 2];

2

package.json
{
"name": "postcss-minify-params",
"version": "1.2.1",
"version": "1.2.2",
"description": "Minify at-rule params with PostCSS",

@@ -5,0 +5,0 @@ "keywords": [

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