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

fela

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

lib/enhancers/monolithic.js

29

dist/fela.js

@@ -357,3 +357,3 @@ (function (global, factory) {

var processedStyle = processStyleWithPlugins(renderer.plugins, rule(props), RULE_TYPE);
return renderer._renderStyleToClassNames(processedStyle).slice(1);
return renderer._renderStyleToClassNames(processedStyle);
},

@@ -416,3 +416,3 @@ _renderStyleToClassNames: function _renderStyleToClassNames(style) {

return classNames;
return classNames.trim();
},

@@ -532,3 +532,3 @@ renderKeyframe: function renderKeyframe(keyframe) {

/* weak */
function assign(base) {
function assignStyles(base) {
for (var _len = arguments.length, extendingStyles = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {

@@ -543,8 +543,21 @@ extendingStyles[_key - 1] = arguments[_key];

var value = style[property];
var baseValue = base[property];
if (base[property] instanceof Object && value instanceof Object) {
base[property] = assign({}, base[property], value);
} else {
base[property] = value;
if (baseValue instanceof Object) {
if (Array.isArray(baseValue)) {
if (Array.isArray(value)) {
base[property] = [].concat(babelHelpers.toConsumableArray(baseValue), babelHelpers.toConsumableArray(value));
} else {
base[property] = [].concat(babelHelpers.toConsumableArray(baseValue), [value]);
}
continue;
}
if (value instanceof Object && !Array.isArray(value)) {
base[property] = assignStyles({}, baseValue, value);
continue;
}
}
base[property] = value;
}

@@ -565,3 +578,3 @@ }

for (var i = 0, len = rules.length; i < len; ++i) {
assign(style, rules[i](props));
assignStyles(style, rules[i](props));
}

@@ -568,0 +581,0 @@

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.Fela=r()}(this,function(){"use strict";function e(e,r){return r={exports:{}},e(r,r.exports),r.exports}function r(e,r){return _(e)+":"+r}function n(e){var n="";for(var t in e)"string"!=typeof e[t]&&"number"!=typeof e[t]||(n&&(n+=";"),n+=r(t,e[t]));return n}function t(e){return"@font-face{"+n(e)+"}"}function i(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],i=Object.keys(e).reduce(function(r,t){return r+t+"{"+n(e[t])+"}"},"");return t.reduce(function(e,n){return e+"@"+n+"keyframes "+r+"{"+i+"}"},"")}function o(e,r){return r?"@media "+e+"{"+r+"}":""}function a(e){return"k"+e}function u(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=A?R[e-1]+r:u(e/A|0,R[e%A]+r)}function f(e,r){return 0===e.length?r:e+" and "+r}function c(e,r){return e+"{"+r+"}"}function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"."+e+r}function l(e){return e.replace(/\s{2,}/g,"")}function y(e,r,n){for(var t=0;t<e.length;++t)r=e[t](r,n);return r}function p(e,r){if("string"==typeof e)return l(e);var t=y(r,e,q);return n(t)}function d(e,r){return"string"==typeof e?e:r+JSON.stringify(e)}function h(e){return"@media"===e.substr(0,6)}function m(e){return null!==e.match(/^(:|\[|>|&)/g)}function v(e){return void 0===e||"string"==typeof e&&e.indexOf("undefined")>-1}function g(e){return"&"===e.charAt(0)?e.slice(1):e}function b(e){for(var r={},n=0,t=e.length;n<t;++n)r[e[n]]="";return r}function O(e){return'"'===e.charAt(0)?e:'"'+e+'"'}function x(e){for(var r=0,n=J.length;r<n;++r){var t=J[r];if(e.indexOf(t)!==-1)return E[t]}}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",clear:function(){n.fontFaces="",n.keyframes="",n.statics="",n.rules="",n.mediaRules=b(n.mediaQueryOrder),n.rendered=[],n.uniqueRuleIdentifier=0,n.uniqueKeyframeIdentifier=0,n.cache={},n._emitChange({type:I})},renderRule:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=y(n.plugins,e(r),F);return n._renderStyleToClassNames(t).slice(1)},_renderStyleToClassNames:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var a in e){var l=e[a];if(l instanceof Object){if(m(a))o+=n._renderStyleToClassNames(l,t+g(a),i);else if(h(a)){var y=f(i,a.slice(6).trim());o+=n._renderStyleToClassNames(l,t,y)}}else{var p=i+t+a+l;if(!n.cache[p]){if(v(l)){n.cache[p]="";continue}var d=n.selectorPrefix+u(++n.uniqueRuleIdentifier);n.cache[p]=d;var b=r(a,l),O=s(d,t),x=c(O,b);i?(n.mediaRules.hasOwnProperty(i)||(n.mediaRules[i]=""),n.mediaRules[i]+=x):n.rules+=x,n._emitChange({selector:O,declaration:b,media:i,type:F})}o+=" "+n.cache[p]}}return o},renderKeyframe:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e(r),o=JSON.stringify(t);if(!n.cache[o]){var u=a(++n.uniqueKeyframeIdentifier),f=y(n.plugins,t,N),c=i(f,u,n.keyframePrefixes);n.cache[o]=u,n.keyframes+=c,n._emitChange({name:u,keyframe:c,type:N})}return n.cache[o]},renderFont:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(i);if(!n.cache[o]){var a=O(e),u=P.extends({},i,{src:r.map(function(e){return"url('"+e+"') format('"+x(e)+"')"}).join(","),fontFamily:a}),f=t(u);n.cache[o]=a,n.fontFaces+=f,n._emitChange({fontFamily:a,fontFace:f,type:T})}return n.cache[o]},renderStatic:function(e,r){var t=d(e,r);if(!n.cache[t]){var i=p(e,n.plugins);n.cache[t]=!0,"string"==typeof e?(n.statics+=i,n._emitChange({type:q,css:i})):(n.statics+=c(r,i),n._emitChange({selector:r,declaration:i,type:F,media:""}))}},renderToString:function(){var e=n.fontFaces+n.statics+n.keyframes+n.rules;for(var r in n.mediaRules)e+=o(r,n.mediaRules[r]);return e},subscribe:function(e){return n.listeners.push(e),{unsubscribe:function(){return n.listeners.splice(n.listeners.indexOf(e),1)}}},_emitChange:function(e){for(var r=0,t=n.listeners.length;r<t;++r)n.listeners[r](e)}};if(n.keyframePrefixes.push(""),n.clear(),e.enhancers)for(var l=0,j=e.enhancers.length;l<j;++l)n=e.enhancers[l](n);return n}function C(e){for(var r=arguments.length,n=Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];for(var i=0,o=n.length;i<o;++i){var a=n[i];for(var u in a){var f=a[u];e[u]instanceof Object&&f instanceof Object?e[u]=C({},e[u],f):e[u]=f}}return e}function w(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){for(var n={},t=0,i=r.length;t<i;++t)C(n,r[t](e));return n}}function k(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){return function(n){for(var t=e(n),i=0,o=r.length;i<o;++i)t=r[i](t);return t}}}var P={};P.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P.classCallCheck=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},P.createClass=function(){function e(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(r,n,t){return n&&e(r.prototype,n),t&&e(r,t),r}}(),P.defineProperty=function(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},P.extends=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},P.inherits=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},P.objectWithoutProperties=function(e,r){var n={};for(var t in e)r.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n},P.possibleConstructorReturn=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},P.toConsumableArray=function(e){if(Array.isArray(e)){for(var r=0,n=Array(e.length);r<e.length;r++)n[r]=e[r];return n}return Array.from(e)};var S=e(function(e){function r(e){return e in i?i[e]:i[e]=e.replace(n,"-$&").toLowerCase().replace(t,"-ms-")}var n=/[A-Z]/g,t=/^ms-/,i={};e.exports=r}),_=S&&"object"==typeof S&&"default"in S?S.default:S,R="abcdefghijklmnopqrstuvwxyz",A=R.length,F=1,N=2,T=3,q=4,I=5,E={".woff":"woff",".eot":"eot",".ttf":"truetype",".svg":"svg"},J=Object.keys(E),K={createRenderer:j,combineRules:w,enhance:k};return K});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.Fela=r()}(this,function(){"use strict";function e(e,r){return r={exports:{}},e(r,r.exports),r.exports}function r(e,r){return S(e)+":"+r}function n(e){var n="";for(var t in e)"string"!=typeof e[t]&&"number"!=typeof e[t]||(n&&(n+=";"),n+=r(t,e[t]));return n}function t(e){return"@font-face{"+n(e)+"}"}function i(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],i=Object.keys(e).reduce(function(r,t){return r+t+"{"+n(e[t])+"}"},"");return t.reduce(function(e,n){return e+"@"+n+"keyframes "+r+"{"+i+"}"},"")}function o(e,r){return r?"@media "+e+"{"+r+"}":""}function a(e){return"k"+e}function u(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e<=R?_[e-1]+r:u(e/R|0,_[e%R]+r)}function f(e,r){return 0===e.length?r:e+" and "+r}function c(e,r){return e+"{"+r+"}"}function s(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"."+e+r}function l(e){return e.replace(/\s{2,}/g,"")}function y(e,r,n){for(var t=0;t<e.length;++t)r=e[t](r,n);return r}function p(e,r){if("string"==typeof e)return l(e);var t=y(r,e,q);return n(t)}function d(e,r){return"string"==typeof e?e:r+JSON.stringify(e)}function h(e){return"@media"===e.substr(0,6)}function m(e){return null!==e.match(/^(:|\[|>|&)/g)}function v(e){return void 0===e||"string"==typeof e&&e.indexOf("undefined")>-1}function g(e){return"&"===e.charAt(0)?e.slice(1):e}function b(e){for(var r={},n=0,t=e.length;n<t;++n)r[e[n]]="";return r}function O(e){return'"'===e.charAt(0)?e:'"'+e+'"'}function x(e){for(var r=0,n=J.length;r<n;++r){var t=J[r];if(e.indexOf(t)!==-1)return E[t]}}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={listeners:[],keyframePrefixes:e.keyframePrefixes||["-webkit-","-moz-"],plugins:e.plugins||[],mediaQueryOrder:e.mediaQueryOrder||[],selectorPrefix:e.selectorPrefix||"",clear:function(){n.fontFaces="",n.keyframes="",n.statics="",n.rules="",n.mediaRules=b(n.mediaQueryOrder),n.rendered=[],n.uniqueRuleIdentifier=0,n.uniqueKeyframeIdentifier=0,n.cache={},n._emitChange({type:I})},renderRule:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=y(n.plugins,e(r),F);return n._renderStyleToClassNames(t)},_renderStyleToClassNames:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";for(var a in e){var l=e[a];if(l instanceof Object){if(m(a))o+=n._renderStyleToClassNames(l,t+g(a),i);else if(h(a)){var y=f(i,a.slice(6).trim());o+=n._renderStyleToClassNames(l,t,y)}}else{var p=i+t+a+l;if(!n.cache[p]){if(v(l)){n.cache[p]="";continue}var d=n.selectorPrefix+u(++n.uniqueRuleIdentifier);n.cache[p]=d;var b=r(a,l),O=s(d,t),x=c(O,b);i?(n.mediaRules.hasOwnProperty(i)||(n.mediaRules[i]=""),n.mediaRules[i]+=x):n.rules+=x,n._emitChange({selector:O,declaration:b,media:i,type:F})}o+=" "+n.cache[p]}}return o.trim()},renderKeyframe:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e(r),o=JSON.stringify(t);if(!n.cache[o]){var u=a(++n.uniqueKeyframeIdentifier),f=y(n.plugins,t,N),c=i(f,u,n.keyframePrefixes);n.cache[o]=u,n.keyframes+=c,n._emitChange({name:u,keyframe:c,type:N})}return n.cache[o]},renderFont:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=e+JSON.stringify(i);if(!n.cache[o]){var a=O(e),u=k.extends({},i,{src:r.map(function(e){return"url('"+e+"') format('"+x(e)+"')"}).join(","),fontFamily:a}),f=t(u);n.cache[o]=a,n.fontFaces+=f,n._emitChange({fontFamily:a,fontFace:f,type:T})}return n.cache[o]},renderStatic:function(e,r){var t=d(e,r);if(!n.cache[t]){var i=p(e,n.plugins);n.cache[t]=!0,"string"==typeof e?(n.statics+=i,n._emitChange({type:q,css:i})):(n.statics+=c(r,i),n._emitChange({selector:r,declaration:i,type:F,media:""}))}},renderToString:function(){var e=n.fontFaces+n.statics+n.keyframes+n.rules;for(var r in n.mediaRules)e+=o(r,n.mediaRules[r]);return e},subscribe:function(e){return n.listeners.push(e),{unsubscribe:function(){return n.listeners.splice(n.listeners.indexOf(e),1)}}},_emitChange:function(e){for(var r=0,t=n.listeners.length;r<t;++r)n.listeners[r](e)}};if(n.keyframePrefixes.push(""),n.clear(),e.enhancers)for(var l=0,C=e.enhancers.length;l<C;++l)n=e.enhancers[l](n);return n}function A(e){for(var r=arguments.length,n=Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];for(var i=0,o=n.length;i<o;++i){var a=n[i];for(var u in a){var f=a[u],c=e[u];if(c instanceof Object){if(Array.isArray(c)){Array.isArray(f)?e[u]=[].concat(k.toConsumableArray(c),k.toConsumableArray(f)):e[u]=[].concat(k.toConsumableArray(c),[f]);continue}if(f instanceof Object&&!Array.isArray(f)){e[u]=A({},c,f);continue}}e[u]=f}}return e}function j(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){for(var n={},t=0,i=r.length;t<i;++t)A(n,r[t](e));return n}}function w(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){return function(n){for(var t=e(n),i=0,o=r.length;i<o;++i)t=r[i](t);return t}}}var k={};k.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k.classCallCheck=function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")},k.createClass=function(){function e(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(r,n,t){return n&&e(r.prototype,n),t&&e(r,t),r}}(),k.defineProperty=function(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},k.extends=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},k.inherits=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)},k.objectWithoutProperties=function(e,r){var n={};for(var t in e)r.indexOf(t)>=0||Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n},k.possibleConstructorReturn=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},k.toConsumableArray=function(e){if(Array.isArray(e)){for(var r=0,n=Array(e.length);r<e.length;r++)n[r]=e[r];return n}return Array.from(e)};var P=e(function(e){function r(e){return e in i?i[e]:i[e]=e.replace(n,"-$&").toLowerCase().replace(t,"-ms-")}var n=/[A-Z]/g,t=/^ms-/,i={};e.exports=r}),S=P&&"object"==typeof P&&"default"in P?P.default:P,_="abcdefghijklmnopqrstuvwxyz",R=_.length,F=1,N=2,T=3,q=4,I=5,E={".woff":"woff",".eot":"eot",".ttf":"truetype",".svg":"svg"},J=Object.keys(E),K={createRenderer:C,combineRules:j,enhance:w};return K});

@@ -27,2 +27,11 @@ 'use strict';

var generateDisplayName = function generateDisplayName(Comp) {
var displayName = Comp.displayName || Comp.name;
if (displayName) {
return 'Fela' + displayName;
}
return 'ConnectedFelaComponent';
};
function connect(mapStylesToProps) {

@@ -60,3 +69,3 @@ return function (Comp) {

return EnhancedComponent;
}(_react.Component), _class.displayName = Comp.displayName || Comp.name || 'ConnectedFelaComponent', _class.contextTypes = _extends({}, Comp.contextTypes, {
}(_react.Component), _class.displayName = generateDisplayName(Comp), _class.contextTypes = _extends({}, Comp.contextTypes, {
renderer: _react.PropTypes.object,

@@ -63,0 +72,0 @@ theme: _react.PropTypes.object

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

var _assign = require('./utils/assign');
var _assignStyles = require('./utils/assignStyles');
var _assign2 = _interopRequireDefault(_assign);
var _assignStyles2 = _interopRequireDefault(_assignStyles);

@@ -24,3 +24,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

for (var i = 0, len = rules.length; i < len; ++i) {
(0, _assign2.default)(style, rules[i](props));
(0, _assignStyles2.default)(style, rules[i](props));
}

@@ -27,0 +27,0 @@

@@ -125,3 +125,3 @@ 'use strict';

var processedStyle = (0, _processStyleWithPlugins2.default)(renderer.plugins, rule(props), _styleTypes.RULE_TYPE);
return renderer._renderStyleToClassNames(processedStyle).slice(1);
return renderer._renderStyleToClassNames(processedStyle);
},

@@ -184,3 +184,3 @@ _renderStyleToClassNames: function _renderStyleToClassNames(style) {

return classNames;
return classNames.trim();
},

@@ -187,0 +187,0 @@ renderKeyframe: function renderKeyframe(keyframe) {

@@ -1,2 +0,2 @@

"use strict";
'use strict';

@@ -6,3 +6,9 @@ Object.defineProperty(exports, "__esModule", {

});
/* weak */
var _assignStyles = require('../utils/assignStyles');
var _assignStyles2 = _interopRequireDefault(_assignStyles);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function customProperty(style, properties) {

@@ -12,3 +18,3 @@ for (var property in style) {

if (properties[property]) {
Object.assign(style, properties[property](value));
(0, _assignStyles2.default)(style, properties[property](value));
delete style[property];

@@ -23,3 +29,3 @@ }

return style;
}
} /* weak */

@@ -32,2 +38,2 @@ exports.default = function (properties) {

module.exports = exports["default"];
module.exports = exports['default'];

@@ -7,5 +7,5 @@ 'use strict';

var _assign = require('../utils/assign');
var _assignStyles = require('../utils/assignStyles');
var _assign2 = _interopRequireDefault(_assign);
var _assignStyles2 = _interopRequireDefault(_assignStyles);

@@ -18,7 +18,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

if (extension.condition) {
(0, _assign2.default)(style, extend(extension.style));
(0, _assignStyles2.default)(style, extend(extension.style));
}
} else {
// extend basic style objects
(0, _assign2.default)(style, extension);
(0, _assignStyles2.default)(style, extension);
}

@@ -25,0 +25,0 @@ } /* weak */

@@ -7,15 +7,12 @@ 'use strict';

var _assign = require('../utils/assign');
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 _assign2 = _interopRequireDefault(_assign);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/* weak */
function addLogger(style, props, type) {
if (process.env.NODE_ENV !== 'production') {
console.log(type, (0, _assign2.default)({}, style)); // eslint-disable-line
console.log(type, _extends({}, style)); // eslint-disable-line
}
return style;
} /* weak */
}

@@ -22,0 +19,0 @@ exports.default = function () {

{
"name": "fela",
"version": "4.2.2",
"version": "4.2.3",
"description": "Full-Featured Universal, Dynamic & High-Performance Styling in JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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