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

victory-chart

Package Overview
Dependencies
Maintainers
7
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-chart - npm Package Compare versions

Comparing version 21.6.2 to 22.0.0

4

CHANGELOG.md
# VictoryChart Changelog
## 22.0.0 (2017-09-09)
- Updates to `victory-core@18.0.0` which includes breaking changes for `VictoryTooltip` styling.
## 21.6.2 (2017-08-19)

@@ -4,0 +8,0 @@

2

es/components/victory-candlestick/helper-methods.js

@@ -160,3 +160,3 @@ import _defaults from "lodash/defaults";

var max = Math.max.apply(Math, _toConsumableArray(allData));
if (min === max) {
if (+min === +max) {
return Domain.getSinglePointDomain(max);

@@ -163,0 +163,0 @@ }

@@ -211,3 +211,3 @@ import _sortBy from "lodash/sortBy";

// handle charts with just one data point?
if (min === max) {
if (+min === +max) {
return Domain.getSinglePointDomain(max);

@@ -214,0 +214,0 @@ }

@@ -177,3 +177,3 @@ Object.defineProperty(exports, "__esModule", {

var max = Math.max.apply(Math, _toConsumableArray(allData));
if (min === max) {
if (+min === +max) {
return _victoryCore.Domain.getSinglePointDomain(max);

@@ -180,0 +180,0 @@ }

@@ -234,3 +234,3 @@ Object.defineProperty(exports, "__esModule", {

// handle charts with just one data point?
if (min === max) {
if (+min === +max) {
return _victoryCore.Domain.getSinglePointDomain(max);

@@ -237,0 +237,0 @@ }

{
"name": "victory-chart",
"version": "21.6.2",
"version": "22.0.0",
"description": "Chart Component for Victory",

@@ -35,3 +35,3 @@ "main": "lib/index.js",

"lodash": "^4.17.4",
"victory-core": "^17.1.0"
"victory-core": "^18.0.0"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -144,3 +144,3 @@ import { assign, sortBy, omit, defaults } from "lodash";

const max = Math.max(...allData);
if (min === max) {
if (+min === +max) {
return Domain.getSinglePointDomain(max);

@@ -147,0 +147,0 @@ }

@@ -190,3 +190,3 @@ import { assign, omit, defaults, isArray, flatten, sortBy } from "lodash";

// handle charts with just one data point?
if (min === max) {
if (+min === +max) {
return Domain.getSinglePointDomain(max);

@@ -193,0 +193,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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