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.3.0 to 1.0.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.0.0 (2015-09-01)
- Updated: PostCSS 5
- Updated: Develop dependencies
- Updated: ESLint configuration
## 0.3.0 (2015-06-16)

@@ -2,0 +8,0 @@

6

index.js

@@ -10,3 +10,3 @@ var postcss = require('postcss');

// for each rule
css.eachRule(function (rule) {
css.walkRules(function (rule) {
// update the selector

@@ -25,3 +25,3 @@ rule.selector = postcssSelectorParser(function (selectors) {

// for each selector
while ((selector = selectors.nodes[++selectorIndex])) {
while (selector = selectors.nodes[++selectorIndex]) {
// reset the node index

@@ -31,3 +31,3 @@ nodeIndex = -1;

// for each node
while ((node = selector.nodes[++nodeIndex])) {
while (node = selector.nodes[++nodeIndex]) {
// if the node value matches the any-link value

@@ -34,0 +34,0 @@ if (node.value === valueAnyLink) {

{
"name": "postcss-pseudo-class-any-link",
"version": "0.3.0",
"version": "1.0.0",
"description": "Use the proposed :any-link pseudo-class in CSS",

@@ -17,10 +17,10 @@ "keywords": ["postcss", "css", "postcss-plugin", "link", "visited", "any-link", "a", "area", "hyperlink", "href"],

"dependencies": {
"postcss": "^4.1.9",
"postcss-selector-parser": "^1.0.0"
"postcss": "^5.0.3",
"postcss-selector-parser": "^1.1.4"
},
"devDependencies": {
"chai": "^2.3.0",
"gulp": "^3.8.11",
"gulp-eslint": "^0.12.0",
"gulp-mocha": "^2.0.1"
"chai": "^3.2.0",
"gulp": "^3.9.0",
"gulp-eslint": "^1.0.0",
"gulp-mocha": "^2.1.3"
},

@@ -27,0 +27,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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