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

victory-candlestick

Package Overview
Dependencies
Maintainers
16
Versions
147
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 37.3.1 to 37.3.2

2

CHANGELOG.md
# victory-candlestick
## 37.3.2
## 37.3.1

@@ -4,0 +6,0 @@

8

es/helper-methods.js

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

// This method will edit or remove candlestick data points that fall outside of the desired domain
// eslint-disable-next-line complexity
const formatDataFromDomain = (datum, domain) => {

@@ -200,4 +200,2 @@ const minDomainX = Collection.getMinValue(domain.x);

};
/* eslint-disable complexity*/
const calculatePlotValues = props => {

@@ -239,3 +237,2 @@ const {

};
/* eslint-enable complexity*/

@@ -324,3 +321,2 @@ /* eslint-disable max-params*/

export const getBaseProps = (initialProps, fallbackProps) => {
// eslint-disable-line max-statements
const props = Helpers.modifyProps(initialProps, fallbackProps, "candlestick");

@@ -371,4 +367,2 @@ const calculatedValues = getCalculatedValues(props);

};
// eslint-disable-next-line complexity
return data.reduce((childProps, datum, index) => {

@@ -375,0 +369,0 @@ const eventKey = !Helpers.isNil(datum.eventKey) ? datum.eventKey : index;

@@ -114,3 +114,3 @@ import React from "react";

UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
getSharedEventState: (key: string, value: string) => unknown;

@@ -117,0 +117,0 @@ baseProps: Record<string, object>;

@@ -87,3 +87,3 @@ import React from "react";

// eslint-disable-next-line @typescript-eslint/no-empty-interface
// eslint-disable-next-line @typescript-eslint/no-empty-object-type

@@ -90,0 +90,0 @@ /**

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

// This method will edit or remove candlestick data points that fall outside of the desired domain
// eslint-disable-next-line complexity
const formatDataFromDomain = (datum, domain) => {

@@ -209,4 +209,2 @@ const minDomainX = _victoryCore.Collection.getMinValue(domain.x);

};
/* eslint-disable complexity*/
const calculatePlotValues = props => {

@@ -248,3 +246,2 @@ const {

};
/* eslint-enable complexity*/

@@ -333,3 +330,2 @@ /* eslint-disable max-params*/

const getBaseProps = (initialProps, fallbackProps) => {
// eslint-disable-line max-statements
const props = _victoryCore.Helpers.modifyProps(initialProps, fallbackProps, "candlestick");

@@ -380,4 +376,2 @@ const calculatedValues = getCalculatedValues(props);

};
// eslint-disable-next-line complexity
return data.reduce((childProps, datum, index) => {

@@ -384,0 +378,0 @@ const eventKey = !_victoryCore.Helpers.isNil(datum.eventKey) ? datum.eventKey : index;

@@ -114,3 +114,3 @@ import React from "react";

UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
getSharedEventState: (key: string, value: string) => unknown;

@@ -117,0 +117,0 @@ baseProps: Record<string, object>;

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

// eslint-disable-next-line @typescript-eslint/no-empty-interface
// eslint-disable-next-line @typescript-eslint/no-empty-object-type

@@ -97,0 +97,0 @@ /**

{
"name": "victory-candlestick",
"version": "37.3.1",
"version": "37.3.2",
"description": "Candlestick Component for Victory",

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

"lodash": "^4.17.19",
"victory-core": "37.3.1"
"victory-core": "37.3.2"
},

@@ -216,7 +216,5 @@ "peerDependencies": {

"lint": {
"command": "nps lint:pkg",
"command": "eslint src",
"files": [
"src/**",
"../../.eslintignore",
"../../.eslintrc.js"
"src/**"
],

@@ -235,7 +233,5 @@ "output": [],

"lint:fix": {
"command": "pnpm run lint || nps lint:pkg:fix",
"command": "eslint --fix src",
"files": [
"src/**",
"../../.eslintignore",
"../../.eslintrc.js"
"src/**"
],

@@ -242,0 +238,0 @@ "output": [],

@@ -130,3 +130,3 @@ import { defaults, isPlainObject } from "lodash";

// This method will edit or remove candlestick data points that fall outside of the desired domain
// eslint-disable-next-line complexity
const formatDataFromDomain = (datum, domain) => {

@@ -249,3 +249,2 @@ const minDomainX = Collection.getMinValue(domain.x);

/* eslint-disable complexity*/
const calculatePlotValues = (props) => {

@@ -297,3 +296,2 @@ const {

};
/* eslint-enable complexity*/

@@ -380,3 +378,2 @@ /* eslint-disable max-params*/

export const getBaseProps = (initialProps, fallbackProps) => {
// eslint-disable-line max-statements
const props = Helpers.modifyProps(initialProps, fallbackProps, "candlestick");

@@ -422,3 +419,2 @@ const calculatedValues = getCalculatedValues(props);

// eslint-disable-next-line complexity
return data.reduce((childProps, datum, index) => {

@@ -425,0 +421,0 @@ const eventKey = !Helpers.isNil(datum.eventKey) ? datum.eventKey : index;

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

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

Sorry, the diff of this file is not supported yet

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