🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

postcss-discard-duplicates

Package Overview
Dependencies
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-discard-duplicates - npm Package Compare versions

Comparing version

to
7.0.1

4

package.json
{
"name": "postcss-discard-duplicates",
"version": "7.0.0",
"version": "7.0.1",
"description": "Discard duplicate rules in your CSS files with PostCSS.",

@@ -34,3 +34,3 @@ "main": "src/index.js",

"devDependencies": {
"postcss": "^8.4.38"
"postcss": "^8.4.40"
},

@@ -37,0 +37,0 @@ "peerDependencies": {

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

dedupeRule(last, nodes);
} else if (last.type === 'atrule' || last.type === 'decl') {
} else if ((last.type === 'atrule' && last.name !== 'layer') || last.type === 'decl') {
dedupeNode(last, nodes);

@@ -150,0 +150,0 @@ }

@@ -6,3 +6,3 @@ export = pluginCreator;

*/
declare function pluginCreator(): import('postcss').Plugin;
declare function pluginCreator(): import("postcss").Plugin;
declare namespace pluginCreator {

@@ -9,0 +9,0 @@ let postcss: true;