Socket
Socket
Sign inDemoInstall

stylelint-scss

Package Overview
Dependencies
Maintainers
2
Versions
110
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 2.3.0 to 2.4.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.4.0
- Added: support for stylelint version 9.
- Fixed: `dollar-variable-colon-newline-after` now allows multiline variables when `always` option is used.
# 2.3.0

@@ -2,0 +7,0 @@

@@ -24,2 +24,11 @@ "use strict";

if (expectation === "always") {
var value = decl.value.trim();
var isMultilineVar = value[0] === "(" && value[value.length - 1] === ")" && !(0, _utils.isSingleLineString)(value);
if (isMultilineVar) {
return;
}
}
// Get the raw $var, and only that

@@ -26,0 +35,0 @@ var endOfPropIndex = (0, _utils.declarationValueIndex)(decl) + decl.raw("between").length - 1;

4

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

@@ -45,3 +45,3 @@ "babel": {

"peerDependencies": {
"stylelint": "^8.0.0"
"stylelint": "^8.0.0 || ^9.0.0"
},

@@ -48,0 +48,0 @@ "engines": {

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