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

postcss-tidy-columns

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-tidy-columns - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

22

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.3.2
* BUGIFX: Fixes an issue in the way Tidy Columns cloned nodes (#12)
## 0.3.1
* Updates tests and documentation (#10, #11)
## 0.3.0
* BREAKING CHANGE: `inherit` no longer supported in shorthand properties; use `none` instead.
* BREAKING CHANGE: `inherit` no longer supported in shorthand properties; use `none` instead (#9)
## 0.2.3
* BUGFIX: Fixes issues with sourcemapping.
* BUGFIX: Corrects `tidy-column` shorthand replacement for third `offset-right` property.
* BUGFIX: Fixes issues with sourcemapping (#7)
* BUGFIX: Corrects `tidy-column` shorthand replacement for third `offset-right` property (#6)
## 0.2.2
* BUGFIX: Corrects `tidy-column` shorthand matching and replacement.
* BUGFIX: Corrects `tidy-column` shorthand matching and replacement (#5)
## 0.2.1
* Removes unused dependency (`object-assign`).
* Removes unused dependency (`object-assign`) (#4)
## 0.2.0
* Adds support for CSS Custom Properties in `@tidy` rule values.
* Adds support for CSS Custom Properties in `@tidy` rule values (#3)
## 0.1.1
* BUGFIX: Locally-scoped options not longer pollute global options.
* BUGFIX: Locally-scoped options not longer pollute global options (#2)
## 0.1
* Initial release.
* Initial release

@@ -10,4 +10,5 @@ /**

module.exports = function cleanClone(node, overrides = {}) {
const cleaner = (node.nodes) ? { nodes: [] } : {};
// Clone the node with overrides.
const clonedNode = node.clone(Object.assign(overrides, { nodes: [] }));
const clonedNode = node.clone(Object.assign(overrides, cleaner));
// Clear raw formatting, which will be inherited upon insertion.

@@ -14,0 +15,0 @@ clonedNode.cleanRaws();

{
"name": "postcss-tidy-columns",
"version": "0.3.1",
"version": "0.3.2",
"description": "PostCSS plugin to manage column and margin alignment.",

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

@@ -26,3 +26,3 @@ # PostCSS Tidy Columns [![Build Status][ci-img]][ci] [![npm version][npmjs-img]][npmjs]

tidy-span: 3;
tidy-offset: 2;
tidy-offset-left: 2;
}

@@ -68,3 +68,3 @@ ```

The `tidy-span` property specifies the number of columns and adjacent column gaps the element should span.
The `tidy-span` property specifies the number of columns and adjacent column gaps the element should span. Supports positive and decimal values.

@@ -71,0 +71,0 @@ > #### Syntax

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