Socket
Socket
Sign inDemoInstall

fela-plugin-extend

Package Overview
Dependencies
Maintainers
2
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-plugin-extend - npm Package Compare versions

Comparing version 10.2.3 to 10.2.4

5

es/index.js

@@ -26,4 +26,5 @@ import objectEach from 'fast-loops/lib/objectEach';

// extend conditional style objects
if (extension.hasOwnProperty('condition')) {
if (extension && Object.prototype.hasOwnProperty.call(extension, 'condition')) {
if (extension.condition) {
// eslint-disable-next-line no-use-before-define
assignStyle(style, extend(extension.style));

@@ -33,3 +34,3 @@ }

// extend basic style objects
assignStyle(style, removeUndefined(extension));
assignStyle(style, removeUndefined(extend(extension)));
}

@@ -36,0 +37,0 @@ }

@@ -46,4 +46,5 @@ 'use strict';

// extend conditional style objects
if (extension.hasOwnProperty('condition')) {
if (extension && Object.prototype.hasOwnProperty.call(extension, 'condition')) {
if (extension.condition) {
// eslint-disable-next-line no-use-before-define
(0, _assignStyle2.default)(style, extend(extension.style));

@@ -53,3 +54,3 @@ }

// extend basic style objects
(0, _assignStyle2.default)(style, removeUndefined(extension));
(0, _assignStyle2.default)(style, removeUndefined(extend(extension)));
}

@@ -56,0 +57,0 @@ }

4

package.json
{
"name": "fela-plugin-extend",
"version": "10.2.3",
"version": "10.2.4",
"description": "Fela plugin to extend style objects",

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

"fast-loops": "^1.0.0",
"fela-utils": "^10.2.3",
"fela-utils": "^10.2.4",
"isobject": "^3.0.1"

@@ -32,0 +32,0 @@ },

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