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

victory

Package Overview
Dependencies
Maintainers
6
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory - npm Package Compare versions

Comparing version 32.1.0 to 32.2.0

52

package.json
{
"name": "victory",
"version": "32.1.0",
"version": "32.2.0",
"description": "Data viz for React",

@@ -22,27 +22,27 @@ "keywords": [

"dependencies": {
"victory-area": "^32.1.0",
"victory-axis": "^32.1.0",
"victory-bar": "^32.1.0",
"victory-box-plot": "^32.1.0",
"victory-brush-container": "^32.1.0",
"victory-brush-line": "^32.1.0",
"victory-candlestick": "^32.1.0",
"victory-chart": "^32.1.0",
"victory-core": "^32.1.0",
"victory-create-container": "^32.1.0",
"victory-cursor-container": "^32.1.0",
"victory-errorbar": "^32.1.0",
"victory-group": "^32.1.0",
"victory-legend": "^32.1.0",
"victory-line": "^32.1.0",
"victory-pie": "^32.1.0",
"victory-polar-axis": "^32.1.0",
"victory-scatter": "^32.1.0",
"victory-selection-container": "^32.1.0",
"victory-shared-events": "^32.1.0",
"victory-stack": "^32.1.0",
"victory-tooltip": "^32.1.0",
"victory-voronoi": "^32.1.0",
"victory-voronoi-container": "^32.1.0",
"victory-zoom-container": "^32.1.0"
"victory-area": "^32.2.0",
"victory-axis": "^32.2.0",
"victory-bar": "^32.2.0",
"victory-box-plot": "^32.2.0",
"victory-brush-container": "^32.2.0",
"victory-brush-line": "^32.2.0",
"victory-candlestick": "^32.2.0",
"victory-chart": "^32.2.0",
"victory-core": "^32.2.0",
"victory-create-container": "^32.2.0",
"victory-cursor-container": "^32.2.0",
"victory-errorbar": "^32.2.0",
"victory-group": "^32.2.0",
"victory-legend": "^32.2.0",
"victory-line": "^32.2.0",
"victory-pie": "^32.2.0",
"victory-polar-axis": "^32.2.0",
"victory-scatter": "^32.2.0",
"victory-selection-container": "^32.2.0",
"victory-shared-events": "^32.2.0",
"victory-stack": "^32.2.0",
"victory-tooltip": "^32.2.0",
"victory-voronoi": "^32.2.0",
"victory-voronoi-container": "^32.2.0",
"victory-zoom-container": "^32.2.0"
},

@@ -49,0 +49,0 @@ "scripts": {

@@ -33,2 +33,4 @@ ## [Victory Documentation](https://formidable.com/open-source/victory)

For detailed documentation and examples please see [Victory Documentation](https://formidable.com/open-source/victory)
## Requirements

@@ -45,20 +47,3 @@

## Issues
### Jest Snapshots
If you want to use [Jest snapshot testing](https://github.com/storybooks/storybook/tree/master/addons/storyshots)
with Victory, you may encounter a problem where the Jest snapshot changes every time, due to a randomly generated `clipId`
being used for a `VictoryClipContainer` group component.
The solution to this is to set a static `clipId` on your `VictoryClipContainer`.
For example, when creating a `VictoryLine` component, you can pass a `groupComponent` prop:
```js
<VictoryLine groupComponent={<VictoryClipContainer clipId={1} />} />
```
Now the `clipId` attached to your `VictoryLine` component will always be the same, and your snapshot will not change with each test run.
[react]: https://facebook.github.io/react/
[prop-types]: https://github.com/reactjs/prop-types

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