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

victory-scatter

Package Overview
Dependencies
Maintainers
6
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-scatter - npm Package Compare versions

Comparing version 31.1.0 to 31.2.0

3

es/helper-methods.js

@@ -0,1 +1,2 @@

import _isNil from "lodash/isNil";
import _values from "lodash/values";

@@ -132,3 +133,3 @@ import _assign from "lodash/assign";

return data.reduce(function (childProps, datum, index) {
var eventKey = datum.eventKey || index;
var eventKey = !_isNil(datum.eventKey) ? datum.eventKey : index;

@@ -135,0 +136,0 @@ var _Helpers$scalePoint = Helpers.scalePoint(props, datum),

@@ -8,2 +8,4 @@ "use strict";

var _isNil2 = _interopRequireDefault(require("lodash/isNil"));
var _values2 = _interopRequireDefault(require("lodash/values"));

@@ -153,3 +155,3 @@

return data.reduce(function (childProps, datum, index) {
var eventKey = datum.eventKey || index;
var eventKey = !(0, _isNil2.default)(datum.eventKey) ? datum.eventKey : index;

@@ -156,0 +158,0 @@ var _Helpers$scalePoint = _victoryCore.Helpers.scalePoint(props, datum),

{
"name": "victory-scatter",
"version": "31.1.0",
"version": "31.2.0",
"description": "Scatter Component for Victory",

@@ -24,3 +24,3 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^31.1.0"
"victory-core": "^31.2.0"
},

@@ -27,0 +27,0 @@ "scripts": {

@@ -1,2 +0,2 @@

import { assign, values } from "lodash";
import { assign, values, isNil } from "lodash";
import { Helpers, LabelHelpers, Data, Domain, Scale } from "victory-core";

@@ -112,3 +112,3 @@

return data.reduce((childProps, datum, index) => {
const eventKey = datum.eventKey || index;
const eventKey = !isNil(datum.eventKey) ? datum.eventKey : index;
const { x, y } = Helpers.scalePoint(props, datum);

@@ -115,0 +115,0 @@ const dataProps = {

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