Socket
Socket
Sign inDemoInstall

react-split-pane

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-split-pane - npm Package Compare versions

Comparing version 0.1.72 to 0.1.74

11

lib/Pane.js

@@ -27,6 +27,2 @@ 'use strict';

var _fastDeepEqual = require('fast-deep-equal');
var _fastDeepEqual2 = _interopRequireDefault(_fastDeepEqual);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -56,9 +52,2 @@

_createClass(Pane, [{
key: 'shouldComponentUpdate',
value: function shouldComponentUpdate(nextProps, nextState) {
var currentState = this.state;
var currentProps = this.props;
return !(0, _fastDeepEqual2.default)(currentProps, nextProps) || !(0, _fastDeepEqual2.default)(currentState, nextState);
}
}, {
key: 'render',

@@ -65,0 +54,0 @@ value: function render() {

@@ -26,6 +26,2 @@ 'use strict';

var _fastDeepEqual = require('fast-deep-equal');
var _fastDeepEqual2 = _interopRequireDefault(_fastDeepEqual);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -53,9 +49,2 @@

_createClass(Resizer, [{
key: 'shouldComponentUpdate',
value: function shouldComponentUpdate(nextProps, nextState) {
var currentState = this.state;
var currentProps = this.props;
return !(0, _fastDeepEqual2.default)(currentProps, nextProps) || !(0, _fastDeepEqual2.default)(currentState, nextState);
}
}, {
key: 'render',

@@ -62,0 +51,0 @@ value: function render() {

6

lib/SplitPane.js

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

var SplitPane = function (_React$PureComponent) {
_inherits(SplitPane, _React$PureComponent);
var SplitPane = function (_React$Component) {
_inherits(SplitPane, _React$Component);

@@ -375,3 +375,3 @@ function SplitPane() {

return SplitPane;
}(_react2.default.PureComponent);
}(_react2.default.Component);

@@ -378,0 +378,0 @@ SplitPane.propTypes = {

@@ -6,3 +6,3 @@ {

"types": "index.d.ts",
"version": "0.1.72",
"version": "0.1.74",
"repository": {

@@ -28,3 +28,2 @@ "type": "git",

"@types/react": "^16.0.18",
"fast-deep-equal": "^1.0.0",
"inline-style-prefixer": "^3.0.6",

@@ -31,0 +30,0 @@ "prop-types": "^15.5.10",

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