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

react-stickynode

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stickynode - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

6

dist/Sticky.js

@@ -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

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