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

victory-area

Package Overview
Dependencies
Maintainers
3
Versions
154
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 35.9.3 to 35.10.0

9

es/helper-methods.js
import _isNil from "lodash/isNil";
import _assign from "lodash/assign";
import { Helpers, LabelHelpers, Data, Domain, Scale, Collection } from "victory-core";
var getDataWithBaseline = function (props, scale) {
export var getDataWithBaseline = function (props, scale) {
var data = Data.getData(props);

@@ -73,3 +72,3 @@

var getBaseProps = function (props, fallbackProps) {
export var getBaseProps = function (props, fallbackProps) {
var modifiedProps = Helpers.modifyProps(props, fallbackProps, "area");

@@ -139,4 +138,2 @@ props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps));

}, initialChildProps);
};
export { getBaseProps, getDataWithBaseline };
};

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

});
exports.getDataWithBaseline = exports.getBaseProps = void 0;
exports.getBaseProps = exports.getDataWithBaseline = void 0;

@@ -9,0 +9,0 @@ var _isNil2 = _interopRequireDefault(require("lodash/isNil"));

{
"name": "victory-area",
"version": "35.9.3",
"version": "35.10.0",
"description": "Area Component for Victory",

@@ -25,4 +25,7 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^35.9.3"
"victory-core": "^35.10.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
},
"scripts": {

@@ -29,0 +32,0 @@ "version": "nps build-libs && nps build-dists"

@@ -11,3 +11,3 @@ import { assign, isNil } from "lodash";

const getDataWithBaseline = (props, scale) => {
export const getDataWithBaseline = (props, scale) => {
let data = Data.getData(props);

@@ -68,3 +68,3 @@ if (data.length < 2) {

const getBaseProps = (props, fallbackProps) => {
export const getBaseProps = (props, fallbackProps) => {
const modifiedProps = Helpers.modifyProps(props, fallbackProps, "area");

@@ -135,3 +135,1 @@ props = assign({}, modifiedProps, getCalculatedValues(modifiedProps));

};
export { getBaseProps, getDataWithBaseline };

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