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

victory-group

Package Overview
Dependencies
Maintainers
16
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-group - npm Package Compare versions

Comparing version 36.8.4 to 36.8.5-next.0

10

CHANGELOG.md
# victory-group
## 36.8.5-next.0
### Patch Changes
- c8c2eb2f5: Replace instances of lodash.assign with Object.assign
- Updated dependencies [c8c2eb2f5]
- Updated dependencies [0f3abe234]
- victory-core@36.8.5-next.0
- victory-shared-events@36.8.5-next.0
## 36.8.4

@@ -4,0 +14,0 @@

0

es/helper-methods.d.ts

@@ -0,0 +0,0 @@ export declare function getCalculatedProps(initialProps: any, childComponents: any): {

11

es/helper-methods.js

@@ -1,3 +0,1 @@

import _assign from "lodash/assign";
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

@@ -29,2 +27,3 @@

/* eslint-disable no-use-before-define */
import React from "react";

@@ -52,6 +51,6 @@ import { Data, Helpers, Scale, Wrapper } from "victory-core";

var domain = {
x: Wrapper.getDomain(_assign({}, props, {
x: Wrapper.getDomain(Object.assign({}, props, {
categories: categories
}), "x", childComponents),
y: Wrapper.getDomain(_assign({}, props, {
y: Wrapper.getDomain(Object.assign({}, props, {
categories: categories

@@ -213,3 +212,3 @@ }), "y", childComponents)

return _assign({}, datum, {
return Object.assign({}, datum, {
_x1: _x1

@@ -235,3 +234,3 @@ });

var name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index);
return /*#__PURE__*/React.cloneElement(child, _assign({
return /*#__PURE__*/React.cloneElement(child, Object.assign({
labels: labels,

@@ -238,0 +237,0 @@ style: style,

export * from "./victory-group";
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ import React from "react";

import _isEmpty from "lodash/isEmpty";
import _defaults from "lodash/defaults";
import _assign from "lodash/assign";

@@ -65,6 +64,5 @@ 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; }

return children.map(function (child, index) {
var childProps = _assign({
var childProps = Object.assign({
animate: getAnimationProps(props, child, index)
}, child.props);
return /*#__PURE__*/React.cloneElement(child, childProps);

@@ -71,0 +69,0 @@ });

@@ -0,0 +0,0 @@ export declare function getCalculatedProps(initialProps: any, childComponents: any): {

@@ -10,4 +10,2 @@ "use strict";

var _assign2 = _interopRequireDefault(require("lodash/assign"));
var _react = _interopRequireDefault(require("react"));

@@ -72,6 +70,6 @@

var domain = {
x: _victoryCore.Wrapper.getDomain((0, _assign2.default)({}, props, {
x: _victoryCore.Wrapper.getDomain(Object.assign({}, props, {
categories: categories
}), "x", childComponents),
y: _victoryCore.Wrapper.getDomain((0, _assign2.default)({}, props, {
y: _victoryCore.Wrapper.getDomain(Object.assign({}, props, {
categories: categories

@@ -240,3 +238,3 @@ }), "y", childComponents)

return (0, _assign2.default)({}, datum, {
return Object.assign({}, datum, {
_x1: _x1

@@ -264,3 +262,3 @@ });

var name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index);
return /*#__PURE__*/_react.default.cloneElement(child, (0, _assign2.default)({
return /*#__PURE__*/_react.default.cloneElement(child, Object.assign({
labels: labels,

@@ -267,0 +265,0 @@ style: style,

export * from "./victory-group";
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ import React from "react";

@@ -12,4 +12,2 @@ "use strict";

var _assign2 = _interopRequireDefault(require("lodash/assign"));
var _propTypes = _interopRequireDefault(require("prop-types"));

@@ -89,3 +87,3 @@

return children.map(function (child, index) {
var childProps = (0, _assign2.default)({
var childProps = Object.assign({
animate: getAnimationProps(props, child, index)

@@ -92,0 +90,0 @@ }, child.props);

{
"name": "victory-group",
"version": "36.8.4",
"version": "36.8.5-next.0",
"description": "Group Layout Component for Victory",

@@ -26,8 +26,8 @@ "keywords": [

"react-fast-compare": "^3.2.0",
"victory-core": "^36.8.4",
"victory-shared-events": "^36.8.4"
"victory-core": "^36.8.5-next.0",
"victory-shared-events": "^36.8.5-next.0"
},
"devDependencies": {
"victory-bar": "*",
"victory-group": "*"
"victory-bar": "36.8.5-next.0",
"victory-group": "36.8.5-next.0"
},

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

"publishConfig": {
"provenance": true
"provenance": false
},

@@ -41,0 +41,0 @@ "wireit": {

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

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