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.19 to 0.1.20

7

lib/SplitPane.js

@@ -68,6 +68,5 @@ 'use strict';

var node = _reactDom2.default.findDOMNode(ref);
if (window.getComputedStyle) {
var styles = window.getComputedStyle(node);
var width = styles.width.replace('px', '');
var height = styles.height.replace('px', '');
if (node.getBoundingClientRect) {
var width = node.getBoundingClientRect().width;
var height = node.getBoundingClientRect().height;
var current = this.props.split === 'vertical' ? event.clientX : event.clientY;

@@ -74,0 +73,0 @@ var size = this.props.split === 'vertical' ? width : height;

@@ -5,3 +5,3 @@ {

"main": "index.js",
"version": "0.1.19",
"version": "0.1.20",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

Sorry, the diff of this file is too big to display

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