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

fela-utils

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-utils - npm Package Compare versions

Comparing version 11.5.0-rc.0 to 11.5.0

5

es/generateCSSSelector.js
export default function generateCSSSelector(className) {
var pseudo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
var specificityPrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
var propertyPriority = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
return specificityPrefix + '.' + className + pseudo;
var classNameSelector = ('.' + className).repeat(propertyPriority);
return '' + specificityPrefix + classNameSelector + pseudo;
}

@@ -10,4 +10,7 @@ 'use strict';

var specificityPrefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
var propertyPriority = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
return specificityPrefix + '.' + className + pseudo;
var classNameSelector = ('.' + className).repeat(propertyPriority);
return '' + specificityPrefix + classNameSelector + pseudo;
}

4

package.json
{
"name": "fela-utils",
"version": "11.5.0-rc.0",
"version": "11.5.0",
"description": "Internal utilities for Fela",

@@ -27,3 +27,3 @@ "main": "lib/index.js",

},
"gitHead": "6d457d39e69e1471bddaea8591c50745f95070d9"
"gitHead": "dc183b4df113206c2d7b6f28901e63fef16c7b8c"
}
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