Socket
Socket
Sign inDemoInstall

stylelint-scss

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-scss - npm Package Compare versions

Comparing version 6.3.1 to 6.3.2

2

package.json
{
"name": "stylelint-scss",
"description": "A collection of SCSS-specific rules for Stylelint",
"version": "6.3.1",
"version": "6.3.2",
"author": "Krister Kari",

@@ -6,0 +6,0 @@ "repository": "stylelint-scss/stylelint-scss",

@@ -33,3 +33,4 @@ "use strict";

selector =>
selector.includes("&") && /.+&/.test(selector.replace(" ", ""))
selector.includes("&") &&
/\s*[^\s]+\s*&/.test(selector.replace(" ", ""))
);

@@ -36,0 +37,0 @@ }

@@ -448,3 +448,2 @@ "use strict";

// If the - is before a variable, than it's most likely an operator
if (after[0] === "$") {

@@ -456,2 +455,8 @@ if (isPrecedingOperator_) {

// e.g. prop: -$margin-offset;
if (isAtStart_) {
return "sign";
}
// If the - is before a variable, then it's most likely an operator
// console.log("-, op: -$var, NO other operator before")

@@ -458,0 +463,0 @@ return "op";

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc