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

rc-select

Package Overview
Dependencies
Maintainers
9
Versions
469
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-select - npm Package Compare versions

Comparing version 14.13.3 to 14.13.4

9

es/BaseSelect/index.js

@@ -519,4 +519,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";

empty: emptyOptions,
getTriggerDOMNode: function getTriggerDOMNode() {
return selectorDomRef.current;
getTriggerDOMNode: function getTriggerDOMNode(node) {
return (
// TODO: This is workaround and should be removed in `rc-select`
// And use new standard `nativeElement` for ref.
// But we should update `rc-resize-observer` first.
selectorDomRef.current || node
);
},

@@ -523,0 +528,0 @@ onPopupVisibleChange: onTriggerVisibleChange,

@@ -25,3 +25,3 @@ import type { AlignType, BuildInPlacements } from '@rc-component/trigger/lib/interface';

empty: boolean;
getTriggerDOMNode: () => HTMLElement;
getTriggerDOMNode: (node: HTMLElement) => HTMLElement;
onPopupVisibleChange?: (visible: boolean) => void;

@@ -28,0 +28,0 @@ onPopupMouseEnter: () => void;

@@ -529,4 +529,9 @@ "use strict";

empty: emptyOptions,
getTriggerDOMNode: function getTriggerDOMNode() {
return selectorDomRef.current;
getTriggerDOMNode: function getTriggerDOMNode(node) {
return (
// TODO: This is workaround and should be removed in `rc-select`
// And use new standard `nativeElement` for ref.
// But we should update `rc-resize-observer` first.
selectorDomRef.current || node
);
},

@@ -533,0 +538,0 @@ onPopupVisibleChange: onTriggerVisibleChange,

@@ -25,3 +25,3 @@ import type { AlignType, BuildInPlacements } from '@rc-component/trigger/lib/interface';

empty: boolean;
getTriggerDOMNode: () => HTMLElement;
getTriggerDOMNode: (node: HTMLElement) => HTMLElement;
onPopupVisibleChange?: (visible: boolean) => void;

@@ -28,0 +28,0 @@ onPopupMouseEnter: () => void;

{
"name": "rc-select",
"version": "14.13.3",
"version": "14.13.4",
"description": "React Select",

@@ -5,0 +5,0 @@ "engines": {

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