Socket
Socket
Sign inDemoInstall

stylecow-plugin-nested-rules

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylecow-plugin-nested-rules - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

4

index.js

@@ -54,6 +54,2 @@ module.exports = function (stylecow) {

});
if (!parentMedia.getChild('Block').length) {
parentRule.remove();
}
}

@@ -60,0 +56,0 @@ });

2

package.json
{
"name": "stylecow-plugin-nested-rules",
"description": "Stylecow plugin to add support for nested rules.",
"version": "4.2.0",
"version": "4.2.1",
"author": "Oscar Otero <oom@oscarotero.com>",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/stylecow/stylecow-plugin-nested-rules",

@@ -275,2 +275,85 @@ {

"class": "Number",
"name": 500
}
]
}
]
}
]
}
]
},
{
"class": "Keyword",
"name": "and"
},
{
"class": "ConditionalExpression",
"children": [
{
"class": "ConditionalExpression",
"children": [
{
"class": "ConditionalFeature",
"name": "max-width",
"vendor": null,
"children": [
{
"class": "Value",
"children": [
{
"class": "Unit",
"name": "px",
"children": [
{
"class": "Number",
"name": 501
}
]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"class": "Block",
"children": []
}
]
},
{
"class": "Media",
"name": "media",
"children": [
{
"class": "MediaQueries",
"children": [
{
"class": "MediaQuery",
"children": [
{
"class": "ConditionalExpression",
"children": [
{
"class": "ConditionalFeature",
"name": "min-width",
"vendor": null,
"children": [
{
"class": "Value",
"children": [
{
"class": "Unit",
"name": "px",
"children": [
{
"class": "Number",
"name": 700

@@ -277,0 +360,0 @@ }

Sorry, the diff of this file is not supported yet

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