Socket
Socket
Sign inDemoInstall

cssauron

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

14

index.js

@@ -259,2 +259,6 @@ module.exports = language

if(match.indexOf('not') === 0) {
return valid_not_match(options, match.slice(4, -1))
}
return function() {

@@ -265,2 +269,12 @@ return false

function valid_not_match(options, selector) {
var fn = parse(selector, options)
return not_function
function not_function(node) {
return !fn(node, true)
}
}
function valid_any_match(options, selector) {

@@ -267,0 +281,0 @@ var fn = parse(selector, options)

2

package.json
{
"name": "cssauron",
"version": "1.0.0",
"version": "1.1.0",
"description": "create matching selectors from css for your very own nested object hierarchy",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -26,2 +26,10 @@ # cssauron

It's easy to use with your favorite nested tree structures!
Delicious with HTML! Digestable with JSON!
| HTML | JSON | GLSL AST | JS AST (Esprima) |
|------|------|----------|------------------------|
| [cssauron-html](http://npm.im/cssauron-html) | [cssauron-json](http://npm.im/cssauron-json) | [cssauron-glsl](http://npm.im/cssauron-glsl) | [cssauron-falafel](http://npm.im/cssauron-falafel) |
# API

@@ -28,0 +36,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc