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 Compare versions

Comparing version 1.2.1 to 1.2.2

CHANGELOG.md

10

index.js

@@ -187,2 +187,6 @@ var postcss = require('postcss');

if (node.type === 'comment') {
if (index === 0 && node.raws.before.indexOf('\n') === -1) {
processed.push(node);
}
return;

@@ -226,4 +230,6 @@ }

rule.removeAll();
rule.append(processed);
if (processed.length) {
rule.removeAll();
rule.append(processed);
}

@@ -230,0 +236,0 @@ // Remove all empty lines and add empty lines between groups

3

package.json
{
"name": "postcss-sorting",
"version": "1.2.1",
"version": "1.2.2",
"description": "PostCSS plugin to sort rules content with specified order.",

@@ -25,2 +25,3 @@ "keywords": [

"eslint": "^1.10.2",
"postcss-less": "^0.2.0",
"postcss-scss": "^0.1.5"

@@ -27,0 +28,0 @@ },

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