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

victory-native

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-native - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

lib/components/victory-primitives/border.js

5

CHANGELOG.md
# VictoryNative Changelog
## 0.15.0 (2017-09-11)
[157](https://github.com/FormidableLabs/victory-native/pull/157) Supports changes related to VictoryLegend
[More details](https://github.com/FormidableLabs/victory-core/blob/master/CHANGELOG.md#1800-2017-09-09)
## 0.14.0 (2017-07-17)

@@ -4,0 +9,0 @@

2

lib/components/victory-label.js

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

return (
<TSpan key={i} x={x} y={y} dy={dy} dx={this.dx} {...style} textAnchor={textAnchor}>
<TSpan key={i} x={x} dy={dy} dx={this.dx} {...style} textAnchor={textAnchor}>
{line}

@@ -38,0 +38,0 @@ </TSpan>

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

import VictoryContainer from "./victory-container";
import { Point, NativeHelpers } from "../index";
import { Point, Border } from "../index";

@@ -13,2 +13,3 @@ export default class extends VictoryLegend {

...VictoryLegend.defaultProps,
borderComponent: <Border/>,
containerComponent: <VictoryContainer/>,

@@ -18,22 +19,5 @@ dataComponent: <Point/>,

labelComponent: <VictoryLabel/>,
titleComponent: <VictoryLabel/>,
width: Dimensions.get("window").width
};
renderGroup(props, children) {
const { groupComponent, height, parentStyles, standalone, width, x, y } = props;
let groupProps = { role: "presentation" };
const styles = NativeHelpers.getStyle(parentStyles);
if (!standalone) {
groupProps = {
height,
width,
translateX: x,
translateY: y,
...styles,
...groupProps
};
}
return React.cloneElement(groupComponent, groupProps, children);
}
}

@@ -13,2 +13,3 @@ import createContainer from "./helpers/create-container";

export { default as Bar } from "./components/victory-primitives/bar";
export { default as Border } from "./components/victory-primitives/border";
export { default as Candle } from "./components/victory-primitives/candle";

@@ -15,0 +16,0 @@ export { default as ClipPath } from "./components/victory-primitives/clip-path";

{
"name": "victory-native",
"version": "0.14.0",
"version": "0.15.0",
"description": "Shared libraries and components for Victory",

@@ -8,3 +8,4 @@ "main": "lib/index.js",

"lib",
"index.js"
"index.js",
"LICENSE.txt"
],

@@ -54,6 +55,6 @@ "repository": {

"prop-types": "^15.5.10",
"victory-chart": "^21.3.0",
"victory-core": "^16.3.0",
"victory-pie": "^11.3.0"
"victory-chart": "^22.0.0",
"victory-core": "^18.0.1",
"victory-pie": "^12.0.0"
}
}
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