New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fela-bindings

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-bindings - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

16

es/withThemeFactory.js

@@ -7,4 +7,2 @@ 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; };

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -60,15 +58,3 @@

value: function render() {
var _props = this.props,
innerRef = _props.innerRef,
passProps = _objectWithoutProperties(_props, ['innerRef']);
if (innerRef) {
if (component._isFelaComponent) {
passProps.innerRef = innerRef;
} else {
passProps.ref = innerRef;
}
}
return createElement(component, _extends({}, passProps, _defineProperty({}, propName, this.state.theme)));
return createElement(component, _extends({}, this.props, _defineProperty({}, propName, this.state.theme)));
}

@@ -75,0 +61,0 @@ }]);

@@ -23,4 +23,2 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -73,15 +71,3 @@

value: function render() {
var _props = this.props,
innerRef = _props.innerRef,
passProps = _objectWithoutProperties(_props, ['innerRef']);
if (innerRef) {
if (component._isFelaComponent) {
passProps.innerRef = innerRef;
} else {
passProps.ref = innerRef;
}
}
return createElement(component, _extends({}, passProps, _defineProperty({}, propName, this.state.theme)));
return createElement(component, _extends({}, this.props, _defineProperty({}, propName, this.state.theme)));
}

@@ -88,0 +74,0 @@ }]);

2

package.json
{
"name": "fela-bindings",
"version": "1.3.0",
"version": "1.3.1",
"description": "Abstract binding factories for Fela",

@@ -5,0 +5,0 @@ "main": "lib/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