Socket
Socket
Sign inDemoInstall

@reach/rect

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reach/rect - npm Package Compare versions

Comparing version 0.10.3 to 0.10.4

2

dist/index.d.ts

@@ -8,3 +8,3 @@ /**

* @see Docs https://reacttraining.com/reach-ui/rect
* @see Source https://github.com/reach/reach-ui/tree/master/packages/rect
* @see Source https://github.com/reach/reach-ui/tree/main/packages/rect
*/

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

@@ -19,3 +19,3 @@ 'use strict';

* @see Docs https://reacttraining.com/reach-ui/rect
* @see Source https://github.com/reach/reach-ui/tree/master/packages/rect
* @see Source https://github.com/reach/reach-ui/tree/main/packages/rect
*/

@@ -22,0 +22,0 @@

@@ -13,3 +13,3 @@ import { useRef, useState } from 'react';

* @see Docs https://reacttraining.com/reach-ui/rect
* @see Source https://github.com/reach/reach-ui/tree/master/packages/rect
* @see Source https://github.com/reach/reach-ui/tree/main/packages/rect
*/

@@ -16,0 +16,0 @@

{
"name": "@reach/rect",
"version": "0.10.3",
"version": "0.10.4",
"description": "Measure React elements position in the DOM",

@@ -16,6 +16,6 @@ "author": "React Training <hello@reacttraining.com>",

"dependencies": {
"@reach/observe-rect": "^1.1.0",
"@reach/utils": "^0.10.3",
"@reach/observe-rect": "1.1.0",
"@reach/utils": "0.10.4",
"prop-types": "^15.7.2",
"tslib": "^1.11.2"
"tslib": "^2.0.0"
},

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

],
"gitHead": "fd32b2b31a3e50265b0c274654a5e4105847d18e"
"gitHead": "a0c7b3672835b2a9f84732663bb0e78992541211"
}

@@ -5,3 +5,3 @@ # @reach/rect

[Docs](https://reacttraining.com/reach-ui/rect) | [Source](https://github.com/reach/reach-ui/tree/master/packages/rect)
[Docs](https://reacttraining.com/reach-ui/rect) | [Source](https://github.com/reach/reach-ui/tree/main/packages/rect)

@@ -24,3 +24,3 @@ Measures DOM elements (aka. bounding client rect). See also [Element.getBoundingClientRect()](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)

dangerouslySetInnerHTML={{
__html: "Edit this to change the size!"
__html: "Edit this to change the size!",
}}

@@ -27,0 +27,0 @@ />

Sorry, the diff of this file is not supported yet

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