Socket
Socket
Sign inDemoInstall

@fishawack/lab-d3

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fishawack/lab-d3 - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

2

package.json
{
"name": "@fishawack/lab-d3",
"version": "2.5.0",
"version": "2.5.1",
"description": "Abstract layer built on top of d3",

@@ -5,0 +5,0 @@ "vars": {

@@ -233,2 +233,5 @@ ## Background

### 2.5.1
* Fixed bug in Brush where it wouldn't parse date on first call
### 2.5.0

@@ -235,0 +238,0 @@ * Brush no longer formats date on callback

@@ -103,3 +103,3 @@ "use strict";

if (d3.select(currentEvent.target).classed("overlay")) {
var dx = local.scale.x(att.parseDate(data[0].value[1])) - local.scale.x(att.parseDate(data[0].value[0])),
var dx = local.scale.x(data[0].value[1]) - local.scale.x(data[0].value[0]),
cx = d3.mouse(node[0])[0],

@@ -141,3 +141,4 @@ x0 = cx - dx / 2,

if (data[0].value[0]) {
range.push(local.scale.x(att.parseDate(data[0].value[0])));
data[0].value[0] = att.parseDate(data[0].value[0]);
range.push(local.scale.x(data[0].value[0]));
} else {

@@ -148,3 +149,4 @@ range.push(0);

if (data[0].value[1]) {
range.push(local.scale.x(att.parseDate(data[0].value[1])));
data[0].value[1] = att.parseDate(data[0].value[1]);
range.push(local.scale.x(data[0].value[1]));
} else {

@@ -151,0 +153,0 @@ range.push(local.width);

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