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

@clayui/shared

Package Overview
Dependencies
Maintainers
14
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/shared - npm Package Compare versions

Comparing version 3.75.0 to 3.75.2

2

lib/FocusScope.d.ts

@@ -8,3 +8,3 @@ /**

declare type Children = React.ReactElement & {
ref?: React.MutableRefObject<HTMLElement>;
ref?: React.MutableRefObject<HTMLElement> | ((ref: HTMLElement | null) => void);
};

@@ -11,0 +11,0 @@ declare type ChildrenFunction = Children | ((focusManager: ReturnType<typeof useFocusManagement>) => Children);

@@ -93,7 +93,9 @@ "use strict";

elRef.current = r;
var ref = child.ref;
var _ref2 = child.ref;
if (ref) {
if (_typeof(ref) === 'object') {
ref.current = r;
if (_ref2) {
if (_typeof(_ref2) === 'object') {
_ref2.current = r;
} else if (typeof _ref2 === 'function') {
_ref2(r);
}

@@ -100,0 +102,0 @@ }

{
"name": "@clayui/shared",
"version": "3.75.0",
"version": "3.75.2",
"description": "ClayShared component",

@@ -44,3 +44,3 @@ "license": "BSD-3-Clause",

],
"gitHead": "2d5918fec63eb709cc2aac7a0aab35176442b2fc"
"gitHead": "2b0e308f458bab6c8e4aca763d34197e7bd69cb1"
}

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