Comparing version 0.0.192 to 0.0.193-alpha.0
@@ -0,1 +1,3 @@ | ||
import _pt from "prop-types"; | ||
function _extends() { _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; }; return _extends.apply(this, arguments); } | ||
@@ -7,11 +9,2 @@ | ||
import cx from 'classnames'; | ||
import PropTypes from 'prop-types'; | ||
Group.propTypes = { | ||
top: PropTypes.number, | ||
left: PropTypes.number, | ||
transform: PropTypes.string, | ||
className: PropTypes.string, | ||
children: PropTypes.any, | ||
innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]) | ||
}; | ||
export default function Group(_ref) { | ||
@@ -33,2 +26,10 @@ var _ref$top = _ref.top, | ||
}, restProps), children); | ||
} | ||
} | ||
Group.propTypes = { | ||
top: _pt.number, | ||
left: _pt.number, | ||
transform: _pt.string, | ||
className: _pt.string, | ||
children: _pt.node, | ||
innerRef: _pt.oneOfType([_pt.string, _pt.func, _pt.object]) | ||
}; |
@@ -6,2 +6,4 @@ "use strict"; | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -11,4 +13,2 @@ | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -20,11 +20,2 @@ | ||
Group.propTypes = { | ||
top: _propTypes.default.number, | ||
left: _propTypes.default.number, | ||
transform: _propTypes.default.string, | ||
className: _propTypes.default.string, | ||
children: _propTypes.default.any, | ||
innerRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]) | ||
}; | ||
function Group(_ref) { | ||
@@ -46,2 +37,11 @@ var _ref$top = _ref.top, | ||
}, restProps), children); | ||
} | ||
} | ||
Group.propTypes = { | ||
top: _propTypes.default.number, | ||
left: _propTypes.default.number, | ||
transform: _propTypes.default.string, | ||
className: _propTypes.default.string, | ||
children: _propTypes.default.node, | ||
innerRef: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func, _propTypes.default.object]) | ||
}; |
{ | ||
"name": "@vx/group", | ||
"version": "0.0.192", | ||
"version": "0.0.193-alpha.0", | ||
"description": "vx group", | ||
@@ -15,2 +15,3 @@ "sideEffects": false, | ||
}, | ||
"types": "lib/index.d.ts", | ||
"repository": { | ||
@@ -38,2 +39,4 @@ "type": "git", | ||
"dependencies": { | ||
"@types/classnames": "^2.2.9", | ||
"@types/react": "*", | ||
"classnames": "^2.2.5", | ||
@@ -45,3 +48,3 @@ "prop-types": "^15.6.2" | ||
}, | ||
"gitHead": "101db6e89d7e8a4966dfafba5a782297110f7844" | ||
"gitHead": "8fb99e77e64fa9c319c0addc2a3fbf61e64885cc" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8457
11
81
5
+ Added@types/classnames@^2.2.9
+ Added@types/react@*
+ Added@types/classnames@2.3.4(transitive)
+ Added@types/prop-types@15.7.13(transitive)
+ Added@types/react@18.3.12(transitive)
+ Addedcsstype@3.1.3(transitive)