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

rc-picker

Package Overview
Dependencies
Maintainers
1
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-picker - npm Package Compare versions

Comparing version 0.0.1-alpha.43 to 0.0.1-alpha.44

6

es/hooks/usePickerInput.js

@@ -64,2 +64,6 @@ "use strict";

var preventBlurRef = React.useRef(false);
var cancelRef = React.useRef({
onCancel: onCancel
});
cancelRef.current.onCancel = onCancel;
var inputProps = {

@@ -131,3 +135,3 @@ onMouseDown: function onMouseDown() {

if (isClickOutside(document.activeElement)) {
onCancel();
cancelRef.current.onCancel();
}

@@ -134,0 +138,0 @@ }, 0);

@@ -64,2 +64,6 @@ "use strict";

var preventBlurRef = React.useRef(false);
var cancelRef = React.useRef({
onCancel: onCancel
});
cancelRef.current.onCancel = onCancel;
var inputProps = {

@@ -131,3 +135,3 @@ onMouseDown: function onMouseDown() {

if (isClickOutside(document.activeElement)) {
onCancel();
cancelRef.current.onCancel();
}

@@ -134,0 +138,0 @@ }, 0);

2

package.json
{
"name": "rc-picker",
"version": "0.0.1-alpha.43",
"version": "0.0.1-alpha.44",
"description": "React date & time picker",

@@ -5,0 +5,0 @@ "keywords": [

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