react-fela
Advanced tools
Comparing version 10.2.1 to 10.2.2
@@ -1,2 +0,2 @@ | ||
import { Component, createElement, Children } from 'react'; | ||
import { createElement, Children } from 'react'; | ||
import { ThemeProviderFactory } from 'fela-bindings'; | ||
@@ -7,12 +7,4 @@ import PropTypes from 'prop-types'; | ||
export default ThemeProviderFactory(Component, ThemeContext, createElement, function (children) { | ||
export default ThemeProviderFactory(ThemeContext, createElement, function (children) { | ||
return Children.only(children); | ||
}, { | ||
propTypes: { | ||
theme: PropTypes.object.isRequired, | ||
overwrite: PropTypes.bool | ||
}, | ||
defaultProps: { | ||
overwrite: false | ||
} | ||
}); |
@@ -19,12 +19,4 @@ 'use strict'; | ||
exports.default = (0, _felaBindings.ThemeProviderFactory)(_react.Component, _context.ThemeContext, _react.createElement, function (children) { | ||
exports.default = (0, _felaBindings.ThemeProviderFactory)(_context.ThemeContext, _react.createElement, function (children) { | ||
return _react.Children.only(children); | ||
}, { | ||
propTypes: { | ||
theme: _propTypes2.default.object.isRequired, | ||
overwrite: _propTypes2.default.bool | ||
}, | ||
defaultProps: { | ||
overwrite: false | ||
} | ||
}); |
{ | ||
"name": "react-fela", | ||
"version": "10.2.1", | ||
"version": "10.2.2", | ||
"description": "React bindings for Fela", | ||
@@ -9,2 +9,3 @@ "typings": "index.d.ts", | ||
"jsnext:main": "es/index.js", | ||
"sideEffects": false, | ||
"files": [ | ||
@@ -32,7 +33,7 @@ "LICENSE", | ||
"dependencies": { | ||
"fela-bindings": "^10.2.1", | ||
"fela-dom": "^10.2.1", | ||
"fela-bindings": "^10.2.2", | ||
"fela-dom": "^10.2.2", | ||
"prop-types": "^15.5.8" | ||
}, | ||
"gitHead": "d69af0d3689e88fab5e10046eeffef28328c5886" | ||
"gitHead": "b3f7f53c5697e2c318d0490527e21852984242b9" | ||
} |
Sorry, the diff of this file is too big to display
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
89064
832
Updatedfela-bindings@^10.2.2
Updatedfela-dom@^10.2.2