postcss-nested
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -271,3 +271,6 @@ const { Rule, AtRule } = require('postcss') | ||
module.exports = (opts = {}) => { | ||
let bubble = atruleNames(['media', 'supports', 'layer'], opts.bubble) | ||
let bubble = atruleNames( | ||
['media', 'supports', 'layer', 'container'], | ||
opts.bubble | ||
) | ||
let atruleChilds = createFnAtruleChilds(bubble) | ||
@@ -274,0 +277,0 @@ let unwrap = atruleNames( |
{ | ||
"name": "postcss-nested", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "PostCSS plugin to unwrap nested rules like how Sass does it", | ||
@@ -26,4 +26,4 @@ "keywords": [ | ||
"dependencies": { | ||
"postcss-selector-parser": "^6.0.10" | ||
"postcss-selector-parser": "^6.0.11" | ||
} | ||
} |
@@ -7,3 +7,3 @@ # PostCSS Nested | ||
[PostCSS] plugin to unwrap nested rules like how Sass does it. | ||
[PostCSS] plugin to unwrap nested rules closer to Sass syntax. | ||
@@ -63,4 +63,2 @@ ```css | ||
* Use [`postcss-atroot`] for `@at-root` at-rule to move nested child | ||
to the CSS root. | ||
* Use [`postcss-current-selector`] **after** this plugin if you want | ||
@@ -73,4 +71,3 @@ to use current selector in properties or variables values. | ||
* See also [`postcss-nesting`], which implements [CSSWG draft] | ||
(requires the `&` and introduces `@nest`). | ||
* See also [`postcss-nesting`], which implements [CSSWG draft]. | ||
* [`postcss-nested-props`] for nested properties like `font-size`. | ||
@@ -83,3 +80,2 @@ | ||
[`postcss-atroot`]: https://github.com/OEvgeny/postcss-atroot | ||
[`postcss-current-selector`]: https://github.com/komlev/postcss-current-selector | ||
@@ -94,2 +90,2 @@ [`postcss-nested-ancestors`]: https://github.com/toomuchdesign/postcss-nested-ancestors | ||
## Docs | ||
Read **[full docs](https://github.com/postcss/postcss-nested#readme)** on GitHub. | ||
Read full docs **[here](https://github.com/postcss/postcss-nested#readme)**. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
362
0
13948
87