postcss-pseudo-class-any-link
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,3 +1,11 @@ | ||
## 0.2.1 (2015-06-16) | ||
- Fixed: postcss-selector-parser is included as a dependency | ||
## 0.2.0 (2015-06-15) | ||
- Changed: use postcss-selector-parser | ||
## 0.1.1 (2015-06-14) | ||
Initial release |
{ | ||
"name": "postcss-pseudo-class-any-link", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Use the proposed :any-link pseudo-class in CSS", | ||
@@ -17,3 +17,4 @@ "keywords": ["postcss", "css", "postcss-plugin", "link", "visited", "any-link", "a", "area", "hyperlink", "href"], | ||
"dependencies": { | ||
"postcss": "^4.1.9" | ||
"postcss": "^4.1.9", | ||
"postcss-selector-parser": "^1.0.0" | ||
}, | ||
@@ -24,4 +25,3 @@ "devDependencies": { | ||
"gulp-eslint": "^0.12.0", | ||
"gulp-mocha": "^2.0.1", | ||
"postcss-selector-parser": "^1.0.0" | ||
"gulp-mocha": "^2.0.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
@@ -7,3 +7,3 @@ # PostCSS Pseudo-Class Any-Link [![Build Status][ci-img]][ci] | ||
`:any-link` simplifies selectors targeting links, since the naming of `:link` is misleading; it specifically means unvisited links only, rather than all links. | ||
`:any-link` simplifies selectors targeting links, as the naming of `:link` is misleading; it specifically means unvisited links only, rather than all links. | ||
@@ -85,4 +85,6 @@ ```css | ||
Here are a few other ways to simulate the effect of [PostCSS Pseudo-Class Any-Link]. | ||
```css | ||
/* Using @custom-selector; supported nowhere yet */ | ||
/* Use @custom-selector; supported nowhere yet */ | ||
@@ -93,7 +95,7 @@ @custom-selector :--any-link :link, :visited; | ||
/* Using :matches; supported in Firefox 4+, Chrome 12+, Opera 15+, Safari 5.1+ */ | ||
/* Use :matches; supported in Firefox 4+, Chrome 12+, Opera 15+, Safari 5.1+ */ | ||
:matches(:link, :visited) { /* ... */ } | ||
/* Using :link and :visited; supported everywhere */ | ||
/* Use :link and :visited; supported everywhere */ | ||
@@ -103,3 +105,3 @@ :link, :visited { /* ... */ } | ||
[`:any-link`]: http://http://dev.w3.org/csswg/selectors/#any-link-pseudo | ||
[`:any-link`]: http://dev.w3.org/csswg/selectors/#any-link-pseudo | ||
[`:link`]: http://dev.w3.org/csswg/selectors/#link-pseudo | ||
@@ -106,0 +108,0 @@ [`:visited`]: http://dev.w3.org/csswg/selectors/#visited-pseudo |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6572
4
111
2
+ Addedflatten@1.0.3(transitive)
+ Addedindexes-of@1.0.1(transitive)
+ Addedpostcss-selector-parser@1.3.3(transitive)
+ Addeduniq@1.0.1(transitive)