react-fela
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13406
17099
182
+ Addedprop-types@15.8.1(transitive)
+ Addedreact-is@16.13.1(transitive)
- Removedasap@2.0.6(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcss-in-js-utils@2.0.0(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedfela-dom@6.0.6(transitive)
- Removedfela-utils@7.0.5(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedprop-types@15.5.8(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.40(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updatedfela-bindings@^1.2.0
Updatedfela-dom@^7.0.0
Updatedprop-types@^15.5.8