Socket
Socket
Sign inDemoInstall

postcss-nested

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-nested - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 2.0.4
* Fix finding `&` in some selectors (by Stepan Mikhaylyuk).
## 2.0.3

@@ -5,0 +8,0 @@ * Doesn’t replace `&` inside string (by Paul Kiddle).

4

index.js

@@ -6,4 +6,4 @@ var postcss = require('postcss');

var replaced = false;
selector.walkNesting(function (ampersand) {
var nestingNodes = selector.nodes.filter(node => node.type === 'nesting');
nestingNodes.forEach(ampersand => {
ampersand.replaceWith(parent.clone());

@@ -10,0 +10,0 @@ replaced = true;

{
"name": "postcss-nested",
"version": "2.0.3",
"version": "2.0.4",
"description": "PostCSS plugin to unwrap nested rules like how Sass does it.",

@@ -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