New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

devtools-splitter

Package Overview
Dependencies
Maintainers
10
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devtools-splitter - npm Package Compare versions

Comparing version

to
0.0.8

3

package.json
{
"name": "devtools-splitter",
"version": "0.0.7",
"version": "0.0.8",
"description": "DevTools Splitter",

@@ -14,3 +14,2 @@ "main": "index.js",

"devDependencies": {
"@kadira/storybook": "^2.35.3",
"react": "^15.6.2",

@@ -17,0 +16,0 @@ "react-dom": "^15.6.2"

@@ -39,2 +39,8 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

ev.preventDefault();
// When the target is outside of the document, its tagName is undefined
if (!ev.target.tagName) {
return
}
// We pass the whole event because we don't know which properties

@@ -41,0 +47,0 @@ // the callee needs.

@@ -85,5 +85,5 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

if (this.props.initialSize !== nextProps.initialSize
|| this.props.initialWidth !== nextProps.initialWidth
|| this.props.initialWidth !== nextProps.initialWidth
|| this.props.initialHeight !== nextProps.initialHeight) {
this.setState({
this.setState({
width: parseInt(nextProps.initialWidth || nextProps.initialSize, 10),

@@ -111,2 +111,3 @@ height: parseInt(nextProps.initialHeight || nextProps.initialSize, 10),

splitBox.classList.add("dragging");
document.dispatchEvent(new CustomEvent("drag:start"));

@@ -124,2 +125,3 @@ this.setState({

splitBox.classList.remove("dragging");
document.dispatchEvent(new CustomEvent("drag:end"));

@@ -126,0 +128,0 @@ if (this.props.onResizeEnd) {

Sorry, the diff of this file is not supported yet