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

fela-utils

Package Overview
Dependencies
Maintainers
1
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 7.0.0 to 7.0.1

4

es/clusterCache.js

@@ -49,4 +49,6 @@ var _handlers;

var mediaQueryOrder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
var ruleIdentifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
var mediaRules = applyMediaRulesInOrder(mediaQueryOrder);
var withRuleIdentifier = ruleIdentifier > 0 ? '/*::' + ruleIdentifier + '#*/' : '';

@@ -66,4 +68,4 @@ return objectReduce(cache, function (cluster, entry, key) {

keyframes: '',
rules: ''
rules: withRuleIdentifier
});
}

@@ -5,5 +5,8 @@ import arrayReduce from './arrayReduce';

return arrayReduce(passThrough, function (output, property) {
output[property] = ruleProps[property];
if (ruleProps.hasOwnProperty(property)) {
output[property] = ruleProps[property];
}
return output;
}, {});
}

@@ -15,3 +15,4 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var mergableStatics = ['childContextTypes', 'contextTypes', 'defaultProps', 'propTypes'];
var mergableStatics = ['contextTypes', 'defaultProps'];
var blockedStatics = { childContextTypes: true, propTypes: true };

@@ -28,3 +29,3 @@ export default function hoistStatics(target, source) {

arrayEach(statics, function (property) {
if (!target.hasOwnProperty(property)) {
if (!target.hasOwnProperty(property) && !blockedStatics[property]) {
try {

@@ -31,0 +32,0 @@ // Avoid failures from read-only properties

@@ -67,4 +67,6 @@ 'use strict';

var mediaQueryOrder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
var ruleIdentifier = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
var mediaRules = (0, _applyMediaRulesInOrder2.default)(mediaQueryOrder);
var withRuleIdentifier = ruleIdentifier > 0 ? '/*::' + ruleIdentifier + '#*/' : '';

@@ -84,4 +86,4 @@ return (0, _objectReduce2.default)(cache, function (cluster, entry, key) {

keyframes: '',
rules: ''
rules: withRuleIdentifier
});
}

@@ -16,5 +16,8 @@ 'use strict';

return (0, _arrayReduce2.default)(passThrough, function (output, property) {
output[property] = ruleProps[property];
if (ruleProps.hasOwnProperty(property)) {
output[property] = ruleProps[property];
}
return output;
}, {});
}

@@ -27,3 +27,4 @@ 'use strict';

var mergableStatics = ['childContextTypes', 'contextTypes', 'defaultProps', 'propTypes'];
var mergableStatics = ['contextTypes', 'defaultProps'];
var blockedStatics = { childContextTypes: true, propTypes: true };

@@ -40,3 +41,3 @@ function hoistStatics(target, source) {

(0, _arrayEach2.default)(statics, function (property) {
if (!target.hasOwnProperty(property)) {
if (!target.hasOwnProperty(property) && !blockedStatics[property]) {
try {

@@ -43,0 +44,0 @@ // Avoid failures from read-only properties

{
"name": "fela-utils",
"version": "7.0.0",
"version": "7.0.1",
"description": "Internal utilities for Fela",

@@ -26,4 +26,4 @@ "main": "lib/index.js",

"devDependencies": {
"fela": "^6.0.0"
"fela": "^6.0.1"
}
}
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