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

react-stick

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stick - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

2

lib/getBoundingClientRect.js

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

(0, _invariant2.default)(element instanceof window.HTMLElement || element instanceof window.SVGElement, 'Cannot retrieve client rect of text or null elements');
(0, _invariant2.default)(element instanceof window.Element, 'Cannot retrieve client rect of text or null elements');

@@ -19,0 +19,0 @@ return element.getBoundingClientRect();

{
"name": "react-stick",
"version": "2.2.4",
"version": "2.2.5",
"description": "React component to stick a portaled node to an anchor node",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -10,4 +10,3 @@ // @flow

invariant(
element instanceof window.HTMLElement ||
element instanceof window.SVGElement,
element instanceof window.Element,
'Cannot retrieve client rect of text or null elements'

@@ -14,0 +13,0 @@ )

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