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

@react-hook/merged-ref

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-hook/merged-ref - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/cjs/index.d.ts

@@ -1,9 +0,7 @@

export interface ObjectRef {
current: any
}
import {MutableRefObject} from 'react'
export interface CallbackRef extends Function {
(element: any): any | void
}
export declare type ReactRef = CallbackRef | ObjectRef
export declare type ReactRef = CallbackRef | MutableRefObject<any>
declare const useMergedRef: (...args: ReactRef[]) => CallbackRef
export default useMergedRef

@@ -1,9 +0,7 @@

export interface ObjectRef {
current: any
}
import {MutableRefObject} from 'react'
export interface CallbackRef extends Function {
(element: any): any | void
}
export declare type ReactRef = CallbackRef | ObjectRef
export declare type ReactRef = CallbackRef | MutableRefObject<any>
declare const useMergedRef: (...args: ReactRef[]) => CallbackRef
export default useMergedRef
{
"name": "@react-hook/merged-ref",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/jaredLunde/react-hook/tree/master/packages/merged-ref#readme",

@@ -5,0 +5,0 @@ "repository": "github:jaredLunde/react-hook",

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