victory-candlestick
Advanced tools
Comparing version 35.9.3 to 35.10.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1137608
4
21477
8
4
Updatedvictory-core@^35.10.0