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

postcss-sorting

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-sorting - npm Package Versions

124

1.7.0

Diff

Changelog

Source

1.7.0

  • Added smacss and alphabetical predefined configs.
  • Under the hood refactoring.
hudochenkov
published 1.6.1 •

Changelog

Source

1.6.1

  • Fixed a regression in 1.6.0. Sort order with item like @include media didn't found rules like @include media(">=desk") {}.
hudochenkov
published 1.6.0 •

Changelog

Source

1.6.0

  • Add special comments to disable processing for some part in stylesheet
  • Support custom properties as $variable #27
  • Fix an issue when there is a lot of comments in the end of a rule #24
  • At-rule parameter now supports parentheses. For example, @include mwp(1). (thanks, @Redknife) #29
hudochenkov
published 1.5.0 •

Changelog

Source

1.5.0

  • Add empty-lines-before-comment and empty-lines-after-comment, which add empty lines before and after a comment or a group of comments.
hudochenkov
published 1.4.1 •

Changelog

Source

1.4.1

  • Fix issue with a rule content starting with a comment and follow by a rule. Error happens if config has any option except sort-order. #21
hudochenkov
published 1.4.0 •

Changelog

Source

1.4.0

  • Added preserve-empty-lines-between-children-rules, which preserve empty lines between children rules and preserve empty lines for comments between children rules. #20
hudochenkov
published 1.3.1 •

Changelog

Source

1.3.1

  • Fix adding additional empty line if both empty-lines-between-children-rules and empty-lines-between-media-rules are not 0. #19
hudochenkov
published 1.3.0 •

Changelog

Source

1.3.0

  • Added empty-lines-between-media-rules option which set a number of empty lines between nested media rules. #16
hudochenkov
published 1.2.3 •

Changelog

Source

1.2.3

  • Fixed removing last comments in the rule.
  • Fixed adding empty lines between children rules if there are comments between them.
hudochenkov
published 1.2.2 •

Changelog

Source

1.2.2

  • Fixed removing comments in rule if they are only children.
  • Fixed removing of the first comment in the rule if it's not on separate line.
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