Socket
Socket
Sign inDemoInstall

postcss-nesting

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-nesting - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

CHANGELOG.md

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

## 2.0.2 (2015-09-16)
- Fixed: Issue where the new rule’s children were not mapped to the parent internally
## 2.0.1 (2015-09-16)

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

@@ -5,2 +5,11 @@ var bubble = ['document', 'media', 'supports'];

function normalizeNodes(node) {
var index = -1;
var child;
while (child = node.nodes[++index]) {
child.parent = node;
}
}
function transpileSelectors(fromRule, toRule) {

@@ -36,2 +45,4 @@ var selectors = [];

normalizeNodes(toRule);
parent.nodes.splice(++parent.nestedIndex, 0, toRule);

@@ -53,2 +64,4 @@ }

normalizeNodes(toRule);
atRule.nodes = [toRule];

@@ -55,0 +68,0 @@ atRule.parent = parent;

2

package.json
{
"name": "postcss-nesting",
"version": "2.0.1",
"version": "2.0.2",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc