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

react-d3-shape

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-shape - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

lib/components/bar_group_horizontal.js

6

lib/chart.js

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

var _props = this.props;
var horizonal = _props.horizonal;
var horizontal = _props.horizontal;
var height = _props.height;

@@ -72,4 +72,4 @@ var width = _props.width;

var yRangeRoundBands = yRangeRoundBands || { interval: [0, height - margins.top - margins.bottom], padding: .1 };
var xDomain = xDomain || (0, _reactD3Core.xDomainCount)(this.props, stack, horizonal);
var yDomain = yDomain || (0, _reactD3Core.yDomainCount)(this.props, stack, horizonal);
var xDomain = xDomain || (0, _reactD3Core.xDomainCount)(this.props, stack, horizontal);
var yDomain = yDomain || (0, _reactD3Core.yDomainCount)(this.props, stack, horizontal);

@@ -76,0 +76,0 @@ var newXScale = {

@@ -48,5 +48,5 @@ // Export utils

var _componentsBar_horizonal = require('./components/bar_horizonal');
var _componentsBar_horizontal = require('./components/bar_horizontal');
exports.BarHorizonal = _interopRequire(_componentsBar_horizonal);
exports.BarHorizontal = _interopRequire(_componentsBar_horizontal);

@@ -57,5 +57,5 @@ var _componentsBar_group = require('./components/bar_group');

var _componentsBar_group_horizonal = require('./components/bar_group_horizonal');
var _componentsBar_group_horizontal = require('./components/bar_group_horizontal');
exports.BarGroupHorizonal = _interopRequire(_componentsBar_group_horizonal);
exports.BarGroupHorizontal = _interopRequire(_componentsBar_group_horizontal);

@@ -66,5 +66,5 @@ var _componentsBar_stack = require('./components/bar_stack');

var _componentsBar_stack_horizonal = require('./components/bar_stack_horizonal');
var _componentsBar_stack_horizontal = require('./components/bar_stack_horizontal');
exports.BarStackHorizonal = _interopRequire(_componentsBar_stack_horizonal);
exports.BarStackHorizontal = _interopRequire(_componentsBar_stack_horizontal);

@@ -71,0 +71,0 @@ var _componentsPie = require('./components/pie');

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

function series(props, horizonal) {
function series(props, horizontal) {
var data = props.data;

@@ -36,3 +36,3 @@ var chartSeries = props.chartSeries;

if (!horizonal) {
if (!horizontal) {
return {

@@ -39,0 +39,0 @@ x: x(d),

{
"name": "react-d3-shape",
"version": "0.1.2",
"version": "0.1.3",
"description": "react shape component",

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

@@ -10,5 +10,7 @@ # react-d3-shape

- AreaStack
- BarGroupHorizontal
- BarGroup
- BarStackHorizontal
- BarStack
- BarHorizonal
- BarHorizontal
- Bar

@@ -15,0 +17,0 @@ - Pie

@@ -12,3 +12,3 @@

module.exports = [{
name: 'chartes5Component',
name: 'shape',
entry: {

@@ -19,7 +19,7 @@ line: js_root + '/line.jsx',

bar: js_root + '/bar.jsx',
bar_horizonal: js_root + '/bar_horizonal.jsx',
bar_horizontal: js_root + '/bar_horizontal.jsx',
bar_group: js_root + '/bar_group.jsx',
bar_group_horizonal: js_root + '/bar_group_horizonal.jsx',
bar_group_horizontal: js_root + '/bar_group_horizontal.jsx',
bar_stack: js_root + '/bar_stack.jsx',
bar_stack_horizonal: js_root + '/bar_stack_horizonal.jsx',
bar_stack_horizontal: js_root + '/bar_stack_horizontal.jsx',
pie: js_root + '/pie.jsx',

@@ -26,0 +26,0 @@ donut: js_root + '/donut.jsx'

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