Socket
Socket
Sign inDemoInstall

stylelint-order

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-order - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

3

CHANGELOG.md

@@ -5,2 +5,5 @@ # Change Log

## 0.4.1
* Fixed `properties-order` bug, when non-standard declaration is following after a standard one
## 0.4.0

@@ -7,0 +10,0 @@ * Removed `declaration-block-properties-specified-order`. Instead use `properties-order` rule.

2

package.json
{
"name": "stylelint-order",
"version": "0.4.0",
"version": "0.4.1",
"description": "A collection of order related linting rules for stylelint.",

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

@@ -99,3 +99,8 @@ 'use strict';

if (child.type !== 'decl') {
// current node should be a standard declaration
if (
child.type !== 'decl'
|| !utils.isStandardSyntaxProperty(nodeData.node.prop)
|| utils.isCustomProperty(nodeData.node.prop)
) {
return;

@@ -102,0 +107,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