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

@vx/group

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/group - npm Package Compare versions

Comparing version 0.0.114 to 0.0.120

12

build/Group.js

@@ -6,2 +6,5 @@ 'use strict';

});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
exports.default = Group;

@@ -19,2 +22,4 @@

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function Group(_ref) {

@@ -27,12 +32,13 @@ var _ref$top = _ref.top,

className = _ref.className,
children = _ref.children;
children = _ref.children,
restProps = _objectWithoutProperties(_ref, ['top', 'left', 'transform', 'className', 'children']);
return _react2.default.createElement(
'g',
{
_extends({
className: (0, _classnames2.default)('cx-group', className),
transform: transform || 'translate(' + left + ', ' + top + ')'
},
}, restProps),
children
);
}
{
"name": "@vx/group",
"version": "0.0.114",
"version": "0.0.120",
"description": "vx group",

@@ -39,7 +39,10 @@ "main": "build/index.js",

"react-tools": "^0.10.0",
"regenerator-runtime": "^0.10.5"
"regenerator-runtime": "^0.10.5",
"react": "^15.0.0 || 15.x"
},
"peerDependencies": {
"react": "^15.0.0 || 15.x"
},
"dependencies": {
"classnames": "^2.2.5",
"react": "15.4.2"
"classnames": "^2.2.5"
},

@@ -46,0 +49,0 @@ "publishConfig": {

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