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

victory-line

Package Overview
Dependencies
Maintainers
28
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-line - npm Package Compare versions

Comparing version 36.4.0 to 36.4.1

4

es/victory-line.js

@@ -79,4 +79,4 @@ 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; }

var children = this.renderContinuousData(props);
var container = /*#__PURE__*/React.cloneElement(props.containerComponent, UserProps.getSafeUserProps(props));
return props.standalone ? this.renderContainer(container, children) : children;
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
return UserProps.withSafeUserProps(component, props);
}

@@ -83,0 +83,0 @@ }]);

@@ -94,6 +94,4 @@ "use strict";

var children = this.renderContinuousData(props);
var container = /*#__PURE__*/_react.default.cloneElement(props.containerComponent, _victoryCore.UserProps.getSafeUserProps(props));
return props.standalone ? this.renderContainer(container, children) : children;
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children;
return _victoryCore.UserProps.withSafeUserProps(component, props);
}

@@ -100,0 +98,0 @@ }]);

{
"name": "victory-line",
"version": "36.4.0",
"version": "36.4.1",
"description": "Line Component for Victory",

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

"lodash": "^4.17.19",
"prop-types": "^15.5.8",
"victory-core": "^36.4.0",
"prop-types": "^15.8.1",
"victory-core": "^36.4.1",
"victory-vendor": "^36.4.0"

@@ -35,3 +35,3 @@ },

"sideEffects": false,
"gitHead": "2e05481eeb34f9801a90023a131a21aa7deff082"
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
}

@@ -114,11 +114,10 @@ import PropTypes from "prop-types";

const children = this.renderContinuousData(props);
const container = React.cloneElement(
props.containerComponent,
UserProps.getSafeUserProps(props)
);
return props.standalone
? this.renderContainer(container, children)
const component = props.standalone
? this.renderContainer(props.containerComponent, children)
: children;
return UserProps.withSafeUserProps(component, props);
}
}
export default addEvents(VictoryLine, options);

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