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

react-d3-basic

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-basic - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

6

lib/components/pie.js

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

var barChart = this.refs["react-d3-basic__pie"];
var pieChart = this.refs["react-d3-basic__pie"];
_d32['default'].select(barChart).selectAll(".arc").each(function (p) {
_d32['default'].select(pieChart).selectAll(".arc").each(function (p) {
this.addEventListener('mouseover', function (e) {

@@ -129,3 +129,3 @@ onMouseOver(e);

pieChart.setAttribute("transform", t);
barChart.setAttribute("ref", "react-d3-basic__pie");
pieChart.setAttribute("ref", "react-d3-basic__pie");
var pie = this._mkPie(pieChart);

@@ -132,0 +132,0 @@

{
"name": "react-d3-basic",
"version": "0.5.3",
"version": "0.5.4",
"description": "react chart component",

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

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

var barChart = this.refs["react-d3-basic__pie"];
var pieChart = this.refs["react-d3-basic__pie"];
d3.select(barChart)
d3.select(pieChart)
.selectAll(".arc")

@@ -128,3 +128,3 @@ .each(function(p) {

pieChart.setAttribute("transform", t);
barChart.setAttribute("ref", "react-d3-basic__pie")
pieChart.setAttribute("ref", "react-d3-basic__pie")
var pie = this._mkPie(pieChart);

@@ -131,0 +131,0 @@

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