Socket
Socket
Sign inDemoInstall

postcss-nesting

Package Overview
Dependencies
1
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.3 to 2.0.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 2.0.4 (2015-09-23)
- Updated: Map source raws
## 2.0.3 (2015-09-22)

@@ -2,0 +6,0 @@

@@ -15,2 +15,7 @@ var postcss = require('postcss');

function cleanNode(node) {
if (!('before' in node.raws)) node.raws.before = node.parent.raws.before || '';
if (!('after' in node.raws)) node.raws.after = node.parent.raws.after || '';
}
module.exports = postcss.plugin('postcss-nested', function (opts) {

@@ -30,3 +35,7 @@ var bubble = ['document', 'media', 'supports'];

var newrule = postcss.rule({
raws: atrule.raws
raws: {
before: atrule.raws.before,
between: atrule.raws.between,
after: atrule.raws.after
}
});

@@ -41,2 +50,4 @@

newrule.nodes.forEach(cleanNode);
transpileSelectors(rule, newrule);

@@ -54,2 +65,4 @@

newrule.nodes.forEach(cleanNode);
atrule.removeAll();

@@ -56,0 +69,0 @@

2

package.json
{
"name": "postcss-nesting",
"version": "2.0.3",
"version": "2.0.4",
"description": "Transpiles nested rules according to CSS Nesting Module Level 3",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc