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

victory-candlestick

Package Overview
Dependencies
Maintainers
3
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-candlestick - npm Package Compare versions

Comparing version 35.9.3 to 35.10.0

11

es/helper-methods.js

@@ -8,4 +8,3 @@ import _isPlainObject from "lodash/isPlainObject";

var TYPES = ["close", "open", "high", "low"];
var getData = function (props) {
export var getData = function (props) {
var accessorTypes = ["x", "high", "low", "close", "open"];

@@ -42,3 +41,3 @@ return Data.formatData(props.data, props, accessorTypes);

var getDomain = function (props, axis) {
export var getDomain = function (props, axis) {
return Domain.createDomainFunction(getDomainFromData)(props, axis);

@@ -344,3 +343,3 @@ };

var getBaseProps = function (props, fallbackProps) {
export var getBaseProps = function (props, fallbackProps) {
// eslint-disable-line max-statements

@@ -453,4 +452,2 @@ props = Helpers.modifyProps(props, fallbackProps, "candlestick");

}, initialChildProps);
};
export { getBaseProps, getDomain, getData };
};

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

});
exports.getData = exports.getDomain = exports.getBaseProps = void 0;
exports.getBaseProps = exports.getDomain = exports.getData = void 0;

@@ -9,0 +9,0 @@ var _isPlainObject2 = _interopRequireDefault(require("lodash/isPlainObject"));

{
"name": "victory-candlestick",
"version": "35.9.3",
"version": "35.10.0",
"description": "Candlestick Component for Victory",

@@ -24,4 +24,7 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^35.9.3"
"victory-core": "^35.10.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
},
"scripts": {

@@ -28,0 +31,0 @@ "version": "nps build-libs && nps build-dists"

@@ -13,3 +13,3 @@ import { assign, defaults, isNil, isFunction, isPlainObject } from "lodash";

const getData = (props) => {
export const getData = (props) => {
const accessorTypes = ["x", "high", "low", "close", "open"];

@@ -48,3 +48,3 @@ return Data.formatData(props.data, props, accessorTypes);

const getDomain = (props, axis) => {
export const getDomain = (props, axis) => {
return Domain.createDomainFunction(getDomainFromData)(props, axis);

@@ -365,3 +365,3 @@ };

const getBaseProps = (props, fallbackProps) => {
export const getBaseProps = (props, fallbackProps) => {
// eslint-disable-line max-statements

@@ -479,3 +479,1 @@ props = Helpers.modifyProps(props, fallbackProps, "candlestick");

};
export { getBaseProps, getDomain, getData };

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