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

postcss-unique-selectors

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-unique-selectors - npm Package Compare versions

Comparing version

to
2.0.0

4

CHANGELOG.md

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

# 2.0.0
* Upgraded to PostCSS 5.
# 1.0.1

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

2

index.js

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

return function (css) {
css.eachRule(function (rule) {
css.walkRules(function (rule) {
rule.selector = uniqs(rule.selectors).sort(natural).join();

@@ -12,0 +12,0 @@ });

{
"name": "postcss-unique-selectors",
"version": "1.0.1",
"version": "2.0.0",
"description": "Ensure CSS selectors are unique.",

@@ -20,4 +20,4 @@ "main": "index.js",

"devDependencies": {
"tap-spec": "^2.2.2",
"tape": "^3.5.0"
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
},

@@ -33,5 +33,5 @@ "homepage": "https://github.com/ben-eb/postcss-unique-selectors",

"javascript-natural-sort": "^0.7.1",
"postcss": "^4.1.10",
"postcss": "^5.0.4",
"uniqs": "^2.0.0"
}
}