Socket
Socket
Sign inDemoInstall

stylelint-scss

Package Overview
Dependencies
Maintainers
1
Versions
109
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 1.2.0 to 1.2.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.2.1
- Fixed: `at-function-pattern`, `at-mixin-pattern` failing if there are parens inside a parameters list.
# 1.2.0

@@ -2,0 +6,0 @@

2

dist/rules/at-function-pattern/index.js

@@ -26,3 +26,3 @@ "use strict";

// Stripping the function of its arguments
var funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "");
var funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "");
if (regexpPattern.test(funcName)) {

@@ -29,0 +29,0 @@ return;

@@ -26,3 +26,3 @@ "use strict";

// Stripping the mixin of its arguments
var mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "");
var mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "");
if (regexpPattern.test(mixinName)) {

@@ -29,0 +29,0 @@ return;

{
"name": "stylelint-scss",
"description": "A collection of SCSS specific rules for stylelint",
"version": "1.2.0",
"version": "1.2.1",
"author": "Krister Kari",

@@ -6,0 +6,0 @@ "babel": {

@@ -27,3 +27,3 @@ import { isRegExp, isString } from "lodash"

// Stripping the function of its arguments
const funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "")
const funcName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "")
if (regexpPattern.test(funcName)) { return }

@@ -30,0 +30,0 @@

@@ -27,3 +27,3 @@ import { isRegExp, isString } from "lodash"

// Stripping the mixin of its arguments
const mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*?\)/g, "")
const mixinName = decl.params.replace(/(\s*?)\((?:\s|\S)*\)/g, "")
if (regexpPattern.test(mixinName)) { return }

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