postcss-js-mixins
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -57,3 +57,6 @@ 'use strict'; | ||
mixinArguments[name] = mixin.toString() | ||
.match(/(?:function)?\s?.*?\(([^)]*)\)/)[1] | ||
// Strip out quoted strings (stripping possible commas from parameters) | ||
.replace(/'((?:[^'\\])*)'|"((?:[^"\\])*)"/g, '') | ||
// Pull out parameters from function | ||
.match(/(?:function)?\s?.*?\s?\(([^)]*)\)/)[1] | ||
.split(',') | ||
@@ -60,0 +63,0 @@ .map(function(arg) { |
{ | ||
"name": "postcss-js-mixins", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "PostCSS plugin for custom mixin syntax", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16785
443