@vx/bounds
Advanced tools
Comparing version 0.0.196 to 0.0.197
@@ -23,5 +23,3 @@ 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); } | ||
return _temp = _class = | ||
/*#__PURE__*/ | ||
function (_React$PureComponent) { | ||
return _temp = _class = /*#__PURE__*/function (_React$PureComponent) { | ||
_inheritsLoose(WrappedComponent, _React$PureComponent); | ||
@@ -68,3 +66,3 @@ | ||
_proto.render = function render() { | ||
return React.createElement(BaseComponent, _extends({ | ||
return /*#__PURE__*/React.createElement(BaseComponent, _extends({ | ||
getRects: this.getRects | ||
@@ -71,0 +69,0 @@ }, this.state, this.props)); |
@@ -20,3 +20,3 @@ import React from 'react'; | ||
new (props: Props): { | ||
node: HTMLElement | null | undefined; | ||
node: HTMLElement | undefined | null; | ||
componentDidMount(): void; | ||
@@ -23,0 +23,0 @@ getRects(): Readonly<{}>; |
@@ -32,5 +32,3 @@ "use strict"; | ||
return _temp = _class = | ||
/*#__PURE__*/ | ||
function (_React$PureComponent) { | ||
return _temp = _class = /*#__PURE__*/function (_React$PureComponent) { | ||
_inheritsLoose(WrappedComponent, _React$PureComponent); | ||
@@ -77,3 +75,3 @@ | ||
_proto.render = function render() { | ||
return _react.default.createElement(BaseComponent, _extends({ | ||
return /*#__PURE__*/_react.default.createElement(BaseComponent, _extends({ | ||
getRects: this.getRects | ||
@@ -80,0 +78,0 @@ }, this.state, this.props)); |
{ | ||
"name": "@vx/bounds", | ||
"version": "0.0.196", | ||
"version": "0.0.197", | ||
"description": "Utilities to make your life with bounding boxes better", | ||
@@ -41,3 +41,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "0b9ff48c735be9a9273f38750120e7fe2fb2caaf" | ||
"gitHead": "c56b64bfbedde9ca06255b2eeff84b52c49d57ea" | ||
} |
# @vx/bounds | ||
<p> | ||
<a title="@vx/bounds npm downloads" href="https://www.npmjs.com/package/@vx/bounds"> | ||
<img src="https://img.shields.io/npm/dm/@vx/bounds.svg?style=flat-square" /> | ||
</a> | ||
</p> | ||
``` | ||
@@ -4,0 +10,0 @@ npm install --save @vx/bounds |
Sorry, the diff of this file is not supported yet
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
13077
63
174
1