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

react-best-gradient-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-best-gradient-color-picker - npm Package Compare versions

Comparing version 1.4.11 to 1.4.12

4

lib/index.js

@@ -30,4 +30,4 @@ import React, { useRef, useState, useEffect } from "react";

useEffect(() => {
setBounds(boundingRect);
setTimeout(() => setBounds(boundingRect), 150);
setBounds(contRef?.current?.getBoundingClientRect());
setTimeout(() => setBounds(contRef?.current?.getBoundingClientRect()), 150);
}, [bottom, height, left, right, top]);

@@ -34,0 +34,0 @@ return /*#__PURE__*/React.createElement("div", {

{
"name": "react-best-gradient-color-picker",
"version": "1.4.11",
"version": "1.4.12",
"description": "An easy to use color/gradient picker for React.js",

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

@@ -16,4 +16,4 @@ import React, { useRef, useState, useEffect } from "react"

useEffect(() => {
setBounds(boundingRect)
setTimeout(() => setBounds(boundingRect), 150)
setBounds(contRef?.current?.getBoundingClientRect())
setTimeout(() => setBounds(contRef?.current?.getBoundingClientRect()), 150)
}, [bottom, height, left, right, top])

@@ -20,0 +20,0 @@

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