Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-pseudo-class-any-link

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-pseudo-class-any-link - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

8

CHANGELOG.md

@@ -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

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc