Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-nested

Package Overview
Dependencies
Maintainers
1
Versions
39
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 4.2.0 to 4.2.1

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 4.2.1
* Fix TypeScript definitions (by Avi Vahl).
## 4.2

@@ -5,0 +8,0 @@ * Add `@at-root` support (by Jason Quense).

@@ -0,9 +1,30 @@

// Original definitions (@types/postcss-nested) by Maxim Vorontsov <https://github.com/VorontsovMaxim>
import { Plugin } from 'postcss';
interface Options {
bubble?: string[];
unwrap?: string[];
preserveEmpty?: boolean;
declare namespace nested {
interface Options {
/**
* By default, plugin will bubble only @media and @supports at-rules.
* You can add your custom at-rules to this list by this option.
*/
bubble?: string[];
/**
* By default, plugin will unwrap only @font-face, @keyframes and @document at-rules.
* You can add your custom at-rules to this list by this option.
*/
unwrap?: string[];
/**
* By default, plugin will strip out any empty selector generated by intermediate nesting
* levels. You can set this option to true to preserve them.
*/
preserveEmpty?: boolean;
}
type Nested = Plugin<Options>;
}
export default function(options?: Options): Plugin<any>;
declare const nested: nested.Nested;
export = nested;

2

package.json
{
"name": "postcss-nested",
"version": "4.2.0",
"version": "4.2.1",
"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