Socket
Socket
Sign inDemoInstall

postcss-nested

Package Overview
Dependencies
7
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.1.1

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 4.1.1
* Add `&(:hover)` support (by Ben Delarre).
## 4.1

@@ -5,0 +8,0 @@ * Add `unwrap` option.

@@ -17,3 +17,8 @@ var postcss = require('postcss')

if (i.type === 'nesting') {
i.replaceWith(parent.clone())
var clonedParent = parent.clone()
if (i.value !== '&') {
i.replaceWith(parse(i.value.replace('&', clonedParent.toString())))
} else {
i.replaceWith(clonedParent)
}
replaced = true

@@ -20,0 +25,0 @@ } else if (i.nodes) {

6

package.json
{
"name": "postcss-nested",
"version": "4.1.0",
"version": "4.1.1",
"description": "PostCSS plugin to unwrap nested rules like how Sass does it",

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

"dependencies": {
"postcss": "^7.0.2",
"postcss-selector-parser": "^3.1.1"
"postcss": "^7.0.6",
"postcss-selector-parser": "^5.0.0-rc.4"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc