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

postcss-structure

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-structure - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

3

lib/index.js

@@ -46,2 +46,3 @@ 'use strict';

return function (css) {
var test = 0;
css.walkAtRules('structure', function (structureAtRule) {

@@ -57,3 +58,3 @@ structureAtRule.walkDecls(function (decl) {

css.walkAtRules('structure-media', function (mediaAtRule) {
mediaAtRule.walkRules(function (rule) {
mediaAtRule.each(function (rule) {
e.customStyles[mediaAtRule.params] = e.customStyles[mediaAtRule.params] || [];

@@ -60,0 +61,0 @@ e.customStyles[mediaAtRule.params].push(rule);

{
"name": "postcss-structure",
"version": "0.8.3",
"version": "0.8.4",
"description": "A PostCSS plugin to create CSS grids based on a fixed block width.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -19,2 +19,5 @@ const tests = {

background-color: plum;
& .custom-3 {
color: red;
}
}

@@ -81,3 +84,6 @@ }

.custom-1 {
background-color: plum
background-color: plum;
& .custom-3 {
color: red
}
}

@@ -84,0 +90,0 @@ .custom-2 {

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