Socket
Socket
Sign inDemoInstall

postcss-normalize-whitespace

Package Overview
Dependencies
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-normalize-whitespace - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

2

package.json
{
"name": "postcss-normalize-whitespace",
"version": "5.1.0",
"version": "5.1.1",
"description": "Trim whitespace inside and around CSS rules & declarations.",

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

@@ -68,3 +68,2 @@ 'use strict';

node.value = node.value.replace(/\s*(\\9)\s*/, '$1');
const value = node.value;

@@ -83,2 +82,5 @@

if (node.prop.startsWith('--') && node.value === '') {
node.value = ' ';
}
// Remove extra semicolons and whitespace before the declaration

@@ -85,0 +87,0 @@ if (node.raws.before) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc