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

victory-errorbar

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-errorbar - npm Package Compare versions

Comparing version 36.8.4 to 36.8.5-next.0

10

CHANGELOG.md
# victory-errorbar
## 36.8.5-next.0
### Patch Changes
- c8c2eb2f5: Replace instances of lodash.assign with Object.assign
- 0f3abe234: Migrate victory-native to TypeScript
- Updated dependencies [c8c2eb2f5]
- Updated dependencies [0f3abe234]
- victory-core@36.8.5-next.0
## 36.8.4

@@ -4,0 +14,0 @@

0

es/error-bar.d.ts

@@ -0,0 +0,0 @@ import React from "react";

6

es/error-bar.js

@@ -1,3 +0,1 @@

import _assign from "lodash/assign";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

@@ -94,7 +92,7 @@

var id = Helpers.evaluateProp(props.id, props);
var style = Helpers.evaluateStyle(_assign({
var style = Helpers.evaluateStyle(Object.assign({
stroke: "black"
}, props.style), props);
var tabIndex = Helpers.evaluateProp(props.tabIndex, props);
return _assign({}, props, {
return Object.assign({}, props, {
ariaLabel: ariaLabel,

@@ -101,0 +99,0 @@ id: id,

@@ -0,0 +0,0 @@ export declare const getData: (props: any) => any;

@@ -161,5 +161,3 @@ import _isNil from "lodash/isNil";

var modifiedProps = Helpers.modifyProps(initialProps, fallbackProps, "errorbar");
var props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps));
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps));
var borderWidth = props.borderWidth,

@@ -234,3 +232,3 @@ data = props.data,

if (text !== undefined && text !== null || labels && (events || sharedEvents)) {
childProps[eventKey].labels = getLabelProps(_assign({}, props, dataProps), text, style);
childProps[eventKey].labels = getLabelProps(Object.assign({}, props, dataProps), text, style);
}

@@ -237,0 +235,0 @@

export * from "./victory-errorbar";
export * from "./error-bar";
//# sourceMappingURL=index.d.ts.map

@@ -72,18 +72,3 @@ import PropTypes from "prop-types";

};
static defaultProps: {
containerComponent: JSX.Element;
data: {
x: number;
y: number;
errorX: number;
errorY: number;
}[];
dataComponent: JSX.Element;
labelComponent: JSX.Element;
groupComponent: JSX.Element;
samples: number;
sortOrder: string;
standalone: boolean;
theme: import("victory-core").VictoryThemeDefinition;
};
static defaultProps: VictoryErrorBarProps;
static getDomain: (props: any, axis: any) => any;

@@ -90,0 +75,0 @@ static getData: (props: any) => any;

@@ -0,0 +0,0 @@ import React from "react";

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

var _assign2 = _interopRequireDefault(require("lodash/assign"));
var _react = _interopRequireDefault(require("react"));

@@ -107,3 +105,3 @@

var style = _victoryCore.Helpers.evaluateStyle((0, _assign2.default)({
var style = _victoryCore.Helpers.evaluateStyle(Object.assign({
stroke: "black"

@@ -114,3 +112,3 @@ }, props.style), props);

return (0, _assign2.default)({}, props, {
return Object.assign({}, props, {
ariaLabel: ariaLabel,

@@ -117,0 +115,0 @@ id: id,

@@ -0,0 +0,0 @@ export declare const getData: (props: any) => any;

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

var props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps));
var props = Object.assign({}, modifiedProps, getCalculatedValues(modifiedProps));
var borderWidth = props.borderWidth,

@@ -258,3 +258,3 @@ data = props.data,

if (text !== undefined && text !== null || labels && (events || sharedEvents)) {
childProps[eventKey].labels = getLabelProps((0, _assign2.default)({}, props, dataProps), text, style);
childProps[eventKey].labels = getLabelProps(Object.assign({}, props, dataProps), text, style);
}

@@ -261,0 +261,0 @@

export * from "./victory-errorbar";
export * from "./error-bar";
//# sourceMappingURL=index.d.ts.map

@@ -72,18 +72,3 @@ import PropTypes from "prop-types";

};
static defaultProps: {
containerComponent: JSX.Element;
data: {
x: number;
y: number;
errorX: number;
errorY: number;
}[];
dataComponent: JSX.Element;
labelComponent: JSX.Element;
groupComponent: JSX.Element;
samples: number;
sortOrder: string;
standalone: boolean;
theme: import("victory-core").VictoryThemeDefinition;
};
static defaultProps: VictoryErrorBarProps;
static getDomain: (props: any, axis: any) => any;

@@ -90,0 +75,0 @@ static getData: (props: any) => any;

{
"name": "victory-errorbar",
"version": "36.8.4",
"version": "36.8.5-next.0",
"description": "Error Bar Component for Victory",

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

"prop-types": "^15.8.1",
"victory-core": "^36.8.4"
"victory-core": "^36.8.5-next.0"
},

@@ -32,6 +32,6 @@ "peerDependencies": {

"devDependencies": {
"victory-errorbar": "*"
"victory-errorbar": "36.8.5-next.0"
},
"publishConfig": {
"provenance": true
"provenance": false
},

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

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

Sorry, the diff of this file is not supported yet

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