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

victory-area

Package Overview
Dependencies
Maintainers
16
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-area - npm Package Compare versions

Comparing version 37.0.1 to 37.0.2

6

CHANGELOG.md
# victory-area
## 37.0.2
### Patch Changes
- Ensure undefined props do not overwrite defaults ([#2852](https://github.com/FormidableLabs/victory/pull/2852))
## 37.0.1

@@ -4,0 +10,0 @@

6

es/area.js

@@ -0,1 +1,2 @@

import _defaults from "lodash/defaults";
/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1, 2] }]*/

@@ -75,6 +76,3 @@ import React from "react";

export const Area = initialProps => {
const props = evaluateProps({
...defaultProps,
...initialProps
});
const props = evaluateProps(_defaults({}, initialProps, defaultProps));
const {

@@ -81,0 +79,0 @@ ariaLabel,

@@ -7,2 +7,3 @@ "use strict";

exports.Area = void 0;
var _defaults2 = _interopRequireDefault(require("lodash/defaults"));
var _react = _interopRequireDefault(require("react"));

@@ -86,6 +87,3 @@ var d3Shape = _interopRequireWildcard(require("victory-vendor/d3-shape"));

const Area = initialProps => {
const props = evaluateProps({
...defaultProps,
...initialProps
});
const props = evaluateProps((0, _defaults2.default)({}, initialProps, defaultProps));
const {

@@ -92,0 +90,0 @@ ariaLabel,

{
"name": "victory-area",
"version": "37.0.1",
"version": "37.0.2",
"description": "Area Component for Victory",

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

"lodash": "^4.17.19",
"victory-core": "^37.0.1",
"victory-vendor": "^37.0.1"
"victory-core": "^37.0.2",
"victory-vendor": "^37.0.2"
},

@@ -28,0 +28,0 @@ "peerDependencies": {

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