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.6 to 1.0.7

5

dist/cjs/index.d.ts

@@ -5,4 +5,7 @@ import {MutableRefObject} from 'react'

}
export declare type ReactRef = CallbackRef | MutableRefObject<any | unknown>
export declare type ReactRef =
| CallbackRef
| MutableRefObject<any | unknown>
| null
declare const useMergedRef: (...args: ReactRef[]) => CallbackRef
export default useMergedRef

@@ -5,4 +5,7 @@ import {MutableRefObject} from 'react'

}
export declare type ReactRef = CallbackRef | MutableRefObject<any | unknown>
export declare type ReactRef =
| CallbackRef
| MutableRefObject<any | unknown>
| null
declare const useMergedRef: (...args: ReactRef[]) => CallbackRef
export default useMergedRef

2

package.json
{
"name": "@react-hook/merged-ref",
"version": "1.0.6",
"version": "1.0.7",
"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