New:Socket for Asana Is Now Available.Learn more
Get Started

postcss-discard-empty

Package Overview
Dependencies
Maintainers
8
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-discard-empty - npm Package Compare versions

Comparing version
8.0.3
to
8.0.4
+2
-2
package.json
{
"name": "postcss-discard-empty",
"version": "8.0.3",
"version": "8.0.4",
"description": "Discard empty rules and values with PostCSS.",

@@ -38,3 +38,3 @@ "exports": {

"type": "git",
"url": "cssnano/cssnano"
"url": "git+https://github.com/cssnano/cssnano.git"
},

@@ -41,0 +41,0 @@ "bugs": {

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

/** @type {(import('postcss').ChildNode | import('postcss').ChildProps)[] | undefined} */
const sub = /** @type {any} */ (node).nodes;
const sub = /** @type {import('postcss').Container} */ (node).nodes;
if (sub) {

@@ -19,0 +19,0 @@ /** @type {import('postcss').Container} */ (node).each(discardEmpty);