react-stickynode
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -31,5 +31,5 @@ /** | ||
var _isEqualShallow = require('is-equal-shallow'); | ||
var _reactAddonsShallowCompare = require('react-addons-shallow-compare'); | ||
var _isEqualShallow2 = _interopRequireDefault(_isEqualShallow); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
@@ -409,3 +409,3 @@ // constants | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
return !this.props.shouldFreeze() && (!(0, _isEqualShallow2['default'])(this.props, nextProps) || !(0, _isEqualShallow2['default'])(this.state, nextState)); | ||
return !this.props.shouldFreeze() && (0, _reactAddonsShallowCompare2['default'])(this, nextProps, nextState); | ||
} | ||
@@ -412,0 +412,0 @@ }, { |
{ | ||
"name": "react-stickynode", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "A performant and comprehensive React sticky", | ||
@@ -33,3 +33,3 @@ "main": "index.js", | ||
"classnames": "^2.0.0", | ||
"is-equal-shallow": "^0.1.0", | ||
"react-addons-shallow-compare": "^0.14.2 || ^15.0.0", | ||
"subscribe-ui-event": "^1.0.0" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
42695
+ Addedreact-addons-shallow-compare@15.6.3(transitive)
- Removedis-equal-shallow@^0.1.0
- Removedis-equal-shallow@0.1.3(transitive)
- Removedis-primitive@2.0.0(transitive)