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.0 to 14.13.1

7

es/SelectTrigger.js

@@ -102,7 +102,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";

// ======================= Ref =======================
var popupRef = React.useRef(null);
var triggerPopupRef = React.useRef(null);
React.useImperativeHandle(ref, function () {
return {
getPopupElement: function getPopupElement() {
return popupRef.current;
var _triggerPopupRef$curr;
return (_triggerPopupRef$curr = triggerPopupRef.current) === null || _triggerPopupRef$curr === void 0 ? void 0 : _triggerPopupRef$curr.popupElement;
}

@@ -119,5 +120,5 @@ };

popup: /*#__PURE__*/React.createElement("div", {
ref: popupRef,
onMouseEnter: onPopupMouseEnter
}, popupNode),
ref: triggerPopupRef,
stretch: stretch,

@@ -124,0 +125,0 @@ popupAlign: dropdownAlign,

@@ -112,7 +112,8 @@ "use strict";

// ======================= Ref =======================
var popupRef = React.useRef(null);
var triggerPopupRef = React.useRef(null);
React.useImperativeHandle(ref, function () {
return {
getPopupElement: function getPopupElement() {
return popupRef.current;
var _triggerPopupRef$curr;
return (_triggerPopupRef$curr = triggerPopupRef.current) === null || _triggerPopupRef$curr === void 0 ? void 0 : _triggerPopupRef$curr.popupElement;
}

@@ -129,5 +130,5 @@ };

popup: /*#__PURE__*/React.createElement("div", {
ref: popupRef,
onMouseEnter: onPopupMouseEnter
}, popupNode),
ref: triggerPopupRef,
stretch: stretch,

@@ -134,0 +135,0 @@ popupAlign: dropdownAlign,

{
"name": "rc-select",
"version": "14.13.0",
"version": "14.13.1",
"description": "React Select",

@@ -49,3 +49,3 @@ "engines": {

"@babel/runtime": "^7.10.1",
"@rc-component/trigger": "^2.0.0",
"@rc-component/trigger": "^2.1.1",
"classnames": "2.x",

@@ -59,4 +59,3 @@ "rc-motion": "^2.0.1",

"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@types/enzyme": "^3.10.9",
"@testing-library/react": "^13.0.0",
"@types/jest": "^26.0.24",

@@ -68,5 +67,2 @@ "@types/react": "^18.2.45",

"dumi": "^2.2.13",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.4.0",
"eslint": "^8.55.0",

@@ -83,4 +79,6 @@ "eslint-plugin-jest": "^27.6.0",

"rc-test": "^7.0.9",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2"
}
}
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