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

react-d3-brush

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-brush - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

6

lib/area_stack.js

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

@@ -59,5 +59,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: { interval: [0, width - margins.left - margins.right], padding: .1 },
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || { interval: [0, width - margins.left - margins.right], padding: .1 },
brushMargins: brushMargins,

@@ -64,0 +64,0 @@ yBrushRange: yBrushRange,

{
"name": "react-d3-brush",
"version": "0.8.3",
"version": "0.8.4",
"description": "react-d3 brush implementation",

@@ -5,0 +5,0 @@ "main": "./lib/index",

@@ -47,5 +47,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -52,0 +52,0 @@ yBrushRange: yBrushRange,

@@ -48,5 +48,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -53,0 +53,0 @@ yBrushRange: yBrushRange,

@@ -48,5 +48,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -53,0 +53,0 @@ yBrushRange: yBrushRange,

@@ -47,5 +47,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -52,0 +52,0 @@ yBrushRange: yBrushRange,

@@ -47,5 +47,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -52,0 +52,0 @@ yBrushRange: yBrushRange,

@@ -47,5 +47,5 @@ "use strict";

this.state = {
xRange: [0, width - margins.left - margins.right],
yRange: [height - margins.top - margins.bottom, 0],
xRangeRoundBands: {interval: [0, width - margins.left - margins.right], padding: .1},
xRange: this.props.xRange || [0, width - margins.left - margins.right],
yRange: this.props.yRange || [height - margins.top - margins.bottom, 0],
xRangeRoundBands: this.props.xRangeRoundBands || {interval: [0, width - margins.left - margins.right], padding: .1},
brushMargins: brushMargins,

@@ -52,0 +52,0 @@ yBrushRange: yBrushRange,

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