Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-js-mixins

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-js-mixins - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

5

index.js

@@ -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) {

2

package.json
{
"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",

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