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

victory-line

Package Overview
Dependencies
Maintainers
29
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.3.0 to 36.3.2

5

es/victory-line.js

@@ -21,3 +21,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }

import Curve from "./curve";
import { PropTypes as CustomPropTypes, Helpers, VictoryLabel, addEvents, VictoryContainer, VictoryTheme, DefaultTransitions, VictoryClipContainer, Data, Domain, CommonProps } from "victory-core";
import { PropTypes as CustomPropTypes, Helpers, VictoryLabel, addEvents, VictoryContainer, VictoryTheme, DefaultTransitions, VictoryClipContainer, Data, Domain, CommonProps, UserProps } from "victory-core";
var fallbackProps = {

@@ -70,3 +70,4 @@ width: 450,

var children = this.renderContinuousData(props);
return props.standalone ? this.renderContainer(props.containerComponent, children) : children;
var container = React.cloneElement(props.containerComponent, UserProps.getSafeUserProps(props));
return props.standalone ? this.renderContainer(container, children) : children;
}

@@ -73,0 +74,0 @@ }]);

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

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

@@ -87,0 +90,0 @@ }]);

6

package.json
{
"name": "victory-line",
"version": "36.3.0",
"version": "36.3.2",
"description": "Line Component for Victory",

@@ -25,3 +25,3 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^36.3.0"
"victory-core": "^36.3.2"
},

@@ -35,3 +35,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "ebafd849d2ded3f1d2aabf0d6e64dcbd48e4c9d6"
"gitHead": "18895d1290245732d14332bbbda10336032c9aab"
}

@@ -16,3 +16,4 @@ import PropTypes from "prop-types";

Domain,
CommonProps
CommonProps,
UserProps
} from "victory-core";

@@ -114,4 +115,8 @@

const children = this.renderContinuousData(props);
const container = React.cloneElement(
props.containerComponent,
UserProps.getSafeUserProps(props)
);
return props.standalone
? this.renderContainer(props.containerComponent, children)
? this.renderContainer(container, children)
: children;

@@ -118,0 +123,0 @@ }

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