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

react-fela

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-fela - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

11

es/connect.js

@@ -0,10 +1,11 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { Component, createElement } from 'react';
import PropTypes from 'prop-types';
import { connectFactory } from 'fela-bindings';
import { connectFactory, THEME_CHANNEL } from 'fela-bindings';
import withTheme from './withTheme';
export default connectFactory(Component, createElement, withTheme, {
renderer: PropTypes.object,
theme: PropTypes.object
});
export default connectFactory(Component, createElement, withTheme, _defineProperty({
renderer: PropTypes.object
}, THEME_CHANNEL, PropTypes.object));

@@ -0,10 +1,11 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { createElement } from 'react';
import PropTypes from 'prop-types';
import { createComponentFactory } from 'fela-bindings';
import { createComponentFactory, THEME_CHANNEL } from 'fela-bindings';
import withTheme from './withTheme';
export default createComponentFactory(createElement, withTheme, {
renderer: PropTypes.object,
theme: PropTypes.object
});
export default createComponentFactory(createElement, withTheme, _defineProperty({
renderer: PropTypes.object
}, THEME_CHANNEL, PropTypes.object));

@@ -0,10 +1,11 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { createElement } from 'react';
import PropTypes from 'prop-types';
import { createComponentFactory } from 'fela-bindings';
import { createComponentFactory, THEME_CHANNEL } from 'fela-bindings';
import withTheme from './withTheme';
export default createComponentFactory(createElement, withTheme, {
renderer: PropTypes.object,
theme: PropTypes.object
}, true);
export default createComponentFactory(createElement, withTheme, _defineProperty({
renderer: PropTypes.object
}, THEME_CHANNEL, PropTypes.object), true);

@@ -0,3 +1,5 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { Component, Children } from 'react';
import { ThemeProviderFactory } from 'fela-bindings';
import { ThemeProviderFactory, THEME_CHANNEL } from 'fela-bindings';
import PropTypes from 'prop-types';

@@ -12,8 +14,4 @@

},
childContextTypes: {
theme: PropTypes.object
},
contextTypes: {
theme: PropTypes.object
},
childContextTypes: _defineProperty({}, THEME_CHANNEL, PropTypes.object),
contextTypes: _defineProperty({}, THEME_CHANNEL, PropTypes.object),
defaultProps: {

@@ -20,0 +18,0 @@ overwrite: false

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

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { Component, createElement } from 'react';
import PropTypes from 'prop-types';
import { withThemeFactory } from 'fela-bindings';
import { withThemeFactory, THEME_CHANNEL } from 'fela-bindings';
export default withThemeFactory(Component, createElement, {
theme: PropTypes.object
});
export default withThemeFactory(Component, createElement, _defineProperty({}, THEME_CHANNEL, PropTypes.object));

@@ -21,5 +21,6 @@ 'use strict';

exports.default = (0, _felaBindings.connectFactory)(_react.Component, _react.createElement, _withTheme2.default, {
renderer: _propTypes2.default.object,
theme: _propTypes2.default.object
});
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
exports.default = (0, _felaBindings.connectFactory)(_react.Component, _react.createElement, _withTheme2.default, _defineProperty({
renderer: _propTypes2.default.object
}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object));

@@ -21,5 +21,6 @@ 'use strict';

exports.default = (0, _felaBindings.createComponentFactory)(_react.createElement, _withTheme2.default, {
renderer: _propTypes2.default.object,
theme: _propTypes2.default.object
});
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
exports.default = (0, _felaBindings.createComponentFactory)(_react.createElement, _withTheme2.default, _defineProperty({
renderer: _propTypes2.default.object
}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object));

@@ -21,5 +21,6 @@ 'use strict';

exports.default = (0, _felaBindings.createComponentFactory)(_react.createElement, _withTheme2.default, {
renderer: _propTypes2.default.object,
theme: _propTypes2.default.object
}, true);
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
exports.default = (0, _felaBindings.createComponentFactory)(_react.createElement, _withTheme2.default, _defineProperty({
renderer: _propTypes2.default.object
}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object), true);

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

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
exports.default = (0, _felaBindings.ThemeProviderFactory)(_react.Component, function (children) {

@@ -25,8 +27,4 @@ return _react.Children.only(children);

},
childContextTypes: {
theme: _propTypes2.default.object
},
contextTypes: {
theme: _propTypes2.default.object
},
childContextTypes: _defineProperty({}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object),
contextTypes: _defineProperty({}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object),
defaultProps: {

@@ -33,0 +31,0 @@ overwrite: false

@@ -17,4 +17,4 @@ 'use strict';

exports.default = (0, _felaBindings.withThemeFactory)(_react.Component, _react.createElement, {
theme: _propTypes2.default.object
});
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
exports.default = (0, _felaBindings.withThemeFactory)(_react.Component, _react.createElement, _defineProperty({}, _felaBindings.THEME_CHANNEL, _propTypes2.default.object));
{
"name": "react-fela",
"version": "6.1.0",
"version": "6.1.1",
"description": "React bindings for Fela",

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

"dependencies": {
"fela-bindings": "^1.1.0",
"fela-dom": "^6.0.6",
"prop-types": "15.5.8"
"fela-bindings": "^1.2.0",
"fela-dom": "^7.0.0",
"prop-types": "^15.5.8"
}
}
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