Socket
Socket
Sign inDemoInstall

@vx/bounds

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/bounds - npm Package Compare versions

Comparing version 0.0.196 to 0.0.197

6

esm/enhancers/withBoundingRects.js

@@ -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

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